HP StorageWorks XP10000 - Disk Array Administrator's Manual

HP StorageWorks XP10000 - Disk Array Administrator's Manual

Hp storageworks xp virtualization adapter administrator guide (5697-0216, october 2009)
Hide thumbs Also See for StorageWorks XP10000 - Disk Array:
Table of Contents

Advertisement

HP StorageWorks
XP Virtualization Adapter Administrator Guide
Part number: 5697-0216
Third edition: October 2009

Advertisement

Table of Contents
loading

Summary of Contents for HP StorageWorks XP10000 - Disk Array

  • Page 1 HP StorageWorks XP Virtualization Adapter Administrator Guide Part number: 5697-0216 Third edition: October 2009...
  • Page 2 Legal and notice information © Copyright 2009 Hewlett-Packard Development Company, L.P. Confidential computer software. Valid license from HP required for possession, use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S.
  • Page 3: Table Of Contents

    Contents 1 Overview of HP StorageWorks XP Virtualization Adapter ......6 Discovery of disk arrays and LUNs ....................6 Failover testing ........................... 6 Failover recovery ........................7 XP Virtualization Adapter local configuration .................. 8 XP Virtualization Adapter remote configuration using Telnet .............. 8 XP RAID Manager and array configurations .................
  • Page 4 Error code for multiple errors ....................43 7 Reference ..................45 Related documentation ......................45 HP technical support ......................... 45 Subscription service ........................45 HP websites ..........................46 Documentation feedback ......................46 Glossary .................... 47 Index ....................49...
  • Page 5 Figures XP Virtualization Adapter configuration using local connection ........8 XP Virtualization Adapter configuration using remote connection ........9 Manager configuration for XP Virtualization Adapter ........... 11 horcmX.conf on Protection Site .................. 12 horcmX.conf on Recovery Site ................... 13 horcmX+1.conf on Recovery Site ................14 horcmX.conf on Primary Site ..................
  • Page 6: Overview Of Hp Storageworks Xp Virtualization Adapter

    1 Overview of HP StorageWorks XP Virtualization Adapter HP StorageWorks XP Virtualization Adapter (XP Virtualization Adapter) is a Perl interface between VMware Site Recovery Manager (SRM) and HP StorageWorks Disk Arrays. The interface enables SRM to provide automatic access to remote data copies when virtual machines become unavailable locally.
  • Page 7: Failover Recovery

    Adapter to unpresent and delete the point-in-time copies. XP Business Copy or XP Snapshot is used to create point-in-time copies during recovery plan testing. NOTE: For Failover, the ESX LVM settings must be set to default for point-in-time copies (default is disallow) and resignature (default is allow).
  • Page 8: Xp Virtualization Adapter Local Configuration

    NOTE: CT Group Ids for Replicated LUNs are supported in XP Business Copy SRM maps LUNs with datastores using the Replicated Keys and LUN WWN, and then moves all resources to the recovery site. NOTE: During initial setup, replicated LUNs need to be presented to both the protected and recovery ESX hosts.
  • Page 9: Xp Virtualization Adapter Configuration Using Remote Connection

    XP Virtualization Adapter is configured using the XP Virtualization Adapter command.pl (see command.pl example on page 10) as an interface adapter and the XP Virtualization Adapter command msra. In a remote connection, the XP Virtualization Adapter command.pl calls the XP Virtualization Adapter command on a remote XP RAID Manager.
  • Page 10 command.pl example #!/usr/bin/perl use Net::Telnet; my @stdinput = <STDIN>; my $input; my $output; my $out; my $host; my $user; my $pass; my $local = 1; my $cmd; my $telnet = Net::Telnet->new(Host=>$host,Cmd_remove_mode=>1,Timeout=>180); $telnet->login($user,$pass); if ($ENV{'HORCMROOT'} ne "") $cmd = "echo \"" . $input . "\" | " . $ENV{'HORCMROOT'} . "\\HORCM\\etc\\rmsra -auto timeout=" . $ENV{RMSRATOV} .
  • Page 11: Xp Raid Manager And Array Configurations

    XP RAID Manager and array configurations HORCM instances To use XP Virtualization Adapter, HORCM instances X are needed on both sites (primary and secondary), but remote communications are not needed between the instances. However, if XP Continuous Access paired volumes are created using XP RAID Manager, remote communications are needed.
  • Page 12: Horcmx.conf On Protection Site

    XP RAID Manager configuration files The examples shown in Figure 4 on page 12 and Figure 5 on page 13 assume the following instance number and the target port. X is the XP RAID Manager instance number 0 is the MUN number for failover testing CL4-G-1 is the target port for ESX Server Figure 4 horcmX.conf on Protection Site Overview of HP StorageWorks XP Virtualization Adapter...
  • Page 13: Horcmx.conf On Recovery Site

    Figure 5 horcmX.conf on Recovery Site NOTE: 1 - MU# must NOT be specified for registering as XP Continuous Access group. 2 - MU# must be specified for registering XP Business Copy group. It is recommended to be specified either MU#0,1.2 for XP Business Copy or XP Snapshot. XP Business Copy can be specified either MU#0,1.2.
  • Page 14: Horcmx+1.Conf On Recovery Site

    Figure 6 horcmX+1.conf on Recovery Site The examples shown in Figure 7 on page 14 and Figure 8 on page 15 assumes the following instance number and the target port as below. X is the XP RAID Manager instance number XP Business Copy or XP Snapshot is not used for failover testing CL4-G-1 is the target port for ESX Server Figure 7 horcmX.conf on Primary Site...
  • Page 15: Horcmx.conf On Secondary Site

    Figure 8 horcmX.conf on Secondary Site NOTE: For failover testing on XP Continuous Access and XP Continuous Access Journal SVOL: • if the XP Business Copy licence is not installed, SRM requires that SplitReplication is set to true. if the XP Business Copy licence is installed, SRM requires that SplitReplication is set to true and •...
  • Page 16: Multi Path I/O Connection

    The device identification must include NAA version 6 information in Page 83 SCSI. Protection groups using XP Continuous Access Synchronous or XP Continuous Access Synchronous CTG If the disk pairs for a protection group are XP Continuous Access Synchronous, use a fence level of DATA.
  • Page 17 Starting HORCM as a service in Windows XP RAID Manager provides the svcexe.exe command and a sample script file (HORCM0_run.txt) so XP RAID Manager (HORCM) can be started automatically from the services . See the HP StorageWorks XP RAID Manager User's Guide. Starting HORCM as a service in Windows2000/2003 XP RAID Manager commands and the HORCMgr process normally have the same privileges.
  • Page 18 Overview of HP StorageWorks XP Virtualization Adapter...
  • Page 19: Xp Virtualization Adapter Command

    2 XP Virtualization Adapter command rmsra Configures the XP Virtualization Adapter parameters Description Use the rmsra command if you need to modify XP Virtualization Adapter parameters. Syntax rmsra { h | XMLSTDOUT | XMLSTDERR [sralog=path_name] | auto | —loglvl= [quiet] [error] [warning] [info] [verbose] [trivia] | —timeout=value | —testMU=value} Arguments Displays command usage.
  • Page 20: Environment Variables

    —timeout=value This option is used to specify timeout value for failover using for XP Continuous Access Journal and XP Continuous Access Asynchronous. If the timeout value is specified using the $RMSRATOV variable, then this variable is ignored. The default is 60 seconds. —testMU=value This option is used to specify MU number of the XP Business Copy or XP Snapshot volume for failover tests.
  • Page 21: Modifying Environment Variables Using The Windows Gui

    option [testMU=value], this variable is ignored. The default is MU number 0. The following examples specify 1 as the MU number. Windows example: setx RMSRATMU 1 /m UNIX example (bash): export RMSRATMU=1 NOTE: You will need to restart the Windows server to complete any changes. Modifying environment variables using the Windows GUI Environment variables are added, deleted, or modified using the Advanced tab in the Windows Control Panel.
  • Page 22 XP Virtualization Adapter command...
  • Page 23: Installing And Removing Xp Virtualization Adapter

    3 Installing and removing XP Virtualization Adapter This chapter explains how to install and configure XP Virtualization Adapter. IMPORTANT: A successful installation depends on using compatible versions of the OS and all installed software. See XP Virtualization Adapter release notes for version requirements. Installation directory XP Virtualization Adapter is installed in the following directory (default): \Program Files\VMware\VMware Site Recovery Manager\scripts\SAN\RMXP...
  • Page 24: Verifying The Installation

    Restart the SRM service using the vmware-dr command: C:\>net STOP vmware-dr The VMware Site Recovery Manager Service service is stopping. The VMware Site Recovery Manager Service service was stopped successfully. C:\>net START vmware-dr The VMware Site Recovery Manager Service service is starting. The VMware Site Recovery Manager Service service was started successfully.
  • Page 25: Removing The Xp Virtualization Adapter

    Restart the SRM service using the vmware-dr command: C:\>net STOP vmware-dr The VMware Site Recovery Manager Service service is stopping. The VMware Site Recovery Manager Service service was stopped successfully. C:\>net START vmware-dr The VMware Site Recovery Manager Service service is starting. The VMware Site Recovery Manager Service service was started successfully.
  • Page 26 Installing and removing XP Virtualization Adapter...
  • Page 27: Configuring Srm And The Xp Disk Array

    4 Configuring SRM and the XP disk array This chapter summarizes the steps to set up SRM and the XP disk array for use with XP Virtualization Adapter. The following procedures assume that the LUNs for ESX Server are already assigned on the protected and recovery sites, and the assigned LUNs for ESX Server are known as XP Ports, Port WWN, LUN number.
  • Page 28: Configuring Srm To Communicate With Xp Virtualization Adapter

    Configuring SRM to communicate with XP Virtualization Adapter To configure SRM to communicate with XP Virtualization Adapter, complete the following steps: Configure Array Manager When the protected and recovery SRM servers have been paired, click Configure to configure Array Manager to use XP Virtualization Adapter. Add XP Virtualization Adapter to SRM on the protected site From the Configure Array Managers window, click Add to add connection information for the XP Virtualization Adapter.
  • Page 29 Connect to XP RAID Manager on remote UNIX Host: HORCMINST=X@Host-name This connects to HORCMINST=X on the Remote UNIX Host without %HORCMROOT%. $HORCMINST@Host-name This connects to $HORCMINST setting on a remote login environment on a UNIX Host without %HORCMROOT%. Connecting to XP RAID Manager on remote windows Host: HORCMINST=X@Host-name This connects to HORCMINST=X on the Remote Windows Host by specifying %HORCM- ROOT%.
  • Page 30 Connect to XP RAID Manager on the Windows host: HORCMINST=X This connects to HORCMINST=X on Windows host. $HORCMINST This connects to %HORCMINST% setting on this Windows host. Enter the username and password as dummy. After you enter the username and password, click Connect and then click OK to discover PVOL LUNs on the protected array.
  • Page 31 Add XP Virtualization Adapter to SRM on the recovery array From the Configure Array Managers window, click Add to add connection information for the XP Virtualization Adapter. Configuration using a remote connection: Select the XP Virtualization Adapter from Manager Type that is connected to XP Virtualiz- ation Adapter.
  • Page 32 Connecting to XP RAID Manager on remote UNIX Host: HORCMINST=X@Host-name This connects to HORCMINST=X on the Remote UNIX Host without %HORCMROOT%. $HORCMINST@Host-name This connects to $HORCMINST setting on a remote login environment on a UNIX Host without %HORCMROOT%. Connecting to XP RAID Manager on remote windows Host: HORCMINST=X@Host-name This connects to HORCMINST=X on the Remote Windows Host by specifying %HORCM- ROOT%.
  • Page 33 Connecting to XP RAID Manager on Windows: HORCMINST=X This connects to HORCMINST=X on this Windows Host. $HORCMINST This connects to %HORCMINST% setting to this Windows Host. Enter the username and password as dummy. After entering the username and password, click Connect and then OK to discover PVOL LUNs on the protected array.
  • Page 34 Verify Replicated Datastore Verify the array managers are configured for both protected and recovery sites, and replicated datastores in the Review Replicated Datastores window. Ending Array Manager Verify that SRM is configured in Array Manager for both protected and recovery sites. Configuring SRM and the XP disk array...
  • Page 35: Create Protection Groups

    Create protection groups You are ready to create protection groups in the protected site using SRM. Protection groups (containing virtual machines) fail over together to the recovery site during test and recovery. For more information on creating protection groups, see the VMware Site Recovery Manager Administration Guide. Create recovery plans Create recovery plans on the recovery site.
  • Page 36 Configuring SRM and the XP disk array...
  • Page 37: Failover And Failback With Srm

    5 Failover and failback with SRM This section discusses failover and failback with SRM. It also provides a scenario as a guide for the manual process of failback. Failover Failover occurs when an SRM recovery plan is executed, and the SRM recovery plan is configured to fail over SRM protection groups that use replicated PVOLs and SVOLs on XP disk array as a datastore.
  • Page 38 Configure array replication from the recovery site (Site B) to the protected site (Site A) for datastores containing recovered virtual machines. Create any protection group(s) (P2) at the recovery site (Site B) to protect the recovered virtual machines at the protected site (Site A). On the protected machine (Site A) create a recovery plan (R2) for the protection group(s) (P2) After the virtual machines have been fully replicated to the protected site (Site A), execute recovery plan R2 at the protected site (Site A) in test mode.
  • Page 39: Troubleshooting Hp Storageworks Xp Virtualization Adapter

    6 Troubleshooting HP StorageWorks XP Virtualization Adapter General troubleshooting Use the following solutions to troubleshoot general issues: XP disk arrays do not appear in Site Recovery Manager Solutions If XP disk arrays are not appearing in Site Recovery Manager, make sure that Site Recovery Manager has been restarted (see step 3 in “Installation procedures”...
  • Page 40: Errors In Xml Passed From Srm

    Errors in XML passed from SRM [XP Virtualization Adapter] [Time]: [command_main] : Parameter in XML was NOT enough. Cause - A parameter in XML was entered from SRM to the XP Virtualization Adapter, but it could not be found in any parameters. Action to be taken - Confirm if SRM has passed appropriate parameters in XML from own SRM log message.
  • Page 41: Configuration And Status Errors

    [XP Virtualization Adapter][Time]: [“Command line”] : popen : “system error message” Cause - An execution of Command line has failed via popen() call. Action to be taken - Confirm if XP RAID Manager is installed, or the path of Command line is correct, or %HORCMROOT% ENV has being set, or make action by referring to system error message.
  • Page 42: Troubleshooting Information For Technical Support

    [XP Virtualization Adapter][Time]: [failover_chk] : “ Command line” ? P/S = , Status = , Fence Cause - The pair status of a target volume specified with failover is inappropriate status (SMPL, PVOL, or COPY). Action to be taken - Confirm if volume status is appropriate status (XP Continuous Access is SVOL and PAIR) using the pairdisplay command.
  • Page 43: Error Code For Multiple Errors

    %HORCMROOT%\HORCM\etc\raidqry -l %HORCMROOT%\HORCM\etc\raidqry -g %HORCMROOT%\HORCM\etc\pairdisplay −IH −g ??? −CLI −l −fwe (where ?? ? is a group name shown by “raidqry −g”) %HORCMROOT%\HORCM\etc\raidscan −IH −p port(i.e. cl1-a-0) −CLI (port where connecting to ESX sever) Abstract If XP Business Copy is installed: %HORCMROOT%\HORCM\etc\pairdisplay −g ??? −CLI −l −few −m cas (where ??? is a group name shown by “raidqry −g”) For SRM and XP Virtualization Adapter remote configuration...
  • Page 44 Error Code Reason 0x00000100 The volume is inappropriate property as SMPL 0x00000200 The volume is inappropriate property as PVOL 0x00000400 The volume is inappropriate property as SVOL 0x00000800 undefined 0x00001000 The volume is inappropriate status as COPY , etc… 0x00002000 The volume has NO CTgroup 0x00004000 undefined...
  • Page 45: Reference

    7 Reference This guide contains detailed instructions for installing and removing XP Virtualization Adapter. The intended audience has independent knowledge of related OS software and of the HP StorageWorks XP disk arrays and its software. Related documentation The following documents provide related information: HP StorageWorks XP24000/XP20000 Continuous Access Software User's Guide HP StorageWorks XP24000/XP20000 Business Copy Software User's Guide HP StorageWorks XP RAID Manager User's Guide...
  • Page 46: Hp Websites

    HP websites For additional information, see the following HP websites: http://www.hp.com http://www.hp.com/go/storage http://www.hp.com/service_locator http://www.hp.com/support/manuals http://www.hp.com/support/downloads Documentation feedback HP welcomes your feedback. To make comments and suggestions about product documentation, please send a message to storagedocsFeedback@hp.com. All submissions become the property of HP. Reference...
  • Page 47: Glossary

    Glossary This glossary defines acronyms and terms used in this guide or related to this product and is not a comprehensive glossary of computer terms. disk array A RAID. A collection of disk drives within a cabinet or multiple cabinets and including a controller and software allowing drives to be ganged together in various configurations to create virtual drives (LUNs).
  • Page 48 Glossary...
  • Page 49: Index

    Index Site Recovery Manager (SRM) documentation discovery process, providing feedback, Subscriber's Choice, HP, related, documentation, HP website, technical support error messages, service locator website, troubleshooting, Failback overview, websites, scenario, HP , Failover HP Subscriber's Choice for Business, overview, Failover recovery overview, Failover testing XP Virtualization Adapter...

Table of Contents