Thursday, February 5, 2015

Isilon - Replication issue

isi_classic sync job report -v policy_name
isi_classic sync pol run policy_name
isi_services -a
isi_mcp start
ps auxwww |grep migr

If scheduler job got stale Follow below process

cp /ifs/.ifsvar/modules/tsm/config/source_record.xml /ifs/.ifsvar/modules/tsm/config/source_record.xml.bak

vi /ifs/.ifsvar/modules/tsm/config/souce_record.xml

Change to <pending-job> No Job Action </pending-job>
                 <current-owner> No Job Owner </current-owner>

egrep 'pending-job |current-owner' /ifs/.ifsvar/modules/tsm/config/source_record.xml | less

Isilon - Verify services running on Isilon

isi services -a

Nexus 7K switch Troubleshooting - Port failure

CLI command history

Show cli history 50
show logging last 50
dir log:

show interface ethernet 8/15
show interface ethernet 8/15 brief
show port-channel summary interface po326
show diagnostic result module 8
show hardware internal errors module 8 | diff
show running-config int eth 8/15
show running-config int po326 membership
show module internal event-history module 8
show vlc consistency-parameters global
show run int po 326 men
show int status module 8
show port-channel database interface port-channel 326
show accounting log




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>