HP StorageWorks Storage System Scripting Utility reference (September 2005)

WORLD_WIDE_NAME=
The World Wide Na
me of the Fibre Channel adapter.
Required switch
The WORLD_WID E_NAME switch must be set to ensure that HP Command View EVA recognizes the host
added with the ADD HOST command.
Example
ADD HOST \Hosts\development WORLD_WIDE_NAME=5000-1fe1-ff00-0000
This example adds a host development with an adapter at a WWN of 5000-1fe1-ff00-0000.
ADD LUN
The ADD LUN command makes previously created virtual disks available to a host.
Syntax
ADD LUN <LUN_number> VDISK=<storage_name> HOST=<host_name>
Switches
The following switches are available with the ADD LUN command.
HOST=
The name of the
host to which the LUN is presented.
VDISK=
Thenameofthevirtualdiskthatispresentedtothehost.
Required switches
Set the following switches so that HP Command View EVA recognizes the LUN you add with the ADD
LUN command.
HOST
VDISK
Examples
ADD LUN 12 VDISK=“\Virtual Disks\act\payroll\ACTIVE” HOST=\Hosts\sanfran
This exam ple adds LUN 12, which presents the ACTIVE virtual disk for the family payroll to the host
called sanfran.
ADD LUN 175 VDISK=USER_DISK HOST= corporate
This example uses aliases ad adds LUN 175, which presents the AC TIVE virtual disk for the family
user_disk to the host called corporate.
ADD SNAPSHOT
TheADDSNAPSHOTcommandcreatesapicture(notafullcopy)ofavirtualdiskfamilysactive
virtual di
sk.
HP StorageWorks Storage System Scripting Utilit y reference
35