![]() |
![]() |
Use interactive mode when you want to issue a series of commands. Because Tivoli Storage Manager establishes the connection to the server only once for interactive mode, you can process a series of commands more quickly in interactive mode than in batch mode.
To start a client command session in interactive mode, enter the dsmc or dsmc loop command:
When you press Enter, this prompt displays on your screen:
tsm>
When you are in interactive mode, do not precede commands with dsmc. For example, instead of typing dsmc archive to archive a file, type only archive.
The first time you enter a command in an interactive session, Tivoli Storage Manager prompts you for your password, if a password is required. For example, if you enter the following as the first command in your session:
incremental
Tivoli Storage Manager responds:
Please enter password for node "nwserver"
When you type your password and press Enter, the password does not display on your screen.
You can also enter your password with the loop command:
dsmc loop -password=secret
If Tivoli Storage Manager is unable to authenticate your ID and password, you cannot use Tivoli Storage Manager services. If Tivoli Storage Manager authenticates your ID and password, it then asks you for your NetWare user ID:
Please enter NetWare user for "nwserver":
Next, you are prompted for your NetWare password.
Please enter the password on "nwserver" for NetWare user "username":After your NetWare ID and password are accepted, Tivoli Storage Manager processes your command, displays any messages it generates, and returns to the dsmc> prompt.
If you have specified nwpwfile yes in your client options file, Tivoli Storage Manager saves your NetWare ID and password in a file in your installation directory with a .PWD extension. When you enter additional commands within the same interactive session, Tivoli Storage Manager gets your NetWare ID and password from this file instead of prompting you for them. For more information on the nwpwfile option, see Nwpwfile.
After you start an interactive session, some options are valid in interactive mode and remain in effect throughout the session unless you reenter them with a different setting. However, most options are valid only on the initial command line. To identify which options must be entered in this way, see Chapter 10, "Using Options with Commands". If Tivoli Storage Manager does not find an options file, it displays an error message and stops processing. In this case, see your administrator to determine the name of the options file Tivoli Storage Manager should use.