Sun Microsystems Virtual Tape Library manual Create virtual device, Delete virtual device

Models: Virtual Tape Library

1 292
Download 292 pages 53.18 Kb
Page 191
Image 191

Virtual devices / Clients

‐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.

Create virtual device

iscon createvdev -s <server-name> [-u <username> -p <password>] -I <ACSL> [-n <vdevname>] [-X <rpc-timeout>]

iscon createvdev --server-name=<server-name>

[--server-username=<username> --server-password=<password>]

--scsiaddress=<ACSL> [--vdevname=<vdevname>] [--rpc-timeout=<rpc-timeout>]

Description:

This command allows you to create a direct virtual device, such as virtual tape library or virtual tape drive.

‐I (‐‐scsiaddress) is required to specify the SCSI address of the virtual tape library or virtual tape drive in the following format: ACSL=#:#:#:# (adapter:channel:id:lun)

‐n (‐‐vdevname) is an option to specify the direct virtual device name. A default name will be generated if the name is not specified.The maximum length is 64. Leading and trailing spaces will be removed. Enclose the name in double quotes.The following characters are invalid for the direct virtual device name: <>ʺ&$/\ʹ

‐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 300 seconds.

Delete virtual device

iscon deletevdev -s <server-name> [-u <username> -p <password>] -v <vdevid> [-d] [-f] [-X <rpc-timeout>]]

iscon deletevdev --server-name=<server-name>

[--server-username=<username> --server-password=<password>] --vdevid=<vdevid> [--delete-virtual-tapes] [--force] [--rpc-timeout=<rpc-timeout>]

Description:

This command allows you to delete a virtual tape library, virtual tape drive, standalone virtual tape drive, or virtual tape.

In order to delete a virtual tape drive from a virtual tape library, the virtual tape drive must have the highest element number in the library.

96267 • G

Appendix A VTL command line reference 177

Page 191
Image 191
Sun Microsystems Virtual Tape Library manual Create virtual device, Delete virtual device