User`s guide

172 XgOS User’s Guide September 2014
Set a LUN Mask
1. Create a LUN Mask named oracle-mask with target WWPN
20:70:00:C0:FF:0A:81:30 and LUN ID 11”:
2. Create a server profile and bind it to a physical connection:
3. Create a vhba and bind the LUN Mask oracle-mask to it:
Now check to see the mask is correct. From the following output, we see the
target is masked with LUN 11. LUN 0 is always shown. In case no physical LUN
0 was created, it will be a synonym of storage controller:
In case the storage device has two targets and each target has multiple LUNs, we
will see:
4. Add LUN 9 of the second target to the mask oracle-mask”:
5. Display the settings of the LUN Mask oracle-mask”:
add san lun-mask oracle-mask target 20:70:00:C0:FF:0A:81:30 11
add server-profile testlin2 testlin2@washington:ServerPort13
add vhba oracle-vhba1.testlin2 1/1 -lun-mask=oracle-mask
show vhba oracle-vhba1.testlin2 targets
vhba name wwnn wwpn lun-ids
------------------------------------------------------------------------------
oracle-vhba1.testlin2 20:70:00:C0:FF:0A:81:30 20:70:00:C0:FF:0A:81:30 11,0
1 record displayed
show vhba oracle-vhba1.testlin2 targets
vhba name wwnn wwpn lun-ids
------------------------------------------------------------------------------
oracle-vhba1.testlin2 20:70:00:C0:FF:0A:81:30 20:70:00:C0:FF:0A:81:30 11,0
oracle-vhba1.testlin2 20:78:00:C0:FF:0A:81:30 21:78:00:C0:FF:0A:81:30 9,8,7,6,5,4,3,0
2 records displayed
add san lun-mask oracle-mask target 21:78:00:C0:FF:0A:81:30 lun 9
show san lun-mask oracle-mask
name descr targets
-----------------------------------------------------------------