Login/logout to the VTL Server

Login/logout to the VTL Server

Log in to the VTL Server

iscon login [-s <server-name> -u <username> -p <password>-e] [-X <rpc- timeout>]

iscon login [--server-name=<server-name> --server-username=<username>

--server-password=<password>--environment] [--rpc-timeout=<rpc-timeout>]

Description:

This command allows you to log into the specified VTL Server with a given username and password. Once successfully logged into the server, ‐u (‐‐server‐ username) and –p (‐‐server‐password) are not necessary for the other CLI commands with optional –u and –p arguments.

In order to use the ‐e (‐‐environment) parameter, you must set the following three environment variables:

ISSERVERNAME

ISUSERNAME

ISPASSWORD

After setting these variables, the environment parameter can be used in the login command in place of ‐s <server‐name> ‐u <user‐name> ‐p <password>. Therefore, you could type the following to log in: iscon login ‐e

To set these environment variables in the bash shell, you must set three variables as follows:

export ISSERVERNAME=10.1.1.1

export ISUSERNAME=root

export ISPASSWORD=password

‐X (‐‐rpc‐timeout) is an option to specify a number between 1 and 30000 in seconds for the RPC timeout. The system will retry the command for the amount of time specified if the server does not respond. The default RPC timeout is 30 seconds.

96267 • G

Appendix A VTL command line reference 171

Page 185
Image 185
Sun Microsystems Virtual Tape Library manual Login/logout to the VTL Server, Log in to the VTL Server