TSM Server 的配置
1)找一台PC机,在浏览器中输入 http://10.10.10.11:1580 ,使用admin进入管理后台,对Server 进行配置.密码同样是admin.
2)注意:如果没菜单显示的,是通过命令行操作的。打开WEB界面后,在右上角下拉菜单选择show command line.
(确认你的系统已经安装了JRE131,141版本以上用在WIN2003上会有问题)
1:更改TSM SERVER 用户超时时间
select operation view -> manager security -> set web authentication time out -> change 10 to 0 -> click finish button
2:定义一个名为3582lib的scsi带库
define library 3582lib libtype=scsi */libtype是带库的类型/*
3:定义磁带库的路径
define path tsm 3582lib srctype=server desttype=library device=/dev/smc0 online=yes
*/tsm是tivoli的默认名字,smc0为带库的机械臂/*
4:定义磁带机
define drive 3582lib drive01 element=256 */drive代表磁带机,element号可以在系统看到,lscfg -vpl rmtX /*
define drive 3582lib drive02 element=257 */此磁带机的element时以256开头,第二个为257/*
5:定义磁带机的路径
define path tsm drive01 srctype=server desttype=drive library=3582lib device=/dev/rmt0 online=yes
define path tsm drive02 srctype=server desttype=drive library=3582lib device=/dev/rmt1 online=yes
6:定义设备CLASSES
命令操作
define devclass gentape devtype=generic library=3582lib format=drive mountlimit=drives mountretention=60 estcapacity=200G
*/gentape是devclass的名称,devtype=generic 是类型为generic /*
菜单操作
Object view ->Server Storage ->Storage Pools -> Sequential Access Storage Pools ->Operations:
Define Sequential Access Storage Pool
Storage Pool Name 3582_pool
Device Class 3582_Class
Description
Media Access Status READWRITE
Maximum Size Threshold NOLIMIT
Next Storage Pool
High Migration Threshold 90
Low Migration Threshold 70
Collocate? YES NO FILESPACE
Reclamation Threshold 60
Maximum Scratch Volumes Allowed 18 ( for 3582, 18 media slot )
Delay Period for Volume Reuse 0
Reclaim to storage pool
Migration Delay 0
Migration Continue YES NO
Overflow Location
7:对磁带进行标记.
手动导入磁带,import到空槽中。
#cd /usr/tivoli/tsm/server/bin
./dsmlabel -drive=/dev/rmt0,256 -library=/dev/smc0 -search -overwrite
系统显示标记后,行一下步操作。
dsmadmc
checkin libvolume 3582lib search=yes status=private */private为专用带/*
define volume 3582_pool tape01 */定义带库池中的一个卷为tape01/*
checkin libvolume 3582lib tape02 status=private */捡入一个磁带到带库中/*
8:定义策略
(1)Policy Domains -->Policy Sets -->Define Policy Domain
(2)选择刚才建立的策略域  点击Policy Sets --> Define Policy Set
(3)Policy Domains --> Policy Sets
选择 (2)定义的策略--> Management Classes --> Define Management Class
(4)Policy Domains --> Policy Sets --> Management Classes
选择前面定义的相关项,然后在下拉菜单上选择Assign as Default Management Class.
(5)指定策略使用存储池
点击Management Classes --> 选择前面定义的策略名 --> 选择Backup Copy Groups
--> Define Backup Copy Group
(6)激活策略域
9:查看相关信息
dsmadmc进入tsm>提示符、、、、、、、
q actlog 查看操作日志
q libv 查看带库里已经标记并捡入到带库的卷(磁带)
q volume 查看当前已经定义的卷