Documente Academic
Documente Profesional
Documente Cultură
Console Mode
Use console mode to monitor Tivoli Storage Manager activities as they occur or to capture processing messages to an output file. For example, you can monitor migration processes and clients logging on to Tivoli Storage Manager. You cannot enter any administrative commands in console mode. To start an administrative client session in console mode, enter: dsmadmc -consolemode You are prompted for a password if authentication is turned on for the server. If you do not want to be prompted for your user ID and password, enter the DSMADMC command with the -ID and -PASSWORD options. To have Tivoli Storage Manager redirect all output to a file, specify the -OUTFILE option with a destination file name. For example, enter: dsmadmc -id=sullivan -password=secret -consolemode -outfile=save.out To end an administrative client session in console mode, see Table 4. Table 4. Keyboard Break Sequences Environment UNIX-based clients CMS DOS and OS/2, Windows and Windows NT TSO
(R)
Mount Mode
Use mount mode to monitor removable media mount activities. While the session is running in mount mode, you cannot enter any administrative commands. To start an administrative client session in mount mode, enter: dsmadmc -mountmode You are prompted for a password if authentication is turned on for the server. If you do not want to be prompted for your user ID and password, enter the DSMADMC command with the -ID and -PASSWORD options. To have Tivoli Storage Manager redirect all output to a file, specify the -OUTFILE option with a destination file name. For example, enter: dsmadmc -id=sullivan -password=secret -mountmode -outfile=save.out To end an administrative client session in mount mode, see Table 4.
Batch Mode
Use batch mode to enter a single administrative command. Your administrative client session automatically ends when the command has processed. To start an administrative client session in batch mode, enter: dsmadmc You can enter the DSMADMC command with your user ID and password by using the -ID and PASSWORD options, respectively if you do not want to be prompted for that information. To have Tivoli Storage Manager redirect all output to a file, specify the -OUTFILE option with a destination file name. For example, to issue the QUERY NODE command in batch mode with the output redirected to the SAVE.OUT file, enter: dsmadmc -id=sullivan -password=secret -outfile=save.out query node In batch mode, you must enter the complete command on one line. If a command does not fit on one line, enter the command by using a macro or a script. If you specify a parameter with a string of text using batch mode, enclose the text in single quotation marks (' ') in the macro. Double quotes are not allowed in batch mode.
Interactive Mode
Use the interactive mode to enter a series of administrative commands. You can automatically restart your administrative client session by entering another command each time the Tivoli Storage Manager:servername > prompt appears. To start an administrative client session in interactive mode, a server session must be available. To ensure the availability of server sessions for both administrative and client node sessions, the interactive mode of the administrative client is disconnected if one or more of the following conditions is true: The server was stopped using the HALT command. Commands were not issued from the administrative client session for the length of time specified with the IDLETIMEOUT server option. The administrative client session was canceled with the CANCEL SESSION command.
You can use continuation characters when using interactive mode. For more information, see Using Continuation Characters. To start an administrative session in interactive mode, enter: dsmadmc
-MOUNTmode Specifies that Tivoli Storage Manager runs in mount mode. All server removable-media mount messages are echoed to your screen. -Itemcommit Specifies that Tivoli Storage Manager commits commands inside a script or a macro as each command is processed. -OUTfile=filename Specifies that output from a server query is redirected to a specified file. In batch mode, output is redirected to a file you specify and the format of the output matches the format of the output on your screen. In interactive, console, or mount mode sessions, output displays on your screen. -OUTfile Specifies that output from a server query is formatted one line per query. This option is available in batch mode only. -COMMAdelimited Specifies that any tabular output from a server query is to be formatted as comma-separated strings rather than in readable format. This option is intended to be used primarily when redirecting the output of an SQL query (SELECT command). The comma-separated value format is a standard data format which can be processed by many common programs, including spreadsheets, data bases, and report generators. -TABdelimited Specifies that any tabular output from a server query is to be formatted as tab-separated strings rather than in readable format. This option is intended to be used primarily when redirecting the output of an SQL query (SELECT command). The tab-separated value format is a standard data format which can be processed by many common programs, including spreadsheets, databases, and report generators. Besides the options listed here, you can also specify any option that is in the client options file. Each option must be preceded with a hyphen and delimited with a space.
contact="david, ext1234" Continue a list of values by entering a dash or a back slash, with no preceding blank spaces, after the last comma of the list that you enter on the first line. Then, enter the remaining items in the list on the next line with no preceding blank spaces. For example: stgpools=stg1,stg2,stg3,stg4,stg5,stg6 Continue a string of values enclosed in quotation marks by entering the first part of the string enclosed in quotation marks, followed by a dash or a back slash at the end of the line. Then, enter the remainder of the string on the next line enclosed in the same type of quotation marks. For example: contact="david pease, bldg. 100, room 2b, san jose,""ext. 1234, alternate contact-norm pass,ext 2345" Tivoli Storage Manager concatenates the two strings with no intervening blanks. You must use only this method to continue a quoted string of values across more than one line.
dsmadmc -id=xxx -pa=xxx query domain acctg > Redirect the output of a QUERY DOMAIN command to a new file in batch dominfo.acc or interactive mode A single greater-than sign (>) indicates that Tivoli Storage Manager redirects the output to a new file or writes over an existing file. Append the output of a QUERY DOMAIN dsmadmc -id=xxx -pa=xxx query domain acctg >> command to the end of an existing file in dominfo.acc batch or interactive mode Double greater-than signs (>>) indicates that Tivoli Storage Manager appends the output to the end of an existing file.
Redirect all output from an administrative dsmadmc -console -id=admin -password=xxx | filter.exe client session in console mode to a program called filter.exe. The program can be set up to monitor the output for individual messages as they occur and take appropriate action, such as sending mail to another user.