background image

HP StorageWorks

XP Virtualization Adapter Administrator Guide

Part number: 5697-0216
Third edition: October 2009

Содержание StorageWorks XP Virtualization Adapter

Страница 1: ...HP StorageWorks XP Virtualization Adapter Administrator Guide Part number 5697 0216 Third edition October 2009 ...

Страница 2: ...Technical Data for Commercial Items are licensed to the U S Government under vendor s standard commercial license The information contained herein is subject to change without notice The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services Nothing herein should be construed as constituting an additional warranty HP sh...

Страница 3: ...Upgrading the XP Virtualization Adapter 24 Removing the XP Virtualization Adapter 25 4 Configuring SRM and the XP disk array 27 Creating Pair Volumes for data replication groups 27 Configuring datastores 27 Pairing SRM sites 27 Configuring SRM to communicate with XP Virtualization Adapter 28 Create protection groups 35 Create recovery plans 35 5 Failover and failback with SRM 37 Failover 37 Failba...

Страница 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 4 ...

Страница 5: ...9 2 Manager configuration for XP Virtualization Adapter 11 3 horcmX conf on Protection Site 12 4 horcmX conf on Recovery Site 13 5 horcmX 1 conf on Recovery Site 14 6 horcmX conf on Primary Site 14 7 horcmX conf on Secondary Site 15 8 Multi Path I O Connection 16 9 Environment Variables 21 10 XP Virtualization Adapter Administrator Guide 5 ...

Страница 6: ...scovered Storage Array Ids serial number Model for example 60 03 20 FF Product XP_RAID Storage Port Id Port WWN Replicated LUNs and Ids LDEV number and LUN WWN Remote Storage Array Ids serial number Remote LUN Ids LDEV number NOTE Remote SVOL is available to the groups through XP RAID Manager horcm conf and are replicated between protected and recovery XP disk arrays using XP Continuous Access Syn...

Страница 7: ... verifies the point in time copy SVOLs can be recovered after failure of the local array via a recovery plan SRM uses XP Virtualization Adapter to unpresent and delete the point in time copies NOTE For failover testing the point in time copy SVOLs must be created as PAIR state and must be registered to horcm conf as a group Failover recovery During recovery SRM executes a recovery plan When SRM re...

Страница 8: ...for XP Virtualization Adapter on a Windows machine The Virtual Center server VIC SRM and XP Virtualization Adapter are configured on Windows2003 Figure 1 XP Virtualization Adapter configuration using local connection XP Virtualization Adapter remote configuration using Telnet Figure 2 shows the Telnet configuration for XP Virtualization Adapter on a Windows machine The Virtual Center server VIC SR...

Страница 9: ...ion Adapter command pl calls the XP Virtualization Adapter command on a remote XP RAID Manager IMPORTANT If the XP RAID Manager instance is on Windows XP Virtualization Adapter must use the local configuration because the XP Virtualization Adapter will be called directly and does not use LAN telnet server locally Figure 2 XP Virtualization Adapter configuration using remote connection XP Virtualiz...

Страница 10: ...TMU XMLSTDOUT else cmd rm f txtname telnet cmd cmd foreach my line input cmd echo line txtname telnet cmd cmd cmd cat txtname HORCM usr bin rmsra auto timeout ENV RMSRATOV testMU ENV RMSRATMU XMLSTDOUT xmlname 2 logname telnet cmd cmd cmd cat logname xmlname telnet cmd cmd cmd cat xmlname my stdout stderr exit telnet cmd cmd foreach my line stdout if line s wwn output output line elsif line RMSRA ...

Страница 11: ...on auto to start it XP Virtualization Adapter then tries to start HORCM X 1 Figure 3 Manager configuration for XP Virtualization Adapter Fibre Address conversion table Because VMware ESX Server uses WWN and LUN number notation for device discovery the Fibre conversion table number for HORCM must be changed using HORCMFCTBL variable C HORCM etc set HORCMFCTBL 3 C HORCM etc horcmstart This variable ...

Страница 12: ...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 12 ...

Страница 13: ...up 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 XP Snapshot can be specified either MU 0 1 2 63 If MU of which except MU 0 will be specified then it is needed to set XP Virtualization Adapter variable see Environment variables on page 20 XP Virtualization Adapter Administrator Guide 13 ...

Страница 14: ...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 Overview of HP StorageWorks XP Virtualization Adapter 14 ...

Страница 15: ...tinuous Access Synchronous CTG or XP Continuous Access Journal volumes must be used Snapshot for failover testing The point in time copy for failover testing must be created as volume using point in time split this capability is supported for only XP Business Copy and XP Snapshot C HORCM etc paircreate g group m grp fq quick pid snapshotpool Required LUN ID VMware ESX Server supports NAA version 6...

Страница 16: ...ange Oracle The SRA does not swap from SVOL to PVOL when the XP Continuous Access link is active Instead the failover succeeds and SRM notified that all target volumes have changed to the SVOL SSWS state Protection groups and CT groups using XP Continuous Access Asynchronous and XP Continuous Access Journal Software If the PVOLs for protection groups are CT group volumes using XP Continuous Access...

Страница 17: ...ng HORCM as a service in Windows2000 2003 XP RAID Manager commands and the HORCMgr process normally have the same privileges However if the HORCM has Local System privileges any XP RAID Manager commands will be unable to attach to the HORCMgr process In this case the XP RAID Manager HORCM_EVERYCLI environment variable must be used to enable communications See the HP StorageWorks XP RAID Manager Us...

Страница 18: ...Overview of HP StorageWorks XP Virtualization Adapter 18 ...

Страница 19: ...is option is used to change the output destination of XML from the output destination OutputFile specified by SRM to STDERR The sralog is used to change the output destination of the error messages from STDERR auto This option is used to start HORCM instance automatically If the instance is not running XP Virtualization Adapter will start HORCM X and HORCM X 1 but ignores the results of HORCM X 1 ...

Страница 20: ...s variable is not set the path is the same as the XP Virtualization Adapter installation directory see Installation directory on page 23 NOTE You will need to restart the Windows server to complete any changes RMSRATOV This environment variable specifies the timeout value for failover using XP Continuous Access Journal and XP Continuous Access Asynchronous The timeout value is set using the XP Vir...

Страница 21: ...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 Click Environment Variables and add the HORCMROOT RMSRATOV and RMSRATMU to the System Variables list Figure 10 Environment Variables XP Virtualization Adapter Administrator Guide...

Страница 22: ...XP Virtualization Adapter command 22 ...

Страница 23: ...rver XP Virtualization Adapter requires that XP RAID Manager is installed on the management server or hosts For XP RAID Manager installation instructions see the HP StorageWorks XP RAID Manager User s Guide Installation procedure XP Virtualization Adapter is installed using an executable rmxpsra exe XP Virtualization Adapter must be installed on both the local site SRM server protected site and th...

Страница 24: ...r Rev xx xx xx Usage rmsra h Help Usage XMLSTDOUT Change XML_output to STDOUT XMLSTDERR Change XML_output to STDERR auto Start HORCM automatically sralog path_name Change STDERR_output to path_name loglvl value Change logging level to quiet error warning info verbose trivia on STDERR timeout value Specify timeout_value in sec for UR Async testMU value Specify MU using for failover testing Upgradin...

Страница 25: ...ronment variables restart the SRM service See step 4 Removing the XP Virtualization Adapter To remove the XP Virtualization Adapter 1 Delete the XP Virtualization Adapter using the Windows Add or Remove Programs window 2 Restart VMware Site Recovery Manager Service by using the vmware dr command C net STOP vmware dr The VMware Site Recovery Manager Service service is stopping The VMware Site Recov...

Страница 26: ...Installing and removing XP Virtualization Adapter 26 ...

Страница 27: ...ta replication groups using XP RAID Manager For more information on these tasks see the HP StorageWorks XP RAID Manager User s Guide When you put a pair volume into a data replication group it will need to be replicated paircreate on the remote XP disk array At the remote data center you then need to present the SVOLs to the ESX servers that are hosts to the remote XP disk array After you present ...

Страница 28: ... Virtualization Adapter 2 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 If the SRM and XP Virtualization Adapter are using a remote connection Select the XP Virtualization Adapter from the Manager Type that is connected to XP Virtu alization Adapter Enter the Alias to con...

Страница 29: ...NST X on the Remote Windows Host by specifying HORCM ROOT HORCMINST Host name This connects to HORCMINST setting on a remote login environment on a Windows Host by specifying HORCMROOT After you enter the username and password click Connect and then OK to discover PVOL LUNs on protectected array For a local connection select the XP Virtualization Adapter from the Manager type that is connected to ...

Страница 30: ... 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 Verify that the array managers are discovered the following information Local Array ID and Remote Array Id information LUN count equals the number of PVOLs LUNs Configuring SRM and the XP disk array 30 ...

Страница 31: ...on 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 Enter the Alias to connect to an XP RAID Manager instance via XP Virtualization Adapter XP Virtualization Adapter Administrator Guide 31 ...

Страница 32: ...X on the Remote Windows Host by specifying HORCM ROOT HORCMINST Host name This connects to HORCMINST setting on a remote login environment on a Windows Host by specifying HORCMROOT After you enter a username and password click Connect and then OK to discover PVOL LUNs on the protected array Configuration using local connection Select the XP Virtualization Adapter from the Manager type that is conn...

Страница 33: ...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 Verify that the protection array managers are discovered the remote array ID as following information Local and remote Array ID information LUN count equals the number of PVOLs LUNs XP Virtualization Adapter Administrator Guide 33 ...

Страница 34: ...nfigured for both protected and recovery sites and replicated datastores in the Review Replicated Datastores window 5 Ending Array Manager Verify that SRM is configured in Array Manager for both protected and recovery sites Configuring SRM and the XP disk array 34 ...

Страница 35: ...tion groups see the VMware Site Recovery Manager Administration Guide Create recovery plans Create recovery plans on the recovery site A recovery plan is a list of steps the SRM follows on a protected site to switch operation from the protected site to the recovery site during a disaster or test For more information on creating recovery plans see the VMware Site Recovery Manager Administration Gui...

Страница 36: ...Configuring SRM and the XP disk array 36 ...

Страница 37: ... protected site local site For example the failover could have been due to a hardware error or the loss of the entire data center Failback scenario with SRM In the following failback scenario SRM is used as a failback tool to return a protected site Site A to its original state after executing a recovery plan R1 at a recovery site Site B To execute a failback manually Swapping data replication gro...

Страница 38: ...execute the recovery plan R2 in recovery mode If needed you can now protect the recovered virtual machines on the protected site Site A back to the recovery site Site B To do this perform the following steps 1 Delete the recovery plan R2 from the protected site Site A 2 Delete the protection group s P2 at the recovery site Site B 3 Configure array replication from the recovery site Site B to the p...

Страница 39: ...ecovery hosts are not configured with the correct HBA port WWN on the recovery XP The replicated LUNs used in failover were not presented to the recovery ESX servers Virtual machines do not start at recovery site during failover testing Cause The ESX recovery hosts are not configured with the correct HBA port WWN on the recovery XP Error messages on SRM log files XP Virtualization Adapter error me...

Страница 40: ...irtualization Adapter Time command_testFailover NO ReplicaLunKey in XML Cause A parameter in XML failover test was entered from SRM to the XP Virtualization Adapter but it could not be found ReplicaLunKey LDEV number of XP Continuous Access_SVOL Action to be taken Confirm if SRM has passed ReplicaLunKey parameter in XML failover test from own SRM log message XP Virtualization Adapter Time command_...

Страница 41: ...817 Could not find a group on configuration file for this LDEV Port Seq 64015 LDEV 9 mun 0 18 38 55 51feb 14817 pairdisplay exit 239 EX_ENOGRP No such group Cause The group name which was designated or the device name doesn t exist in the configuration file or the network address for remote com munication doesn t exist Action Please confirm if the group name exists in the configuration file of the...

Страница 42: ...rtualization Ad apter XP Virtualization Adapter Time failover_exe invalid arrayId Cause A XML failover parameter was received from SRM to the XP Virtualization Adapter but the array ID could not be found Action to be taken Use the SRM log message file to confirm the array ID parameter and XML failover parameter XP Virtualization Adapter Time testfailover_exe invalid arrayId Cause A XML failover te...

Страница 43: ...er command error log ALLUSERSPROFILE Application Data VMware VMware Site Recovery Manager Logs vmware log 2 Collect the Outputs of the following command on HORCMINST XX instance for XP Virtual ization Adapter on remot UNIX env raidqry l raidqry g pairdisplay IH g CLI l fwe where is a group name shown by raidqry g raidscan IH p port i e cl1 a 0 CLI port where connecting to ESX sever If XP Business ...

Страница 44: ...0010000 The pairdisplay command has NO LUN WWN 0x00020000 The pairdisplay command has NO support for XP Virtualization Adapter 0x00040000 undefined 0x00080000 Memory allocation error 0x00100000 Popen function of the system was returned with ERROR 0x00200000 System function of the system was returned with ERROR 0x00400000 undefined 0x00800000 Error in XML from SRM 0x01000000 undefined 0x02000000 un...

Страница 45: ...w hp com support manuals Below Storage click Storage Software The following book is available on the VMware website VMware Site Recovery Manager Administration Guide HP technical support For worldwide technical support information see the HP support website http www hp com support Before contacting HP collect the following information Product model names and numbers Technical support registration ...

Страница 46: ...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 46 ...

Страница 47: ...stem failure failover When the recovery site takes over operation in place of the protected site after hardware or the entire protected site fails HBA Host Bus Adapter LUN Logical Unit Number A physically addressable storage unit as surfaced by a hardware RAID subsystem Protected Site The datacenter containing the protected virtual machines from which data is being replicated to the recovery site ...

Страница 48: ...Glossary 48 ...

Страница 49: ...tallation directory 23 installation prerequisites 23 HP StorageWorks XP Virtualization Adapter Overview 6 R related documentation 45 rmsra command 19 S Site Recovery Manager SRM discovery process 6 Subscriber s Choice HP 45 T technical support HP 45 service locator website 46 troubleshooting 39 W websites 45 HP HP Subscriber s Choice for Business 45 X XP Virtualization Adapter installation 23 inst...

Страница 50: ...50 ...

Отзывы: