- Sun Storage Virtual Tape Library VTL User Guide
Technical support
96267 • G Appendix A VTL command line reference 225
Technicalsupport
GetX‐Ray
iscon getxray -s <server-name> [-u <username> -p <password>]
[-l <#|all|YYMMDDhhmm-YYMMDDhhmm>] [-r] [-o <filename>] [-f] [-X <rpc-
timeout>]
iscon getxray --server-name=<server-name>
[--server-username=<username> --server-password=<password>]
[--get-log=<#|all|YYMMDDhhmm-YYMMDDhhmm>] [--rescan-for-xray] [--output-
file=<filename>] [--force] [--rpc-timeout=<rpc-timeout>]
Description:
Thiscomma n d allowsyoutoge tX‐rayinformationfromtheVTLServerfor
diagnosticpurposes.EachX‐raycontainstechnicalinforma tion aboutyourserver,
suchasserverme ssagesand a sna pshotofyourserverʹscurrentconfigurationand
environment.YoushouldnotcreateanX‐rayunlessyouarerequested
todosoby
yourTechnicalSupportrepres entative.
‐l(‐‐get‐log)isafiltertogetthespecifie dlogmessages.
■ #=numberoflines
■ all=allthelogmessages
■ YYMMDDhhmm‐YYMMDDhhmm=logmessagesindate/timerange
Thedefaultistogetallthelogmessages.
‐r(‐‐rescan‐for‐xray)isanoption torescanthephysicaldevicesbeforethexrayis
taken.Thedefaultisnottorescanthedevices.
‐o(‐‐output‐file)is thefullpa th
ofthefilenametosavethexrayto.Thedefault
outputfilenameformat is:
xray‐YYYY‐MM‐DD‐hh‐mm‐<servername>.tar.gz
Specifythe‐f(‐‐force)optionifyouwanttooverwritetheexistingfileiftheoutput
filealreadyexist s.Otherwise,anerrorwillbereturned.
‐X(‐‐rpc‐
timeout)isanop tio ntospecifyanumberbetween1and30000inseconds
fortheRPCtimeout.Thesystemwillretrythecommandfortheamountoftime
specifiedif theserverdoesnotrespond.ThedefaultRPCtimeoutis300seconds.