100% found this document useful (1 vote)
468 views

Symcli Commands

This document provides a cheatsheet of common SYMCLI commands for managing EMC Symmetrix storage arrays. It lists commands for querying device and array configuration (symcfg, symdev), masking and zoning (symmask, symmaskdb), RAID configuration (symdisk), replication (symrdf), and device grouping (symdg, symld). The commands allow administrators to view, configure, and manage devices, LUNs, ports, replication relationships, and other array components from the command line.

Uploaded by

abi3719
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
468 views

Symcli Commands

This document provides a cheatsheet of common SYMCLI commands for managing EMC Symmetrix storage arrays. It lists commands for querying device and array configuration (symcfg, symdev), masking and zoning (symmask, symmaskdb), RAID configuration (symdisk), replication (symrdf), and device grouping (symdg, symld). The commands allow administrators to view, configure, and manage devices, LUNs, ports, replication relationships, and other array components from the command line.

Uploaded by

abi3719
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 5

http://www.rajeshvu.com/san/?

utility=Symcli%20Commands.art

Symcli Commands

Cheatsheet of symcli commands..

symcfg
 symcfg list» A brief description of the all connected Symmetrix boxes.
 symcfg -sid 1234 remove» Remove the array 1234 from symcfg list.
 symcfg -sid 1234 list -lockn all» List all the external locks held in Symmetrix
array 1234.
 symcfg -sid 1234 -lockn 15 release -force» Release the lock 15 held on array
1234 .
 symcfg -sid 1234 list -v» Displays detailed information about the Symmetrix Array
1234.
 symcfg -sid 1234 -dir 4a -p 0 list -addr -avail» List the LUN
information / availability of lun ids on port 4a0 in array 1234 .
 symcfg -sid 1234 list -rdfg all» List details about all the rdf groups in array.
 symcfg -sid 1234 list -rdfg 3» List details about rdf group 3 .
 symcfg -sid 1234 list -rdfg all -dynamic» List details about all the dynamic
rdf groups in array .
 symcfg -sid 1234 list -rdfg all -static» List details about all the static rdf
groups in array .
 symcfg -sid 1234 list -ra all» List all RA ports with details like rdfg number ,
remote array sid and online status.
 symcfg discover» Scans all the devices in hosts looking for new symmetrix devices and
rebuilds the symmetrix configuration database .
symdev
 symdev -sid 1234 list» List all devices in symmetrix 1234.
 symdev -sid 1234 list -noport» List the devices which are not mapped to any ports.
 symdev -sid 1234 list -noport -meta» List all unmapped meta devices .
 symdev -sid 1234 list -dynamic» List all devices whose dyn_rdf attribute set .
 symdev -sid 1234 list -emulation celerra» List all celerra devices .
 symdev -sid 1234 list -emulation FBA» List all FB devices .
 symdev -sid 1234 list -hotspare» Checks whether hotspare invoked in the array .
 symdev -sid 1234 show ABC» show the detailed information about device ABC.
 symdev -sid 1234 list -range ABC:ABE -v» show the detailed information of
devices ABC to ABE.
 symdev -sid 1234 list -range ABC:ABE -multiport» List the devices from
ABC:ABE with the mapped FA information if they are assigned to more than one FA port.
 symdev -sid 1234 write_disable ABC -SA all» Write disable the device ABC
from through all directors.
 symdev -sid 1234 write_disable ABC -SA 3a -p 0» Write disable the device
ABC on FA port 3a:0.
 symdev -sid 1234 not_ready ABC -SA all» Not ready the device ABC from
through all directors.
 symdev -sid 1234 not_ready ABC -SA 3a -p 0» Not ready the device ABC on
FA port 3a:0.
symmaskdb
 symmaskdb -sid 1234 -dev ABC list assign» List the masking details of the dev
ABC .
 symmaskdb -sid 1234 -wwn xxxxxxx list devs» List the devices masked to
given wwn number .
 symmaskdb -sid 1234 -awwn hba_alias list devs» List the devices masked to
given alias hba name .
symmask
 symmask list hba» List HBA details of the host.
 symmask -sid 1234 -dir 4a -p 0 list logins» List out wwns logged through
port 4a0 .
 symmask -sid 1234 list logins -wwn xxx» Check whether wwn xxx logged in to
any of the FAs on array 1234.
 symmask -sid 1234 delete -logins -wwn xxx» Delete the login history of wwn
xxx from all FA logged ports.
 symmask -sid 1234 refresh» Refresh the VCM Data Base after a masking and
unmasking operation.
 symmask -sid 1234 -wwn xxxx -dir 4a -p 0 add devs ABC,ABD» Mask
the devices ABC and ABD to given wwn in 1234 arrray .
 symmask -sid 1234 -wwn xxxx -dir 4a -p 0 remove devs ABC,ABD»
Unmask the devices ABC and ABD from given wwn in 1234 arrray .
 symmask -sid 1234 -wwn xxxx replace yyyy»Replace all occurance of wwn xxxx
with yyyy in array 1234.
symdg
 symdg -sid 1234 list» List device groups which include the devices from array 1234.
 symdg create mydg -type rdf1» Create device group mydg of rdf1 type .
 symdg show mydg» Shows members/details of mydg.
 symdg rename mydg yourdg» Renames the mydg to yourdg.
 symdg delete mydg -force» Delete device group mydg.
symld
 symld -g mydg -sid 1234 add dev ABC DEV006» Add the RDF device ABC to
device group mydg as DEV006
 symld -g mydg remove DEV006» Remove DEV006 form device group mydg.
symrdf
 symrdf -sid 1234 -rdfg 3 -type rdf1 -file rdf.txt -g mydg
createpair -establish» Establish the SRDF relation between the devices given in the file rdf.txt
from array 1234(R1) and remote box according to the rdf group . This command start sync between R1 and
R2, and also add these devices after creating the device group mydg.
 symrdf -sid 1234 -rdfg 3 -file rdf.txt query» Query the Devices by using
device pair file.
 symrdf -g mydg set mode acp_disk» Set synching mode to Adaptive Copy.
 symrdf -g mydg query» Query device group.
 symrdf -g mydg split» Split the srdf pair for devices given in mydg.
 symrdf -sid 1234 -rdfg 3 -file rdf.txt deletepair.txt -force»
Delete the srdf pairing between R1/R2 and return them to stanadard.
symdisk
 symdisk -sid 1234 list -hotspare» List Hotspares configured in the array.
 symdisk -sid 1234 list -by_diskgroup» Displays all the disks in array by disk
groups.
 symdisk -sid 1234 list -diskg_roup 1» Displays all the disks in disk group 1.

Commons SYMCLI

symcfg

 symcfg list - A brief description of the all connected Symmetrix boxes.


 symcfg -sid 1234 remove - Remove the array 1234 from symcfg list.
 symcfg -sid 1234 list -lockn all - List all the external locks held in
Symmetrix array 1234.
 symcfg -sid 1234 -lockn 15 release -force - Release the lock 15 held
on array 1234 .
 symcfg -sid 1234 list -v - Displays detailed information about the
Symmetrix Array 1234.
 symcfg -sid 1234 -dir 4a -p 0 list -addr -avail - List the LUN
information / availability of lun ids on port 4a0 in array 1234 .
 symcfg -sid 1234 list -rdfg all - List details about all the rdf groups in
array.
 symcfg -sid 1234 list -rdfg 3 - List details about rdf group 3 .
 symcfg -sid 1234 list -rdfg all -dynamic - List details about all the
dynamic rdf groups in array .
 symcfg -sid 1234 list -rdfg all -static - List details about all the
static rdf groups in array .
 symcfg -sid 1234 list -ra all - List all RA ports with details like rdfg
number , remote array sid and online status.
 symcfg discover - Scans all the devices in hosts looking for new
symmetrix devices and rebuilds the symmetrix configuration database .

symdev
 symdev -sid 1234 list - List all devices in symmetrix 1234.
 symdev -sid 1234 list -noport - List the devices which are not mapped
to any ports.
 symdev -sid 1234 list -noport -meta - List all unmapped meta devices .
 symdev -sid 1234 list -dynamic - List all devices whose dyn_rdf
attribute set .
 symdev -sid 1234 list -hotspare - Checks whether hotspare invoked in
the array .
 symdev -sid 1234 show ABC - show the detailed information about devioce
ABC.
 symdev -sid 1234 write_disable ABC -SA all - Write disable the device
ABC from through all directors.
 symdev -sid 1234 not_ready ABC -SA all - Not ready the device ABC
from through all directors.

symmaskdb

 symmaskdb -sid 1234 -dev ABC list assign - List the masking details of
the dev ABC .
 symmaskdb -sid 1234 -wwn xxxxxxx list devs - List the devices masked
to given wwn number .
 symmaskdb -sid 1234 -awwn hba_alias list devs - List the devices
masked to given alias hba name .

symmask

 symmask list hba - List HBA details of the host.


 symmask -sid 1234 -dir 4a -p 0 list logins - List out wwns logged
through port 4a0 .
 symmask -sid 1234 list logins -wwn xxx - Check whether wwn xxx
logged in to any of the FAs on array 1234.
 symmask -sid 1234 refresh - Refresh the VCM Data Base after a
masking and unmasking operation.
 symmask -sid 1234 -wwn xxxx -dir 4a -p 0 add devs ABC,ABD - Mask
the devices ABC and ABD to given wwn in 1234 arrray .
 symmask -sid 1234 -wwn xxxx -dir 4a -p 0 remove devs ABC,ABD -
Unmask the devices ABC and ABD from given wwn in 1234 arrray .

symdg

 symdg -sid 1234 list - List device groups which include the devices from
array 1234.
 symdg create mydg -type rdf1 - Create device group mydg of rdf1 type .
 symdg show mydg - Shows members/details of mydg.
 symdg rename mydg yourdg - Renames the mydg to yourdg.
 symdg delete mydg -force - Delete device group mydg.
symld

 symld -g mydg -sid 1234 add dev ABC DEV006 - Add the RDF device
ABC to device group mydg as DEV006
 symld -g mydg remove DEV006 - Remove DEV006 form device group
mydg.

symrdf

 symrdf -sid 1234 -rdfg 3 -type rdf1 -file rdf.txt -g mydg


createpair -establish - Establish the SRDF relation between the
devices given in the file rdf.txt from array 1234(R1) and remote box
according to the rdf group . This command start sync between R1 and R2,
and also add these devices after creating the device group mydg.
 symrdf -sid 1234 -rdfg 3 -file rdf.txt query - Query the Devices by
using device pair file.
 symrdf -g mydg set mode acp_disk - Set synching mode to Adaptive
Copy.
 symrdf -g mydg query - Query device group.
 symrdf -g mydg split - Split the srdf pair for devices given in mydg.
 symrdf -sid 1234 -rdfg 3 -file rdf.txt deletepair.txt -force -
Delete the srdf pairing between R1/R2 and return them to stanadard.

symdisk

 symdisk -sid 1234 list -hotspare - List Hotspares configured in the


array.
 symdisk -sid 1234 list -by_diskgroup - Displays all the disks in array
by disk groups.
 symdisk -sid 1234 list -diskg_group 1 - Displays all the disks in disk
group 1.

http://nurledge-storage.blogspot.com/2010/08/commons-symcli.html

You might also like