Citrix* XenServer* 5.5.0 Installation Guide -
Intel® Server Board S3420GP
20
5) Save and close the file.
6) Restart the portmap and nfs daemons as follows:
service portmap restart
service nfs restart
7) The “<vm_share_dir>” should now be exported on the network. Use Xen-Center* to point to it
with the Storage wizard. See the XenCenter online help for details.
Create a Pool-Level SR on the NFS Share
To create an SR on the NFS share at the pool level, perform these steps:
1) Open a host text console on any XenServer* host in the pool.
2) Create the storage repository on “server:/path”:
xe sr-create content-type=user type=nfs name-label=<SR name> \
shared=true device-config-server=<server> \
device-config-serverpath=<path>
− The “device-config-server” refers to the hostname of the NFS server and “device-config-
serverpath” refers to the path on the server.
− Because “shared” is set to “true”, the shared storage automatically connects to every host in
the pool and any hosts that subsequently join will connect to the storage. The UUID of the
created storage repository displays on the screen.
3) Find the UUID of the pool:
xe pool-list
4) Set the shared storage as the pool-wide default:
xe pool-param-set uuid=<pool_UUID> \
default-SR=<storage_repository_UUID>
5) Because the shared storage is set as the pool-wide default, all future VM disks will have their disks
created on shared storage by default.
XenServer* Hosts with Shared iSCSI Storage
Adding shared storage to the XenServer* network enables XenServer hosts to be grouped into
resource pools, enabling live relocation of VMs and sharing of server resources.
Requirements
1) Two or more 64-bit x86 servers with local storage.
2) One or more Windows* workstations on the same network as the XenServer* hosts
3) A server providing a shared directory via iSCSI.
Note: To be part of a resource pool the XenServer* hosts and the server(s) providing the shared
iSCSI storage need to have static IP addresses.