标题: tsm在备份的时候启动几个driver是如何确定的?
dreambaby
LU幼天使
Rank: 2



UID 34517
精华 0
积分 45
帖子 82
活跃指数 5
LU金币 2086 个
LU金条 0 个
阅读权限 20
注册 2005-9-14
 
发表于 2005-10-27 10:20  资料  个人空间  短消息  加为好友 
tsm在备份的时候启动几个driver是如何确定的?

我们的带库是3584, 共有4个driver。感觉我在备份的时候,多数情况下是只使用其中的两个driver,而另外两个是空闲状态。有的时候就是三个driver在工作,一个空闲。
不知道tsm是靠什么机制来管理备份任务启动几个driver?
我列出了系统的一些信息。
tsm: TSM>q drive f=d

                                Library Name: LTO3584
                                  Drive Name: LTODRV1
                                 Device Type: LTO
                                     On-Line: Yes
                                     Element: 260
                                 Drive State: LOADED
                                Allocated to: TSM
                                         WWN:
                               Serial Number:
              Last Update by (administrator): ADMIN
                       Last Update Date/Time: 10/21/03   21:45:22
Cleaning Frequency (Gigabytes/ASNEEDED/NONE): NONE

                                Library Name: LTO3584
                                  Drive Name: LTODRV2
                                 Device Type: LTO
                                     On-Line: Yes
                                     Element: 259
                                 Drive State: LOADED
                                Allocated to: TSM
                                         WWN:
                               Serial Number:
              Last Update by (administrator): ADMIN
                       Last Update Date/Time: 10/21/03   21:46:03
Cleaning Frequency (Gigabytes/ASNEEDED/NONE): NONE

                                Library Name: LTO3584
                                  Drive Name: LTODRV3
                                 Device Type: LTO
                                     On-Line: Yes
                                     Element: 257
                                 Drive State: EMPTY
                                Allocated to:
                                         WWN:
                               Serial Number:
              Last Update by (administrator): ADMIN
                       Last Update Date/Time: 10/21/03   21:46:40
Cleaning Frequency (Gigabytes/ASNEEDED/NONE): NONE

                                Library Name: LTO3584
                                  Drive Name: LTODRV4
                                 Device Type: LTO
                                     On-Line: Yes
                                     Element: 258
                                 Drive State: EMPTY
                                Allocated to:
                                         WWN:
                               Serial Number:
              Last Update by (administrator): ADMIN
                       Last Update Date/Time: 10/21/03   21:46:49
Cleaning Frequency (Gigabytes/ASNEEDED/NONE): NON


**********************************************************
tsm: TSM>q dr
Session established with server TSM: AIX-RS/6000
  Server Version 5, Release 1, Level 7.0
  Server date/time: 10/27/05   09:00:57  Last access: 10/26/05   11:21:33


Library Name     Drive Name       Device Type     On-Line            
------------     ------------     -----------     -------------------
LTO3584          LTODRV1          LTO             Yes               
LTO3584          LTODRV2          LTO             Yes               
LTO3584          LTODRV3          LTO             Yes               
LTO3584          LTODRV4          LTO             Yes           
     
**********************************************************

tsm: TSM>q mount
ANR8330I LTO volume A00011 is mounted R/W in drive LTODRV3 (/dev/rmt3), status: IN USE.
ANR8330I LTO volume A00116 is mounted R/W in drive LTODRV2 (/dev/rmt2), status: IN USE.
ANR8334I         2 matches found.

顶部
larryh
超级版主
Rank: 17Rank: 17Rank: 17Rank: 17Rank: 17



LU爱心使者  
UID 133
精华 29
积分 3934
帖子 7282
活跃指数 255
LU金币 3219 个
LU金条 5409 个
阅读权限 251
注册 2003-9-26
 
发表于 2005-10-27 11:24  资料  个人空间  短消息  加为好友 
RESOURCEUTILIZATION
Resourceutilization is a client option used to regulate the level of resources (i.e. number
of concurrent sessions) the TSM client and server can use during processing. Multiple
sessions are created automatically through a single invocation of a TSM backup/restore
or archive/retrieve command.
Even though the multi-session function is transparent to the end user and is started
automatically, there are some parameters which enable the user to customize the function.
There is a way to influence the multi-session function with the option
RESOURCEUTILIZATION. This option increases or decreases the ability of the Tivoli
Storage Manager client to create multiple sessions. For Backup or Archive the value of
RESOURCEUTILIZATION does not directly specify the number of sessions created by
the client. However, this setting specifies the level of resources the Tivoli
StorageManager server and client can use during backup or archive processing. The
higher the value, the more sessions the client can start if it deems necessary. The range
for the parameter is from 1 to 10. When the option is not set, which is the default, then
only two sessions are created to the server.
Default resourceutilization level allows up to two sessions with the server, one for
querying the server and one for sending file data. Resourceutilization=5 permits up to
four sessions (two for queries and two for sending data), while resourceutilization=10
permits up to eight sessions (four for queries and four for sending data) with the server.
The relationship between Resourseutilization and the maximum number of sessions
created is part of an internalized algorithm and, as such, is subject to change. This table
lists the relationships between Resourceutilization values and the maximum sessions
created. Producer sessions scan the client system for eligible files. The remaining
sessions are consumer sessions and are used for data transfer. The threshold value affects
how quickly new sessions are created.
Table 2. Resource Utilization Settings
Back
up
throu
ghpu
t
impr
ove
ment
s that
can
be
achie
ved
by
increasing the Resourceutilization level will vary from client node to client node. Factors
that affect throughputs of multiple sessions include the configuration of the client storage
subsystem (i.e. layout of file systems on physical disks), the client's ability to drive
multiple sessions (sufficient CPU, memory), the server's ability to handle multiple client
sessions (CPU, memory, number of storage pool volumes), and sufficient bandwidth in
the network to handle the increased traffic.
The MAXSESSIONS parameter controls the maximum number of simultaneous client
sessions with the Tivoli Storage Manager server. The total number of parallel sessions for
a client is counted for the maximum number of sessions allowed with the server. For this
reason, you need to consider whether to increase the value of the MAXSESSIONS
parameter in the server option file.
When using the Resourceutilization option to enable multiple client/server sessions for
backup direct to tape, the client node maximum mount points allowed parameter,
MAXNUMMP, must also be updated at the server (using the Update Node command).
If the TSM client has a filesystem spread across multiple disks (RAID 0 or RAID 5), or
multiple large filesystems, we recommend setting the TSM client option
Resourceutilization to a value of 5 or 10. This will enable multiple sessions with the
server during backup or archive, and can result in substantial throughput improvements in
some cases. It is not likely to improve incremental backup of a single large filesystem
with a small percentage of changed data. If backup is direct to tape, then the client node
maximum mount points allowed parameter, MAXNUMMP, must also be updated at the
server using the update node command.
When a restore is requested, the default is to use a maximum of two sessions, based on
how many tapes the requested data is stored on, how many tape drives are available, and
the maximum number of mount points allowed for the node.
RU Value Max # of Sessions Unique # of Producer Sessions Threshold (secs)
1 1 0 45
2 2 1 45
3 3 1 45
4 3 1 30
5 4 2 30
6 4 2 20
7 5 2 20
8 6 2 20
9 7 3 20
10 8 4 10
default (0) 2 1 30
The default value for the RESOURceutilization parameter is one (1) and the maximum
value is ten (10).
For example, if the data to be restored are on five different tape volumes, and the
maximum number of mount points is five for the node requesting the restore, and
RESOURceutilization is set to three, then three sessions will be used for the restore. If
the RESOURceutilization setting is increased to five, then five sessions will be used for
the restore. There is a one-to-one (1:1) relationship to the number of restore sessions
allowed and the RESOURceutilization setting.
Resourceutilization Values
• Values >2 allowed only when connecting to a >3.7 server
• Non-root UNIX limited to 1 session
Recommendation
RESOURceutilization 1 workstations, 5 small server, 10 large server

顶部
jiangxh
LU大天使
Rank: 6Rank: 6



UID 7854
精华 2
积分 1197
帖子 2196
活跃指数 90
LU金币 3970 个
LU金条 0 个
阅读权限 70
注册 2003-12-31
 
发表于 2005-10-28 09:40  资料  个人空间  短消息  加为好友 
this have something to do with your defined driver of pool.
for example.one client 's backuppool have defined only two drivers.you can only use these two drivers.and the other two ara idle?
of course,if you defined all drivers for pool,you will use multiple sessions concept.

顶部
busyfan (秋刀鱼)
LU幼天使
Rank: 2



UID 28816
精华 1
积分 141
帖子 246
活跃指数 25
LU金币 2360 个
LU金条 0 个
阅读权限 20
注册 2005-1-8
来自 深圳
 
发表于 2006-6-24 10:06  资料  个人空间  短消息  加为好友 
你应该q stgpool f=d一下才行

在存储池里有定义mount limit选项,该选项确定使用该存储池时,同时使用几个驱动器,默认参数应该是drivers

顶部
busyfan (秋刀鱼)
LU幼天使
Rank: 2



UID 28816
精华 1
积分 141
帖子 246
活跃指数 25
LU金币 2360 个
LU金条 0 个
阅读权限 20
注册 2005-1-8
来自 深圳
 
发表于 2006-6-24 11:00  资料  个人空间  短消息  加为好友 
俺错了

关于mount limit选项是设备类上的概念,在定义devclass时所指定的,在定义完设备类后,再在定义存储池时,将该存储池指定到前面所定义的设备类即可.
其默认值drivers是表示由库自动计算处于online状态的所有同一设备类型的driver的数量.该数值也可手动指定,但不能大于可用驱动器的总数.

顶部
炸鸡
超级版主
Rank: 17Rank: 17Rank: 17Rank: 17Rank: 17
传说中的大色狼


LU爱心使者  
UID 134
精华 32
积分 10414
帖子 19356
活跃指数 711
LU金币 13897 个
LU金条 16 个
阅读权限 251
注册 2003-9-26
来自 鸡窝
 
发表于 2006-6-25 19:21  资料  个人空间  主页 短消息  加为好友 
q path能看到你的server可使用的driver吗?







在技术版灌水,在水版show技术。
顶部
onlyOneEditor (onlyOne小猪)
LU大天使
Rank: 6Rank: 6


UID 56560
精华 1
积分 1420
帖子 2434
活跃指数 50
LU金币 2451 个
LU金条 0 个
阅读权限 70
注册 2006-10-13
 
发表于 2007-3-26 22:30  资料  个人空间  短消息  加为好友 
学习学习.嘿嘿.





走到一起是开始  保持一致是进步  协同工作是成功 www.zhangzimo.com
顶部
crazyshow
技术专家
Rank: 14Rank: 14Rank: 14Rank: 14
黑涩会头目


UID 59115
精华 10
积分 382
帖子 648
活跃指数 167
LU金币 1765 个
LU金条 0 个
阅读权限 200
注册 2006-11-21
来自 ChengDu
 
发表于 2007-3-27 22:00  资料  个人空间  短消息  加为好友  添加 crazyshow 为MSN好友 通过MSN和 crazyshow 交谈
我觉得这个问题有点儿难说
因为跟你的存储池定义有关系,大多数情况是先到disk然后才到tape
如果是这样的话,就跟larryh讲的resourceutilization参数有关,涉及到client能开多少个session
如果是直接到tape的,就受到mount limit限制,基本上都会达到最大值
最好的办法就是在备份的时候看看几个driver在写
但是,如果多个client同时备,而且备份类型也不一样,那就要tsm自己分配了,内部的规则不清楚

不知道我这样理解对不对





一个记忆力开始减退的人,还能在这里混么?
顶部
 



当前时区 GMT+8, 现在时间是 2008-7-5 20:14
乐悠LoveUnix论坛-京ICP备05005823号

Thanks to Discuz!  © 2001-2007    Power by LoveUnix.net
Processed in 0.057035 second(s), 6 queries , Gzip enabled

清除 Cookies - 联系我们 - 乐悠LoveUnix - Archiver - WAP