Configuring SAN and Creating VMs connected to SAN using NPIV on SLES10 SP2
Author: Suma B R
This article helps to create a npiv setup on SLES10 SP2 with XEN as hypervisor. This has been tried on Dell PowerEdge servers.
a) Configure VM Host to SAN
- Retrieve the node name (wwnn) and port name (wwpn) from the server to be configured as below:
- Log on to SAN configuration center and configure a connection for the server by providing the node name and port name. Separate every two digits of node and port name with “:” Eg: If node name is 0x2000001B3212A6B5 and port name is 0x2100001B3212A6B5 then Initiator should be:
- Create a Virtual disk for the connection created in Step 2.
b) Configure VM to SAN
Follow the same steps as Step a) Configure VM host to SAN.
c) Create VMs Connected to SAN
- Open VM manager, the command is virt-manager.
- Select the desired OS time and move to the “Summary” page. Select the “Disks” section to add npiv storage disk.
- In the “Virtual Disk” page, for “Source” provide a link for the storage disk in the format, npiv:<san id>-<wwpn>-<wwnn>-<target id>-<lun>.
- Continue the VM installation by providing the installation source and complete process.
- After the installation, the vm file under /etc/xen/vm should look like the following: