Technical Document for Storage Dude
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 presented devices to a particular FA.
symcfg –sid xxxx –FA ALL –port list
4 View the fibre connectivity statuses of the RA’s and the RAGroups
symcfg –sid xxxx –RA ALL –port list
5 View the HBA’s zoned into the FA
symmask –sid xxxx list logins –dir xx –p x
6 Adding LUN Masking (assigning LUNs to host HBA’s)
symmask -sid xxxx -wwn 10000000cxxxxxxx -dir xx -p x add devs xxx,xxx,xxx
7 Aliasing/Renaming the Host HBA wwn’s in the LUN Masking Database
symmask –sid xxxx –wwn 10000000cxxxxxxx rename [NodeName]/[PortName]
symmask –sid 1200 –wwn 10000000c9408060 rename “kopeqdrac01/a1”
8 Removing LUN Masking (unassigning LUNs from host HBA’s)
symmask -sid xxxx -wwn 10000000cxxxxxxx -dir xx -p x remove devs xxx,xxx
9 List the LUN Masking DB by a Host’s wwn
symmaskdb –sid xxxx list database –wwn 10000000cxxxxxxx
10 List the LUN Masking DB by an Alias
symmaskdb –sid xxxx list database –awwn [NodeName]/[PortName]
11 List the wwn’s/alias’ for a particular LUN
symmaskdb –sid xxxx list assignment –dev [SymDevName]
12 List a capacity report for an Alias (Host)
symmaskdb -sid xxxx list capacity -host [NodeName]
13
Sr No.
1
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
Technical Commands
Display the properties and details of a particular volume
symdev –sid xxxx show [SymDevName]
List of available devices that are created but not assigned to the front end FA’s
symdev –sid xxxx list –noport –nobcv
List of presented devices to a particular FA.
symcfg –sid xxxx list –available –address –dir xx – p x
View the fibre connectivity statuses of the FA’s
symcfg –sid xxxx –FA ALL –port list
View the fibre connectivity statuses of the RA’s and the RAGroups
symcfg –sid xxxx –RA ALL –port list
View the HBA’s zoned into the FA
symmask –sid xxxx list logins –dir xx –p x
Adding LUN Masking (assigning LUNs to host HBA’s)
symmask -sid xxxx -wwn 10000000cxxxxxxx -dir xx -p x add devs xxx,xxx,xxx
Aliasing/Renaming the Host HBA wwn’s in the LUN Masking Database
symmask –sid xxxx –wwn 10000000cxxxxxxx rename [NodeName]/[PortName]
symmask –sid 1200 –wwn 10000000c9408060 rename “kopeqdrac01/a1”
Removing LUN Masking (unassigning LUNs from host HBA’s)
symmask -sid xxxx -wwn 10000000cxxxxxxx -dir xx -p x remove devs xxx,xxx
Refreshing the LUN Masking DB (This MUST be done every time a change is made)
symmask -sid xxxx refresh -noprompt
List the LUN Masking DB by FA port
symmaskdb –sid xxxx list database –dir xx –p x
List the LUN Masking DB by a Host’s wwn
symmaskdb –sid xxxx list database –wwn 10000000cxxxxxxx
List the LUN Masking DB by an Alias
symmaskdb –sid xxxx list database –awwn [NodeName]/[PortName]
List the wwn’s/alias’ for a particular LUN
symmaskdb –sid xxxx list assignment –dev [SymDevName]
List a capacity report for an Alias (Host)
symmaskdb -sid xxxx list capacity -host [NodeName]
List all the Device Groups on that server
symdg list
List details and properities of a particular device group
symdg show [device group]
Create a new device group for BCV ONLY relationships
symdg -type REGULAR create [new dg name]
symld –g [device group] –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
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)
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]
View the statistics of the RA adapters
symstat –sid xxxx –ra all –i x –c x
View the UNCONFIGURED space on the symm(DMX)
symconfigure -sid xxxx list -freespace -units MB
This will check if you can run a symconfigure script
symconfigure –sid xxxx verify
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 (View Appendix for examples of the command files)
symconfigure –sid xxxx –v –f [command_file name and path] preview
symconfigure –sid xxxx –v –f [command_file name and path] prepare
symconfigure –sid xxxx –v –f [command_file name and path] commit
To view if there are any symconfigure locks
symcfg -sid xxxx -lockn all list
(symcfg -sid 1200 -lockn xx release)
To view if there are any devices that are locked
symdev -sid xxxx -lock list
(symdev -sid xxxx -lock xx release)
This will write disable a particular Symm device (LUN)
symdev –sid xxxx write_disable [SymDevName]
This will read/write enable a particular Symm device (LUN)
symdev –sid xxxx rw_enable [SymDevName]
To view all the RDF groups
symcfg -sid xxxx -rdfg all list
To view all the devices assigned to a particular RDF Group
symrdf -sid 1200 -rdfg xx list
formmeta_[sid]_req[EMC request DB #].txt
form meta from dev xxx config=striped, stripe_size=1920;
add dev yyy:zzz to meta xxx;
dissolve_[sid]_req[EMC request DB #].txt
dissolve meta dev xxx;
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;
unmapdev_[sid]_req[EMC request DB #].txt
unmap dev xxx from dir all:all;
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;
convert-2-way_[sid]_req[EMC request DB #].txt
convert dev xxx to 2-way-mir;
dyn_con2_[sid]_req[EMC request DB #].txt
set dev xxx attribute=dyn_rdf;
set-dev-scsi3_[sid]_req[EMC request DB #].txt (Used for Oracle RAC)
set dev xxx attribute=scsi3_persist_reserv;
Delete_dev_[sid]_req[EMC request DB #].txt
delete dev xxx;
setportflag_[sid]_req[EMC request DB #].txt
set port xxx:x unique_wwn=enable;
Create_2-way_[sid]_req[EMC request DB #].txt
create dev count=xx, size=17480, emulation=FBA, config=2-way-mir, disk_group=x;
Create_BCV_[sid]_req[EMC request DB #].txt
create dev count=xx, size=17480, emulation=FBA, config=BCV, disk_group=x;
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
List all RA groups
Symcfg –sid XXX list –rdfg all
Set RDF qos to 5
symqos -g disk group set RDF pace 5
Check RDF qos
symqos -g disk group que
Force split
symrdf -g xxx split -symforce force
Suspend Single Device in Group
symrdf -g xxx suspend DEVXXX
see various info including hetergenous port settings
symmaskdb -sid xxx list database -v |more
symmaskdb -sid xxx -host xxx list capacity
Replace hba
symmask -sid xxx -wwn 10000000C937166D replace 10000000C959BA78
create pair
symrdf createpair -sid 01346 -file 5040pairing.txt -type rdf1 -rdfg 1 -establish
SYMAPI logs
/var/symapi/log
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
See servers with EMC software talking to frame
symcfg -sid xxx list –connections
see locks on gatekeepers
symcfg -semafores list
see device reservations
symdev -sid xxxxx -resv list
list logged events
symevent -sid xxx list
list failed drives
symdisk -sid xxx -failed list
Solution enabler license which are kept in symapi_license.dat
License Key: 7FBE-9150-E0BC-9CCD SYMAPI Feature: BASE / Symmetrix
License Key: A97E-6602-DABA-9E2A SYMAPI Feature: DevMasking / Symmetrix
License Key: A936-39CD-A0FF-CDC5 SYMAPI Feature: ConfigChange / Symmetrix
License Key: C7B7-B992-1954-4D99 SYMAPI Feature: DeltaMark / Symmetrix
License Key: 3A61-6044-C190-0196 SYMAPI Feature: SERVER / Symmetrix
License Key: 72B5-D1F4-1DB7-8649 SYMAPI Feature: TF-Clone / Symmetrix
License Key: 8EC5-F23C-F234-F081 SYMAPI Feature: SRDF / Symmetrix
License Key: BD6A-3EC5-A3CA-7B5B SYMAPI Feature: SymmMgmtConsole
mmand files)