- Sun Storage Virtual Tape Library VTL User Guide

Physical devices
96267 • G Appendix A VTL command line reference 211
AssignphysicalresourcetoVTL
iscon assignresourcetovtl -s <server-name> [-u <username> -p <password>]
-I <ACSL> [-L <tape-library-vid>] [-X <rpc-timeout>]
iscon assignresourcetovtl --server-name=<server-name>
[--server-username=<username> --server-password=<password>]
--scsiaddress=<ACSL> [--tape-library-vid=<tape-library-vid>]
[--rpc-timeout=<rpc-timeout>]
Description:
Thiscomma n d assignsaphysicaltapelibraryordrivetoVTL.
I(‐‐scsiaddress)isrequiredinordertoidentifythephysicaltapelibraryor the
physicaltapedrivetobeassignedtoVTL.
L(‐‐tapeli brary vid) isanoptiontospecifythephysicaltapelibraryasa
parent
whenassigningphysicaltapedrivetophysicaltapelibrarythatisalreadyassigned
toVTL.
Thephysic al tapelibraryinformationcanberetrievedbyissuingthegetvtlinfo
command.
X(‐‐rpctimeout)isanoptiontospecifyanumberbetween1and30000inseconds
fortheRPCtimeout.The
systemwillretrythecommandfortheamountoftime
specifiedif theserverdoesnotrespond.ThedefaultRPCtimeoutis30seconds.
UnassignphysicalresourcefromVTL
iscon unassignresourcefromvtl -s <server-name> [-u <username> -p <password>]
-v <vdevid> [-q] [-X <rpc-timeout>]
iscon unassignresourcefromvtl --server-name=<server-name>
[--server-username=<username> --server-password=<password>] --vdevid=<vdevid>
[--preserve-directlink] [--rpc-timeout=<rpc-timeout>]
Description:
Thiscomma n d unassignsaphysicaltape libraryordrivefromVTL.
v(‐‐vdevid)isrequiredtospecifytheIDofthephysicaltapelibraryorthephysical
tapedrivetobeunassignedfromVTL.
q(‐‐preservedirectlink)inanoption topreservethedirectlinkedtape sforphy si c al
tapelibraries.
X(‐‐rpctimeout)isanoptiontospecifyanumberbetween1and30000inseconds
fortheRPCtimeout.Thesystemwillretrythecommandfortheamountoftime
specifiedif theserverdoesnotrespond.ThedefaultRPCtimeoutis30seconds.