HP StorageWorks Scalable File Share System Installation and Upgrade Guide Version 2.2

SSSU script exampleF–2
ADD VDISK "\Virtual Disks\sfs\service1" DISK_GROUP="\Disk Groups\diskgroup1" SIZE=1
REDUNDANCY=VRAID5 WRITECACHE=WRITEBACK
MIRRORCACHE=MIRRORED READ_CACHE NOWRITE_PROTECT OS_UNIT_ID=0
PREFERRED_PATH=PATH_A_BOTH WAIT_FOR_COMPLETION
ADD LUN 1 VDISK="\Virtual Disks\sfs\service1\ACTIVE" HOST="\Hosts\sfs\south29-30"
ADD VDISK "\Virtual Disks\sfs\ost1A" DISK_GROUP="\Disk Groups\diskgroup1" SIZE=1000
REDUNDANCY=VRAID5 WRITECACHE=WRITEBACK
MIRRORCACHE=MIRRORED READ_CACHE NOWRITE_PROTECT OS_UNIT_ID=0
PREFERRED_PATH=PATH_A_BOTH WAIT_FOR_COMPLETION
ADD LUN 2 VDISK="\Virtual Disks\sfs\ost1A\ACTIVE" HOST="\Hosts\sfs\south29-30"
ADD VDISK "\Virtual Disks\sfs\ost1B" DISK_GROUP="\Disk Groups\diskgroup1" SIZE=200
REDUNDANCY=VRAID5 WRITECACHE=WRITEBACK M
IRRORCACHE=MIRRORED READ_CACHE NOWRITE_PROTECT OS_UNIT_ID=0
PREFERRED_PATH=PATH_A_BOTH WAIT_FOR_COMPLETION
ADD LUN 3 VDISK="\Virtual Disks\sfs\ost1B\ACTIVE" HOST="\Hosts\sfs\south29-30"
ADD VDISK "\Virtual Disks\sfs\ost2A" DISK_GROUP="\Disk Groups\diskgroup2" SIZE=1000
REDUNDANCY=VRAID5 WRITECACHE=WRITEBACK
MIRRORCACHE=MIRRORED READ_CACHE NOWRITE_PROTECT OS_UNIT_ID=0
PREFERRED_PATH=PATH_B_BOTH WAIT_FOR_COMPLETION
ADD LUN 4 VDISK="\Virtual Disks\sfs\ost2A\ACTIVE" HOST="\Hosts\sfs\south29-30"
ADD VDISK "\Virtual Disks\sfs\ost2B" DISK_GROUP="\Disk Groups\diskgroup2" SIZE=200
REDUNDANCY=VRAID5 WRITECACHE=WRITEBACK M
IRRORCACHE=MIRRORED READ_CACHE NOWRITE_PROTECT OS_UNIT_ID=0
PREFERRED_PATH=PATH_B_BOTH WAIT_FOR_COMPLETION
ADD LUN 5 VDISK="\Virtual Disks\sfs\ost2B\ACTIVE" HOST="\Hosts\sfs\south29-30"
!
! SSSU CAPTURE script checksum end: a0183f2a
F.2 Running the script
When you have finished editing the script, run the script as follows:
1. Start the SSSU utility and connect to the Microsoft Windows server where Command View EVA is
installed, as shown in the following example, where the Microsoft Windows server is at IP address
16.123.123.30 and the password is secret:
# /usr/sbin/sssu
> select manager 16.123.123.30 USERNAME=user PASSWORD=secret
2. Select the array that you want to configure, as follows (you may need to enter the show system
command at the sssu prompt to identify the system name):
> select system "Uninitialized Storage System#"
3. Run the script on the array, as follows, where script_file is the name of your script:
> run script_file