Beruflich Dokumente
Kultur Dokumente
Citrix Essentials
Copyright and Trademark Notices Use of the product documented herein is subject to your prior acceptance of the End User License Agreement. A printable copy of the End User License Agreement is included with your installation media. Information in this document is subject to change without notice. Companies, names, and data used in examples herein are fictitious unless otherwise noted. No part of this document may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without the express written permission of Citrix Systems, Inc.
The product includes software developed by The Apache Software Foundation (http://www.apache.org/). tar-cs copyright (c) 2009, Vladimir Vasiltsov. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
w Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. w Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. w Names of its contributors may not be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Trademark Acknowledgements
Brocade is a registered trademark of Brocade Communications Systems, Inc. Citrix is a registered trademark, and XenServer is a trademark of Citrix Systems, Inc. in the United States and other countries. Compellent is a registered trademark and Storage Center is a trademark of Compellent Technologies. DataCore, SANmelody, and SANsymphony are trademarks of DataCore Software Corporation. Dell and EqualLogic are trademarks of Dell Inc. Dot Hill is a trademark of Dot Hill Systems Corp. EMC and CLARiiON are registered trademarks of EMC Corporation. FalconStor and IPStor are registered trademarks of FalconStor Software, Inc., in the United States and other countries. Microsoft, MS, Windows, Windows Server, Win32, Outlook, ActiveX, Visual J#, ClearType, Excel, SQL Server, Microsoft Access, Windows Vista, .NET, Media Player, and Active Directory are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. NetApp is a trademark and FlexVol and ONTAP are registered trademarks of NetApp Inc. Nexenta and NexentaStor are trademarks of Nexenta Systems, Inc. All other trademarks and registered trademarks are the property of their respective owners. Document code: March 22 2011 15:55:56
Contents
Contents
iv
Chapter 1
Chapter 1
StorageLink documentation
The following documents are provided for Citrix StorageLink and are available on the Citrix website: w Citrix StorageLink Installation Guide w Citrix StorageLink User's Guide w Citrix StorageLink PowerShell Guide w Citrix StorageLink Release Notes In addition, the StorageLink Manager user interface includes a Windows Help system.
Documentation conventions
For consistency, Windows 7, Windows Vista and Windows Server 2008 terminology is used throughout the documentation set; for example, "Documents" rather than "My Documents" and "Computer" rather than "My Computer" are used. For other Windows operating systems, substitute "My Documents" for "Documents" and "My Computer" for "Computer". Citrix StorageLink documentation uses the following typographic conventions.
Description Names of buttons, boxes, options, or other controls in the user interface. Names of commands, such as ipconfig. Variable placeholders for information you provide. For example, filename means you type the actual name of a file. Terms newly introduced or otherwise emphasized. Text displayed in code or a text file. In a command, a series of items, one of which is required. For example, {yes | no } means you must type yes or no. Do not type the braces themselves. In a command, optional items. For example, [/ping] means you can type /ping with the command. Do not type the brackets themselves. In a command, a separator between items in braces or brackets. For example, { /hold | /release | /delete } means you must type /hold or / release or /delete. The previous item(s) in the command can be repeated. For example, /route:devicename[,] means you can type additional devicenames separated by commas.
[brackets]
| (vertical bar)
... (ellipsis)
Chapter 1
Chapter 2
Chapter 2
Product editions
Citrix Essentials is available in three editions: Platinum Edition provides site recovery, workload lifecycle automation, and dynamic provisioning of server workloads to help reduce server and storage sprawl, and minimize repetitive administrative operations for large lab environments, complex server environments or large server farms 10
Citrix StorageLink Installation Guide Enterprise Edition provides advanced StorageLink technology and dynamic provisioning of virtual machine workloads to improve storage operations and utilization, and deliver server workloads more quickly and efficiently for environments with shared storage architectures and large server farms Site Recovery Express Edition provides a limited version of Site Recovery for Microsoft Hyper-V deployments. It supports up to two Hyper-V servers and one storage array on a primary site and the same configuration on a secondary site for failover
StorageLink Components
The core of Citrix StorageLink is the StorageLink Gateway, which runs on a Windows 2008 server (physical or virtual machine) and serves as a platform for managing your storage and virtual machines. There are three ways to manage and use the rich feature set provided by StorageLink Gateway: w the StorageLink Manager, a MMC-based graphical user interface w the StorageLink CLI, a command-line interface that can be used in a Windows Command Prompt w the StorageLink PowerShell plug-in for Windows PowerShell, the new command line shell and task-based scripting technology from Microsoft All components can be installed on the same system, or on separate physical or virtual machines. This guide is an overview for using Citrix StorageLink Manager. The Citrix StorageLink PowerShell Guide describes the PowerShell plug-in.
Hypervisor hosts
Hyper-V hosts StorageLink 2.4 works with any version of Microsoft Hyper-V. To act as a host for Hyper-V virtual machines, in addition to the systems requirements for Windows Server 2008, the server must be a 64-bit environment and support hardware-assisted virtualization (Intel VT or AMD-V) technology. 11
Chapter 2
About Citrix StorageLink On installation, a Windows 2008 Server is not configured to act as a Hyper-V host. You must enable this capability using the Server Manager. XenServer hosts StorageLink 2.4 requires XenServer version 5.6 or above. An upcoming 2.4.1 hotfix will be available that will allow use of XenServer version 5.5. To act as a host for XenServer virtual machines, the server must be a 64-bit environment. For running Windows virtual machines, it must also support hardwareassisted virtualization (Intel VT or AMD-V) technology.
Storage infrastructure
The other key element in your environment is the presence of one or more of the supported storage systems (see Storage system support on page 14 for a list).
System requirements
StorageLink Gateway
The StorageLink Gateway can be installed on a physical or virtual machine. Note: If you are using the Windows firewall, the appropriate firewall rule will be added automatically during installation. If you are using a 3rd party firewall, you must manually create a firewall rule to open port 21605, or disable your firewall all together. Another alternative is to run both the Citrix StorageLink Manager and the Citrix StorageLink service on the same machine. Operating system Microsoft Windows Server 2008 or 2008 R2 RAM 1 GB or more Disk space Minimum of 100 MB for Gateway installation Software prerequisites An embedded SQLite database is installed with the StorageLink Gateway. Alternatively, you can use a pre-installed Microsoft SQL Server if you so choose. There is a script called cslg_db_config.cmd to help you configure SQL Server for the StorageLink Gateway. The supported versions are Microsoft SQL Server 2005 and SQL Server 2005. Only Windows Authentication mode is supported. For setting up the StorageLink Gateway with Microsoft SQL Server, the script syntax is: 12
Citrix StorageLink Installation Guide cslg_db_config mssql [Database Server Name] [Database Instance Name] [Database Name] Also please remember to attach the StorageLink Gateway Microsoft SQL database files ( cslg_db.mdf and cslg_db_1.ldf ) to your Microsoft SQL Server database instance. The StorageLink Gateway Microsoft SQL database files are in the <% StorageLink Gateway Install Directory %\database> directory, which by default is C:\Program Files (x86)\Citrix\StorageLink\database For setting up StorageLink Gateway with embedded SQLite, the script syntax is: cslg_db_config.cmd sqlite [StorageLink Gateway Install Directory] The default StorageLink Gateway installation directory is c:\Program Files (x86)\Citrix\StorageLink
StorageLink Manager
StorageLink Manager can be installed on a physical or virtual machine. Operating system Microsoft Windows Server 2008 or 2008 R2 (recommended), 2003, Vista, or Windows 7 RAM 1 GB or more Disk space minimum of 100 MB Software prerequisites The following software components must be present on the computer on which you install the StorageLink Manager: Prerequisite Microsoft .NET Framework version 3.5 Microsoft Management Console 3.0 Notes Older versions of .NET result in improper appearance of some of the user interface elements. Required for StorageLink Manager http://www.microsoft.com/downloads/details.aspx? FamilyID=61fc1c66-06f2-463c-82a2cf20902ffae0&displaylang=en Required to use the StorageLink PowerShell plug-in On Windows 2008 the Windows PowerShell feature needs to be added. This can be done from the Windows Server Manager under Features. Previous to Windows 2008,
13
Chapter 2
Prerequisite
Citrix StorageLink Installation Guide There is a Windows registry value called VolumeReservedPercentage for the Dell EqualLogic adapter. This allows you to set the reserved percentage attribute on volume creation for snapshots. The current default value is 100%. This allows you to work around a limitation in the EqualLogic user interface where a value entered for default snapshot space in the Group Configuration tab does not get used by the EqualLogic API.
15
Chapter 2
About Citrix StorageLink If connected via Fibre Channel, you must install the HP Device Specific Module (DSM) software on any Hyper-V hypervisor hosts.
HP StorageWorks XP
supported for Site Recovery StorageLink supports HP StorageWorks XP storage systems. The HP StorageWorks XP storage system requires that a physical server with a Fibre Channel HBA be used as the Control Host. The Control Host consists of the following components: w HP XP RAID Manager. Version 1-23 is required w HP XP Device Manager CLI w Java JRE w Citrix StorageLink 16
Citrix StorageLink Installation Guide Also required is the HP XP Command View AE (CVAE) Server, also known as the Device Manager Server. Version 6.3.0-04 is required. The Device Manager Server can also be run on a separate host, either a physical or virtual machine, or it can be run on the Control Host. Raid Manager Install the RAID Manager if you have not already done so from the media provided by HP on the Control Host. Follow the steps in the installer wizard. Ensure that Centrally Managed is checked, and accept the defaults everywhere else. Note: RAID Manager is installed by default in C:\HORCM. Changing this location requires additional overrides within StorageLink. Keeping this location will ensure that additional overrides won't be required in StorageLink. Device Manager Server Install the Device Manager Server if you have not already done so from the media provided by HP, on either the Control Host or another host. Make sure the Device Manager Server is properly licensed. Note: One Device Manager on each site can manage multiple arrays on that site, but individual array should not be managed by more that one Device Manager Server. Add each array to its corresponding Device Manager Server through the Device Manager web interface using Add Subsystem. This should initiate a full discovery of the array. Device Manager CLI Download the Device Manager CLI from the Device Manager Server web interface to the Control Host. Extract (unzip) everything into the C:\dvmcli directory (there is no installer to run). Note: Extracting the Device Manager CLI to any location other than C:\dvmcli requires additional overrides within StorageLink. The Device Manager CLI requires Java to run. Install the JRE and make sure $JAVA_HOME\bin is added to the system path. Important: $JAVA_HOME\bin must be in the Control Host's system path for the Device Manager CLI to work.
17
Chapter 2
About Citrix StorageLink Citrix StorageLink Install StorageLink on the Control Host. Follow the steps in the installer wizard, providing the location of the Citrix License Server and a password for the Gateway service when prompted. For details see the Citrix StorageLink Installation Guide. Additional HP XP setup StorageLink does not create new Logical Units (LDEVs) on the storage system. It only uses pre-created LDEVs for all its purposes. The creation of LDEVs is a timeconsuming process and is generally considered a preparatory step with the HP XP. Any LDEV that is not assigned to a Host Group is treated as available for StorageLink use. Any that is assigned to a Host Group is not assigned by StorageLink when a new LUN is requested. 1. Once the Control Hosts are set up, create at least one Command Device per array for each control host. Turn off Command Device Security on the Command Devices. Important: Be sure to turn off Command Device Security on the Command Devices. 2. StorageLink does not create Host Groups (HSDs) on the array. This gives the administrator more control over the routing of data into and out of the system through appropriate target ports. Therefore, you should do the following: a. Create a Host Group for each Control Host. b. Create a Host Group for each StorageLink-managed hypervisor host that will be using the array. Add host WWNs to the appropriate Host Groups. c. StorageLink creates a special-purpose Host Group called Citrix_SL_Reservation_HSD that is used to reserve LDEVs that are in use by StorageLink. 3. Add the Command Devices created above to the Host Groups corresponding to the respective Control Hosts. For remote replication, ensure that there is a Command Device on each array for each of the two Control Hosts. 4. For remote replication, StorageLink requires that HP Continuous Access is enabled on each of the arrays and that the arrays are set up as remote replication pairs (see the HP-XP documentation). HP XP overrides The following are the StorageLink overrides for an advanced user who might want more control over the behavior of various aspects of StorageLink management of the array. To set these, edit the Windows Registry on the Control Host. HKLM\Software\Wow6432Node\Citrix\StorageLink\1.0\Server\Adapters\hitachi
18
Description The full OS path to the Device Manager CLI for HP XP systems. Enables/Disables the use of volume name labels on LUNs
HKLM\Software\Wow6432Node\Citrix\StorageLink\1.0\Server\Adapters\hitachi\Hosts \default Registry key name ReplicationHostGroupName Type REG_SZ Description The name of the Host Group (HSD) to which Command Devices as well as volumes that are involved in replication operations are mapped.
HKLM\Software\Wow6432Node\Citrix\StorageLink\1.0\Server\Adapters\hitachi\Hosts \default\Systems\<array serial number> Registry key name HorcmInstanceLocalPvol Type REG_SZ Description The number of the HORCM instance used for the primary side of local replications. The number of the HORCM instance used for the secondary side of local replications. The number of the HORCM instance used for any remote replications into or out of the system.
HorcmInstanceLocalSvol
REG_SZ
HorcmInstanceRemote
REG_SZ
Chapter 2
w assure that the NetApp array is configured for DNS w assure that the checkIP flag in the SnapMirror configuration is turned on w assure that snapmirror.access is set to all w assure that iSCSI has been started by logging on to the array and issuing the iscsi start command Refer to your NetApp documentation for details.
Nexenta NexentaStor
supported for Site Recovery StorageLink supports NexentaStor storage systems. Note: in order use NexentaStor with StorageLink, you need to create a username and password on the array specifically for StorageLink. To do this, log onto the appliance via the console or ssh with the root password, then run the command setup storagelink password. You will prompted for the username and password. Use these credentials when you connect the StorageLink gateway to the array.
Chapter 3
21
Chapter 3
Installation process
In summary, the installation process for Citrix StorageLink goes as follows: 1. Install and apply Citrix License Server the StorageLink Gateway and StorageLink Manager require that you install Citrix License Server and apply that license to your host (Platinum and Enterprise editions only - Express edition requires no license). 2. Install StorageLink Gateway The StorageLink Gateway can be installed on Windows 2008 or Windows 2008 R2 3. Install StorageLink Manager the StorageLink Manager is the graphical user interface used to manage StorageLink Gateway. The installation file also contains the Windows command-line interface and the PowerShell plugin. Either before or after StorageLink installation, the overall environment requirements for use with StorageLink are: w One of the supported storage systems must be available w One or more hypervisor hosts running either Windows 2008 or 2008 R2 with the HyperV role enabled, or Citrix XenServer must be available Configuration of storage systems and hypervisor hosts is described in detail in the Citrix StorageLink User Guide. To begin the installation process, insert the DVD into the DVD drive. If autorun is disabled on your machine, browse to the drive and launch autorun.exe.
Citrix StorageLink Installation Guide The License Server Configuration Tool appears.
7. Enter the port numbers for the License Server Port, the Vendor Daemon Port, and the Management Console Web Port if desired, or just to use the default values (recommended). Set a password for the admin user and enter it a second time to confirm it. Click OK to complete the License Server configuration.
23
Chapter 3
Note: A Citrix license is required for Citrix Essentials Platinum and Enterprise editions only. It is not required for the free Citrix Essentials Express edition. If you are installing the Express edition, skip this section. 1. Log in to your account on My Citrix. 2. Go to https://www.citrix.com/English/mycitrix/appcontext.asp?applicationID=10. This is the start page of the Citrix Activation System. Click I Agree to confirm that your company owns the license you are about to activate, and that you are not activating the license on behalf of one of your customers. 3. The next page prompts for your license code. Enter it in the field provided, and then click Continue. 4. The next page prompts you to select a Solution Advisor. You can search for a Solution Advisor by Country, State, and/or Name. Select the Solution Advisor from the list returned by the search, or choose I cannot find my reseller and click Continue. 5. If you chose I cannot find my reseller, browse the list of contacts, or click Add a New Contact. This will open a form that will allow you to add new contact information to the database. Fill it out appropriately and click Continue. 6. The next page prompts you to select licenses to allocate. Follow the instructions on the web page, and enter the hostname of your Citrix License Server in the field provided. Click Continue. 7. The next page gives you a download link for your license file. Download the file to a known location.
24
25
Chapter 3
26
Chapter 4
27
Chapter 4
28
Appendix A
29
Appendix A
Requirements
If you want to use SQL Server, there are a couple of requirements and recommendations for best performance: w Use the same server (physical or virtual machine) on which the StorageLink Gateway service and SQL Server both run. SQL Server must be collocated with StorageLink Gateway in order to allow for Windows authentication, which is the only kind of authentication StorageLink Gateway supports. w Use a server with two or more CPUs (physical or virtual machine) for best performance. If you do use a single-CPU host, run the SQL Server service at a higher process priority than the StorageLink Gateway service. To do this, open the Windows Task Manager and click on the Processes tab. Find the StorageLink Gateway process (listed as cslg_service.exe*32), right-click on it, and select Set Priority from the context menu. Set it to Normal if it not already set to that choice. Next, find the SQL Server process (listed as sqlservr.exe *32 or something similar), right-click and choose Set Priority, and select Above Normal or High. Click Change Priority in the confirmation box that appears, then close the Task Manager. If neither of these recommendations are followed, you will see a heavy slowdown of certain operations (particularly while using Site Recovery and validating virtual machine failover configuration on a secondary site), as well as spurious failures of site recovery plan validation with database timeouts registered in the StorageLink service logs. w We also recommend that you install StorageLink Manager on a different host (physical server or virtual machine) than the one running StorageLink Gateway SQL Server.
Installation
Installation instructions for Microsoft SQL Server 2008 can be found at http:// msdn.microsoft.com/en-us/library/ms143219.aspx
30
w SQL Server compact edition uses (local) for the Database Server Name. All editions other than the compact edition use a real server name, localhost in most cases. w For editions other than SQL Server Compact Edition, the Database Instance Name may or may not exist depending on whether SQL Server was installed as a "named instance" or as an "unnamed default instance." In the case of SQL Server Compact edition, there is no named instance; only the unnamed default instance" can be used. Also attach the StorageLink Gateway Microsoft SQL database files (cslg_db.mdf and cslg_db_1.ldf) to your SQL Server database instance. These files are in the < %StorageLink Gateway Data Directory%>\Server\Database directory (which by default is C:\ProgramData\Citrix\StorageLink\Server\Database). You can also use this script to switch back to using the default embedded SQLite database. The script syntax is then: cslg_db_config.cmd sqlite <%StorageLink Gateway Data Directory%> \Server where the default StorageLink Gateway data directory is c:\ProgramData\Citrix \StorageLink Note: The cslg_db_config.cmd script stops and restarts the StorageLink Gateway service. If you run the script with erroneous parameters, the StorageLink Gateway service will be stuck in Starting mode. If this happens, you will need to manually stop the service (Start >Administrative Tools>Services ) and run the script again with correct parameters.
31