Server Virtualization With QNAP Turbo NAS and Citrix XenServer
Server Virtualization With QNAP Turbo NAS and Citrix XenServer
Note:
All the features, functionality, and other product specifications are subject to change
without prior notice or obligation. Information contained herein is subject to change
without notice.
Trademarks
QNAP and the QNAP logo are trademarks of QNAP Systems, Inc.
©2010 Citrix Systems, Inc. All rights reserved. Citrix®, Citrix Ready® and
XenServer™ are trademarks or registered trademarks of Citrix Systems, Inc. and/or one
or more of its subsidiaries, and may be registered in the United States Patent and
trademark Office and in other countries. Microsoft®, Windows® and Windows Server®
are registered trademarks of Microsoft Corporation in the U.S. and/or other countries.
All other trademarks and registered trademarks are property of their respective owners.
Further, the ® or ™ symbols are not used in the text.
2
Disclaimer
In no event shall the liability of QNAP Systems, Inc. (QNAP) exceed the price paid for the
product from direct, indirect, special, incidental, or consequential software, or its
documentation. QNAP makes no warranty or representation, expressed, implied, or
statutory, with respect to its products or the contents or use of this documentation and
all accompanying software, and specifically disclaims its quality, performance,
merchantability, or fitness for any particular purpose. QNAP reserves the right to revise
or update its products, software, or documentation without obligation to notify any
individual or entity.
3
Contents
4
How to set up QNAP NAS as storage repositories on Citrix XenServer
via iSCSI
Citrix XenServer™ is the powerful server virtualization solution platform for creating and
managing a virtual infrastructure. QNAP provides high performance and reliable Citrix
Ready network storage solutions that meet your business needs and reduce your total
cost of ownership (TCO).
To set up the Turbo NAS as a XenServer storage repository, you have to create an iSCSI
logical unit number (LUN) on the Turbo NAS. In this example, we created a 5TB LUN
named “xenstorage”. The complete name of the iSCSI LUN will be:
iqn.2004-04.com.qnap:ts-509:iscsi.xenstorage.b9281b
For the details of creating an iSCSI target and LUN, see the application note “Create and
use the iSCSI target service on the QNAP NAS” on:
http://www.qnap.com/pro_features.asp
5
Select iSCSI under „Virtual disk storage‟ and click „Next‟.
6
1. Enter a name for the NAS (storage repository).
2. Enter the NAS IP.
3. If you have enabled iSCSI CHAP authentication on the NAS, select the option “Use
CHAP” and enter the authentication information.
4. Click “Discover IQNs” to get the target list from the NAS. XenServer will discover
all the iSCSI targets on the NAS.
7
The target list has been updated.
1. Select the target you want to use. In this example, “xenstorage” is selected.
2. Click “Discover LUNs” to detect all the LUNs mapped to the target.
XenServer will scan the LUN. If the LUN is a new one, XenServer will propose to format
8
the LUN in order to use it as a storage repository. Click “Yes” to format the LUN. All
the data will be destroyed.
When the operation has completed, the storage repository will be shown.
9
Click the storage repository (My QNAP iSCSI Storage), the status and multipath
information will be shown. QNAP NAS supports MPIO and XenServer. If your NAS has
more than one IP address, you can use this feature by enabling “Multipathing”. The
number of active paths will be shown.
10
Create a new VM on the new storage repository
Follow the steps below to create a new virtual machine (VM) on the new storage
repository.
1. Right click your XenServer.
2. Click “New VM”.
3. Choose a template.
4. Choose a name for your VM.
5. Select the media for the CD/DVD-ROM drive.
6. Set the number of CPU and memory quantity.
7. Select the pre-existing location for the virtual disk location, click “Edit”.
11
8. Specify the size of the virtual hard drive. Select the location “My QNAP iSCSI
Storage” and then click “OK”.
12
Multipath configuration on XenServer
Before adding the iSCSI target to the XenServer, you may want to enable Multipathing.
If the NAS has more than one IP address, you can use Multipathing on XenServer. To
use multiple IP setting, login into the NAS with user “admin” and then you have to
disable the “Network Port Trunking” on the NAS in “System Administration” > “Network”.
After disabling the port trunking mode, you can configure 2 IPs on the NAS, using DHCP
or fixed IP.
13
2. Right the XenServer and select “Properties”.
14
4. Right click XenServer and select “Exit Maintenance Mode”.
15
Advanced multipath configuration
Additional information
16