Thursday, January 19, 2012

VMAX Thin LUN provisioning

VMAX LUN provisioning includes the following steps:

Create a Thin Device
Create a storage group with the device created
Create an initiator group with host WWNs
Create a port group with array controller (follow rule of 17)
Create a masking view with storage group, initiator group and port group

Create a VMAX Thin Device

A. Create a text file:

create dev count=1, size=350GB, emulation=FBA,
config=TDEV,device_attr=SCSI3_persist_reserv ,binding to pool=Silver_FC_P2;

symconfigure -sid 4328 -f command_file.txt prepare

symconfigure -sid 4328 -f command_file.txt commit

Or

C:\>symconfigure -sid xxxx -cmd "create dev count=10, size=109227, emulation=fba,

config=TDEV, device_attr = SCSI3_persist_reserv, binding to pool=Silver_FC_P2"; commit

Create a Meta thin device.

C:\>symconfigure -sid xxxx -cmd "create dev count=10, size=109227, emulation=fba

, config=TDEV, device_attr = SCSI3_persist_reserv"; commit

Note down the new Devices created : eg : New symdevs : 1604:160D

C:\>symconfigure -sid xxxx -cmd "form meta from dev 1604, config=concatenated;
add dev 1605:160D to meta 1604"; commit

C:\>symconfigure -sid xxxx -cmd "bind tdev 1604 to pool Silver_FC_P2"; commit

Create a storage group

symaccess -sid XXXX -type storage -name TTTT create devs 1604

symaccess -sid xxxx -type storage -name TTTT add devs 160E

or

symaccess -sid xxxx -type storage -name TTTT create devs 1604:1605

symaccess -sid xxx -name TTTT -type storage create devs 0050, 0055

Create an initiator group

symaccess -sid xxxx -type initiator -name yyyy create -wwn 21000024FF31EA98

symaccess -sid xxxx -type initiator -name yyyy add -wwn 21000024FF31EA99

 It is also possible to create the group and add in one command as follows:

symaccess -sid xxxx create -name <init_group_name> -type initiator -f <filename>

where the file <filename> contains WWN entries,

eg: 2000000000000001, 2000000000000002, 2000000000000003

Create a Port Group.

symaccess -sid xxxx create -name hhhh -type port -dirport 9e:0,11e:0.

  Create a Masking view

symaccess -sid xxxx create view -name ZZZZ-sg TTTT -pg hhhh -ig YYYY

To verify the Configurations:

symaccess -sid xxxx list -type initiator / symaccess -sid xxx -type initiator show YYYY

symaccess -sid xxxx list -type storage

symaccess -sid xxxx list -type port symaccess -sid xxxx list view

C:\>symaccess -sid xxx show view zzzz

No comments:

Post a Comment