【IT168 资讯】其实你根本不需要知道你备份的文件在TSM SERVER上存在哪里。restore\retreive向TSM SERVER发出恢复请求后,TSM SERVER自动去找到文件并进行恢复。
如果你非要看看文件到底存哪了,可以依照下面步骤。了解下面步骤,可以增加对TSM的理解。
查看TSM Server上的文件步骤1-3
1、先找到你这个client对应的TSM SERVER。
#cd /usr/tivoli/tsm/client/ba/bin
#pg /dsm.sys
SErvername bosstest
COMMmethod TCPip
TCPPort 1500
TCPServeraddress 10.143.3.81
Passwordaccess generate
NodeName node10
resourceutilization 10
2、到10.143.3.81,登录到TSM SERVER
#dsmadmc
uid:admin passwd:admin
tsm>
3、查到client所对应的node名称
tsm>q node f=d
以详细格式查询节点信息,会有IP地址列示
Node Name: BJDSS
Platform: AIX
Client OS Level: 5.2
Client Version: Version 5, Release 2, Level 0.0
Policy Domain Name: STANDARD
Last Access Date/Time: 11/07/06 23:07:43
Days Since Last Access: 1
Password Set Date/Time: 09/22/06 10:52:21
Days Since Password Set: 47
Invalid Sign-on Count: 0
Locked?: No
Contact:
Compression: Client
Archive Delete Allowed?: Yes
Backup Delete Allowed?: Yes
Registration Date/Time: 09/14/06 10:59:01
Registering Administrator: OPEN_REGISTRATION
Last Communication Method Used: Tcp/Ip
Bytes Received Last Session: 13,343.75 M
Bytes Sent Last Session: 1,759
Duration of Last Session: 1,767.81
Pct. Idle Wait Last Session: 0.43
Pct. Comm. Wait Last Session: 40.66
Pct. Media Wait Last Session: 4.38
Optionset:
URL:
Node Type: Client
Password Expiration Period:
Keep Mount Point?: No
Maximum Mount Points Allowed: 1
Auto Filespace Rename : No
Validate Protocol: No
TCP/IP Name: p690
TCP/IP Address: 127.0.0.1
Globally Unique ID: 00.00.00.00.2e.bc.11.d8.a4.44.08.63.0a.8f.08.14
查看TSM Server上的文件步骤4-5
4、查看节点对应的domain
tsm>q node
查看domain中policy set ,mgt calss copygroup名称
Node Name Platform Policy Domain Days Since Days Since Locked?
Last Access Password Set Name - d
ss
------------ -------- -------------- ---------- ----------
BJDSS AIX STANDARD 1 47 No
tsm>q domain
Policy Activated Activated Number of Description
Domain Policy Default Registered
Name Set Mgmt Nodes
Class
--------- --------- --------- ---------- --------------
STANDARD STANDARD STANDARD 15 Installed default policy domain.
5、策略的查看,copygroup中定义了目标stgpool
tsm>q copygroup standard standard standard type=archive format=detail
Policy Domain Name: STANDARD
Policy Set Name: STANDARD
Mgmt Class Name: STANDARD
Copy Group Name: STANDARD
Copy Group Type: Archive
Retain Version: 365
Copy Serialization: Shared Static
Copy Frequency: CMD
Copy Mode: Absolute
Copy Destination: ARCHIVEPOOL
Last Update by (administrator): SERVER_CONSOLE
Last Update Date/Time: 10/26/99 15:42:51
Managing profile:
查看TSM Server上的文件步骤6-7
6、q volume stgpool=archivepool
Storage Device Estimated Pct Volume
Pool Name Class Name Capacity Util Status
(MB)
------------------------ ----------- ---------- ---------
000055 ARCHIVEPOOL 3590DC 26,667.1 100.0 Full
A00040 ARCHIVEPOOL 3590DC 53,191.2 100.0 Full
A00060 ARCHIVEPOOL 3590DC 52,438.8 100.0 Full
A00084 ARCHIVEPOOL 3590DC 52,866.0 100.0 Full
A00086 ARCHIVEPOOL 3590DC 52,458.1 100.0 Full
A00087 ARCHIVEPOOL 3590DC 52,504.7 100.0 Full
A00088 ARCHIVEPOOL 3590DC 52,344.2 100.0 Full
A00089 ARCHIVEPOOL 3590DC 52,673.3 100.0 Full
、tsm> q content b00336 node=BJdss
Node Name Type Filespace FSID Client's Name for File Name
--------------- ---- ---------- ---- ----------------------------
BJDSS Arch /tsm_migrate 1 /bibak/ 20061009.boss-bi.tar.Z
BJDSS Arch /tsm_migrate 1 /bibak/ 20061009.dayout.tar.Z
BJDSS Arch /tsm_migate 1 /bibak/ 20061009.dayout.tar.Z
BJDSS Arch /tsm_migrate 1 /bibak/ 20061009.table.tar.Z
BJDSS Arch /tsm_migrate 1 /bibak/ 20061010.boss-bi.tar.Z