存储 频道

征文:windows环境TSM安装、配置及备份

服务器配置示例

  示例:

  定义磁带库和路径
tsm> define library LB0.1.0.4 libtype=scsi share=yes #带库名,以带库在TSM中显示为准
tsm> update library LB0.1.0.4 libtype=scsi share=yes
tsm> define path tsm LB0.1.0.4 srctype=server desttype=library device=LB0.1.0.4 online=yes #服务器名、带库名

  定义驱动器和路径
tsm> define drive LB0.1.0.4 MT0.2.0.4 element=256 #带库名、驱动器名
tsm> define path tsm MT0.2.0.4 srctype=server desttype=drive library=LB0.1.0.4 device=MT0.2.0.4 online=yes #服务器名、驱动器名

tsm> define drive LB0.1.0.4 MT0.3.0.4 element=257
tsm> define path tsm MT0.3.0.4 srctype=server desttype=drive library=LB0.1.0.4 device=MT0.3.0.4 online=yes

  定义设备类
tsm> define devclass LTOCLASS1 devtype=lto library= LB0.1.0.4 #设备类名

  定义存储池:
tsm> define stgpool backpool9 disk #存储池名、设备类名
tsm> define stgpool nextpool9 filedev2 maxscratch=100 #
tsm> define stgpool copypool9 filedev2 pooltype=copy maxscratch=20 #定义副本存储池

  设置backpool的下一存储池为nextpool:
tsm>update stgpool backpool9 nextpool=nextpool9 copystg=copypool9

  设置backpool1的副本存储池为copypool:
tsm>backup stgpool backpool9 copypool9 maxprocess=1

  创建备份策略域:
tsm> define domain testpolicy

  创建策略集:
tsm> define policyset testpolicy testpolicy_set #策略域名、策略集名

  创建管理类:
tsm> define mgmtclass testpolicy testpolicy_set testpolicy_maclass migdestination=none
tsm> assign defmgmtclass testpolicy testpolicy_set testpolicy_maclass

  创建备份副本组:
tsm> define copygroup testpolicy testpolicy_set testpolicy_maclass standard destination=engback1 serialization=static verexists=5 verdeleted=4 retextra=90 retonly=600 #上例中standard是关键定,定义备份副本组是不需要名字

  激活策略集:
tsm>activate policyset testpolicy testpolicy_set

  配置客户机节点,(客户机中修改dsm.opt文件):
tsm> register node ytclient zenith domain=testpolicy #节点名、节点密码

0
相关文章