- Sun Storage Virtual Tape Library VTL User Guide

Technical support
96267 • G Appendix A VTL command line reference 225
Technicalsupport
GetXRay
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 tXrayinformationfromtheVTLServerfor
diagnosticpurposes.EachXraycontainstechnicalinforma tion aboutyourserver,
suchasserverme ssagesand a sna pshotofyourserverʹscurrentconfigurationand
environment.YoushouldnotcreateanXrayunlessyouarerequested
todosoby
yourTechnicalSupportrepres entative.
l(‐‐getlog)isafiltertogetthespecifie dlogmessages.
#=numberoflines
all=allthelogmessages
YYMMDDhhmmYYMMDDhhmm=logmessagesindate/timerange
Thedefaultistogetallthelogmessages.
r(‐‐rescanforxray)isanoption torescanthephysicaldevicesbeforethexrayis
taken.Thedefaultisnottorescanthedevices.
o(‐‐outputfile)is thefullpa th
ofthefilenametosavethexrayto.Thedefault
outputfilenameformat is:
xrayYYYYMMDDhhmm<servername>.tar.gz
Specifythe‐f(‐‐force)optionifyouwanttooverwritetheexistingfileiftheoutput
filealreadyexist s.Otherwise,anerrorwillbereturned.
X(‐‐rpc
timeout)isanop tio ntospecifyanumberbetween1and30000inseconds
fortheRPCtimeout.Thesystemwillretrythecommandfortheamountoftime
specifiedif theserverdoesnotrespond.ThedefaultRPCtimeoutis300seconds.