Thursday, January 15, 2015

VAMX - Create similar devices from Disk group

Verify disk group information:
symdisk list -dskgrp_summary

symconfigure -sid 123 -cmd "configure 10 devices copying dev 1512 overriding disk_group=1;" preview -v -nop

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











VMAX - Basic Commands

1) Verify free space on Vmax
     symconfigure list -freespace

2) To make device not ready
     symdev not-ready <symdev>

Submission of Configuration changes in 3 different ways

1) Using -CMD
    symconfigure -sid 123 -cmd "delete dev 1234;" prepare
2)  Using  -f
    symconfigure -sid 123 -file myfile commit
    myfile.txt  -  delete dev 1234;

3) Using <<EOF
    symconfigure -sid 123 -noprompt prepare
    <<EOF
         dissolve meta dev 002;
         EOF


Query to see status after command executed

  symconfigure -sid 123 query
 
  Abort the running process
  symconfigure -sid 123 abort -session-id <sessionid>


 Setting Enviornmental variables

symcli
set symcli-cli-access-PAEALLEL
set symcli-wait-on-db=1

symcli -def
symcfg discover
symcfg list
 

 Search Tdev Information

1) symdev list -cyl -sid 495 | find "TDEV"

Free space

symconfigure list -free -sid 123

Disk group information

symdisk list -sid 123 -dskgrp-summary

symconfigure verify -sid 123

symlmf query -type emclm -sid 123







Wednesday, January 7, 2015

Isilon - SNMP node information sending traps

On Isilon cluster, Lowest logical number node always sent snmp traps to SNMP server. Hardware related incidents are sent from individual node.

To find which node is acting as primary and sending traps

cat /var/log/isi_celog_coalescer.log |grep “CELOG master is” |tail -1

isi_nodes %{node}...%{internal_a}...%{internal_b} |grep <ip_address_from_last_command>



Monday, January 5, 2015

Isilon - Create Replication session policies Continuous

isi sync policies create --name=abc --action=sync --target-host=isilon.test.xxx.com --target-path=/ifs/isilon/xxx --source-root-path=/ifs/isilon/beta/xxx --description=xxx --schedule=When-Source-Modified