You are on page 1of 8

DMX Allocation

1. We need to check which hosts are connected to array We check p logi-whether zoning is properly done or not at the array level Symmask -sid xxx list logins Rename Symmask -sid 123 -wwn xxxxx -rename host/hbao 2. We need to check what are the free devices Symdev -sid xxx list -noport 3. If we need to create the meta Form meta from dev 110 config=striped, stripe_size=1920; add dev 111:115 to meta 110; 4. We need to check the lun available address for FA ports Symcfg -sid 123 list -dir 8A -p 0 -avail -addr Symcfg -sid 123 list -dir 9A -p 0 -avail -addr 5. We need to map the devices to that FA ports Symconfigure -sid xxx -cmd map dev 110 to dir 8A:0 target=0, lun=xx; preview, prepare, commit Symconfigure -sid xxx -cmd map dev 110 to dir 9A:0 target=0, lun=xx; preview, prepare, commit OR In file we need to write command (map dev 110 to dir 8A:0 target=0, lun=xx;) (map dev 110 to dir 9A:0 target=0, lun=xx;) Symconfigure -sid xxx -f <file name> preview, prepare and commit 6. We need to check that device is mapped or not Symmaskdb -sid xxx list no_assignment -dir 8A -p 0 7. We need to mask the devices to host Symmask -sid xxx add dev 110 -dir 8A -p 0 -wwn 10000000xxxxxxx Symmask -sid xxx add dev 110 -dir 9A -p 0 -wwn 10000000xxxxxxx 8. We need to check that device is masked or not Symmaskdb -sid xxx list assignment -dev 110 9. If we need to check what are the devices are masked to that particular host Symmaskdb -sid xxx list devs -wwn 10000000xxxxxx 10. We have to refresh the masking database. Symmask refresh.

DMX Deallocation
1. First we need to find that device is allocated to which host and wwn number Symmaskdb -sid xxx list assignment -dev 110 2. Unmask that device from that wwn number Symmask -sid xxx remove dev 110 -dir 8A -p 0 -wwn 10000000xxxxx Symmask -sid xxx remove dev 110 -dir 9A -p 0 -wwn 10000000xxxxx 3. We need to write disable the device Symdev -sid xxx write_disable 110 all:all 4. We need to unmap the device Symconfigure -sid xxx -cmd unmap dev 110 from dir 8A:0; preview, prepare and commit Symconfigure -sid xxx -cmd unmap dev 110 from dir 9A:0; preview, prepare and commit OR In file we need to write command (unmap dev 110 from dir 8A:0;) (unmap dev 110 from dir 9A:0;) Symconfigure -sid xxx -f <file name> preview, prepare and commit 5. We need to dissolve the meta Symconfigure -sid -cmd dissolve meta dev 110; preview, prepare and commit 6. If you want to delete the host Symmask -sid xxx -wwn xxx delete -logins

VMAX Allocation
1. We need to check the available thin pools Symcfg -sid xxx list -thin -pools 2. If you want create the TDEVs Symconfigure -sid xxx -cmd create dev count=2, config=TDEV, emulation=FBA, size=18756MB; commit 3. We need to bind the above devices to pool Symconfigure -sid xxx -cmd bind tdev 001:002 to pool poolname preallocate size=18751MB; commit 4. Create Storage Group and add the devices to Storage Group(SG) Symaccess -sid xxx create -name PHANI_SG -type storage add devs 001:002 5. To check Symaccess -sid xxx show PHANI_SG -type storage 6. Create the Port Group and add the director ports to Port Group(PG) Symaccess -sid xxx create -name PHANI_PG -type port -dirport 8A:0,9A:0

7. To check Symaccess -sid xxx show PHANI_PG -type port 8. Create Initiator Group and add the wwn number to Initiator Group(IG) Symaccess -sid xxx create -name PHANI_IG -type init -wwn 10000000xxxxxxx 9. To check Symaccess -sid xxx show PHANI_IG -type init 10. Create View and add above groups to View Symaccess -sid xxx create view -name PHANI_VIEW -sg PHANI_SG -pg PHANI_PG -ig PHANI_IG 11. To check Symaccess -sid xxx show view PHANI_VIEW Symaccess -sid xxx list view

VMAX Deallocation
1. If you want to deallocate first we need to delete the view Symaccess -sid xxx delete -name PHANI_VIEW 2. We need to remove the devices from the SG Symaccess -sid xxx -name PHANI_SG -type storage remove devs 001:002 -unmap 3. We need to delete the SG Symaccess -sid xxx delete -name PHANI_SG -type storage 4. We need to remove the director ports from PG Symaccess -sid xxx -name PHANI_PG -type port -dirport 8A:0, 9A:0 remove 5. We need to delete the PG Symaccess -sid xxx delete -name PHANI_PG -type port 6. We need to remove the wwn number from IG Symaccess -sid xxx -name PHANI_IG -type init -wwn 10000000xxxxxxx remove 7. We need to delete the IG Symaccess -sid xxx delete -name PHANI_IG -type init 8. If you want remove one device a) First we need to check that device is belongs to which storage group Symaccess -sid xxx show dev 002 -type storage b) Now we need to remove that device from that storage group Symaccess -sid xxx -name PHANI_SG -type storage remove dev 002 -unmap

BROCADE Zoning
1. Before doing zoning we have to take backup configupload 2. we have to check either devices are connected to fabric or not ----- flogi switchshow 3. To find the principal switch Fabricshow 4. We need create alias Alicreate aliasname1, alias_member Alicreate aliasname2, alias_member 5. We need to create zone Zonecreate zonename (aliasname1_aliasname2), aliasname1;aliasname2 6. Find the active configuration Cfgactvshow 7. Add the zone to configuration Cfgadd activeconfigurationname, zonename 8. We need to save the configuration Cfgsave 9. We need to enable the configuration Cfgenable activeconfigurationname

BROCADE Zoning delete


1. We need to find active configuration Cfg actvshow 2. We need to check the zoning Zoneshow 3. Remove that zone from the configuration Cfgremove activeconfigurationname, zonename 4. Delete that zone Zonedelete zonename 5. Delete the alias Alidelete aliasname

CISCO Zoning
1. First we need to take a back up Copy running-config ftp: <system IP address> 2. We need to check zone is enhanced mode or basic mode Sh zone status 3. We need to check hosts are logged into fabric or not Sh flogi database 4. We need to find which is the principal switch Sh fcdomain domain-list vsan 5. We need to find the IP address of switch Sh fcs ie vsan 6. Now we need to enter into configuration mode Conf t 7. To find what are the interfaces are there Sh int br 8. For entering in that interface Int fc slot/port 9. We need to do port naming Switchport description host_hba0 10. Now we need to set the switch speed Switchport speed 2 11. We need to bring online that interface No shut 12. We need to check that interface name is done or not Sh int fc slot/port 13. We need to add that interface to VSAN so enter into vsan database Vsan database 14. We need to move that interface into vsan 100 Vsan 100 int fc slot/port 15. For checking Sh vsan 100 membership 16. We need to create device alias so we need to enter into device alias database Device-alias database

17. We need to create device alias Device-alias name aliasname pwwn 10000000xxxxxxx (Host wwn) Device-alias name aliasname pwwn 10000000xxxxxxx (Storage wwn) 18. We need to commit the device alias Device-alias commit 19. To find device alias created or not Sh device-alias database 20. We need to create the zone Zone name zone101 vsan 100 21. We need to add the members to that zone Member device-alias aliasname (Hose wwn) Member device-alias aliasname (Storage wwn) 22. For checking that members are added to that zone or not Sh zone name zone101 23. We need to find which is the active zoneset Sh zoneset active vsan 100 24. We need to add that zone to active zoneset Zoneset name activezonesetname vsan 100 Member zone101 25. We need to activate the zoneset Zoneset activate name activezonesetname vsan 100 26. We need to commit Zone commit vsan 100 27. These changes should be across all the switches or fabric Copy running-config start up-config fabric

CISCO Zoning delete


1. First we need to find the active zoneset Sh zoneset active vsan 100 2. Remove zone from the zoneset Zoneset name activezonesetname vsan 100 No member zone101 3. We need to activate the zoneset Zoneset activate name activezonesetname vsan 100

4. Delete the members from the zone101 Zone name zone101 vsan 100 No member device-alias aliasname (Host) No member device-alias aliasname (storage) 5. Delete the zone No zone name zone101 vsan 100 6. Remove PWWN numbers from device alias Device-alias name aliasname vsan 100 No member pwwn 10000000xxxxxxx 7. Delete device-alias No device-alias name aliasname vsan 100 8. We need to save the configuration Copy run start

CLARiiON Provisioning
1. Log into Navisphere manager 2. Right click on clariion array and go to connectivity status Check whether the host wwpn is logged into array or not if it is registered nothing will do If it is not registered then we can register manually 3. Right click on clariion then go to create raid group then bind the luns 4. Right click on clariion and create storage group 5. Right click on storage group and select connect host option and add host 6. Right click on storage group and select select luns option and add luns into storage group

Symevent -sid 123 list -fatal -error Symdev -sid 123 list -range 100:10A -multi (For checking mapping is done or not) Set dev 100 attribute=scsi3-persist_reserv; (For changing the attribute)

You might also like