How Do I Map Devices To An FA
How Do I Map Devices To An FA
The ID number of the Symmetrix your device resides on (e.g. 1234) The symdev number of the device you wish to map to the FA (e.g. 01C) An available LUN number that you can use on the Symm, for the device you wish to map (e.g. 030) The number of the FA you wish to map to (e.g. 8b) The number of the port on the FA you wish to map to (e.g. port 1)
Step 1 Find available LUNs To find the available LUN IDs on an FA use the following command: symcfg list -SA <FA> -p 1 -addresses -available For example using above information: symcfg list -SA 8b -p 1 -addresses -available The LUN IDs marked as available can be used in the configuration script.
Step 2 Create a symconfigure script file In your symconfigure script file, enter the following command and save the file (for examplex:\filename.txt): map dev <symdev no> to dir <FA>:0, lun=<LUN>; For example using above information: map dev 01C to dir 8b:0, lun=030;
Step 3 Issue symconfigure command symconfigure -sid <SymmID#> -f x:<Scriptfilename> preview For example using above information: symconfigure -sid 1234 -f x:\filename.txt preview
Step 4 Commit the change If the above preview is successful, commit the change by issuing: symconfigure -sid <SymmID#> -f x::<Scriptfilename> comit For example using above information: symconfigure -sid 1234 -f x:\filename.txt comit
Notes: Only PROTECTED devices may be mapped to an FA. The only exception to the rule is UNPROTECTED BCVs.
1. Remove the LUN masking configuration # symmask -wwn <WWPN> -dir 13a -p 1 remove devs 4A4 # symmask -wwn <WWPN> -dir 4a -p 1 remove devs 4A4 Note: the wwn are the WWPN's of the host HBA's which you obtain from the server.
2. offline the volume 4A4 # symdev -sid 056 not_ready 4A4 -nop
3. Unmap the meta volume from Front-end directors # cat unmapfile.cmd unmap dev 4A4 from dir 4b:1; unmap dev 4A4 from dir 13b:1;
4. 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 4b -p 1 -fibre list # symdev -sa 13a -p 1 -fibre list