Wednesday, January 14, 2015

VMAX - Auto Provisioning

1) List existing thin devices
    symdev list -sid 123 -all -tdev -cyl

2) Create thin devices
    symconfigure -sid 123 -cmd "create dev count=8, size=1100,config=tdev,emulation=FBA;" prepare
    symconfigure -sid 123 -cmd "create dev count=8, size=1100,config=tdev,emulation=FBA;"commit

3) Verify newly created thin devices
     symdev list -sid 123 -tdev -unbound

4) Create data devices
    symconfigure -sid 123 -cmd "create dev count=8,size=1100,config=2-way-mir,  disk=group=3,emmulation=FBA,attribute=datadev

     symdisk list -dskgrp_summary
     symdev list -sid 123 -datadev

5) Crate thin pools
    symconfigure sid 123 -cmd "create pool p, -type=thin;" prepare/commit

     symcfg -sid 123 list -pool -thin
     symcfg -sid 123 show -pool p1 -type thin
     symcfg -sid 123 show -pool p1 -type thin -detail

6) Add data devices to pool
    symconfigure -sid 123 -cmd "add dev 255:256 to pool p1,type=thin,member_state=enable;" commit

7) Bind tdev to thin pool
    symconfigure -sid 123 -cmd "bind tdev 24D:250 to pool p1;" prepare/commit

     symcfg list -sid 123 -tdev -range 24D:250
     symdev -sid 123 list -noport

8)  Pre-allocate space on Tdev
     symconfigure -sid 123 -cmd "start allocate on tdev 24D:250 start_cyl=0,size=100MB;" prepare/commit

9) Create Meta when provisioning data is larger in space
    symconfigure -sid 123 -cmd "form meta from dev 107, config=concatenated/striped; add dev 108 to meta 107;"

    auto meta feature is disabled by default

10) Create Storage group
      symaccess -sid 123 crate -name SG -type storage

       Add devices to storage group
       symaccess -sid 123 -name SG -type storage add devs CD:F4

11) Create Port group
      symaccess -sid 123 create -name PG -type port
    
       Add FA ports to port group
       symaccess -sid 123 -name PG -type port -dirport 7F:1 add

12) Create Initiator group
       symaccess -sid 123 create -name IG -type initiator
      
      Add wwns to initiator group
      symaccess -sid 123 -name IG -type initiator -wwn 5000 add


13) Create Masking view
       symaccess -sid 123 create view -name MV  -sg SG -pg PG -ig IG











No comments:

Post a Comment