User`s guide

12 XgOS User’s Guide September 2014
vHBA Command Examples
Create a new vHBA for xserver1 and assign it to port 1 on the FC module in slot
15:
Display the targets and LUN IDs the vHBA can detect:
Display the properties of all vHBAs (WWNN/WWPN):
Request a vHBA to rescan the SAN fabric:
Note You would do this if you changed LUN masking on an array, for example.
vHBA prescan commands allow an “unbound” vHBA to perform an NPIV login and
“see” the available targets and LUNs. You can only perform these commands on a
vHBA and server-profile that is not assigned to a physical server. You can check this
by typing show server-profile and make sure the state is “up/unassigned”.
vHBA Prescan Examples
Create a server profile and vHBA to scan the fabric:
Request an unbound vHBA to perform an NPIV login:
If you change LUN masking or if the fabric changes without an RSCN, you must
logout/login to “rescan”:
add vhba vhba0.xserver1 15/1
show vhba vhba0.xserver1 targets
show vhba
set vhba vhba0.xserver1 rescan
add server-profile testserver
add vhba vhba0.testserver 15/1
show vhba vhba0.testserver (view WWPN to provision LUNs)
set vhba vhba0.testserver prescan
set vhba vhba0.testserver remove-prescan
set vhba vhba0.testserver prescan