不管是tsm的新手还有有经验的tsm 管理员help命令都是非常有用而且实用的不可缺少的帮手。
我们在装有TSM Command Line Administrative Interface 的机器上运行Dsmadmc命令就可以进入IBM Tivoli Storage Manager Command Line Administrative Interface。
这里需要注意的是:dsmadmc不可以在根目录下面执行
在IBM Tivoli Storage Manager Command Line Administrative Interface中运行帮助如果篇幅超过一篇,按
输入‘quit’退出Command Line Administrative Interface。
通过TSM Command Line Administrative Interface我们可以进行的操作包括:
1. 管理tsm server(启动、停止、监控、格式化输出等等)。
2. 分配额外的server存储器。
3. 发布管理命令
4. server选项相关(修改server option等)。
5. Utilities 相关。
在IBM Tivoli Storage Manager Command Line Administrative Interface中所有支持功能都可以通过输入‘help’就可以查看。例如
tsm: BABU>help
IBM Tivoli Storage Manager for AIX #安装的tsm是支持的那个操作系统
Administrative commands and options
Version 5.5.0 #安装的tsm是那个版本。值得注意的是这里的版本指的是tsm 帮助文档的版本,不一定与实际的tsm版本一致。因为tsm文档可以单独安装。
Command-line help for Tivoli Storage Manager for AIX server, V5.5.0
Copyright International Business Machines Corporation 1993, 2007. #IBM公司对此拥有1993-2007的版权。
All rights reserved. US Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
Contents
1.0 Administering the server from the command line #管理tsm server
1.1 Issuing commands from the administrative client
1.1.1 Starting and stopping the administrative client
1.1.2 Monitoring server activities from the administrative client
1.1.3 Monitoring removable-media mounts from the administrative
client
1.1.4 Processing commands one at a time from the administrative
client
1.1.5 Processing a series of commands from the administrative client
1.1.6 Formatting output from commands
1.1.7 Saving command output to a specified location
1.1.8 Administrative client options
1.2 Issuing commands from the Administration Center
1.3 Issuing commands from the server console
1.4 Entering administrative commands
1.4.1 Reading syntax diagrams
1.4.2 Entering long commands
1.4.3 Naming Tivoli Storage Manager objects
1.4.4 Using wildcard characters to specify object names
1.4.5 Specifying descriptions in keyword parameters
1.5 Controlling command processing
1.5.1 Server command processing
1.5.2 Cancelling commands
1.6 Performing tasks concurrently on multiple servers
1.6.1 Routing commands to a single server
1.6.2 Routing commands to multiple servers
1.6.3 Routing commands to a server group
1.6.4 Routing commands to server groups
1.6.5 Routing commands to two servers and a server group
1.6.6 Routing commands inside scripts
1.7 Privilege classes for commands
1.7.1 Commands requiring system privilege
1.7.2 Commands requiring policy privilege
1.7.3 Commands requiring storage privilege
1.7.4 Commands requiring operator privilege
1.7.5 Commands requiring analyst privilege
1.7.6 Commands any administrator can issue
2.0 Allocating additional server memory #分配额外的server存储器
3.0 Administrative commands
……
Help 后跟随我们想查找的命令。比如我想查找一个policy domain但我不知道具体的命令是什么那么就可以用help q取得帮助。
tsm: BABU>help q
3.41 QUERY commands #3.41 是命令按照功能的的编号。管理tsm server以1打头,分配额外的server存储器以2打头,发布管理命令以3打头,server选项相关以4打头,前面已经提到过。
Use the QUERY command to request or display information about an IBM #对query命令的解释
Tivoli Storage Manager object.
The following is a list of QUERY commands for Tivoli Storage Manager: #列举所有与query相关的命令
* 3.41.1, "QUERY ACTLOG (Query the activity log)"
* 3.41.2, "QUERY ADMIN (Display administrator information)"
* 3.41.3, "QUERY ASSOCIATION (Query client node associations with aschedule)"
* 3.41.4, "QUERY AUDITOCCUPANCY (Query client node storage utilization)"
* 3.41.5, "QUERY BACKUPSET (Query a backup set)"
* 3.41.6, "QUERY BACKUPSETCONTENTS (Query contents of a backup set)"
* 3.41.7, "QUERY CLOPTSET (Query a client option set)"
* 3.41.8, "QUERY COLLOCGROUP (Query a collocation group)"
* 3.41.9, "QUERY CONTENT (Query the contents of a storage pool volume)"
* 3.41.10, "QUERY COPYGROUP (Query copy groups)"
* 3.41.11, "QUERY DATAMOVER (Display data mover definitions)"
* 3.41.12, "QUERY DB (Display information on the database)"
* 3.41.13, "QUERY DBBACKUPTRIGGER (Query the database backup trigger)"
* 3.41.14, "QUERY DBVOLUME (Display information on one or more database volumes)"
* 3.41.15, "QUERY DEVCLASS (Display information on one or more device classes)"
* 3.41.16, "QUERY DIRSPACE (Query storage utilization of FILEdirectories)"
* 3.41.17, "QUERY DOMAIN (Query a policy domain)"
* 3.41.18, "QUERY DRIVE (Query information about a drive)
……
这时我们就查找的QUERY DOMAIN命令可以查找policy domain。
如果想要具体的QUERY DOMAIN命令的用法我们同样可以用help命令。通常help命令会给出分类号,命令用途,谁可以使用该命令,命令语法,参数解释,举例,命令任务,命令输出,输出解释,相关命令。
tsm: BABU>help q domain
3.41.17 QUERY DOMAIN (Query a policy domain) #分类号
Use this command to display information on one or more policy domains. #命令用途
Privilege class
Any administrator can issue this command. #谁可以使用该命令
Syntax
.-*-----------. .-Format--=--Standard-----.
>>-Query DOmain--+-------------+--+-------------------------+-->< #命令语法
'-domain_name-' '-Format--=--+-Standard-+-'
'-Detailed-'
Parameters #参数解释
domain_name
Specifies the policy domain to query. This parameter is optional. You can use wildcard characters to specify names. If you do not specify a value for this parameter, all policy domains are displayed.
Format
Specifies how the information is displayed. This parameter is optional. The default value is STANDARD. Possible values are:
Standard
Specifies that partial information is displayed.
Detailed
Specifies that complete information is displayed.
Examples
Task
Display partial information for all policy domains on the server.
Command query domain
Output
Examples #举例
Task
Display partial information for all policy domains on the server. #命令任务
Command query domain
Output #命令输出
+----------------------------------------------------------------------+
|Policy Activated Activated Number of Description |
|Domain Policy Default Registered |
|Name Set Mgmt Nodes |
| Class |
|--------- --------- --------- ---------- -----------------|
|EMPLOYEE- VACATION ACTIVEFI- 6 Employee Records |
| _RECORDS LES Domain |
|PROG1 0 Programming Group|
more... (
| Test Domain |
|PROG2 0 Programming Group|
| Test Domain |
|STANDARD STANDARD STANDARD 1 Installed default|
| policy domain |
+----------------------------------------------------------------------+
Policy Domain Name #输出解释
The name of the policy domain.
Activated Policy Set
The name of the policy set that was last activated in the domain.
……
Related commands #相关命令
Table 213. Commands related to QUERY DOMAIN
+----------------------------------+----------------------------------+
| Command | Description |
+----------------------------------+----------------------------------+
| COPY DOMAIN | Creates a copy of a policy |
| | domain. |
+----------------------------------+----------------------------------+
| DEFINE DOMAIN | Defines a policy domain that |
| | clients can be assigned to. |
+----------------------------------+----------------------------------+
| DELETE DOMAIN | Deletes a policy domain along |
| | with any policy objects in the |
| | policy domain. |
+----------------------------------+----------------------------------+
| UPDATE DOMAIN | Changes the attributes of a |
| | policy domain.
做某些操作会返回一个message,尤其是出错的时候我们想进一步查看这个错误信息是什么,同样可以通过help命令来实现。Message以I结尾的提示信息(INFORMATION),以E结尾的是错误信息(ERROR)。
tsm: TSM>h ANS0106E
ANS0106E: Message index not found for message number.
Explanation #对信息的解释
The message repository file does not contain the message text for the message number.
System action #系统行为
TSM is unable to complete the requested operation.
User response #用户可以进行操作
Make sure the DSM_DIR is set up properly and it does not point to an old copy. If the problem continues, see your system administrator for further help.
Parent topic: Client Messages (ANS0100–ANS9999)
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/21153703/viewspace-600477/ ,如需转载,请注明出处,否则将追究法律责任。