- Sun Storage Virtual Tape Library VTL User Guide
Login/logout to the VTL Server
96267 • G Appendix A VTL command line reference 171
Login/logoutto theVTLServer
LogintotheVTLServer
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:
Thiscomma n d allowsyoutolog intothespecifiedVTLServerwithagiven
usernameandpassword.Oncesuccessfullyloggedintothese rver,‐u(‐‐server‐
username)and–p(‐‐server‐password)arenot necessaryfortheotherCLIcommands
withoptional–u an d –parguments.
Inordertousethe‐
e(‐‐environment)parameter,youmustsetthefollowingthree
environmentvariables:
■ ISSERVERNAME
■ ISUSERNAME
■ ISPASSWORD
Aftersettingthesevariables, the environmentparametercanbeusedinthelogin
commandinplaceof‐s<server‐name>‐u<user‐name>‐p <pa ssword>.Therefore,
youcouldtype thefollowingto login:isconlogin‐e
Tosettheseenvironmentvariablesinthebashshell,youmustse tthreevariables
as
follows:
■ exportISSERVERNAME=10.1.1.1
■ exportISUSERNAME= root
■ exportISPASSWORD=password
‐X(‐‐rpc‐timeout)isanoptiontospecifyanumberbetween1and30000inseconds
fortheRPCtimeout.Thesystemwillretrythecommandfortheamountoftime
specifiedif theserverdoesnotrespond.ThedefaultRPCtimeoutis30seconds.