SYMCLI Reference

0
248

1. Display the properties and details of a particular volume
symdev sid xxxx show [SymDevName]
2. List of available devices that are created but not assigned to the front end FA’s.
symdev sid xxxx list noport nobcv
3. List of mapped devices on FA.
symcfg sid xxxx list available address dir xx p x
4. View the fibre connectivity statuses of the FA’s.
symcfg sid xxxx FA ALL -port list
5. View the fibre connectivity statuses of the RA’s and the RAGroups.
symcfg sid xxxx RA ALL port list
6. View the HBAs zoned & loggin into the FA.
symmask sid xxxx list logins dir xx p x
7. Adding LUN Masking (assigning LUNs to host HBAs)
symmask -sid xxxx -wwn 10000000cxxxxxxx -dir xx -p x add devs xxx,xxx,xxx
8. Aliasing/Renaming the Host HBA wwn’s in the LUN Masking Database.
symmask sid xxxx wwn 10000000cxxxxxxx rename[NodeName]/[PortName]
Exmaple:-  symmask sid 1200 wwn 10000000c9408060 rename “kopeqdrac01/a1”
9. Removing LUN Masking (unassigning LUNs from host HBA’s)��
symmask -sid xxxx -wwn 10000000cxxxxxxx -dir xx -p x remove devs xxx,xxx
10. Refreshing the LUN Masking DB (This MUST be done every time a change is made.
symmask -sid xxxx refresh -noprompt
11. List the LUN Masking DB by FA
symmaskdb sid xxxx list database dir xx p x
12 .List the LUN Masking DB by a Host’s wwn.
symmaskdb sid xxxx list database wwn 10000000cxxxxxxx
13. List the LUN Masking DB by an Alias.
symmaskdb sid xxxx list database awwn [NodeName]/[PortName]
14. List the wwn’s/alias’ for a particular LUN.
symmaskdb sid xxxx list assignment dev [SymDevName]
15. List a capacity report for an Alias (Host)
symmaskdb -sid xxxx list capacity -host [NodeName]
16. List all the Device Groups on that server.
symdg list
17 .List details and properities of a particular device group.
symdg show [device group]
18 .Create a new device group for BCV ONLY relationships.
symdg -type REGULAR create [new dg name]
symld g [devicegroup] sid xxxx add dev [SymDevName]
symbcv g [device group] sid xxxx add dev [SymDevName]
symmir (BCV) commands.
symmir g [device group] query
symmir g [device group] establish
symmir g [device group] split
19. Create a new device group from the RDF1 (Source) location
symdg -type RDF1 create [new dg name]
symld g [device group] sid xxxx add dev [SymDevName]
Commands for splitting the SRDF
symrdf -g [device group] set mode sync
symrdf -g [device group] query (keep checking until all synchronized)
symrdf -g [device group] split
symrdf -g [device group] query (make sure split)
symrdf -g [device group] set mode acp_disk��
Putting SRDF back in place not saving any changes made in DR
symrdf -g [device group] que (make sure mode is C.D)
symrdf -g [device group] est
symrdf -g [device group] query (query until less than 1GB left to synchronize)
symrdf -g [device group] set mode acp_wp
symrdf -g [device group] query (query until synchronized and make sure mode is C.W)
20. Create a new device group from the RDF2 (Target) location.
symdg -type RDF2 create [new dg name].
symld g [device group] sid xxxx add dev [SymDevName]
21. View the statistics of the RA adapters
symstat sid xxxx ra all i x c x
22. View the UNCONFIGURED space on the symm(DMX)
symconfigure -sid xxxx list -freespace -units MB
23. This will check if you can run a symconfigure script
symconfigure sid xxxx verify
24. This will check to see if there are any symconfigure scripts currently running
symconfigure sid xxxx query
The 3 steps needed for running symconfigure scripts.
symconfigure sid xxxx -f [command_file name and path] preview
symconfigure sid xxxx -f [command_file name and path] prepare
symconfigure sid xxxx -f [command_file name and path] commit
25. To view if there are any symconfigure locks
symcfg -sid xxxx -lockn all list
symcfg -sid 814 -lockn xx release
26. To view if there are any devices that are locked
symdev -sid xxxx -lock list
symdev -sid xxxx lock xx release
27. This will write disable a particular Symm device (LUN).
symdev sid xxxx write_disable [SymDevName]
28. This will read/write enable a particular Symm device (LUN);
symdev sid xxxx rw_enable [SymDevName]
29. To view all the RDF groups
symcfg -sid xxxx -rdfg all list
30. To view all the devices assigned to a particular RDF Group
symrdf -sid 1200 -rdfg xx list
31. formmeta_[sid]_req[EMC request DB #].txt
form meta from dev xxx config=striped, stripe_size=1920;
add dev yyy:zzz to meta xxx;
32.dissolve_[sid]_req[EMC request DB #].txt
dissolve meta dev xxx;��
33. mapdev_[sid]_req[EMC request DB #].txt
map dev xxx to dir xx:0 target=0, lun=xxx;
map dev xxx to dir xx:0 target=0, lun=xxx;��
34. unmapdev_[sid]_req[EMC request DB #].txt
unmap dev xxx from dir all:all;
35.SRDF_EST_[sid]_req[EMC request DB #].txt
convert dev xxx to RDF1+Mir, ra_group=x, remote_dev=xxx, invalidate=R2,
start_copy=no;
36.convert-2-way_[sid]_req[EMC request DB #].txt
convert dev xxx to 2-way-mir;��
37. dyn_con2_[sid]_req[EMC request DB #].txt
set dev xxx attribute=dyn_rdf;
38. set-dev-scsi3_[sid]_req[EMC request DB #].txt  (Used for Oracle RAC)
set dev xxx attribute=scsi3_persist_reserv;
39. Delete_dev_[sid]_req[EMC request DB #].txt
delete dev xxx;
40. setportflag_[sid]_req[EMC request DB #].txt
set port xxx:x unique_wwn=enable;
41. Create_2-way_[sid]_req[EMC request DB #].txt
create dev count=xx, size=17480, emulation=FBA, config=2-way-mir, disk_group=x;
42. Create_BCV_[sid]_req[EMC request DB #].txt
create dev count=xx, size=17480, emulation=FBA, config=BCV, disk_group=x;
43. Create_R5_[sid]_req[EMC request DB #].txt (Used in the DR site)
create dev count=xx, size=17480, emulation=FBA, config=RAID-5,
disk_group=x;
size=17480 = 8GB LUN
size=8740 = 4GB LUN
size=4369 = 2GB LUN
size=2186 = 1GB LUN
size=548 = 250MB LUN;
44. List all RA groups
Symcfg sid XXX list rdfg all;
45. Set RDF qos to 5
symqos -g disk group set RDF pace.
46. Check RDF qos
symqos -g disk group que
47. Force split
symrdf -g xxx split -symforce force ;
48. Suspend Single Device in Group
symrdf -g xxx suspend DEVXXX
49. see various info including hetergenous port settings
symmaskdb -sid xxx list database -v |more
symmaskdb -sid xxx -host xxx list capacity
50. Replace hba
symmask -sid xxx -wwn 10000000C937166D replace 10000000C959BA78
51. create pair
symrdf createpair -sid 01346 -file 5040pairing.txt -type rdf1 -rdfg 1 establish -noprompt
SYMAPI logs
/var/symapi/log
52. Symstat commands
symstat -sid xxx -type PORT -dir xx -port x -i x -c x
symstat -REQUESTS -g xxx -RepType rdf -i x c X
symstat -g xxx all -i 10 -c 3
53. See servers with EMC software talking to frame
symcfg -sid xxx list connections
54. see locks on gatekeepers
symcfg -semafores list
55. see locks on array devices
symdev -sid xxx -lock list
56.remove locks on array devices
symdev -sid xxx -lock 9 release -force -nop
57.see device reservations
symdev -sid xxxxx -resv list
58. list logged events
symevent -sid xxx list
59. list failed drives
symdisk -sid xxx -failed list
60. list emc tool/version install on all hosts.
symcfg app list
61. list VCMDB device.
symdev list -vcm
62. list disk by Disk Group.
symdisk -sid 1234 list -by_diskgroup
63 Add PowerPath Key.
emcpreg [-f pathname] -add key
64 Add Sollution Enabler Key.
symlmf
65 Set Symmetrix dynamic_rdf Enable.
set Symmetrix dynamic_rdf=enable
66 Set Symmetrix dynamic_rdf Enable.
set dev 0905 attribute=dyn_rdf;
67. List SRP in VMAX3
symcfg -sid xxx list -srp -detail

LEAVE A REPLY

Please enter your comment!
Please enter your name here