Professional Documents
Culture Documents
SYMCLI Cheet Sheet: Leave A Comment
SYMCLI Cheet Sheet: Leave A Comment
# /usr/symcli/bin/symcfg discover
# /usr/symcli/bin/symcfg list
Once installed the below table lists all common commands that can be used using the symcli
command interface.
symmaskdb commands
init
backup
restore
remove
list database
list devs (-wwn)
list assignment (-dev)
list capacity (-host)
symdev commands
list
-v list
show <symdevname>
-noport list
sympd commands
list
list -vcm
lists the symmetrix devices that are accessed through fibre channel and shows
their controlling director, TID, LUN, device number and serial number. Also
shows which device holds the device masking database (VCM).
lists all the physical devices in the device masking database
symcfg commands
list -v
list -address -fa -available
all
list -sa all
list -sa 15D -v
-application list
-connections list
symmask commands
add devs
remove devs
delete
replace
set lockdown
set visibility
set lunoffset
set heterogeneous
rename
refresh
discover hba
list logins
list hba
add a device to the list of devices that a WWN can access in the database
remove a device from the list of devices that a WWN can access in the database
deletes all access rights for a WWN in the database
allows one HBA to replace another
sets or clears the fibre channel ID lockdown
sets or clears visibility for noncontiguous LUNS
sets or clears a LUN base/offset skip for noncontiguous LUNS.
sets or clears heterogeneous host inform with distinctive attributes
changes the AWWN for the specified WWN in the database and login history
table
causes the symmetrix system to refresh its WWN related memory tables with
the contents of the database
If you update the VCMDB you must run this command to see your
changes
discovers the HBA on the host and assigns AWWN to the login history table
entries for thoses WWNs that are not set
Lists foreach fibre director which hosts and HBAs are logged into the
symmetrix. (displays the login history table contents)
lists WWNs of the fibre HBAs on this host.
symconfigure commands
verify that we have access to the symmetrix and we can make changes
confirm that the syntax is correct (since we use a mapping files)
commit the changes to the database
/var/symapi/db/symapi_db.bin
/var/symapi/config/netcnfg
/var/symapi/config/options
/var/symapi/config/symavoid
/var/symapi/config/gkavoid
/var/symapi/config/inqfile
/var/symapi/log/symapi<date>.log
common commands
VCMDB
initialize the VCMDB
backup the VCMDB
symcfg
symcfg list : A brief description of the all connected Symmetrix boxes.
symcfg -sid 1234 list -lockn all : Lists 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 : Lists the LUN information / availability of lun ids
on port 4a:0 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 : Lists all devices in symmetrix 1234.
symdev -sid 1234 list -noport : Lists the devices which are not mapped to any ports.
symdev -sid 1234 list -noport -meta : Lists all unmapped meta devices .
symdev -sid 1234 list -dynamic : Lists 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 the 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 the given wwn
number .
symmask