Vous êtes sur la page 1sur 3

Adding Storage 1. 2. Lists all the external locks held in Symmetrix array 1234.

# symcfg -sid 1234 list -lockn all List all the available devices (hypers) on the EMC Symmetrix # symdev -noport list Backup the VCM database # symmaskdb backup Create a Meta volume # cat metafile.cmd form meta from dev 5B2 config=striped, stripe_size = 2 cyl; add dev 5B3:5B6 to meta 5B2; preview, prepare and commit the changes # symconfigure -f metafile.cmd preview -nop # symconfigure -f metafile.cmd prepare -nop # symconfigure -f metafile.cmd commit -nop Check the configuration # symdev show 5B2

3.

4.

Note: -nop known as no prompt, which will execute the command without aski ng Yes / No 5. Map meta volume to front-end directors # cat mapfile.cmd map dev 5B2 to dir 3d:0 target=0, lun=5; map dev 5B2 to dir 14d:0 target=0, lun=5; Show the device detail # symdev -sid 1234 show 5B2 more preview, prepare and commit the changes # symconfigure -f mapfile.cmd preview -nop # symconfigure -f mapfile.cmd prepare -nop # symconfigure -f mapfile.cmd commit -nop Check the configuration # symdev -sa 3d -p 0 -fibre list # symdev -sa 14d -p 0 -fibre list Mask the meta volume # symmask -wwn <WWPN> -dir 3d -p 0 add devs 5B2 # symmask -wwn <WWPN> -dir 14d -p 0 add devs 5B2 Note: the wwn are the WWPN's of the host HBA's which you obtain from the s erver. 9. update the VCM database # symmask sid 1234 refresh -nop dev 5B2

6. 7.

8.

10. Display the device assignment by FA. # symmaskdb -sid 1234 list assignment

Note: You should see this message if your device is newly create and yet a llocate to the host. "No device masking database records could be found for the specified input parameters"

11. Display the device detail in WWN # symmaskdb -sid 1234 list devs -wwn 10000000c9693d53 12. To rename the wwn of the host to HOSTNAME/PORTNUMBER # symmask -sid 1234 -wwn 10000000c9693d53 rename HOSTNAME01/HBA0 13. To list out the overall capacity of the host # symmaskdb -sid 1234 list capacity host HOSTNAME01

Removing Storage 1. Display the devices by the HOST WWN # symmaskdb -sid 1195 list devs -wwn 10000000c9693d53 Symmetrix ID : 000287461234 Originator Port wwn : 10000000c9693d53 User-generated Name : HOSTNAME01/10000000c9693d53 Sym Dev LUN Name Dir:P Physical Device Name VBUS TID SYMM HOST Attr Cap(MB) ------ ----- ----------------------- ---- --- ---- ---- ---- ------05B2 3d:0 Not Visible 0 0 1 N/A (M) 20478 14d:0 Not Visible 0 0 1 N/A (M) 20478 2. Remove the LUN masking configuration # symmask -wwn <WWPN> -dir 3d -p 0 remove devs 5B2 # symmask -wwn <WWPN> -dir 14d -p 0 remove devs 5B2

Note: the wwn are the WWPN's of the host HBA's which you obtain from the server. Update the VCM database # symmask refresh nop 3. offline the volume 5B2 # symdev -sid 056 not_ready 5B2 -nop Check the configuration # symdev show 5B2 4. Unmap the meta volume from Front-end directors # cat unmapfile.cmd unmap dev 5B2 from dir 3d:0; unmap dev 5B2 from dir 14d:0; Remove the volume from the VCM database # symconfigure -f unmapfile.cmd preview -nop # symconfigure -f unmapfile.cmd prepare -nop # symconfigure -f unmapfile.cmd commit -nop Check the configuration # symdev -sa 3d -p 0 -fibre list # symdev -sa 14d -p 0 -fibre list

5.

Zoning It s recommended that the switch port to be disabled when not in used, whenever th ere is new host would like to hook up to SAN storage. To enable the port, eg: po rtenable 0 1. telnet to the brocade switches and login as user admin switch 1 - fabric A (SWITCH_1) switch 2 - fabric B (SWITCH_2) Create aliases for the hosts HBA's on each switch switch_1> alicreate " HOSTNAME01_HBA_0","10:00:00:c9:69:3d:53" switch_2> alicreate " HOSTNAME01_HBA_1","10:00:00:c9:69:ae:4e" Tips: Do a switchshow to capture the WWN before start the aliases creation . 3. Create the storage zones using the aliases on each switch switch_1> zonecreate "Z_HOSTNAME01_A", "HOSTNAME01_HBA_0" switch_2> zonecreate "Z_HOSTNAME01_B", "HOSTNAME01_HBA_1" Check the configuration switch_1> zoneshow Z_HOSTNAME01_A switch_2> zoneshow Z_HOST01_B Add the zones to the fabrics on each switch switch_1> cfgshow SWITCH_A switch_1> cfgadd "SWITCH_A","Z_ HOSTNAME01_A" switch_1> cfgsave switch_1> cfgenable SWITCH_A Check the switch_1> switch_2> switch_2> switch_2> switch_2> Check the switch_2> configuration zoneshow cfgshow SWITCH_B cfgadd " SWITCH_B","Z_ HOSTNAME01_B" cfgsave cfgenable SWITCH_A configuration zoneshow

2.

4.

-------------------------------------------------------------------------------S

Vous aimerez peut-être aussi