HP P9000 Replication Manager Software User Guide Part number: TB584-96077 Sixteenth edition: October 2013
Legal and notice information © Copyright 2010, 2013 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. Government under vendor's standard commercial license. The information contained herein is subject to change without notice.
Contents Preface .............................................................................................. 19 1 Introduction ..................................................................................... 21 About Replication Manager ....................................................................................................... Example of a replication environment .................................................................................... Replication Manager features ............
Setting up information sources ........................................................... 53 About information sources .......................................................................................................... Registering information sources ................................................................................................... Registering information sources workflow ...............................................................................
Changing user permissions .................................................................................................. Setting up resource groups ......................................................................................................... About resource groups ........................................................................................................ Example of resource groups ..........................................................................................
Storage system types and volume requirements (pools) .......................................................... About the Create Pool Wizard ........................................................................................... Launching the Create Pool Wizard ...................................................................................... Adding pools .................................................................................................................. Setting up journal groups .....
About configuration definition file formats ..................................................................... About creating copy pair configuration definitions ................................................................ Copy pair configuration conditions .............................................................................. Prerequisites for pair configuration ...............................................................................
Creating and managing workflows ........................................................................................... About workflows .............................................................................................................. Saving workflows ............................................................................................................. Viewing a list of workflows ................................................................................................
Alert settings and volume switching .............................................................................. Basic operations and corresponding P9000 RAID Manager commands .................................. Conditions for copy pair operations (basic versus advanced) ................................................. Advanced operations and corresponding P9000 RAID Manager commands ........................... Monitoring and managing storage systems using virtual command devices .........................
Monitoring pair statuses using alerts ................................................................................... Monitoring pair statuses using My Copy Groups .................................................................. Displaying My Copy Groups ....................................................................................... Displaying My Copy Groups workflow .........................................................................
Viewing copy group information in the Hosts view (mainframe systems) .......................................... Viewing copy group information in the Hosts view (open systems) ................................................. Viewing information about pair management servers ................................................................... Viewing information about prefixes belonging to a host (mainframe systems) .................................. Viewing information about volumes belonging to a host ....
17 Managing alerts .......................................................................... 331 About alert management ......................................................................................................... Alert management functions ............................................................................................... Explorer menu items for alert management .......................................................................... Enabling or disabling alert settings .........
Explorer menu items for resource group management ............................................................ Editing resource groups ........................................................................................................... Viewing a list of resource groups .............................................................................................. Viewing individual resource group information ............................................................................
Launching the Create Replica Wizard ........................................................................................ Creating an application replica ................................................................................................ Restoring application replicas ................................................................................................... Roll-forward versus point-in-time restores ..............................................................................
Changing the operation mode .................................................................................................. 442 27 Replication Manager CLI tools ....................................................... 445 About the installation base path ................................................................................................ Using the GetCTDelta command ............................................................................................... Requirements ...................
C Display formats ............................................................................. 471 Display formats used when no pertinent information is available ................................................... 471 Display format of multi-valued information items for a management target ...................................... 472 Display format of copy type ..................................................................................................... 472 Glossary ................................
Figures 1 Two site configuration in an open system .................................................................... 25 2 Example system configuration in a mainframe system (using HP StorageWorks P9000 for Business Continuity Manager Software) ..................................................................... 26 3 Example system configuration in a mainframe system (using P9000 mainframe agent) ..... 27 4 Example system configuration managing copy pairs and application replicas .................
Tables 1 Pair management server configurations ...................................................................... 33 2 Parameters for backup server calculations .................................................................. 63 3 User roles .............................................................................................................. 81 4 Pair definition and replica operations ........................................................................ 81 5 Pair operations ...............
Preface This document describes how to use the HP StorageWorks P9000 Replication Manager software.
Preface
1 Introduction This chapter provides an overview of Replication Manager features and architecture. It also provides an introduction to supported system configurations and an operations roadmap. About Replication Manager Replication Manager is a business continuity management framework that allows you to centrally configure, monitor, and manage in-system or remote business continuity products, for both mainframe and open environments.
Replication Manager features Replication Manager provides the following features to assist storage administrators: • • • • • Centralized management of a replication environment Integrated database backup management Visual representation of replication structures Monitoring and immediate notification of error information Modification of replication structures NOTE: If Replication Manager is installed without a license (or the existing license expires), only basic pair configuration functions will be availa
Modification of replication structures Replication Manager provides capabilities to configure additional copy pairs as business operations expand and improve performance by expanding buffer capacity for copying volumes. You can also change pair states manually after error recovery. Using the wizards provided in the GUI, you can set up pairs while visually keeping track of complex replication structures.
manage the hosts by registering the instance of HP StorageWorks P9000 for Business Continuity Manager Software or P9000 mainframe agent installed on each host in the local and remote sites as an information source. • Database and backup servers: To manage database replicas, the system requires two servers: a database server that manages the primary volume, and a backup server with the secondary volume.
Figure 1 Two site configuration in an open system User Guide 25
Figure 2 Example system configuration in a mainframe system (using HP StorageWorks P9000 for Business Continuity Manager Software) 26 Introduction
Figure 3 Example system configuration in a mainframe system (using P9000 mainframe agent) User Guide 27
Figure 4 Example system configuration managing copy pairs and application replicas Replication Manager operations roadmap The following figure shows the flow of tasks during system configuration, operation, and maintenance.
TIP: If you want to change the system configuration or the Replication Manager settings during operation, you should back up the database before and after making any changes. For details on system configuration, system maintenance, and database backup, see the HP P9000 Replication Manager Software Configuration Guide.
Introduction
2 Getting started This chapter describes initial settings needed to begin Replication Manager operations and procedures for setting up the prerequisite environment for pair management. It also includes quick references to typical operations performed using Replication Manager. Using the Help system The Replication Manager online help system is context-sensitive; when you click Help from within a window or dialog box in the Web client, information specific to the task you are performing displays.
You can also print information in topics by clicking the Print icon located in the top right of your Help window. Initial setup After Replication Manager has been installed on a management server, you must configure initial settings needed to begin Replication Manager operations. Initial settings configuration workflow The following figure shows the task flow of the initial configuration settings.
WARNING! N:M and 1:M configurations are intended for use in disaster recovery. N:M and 1:M configurations cannot be used to create or restore application replicas.
Figure 5 Example of redundant pair management server configuration Registering redundant pair management server nodes (while creating a copy group) You register the initial primary/secondary pair management servers when creating a new copy group from the Group Management page of the Pair Configuration Wizard: 1. Click Create Group. 2. Enter the Group Name. 3. Select the Site and Server Name for the primary and secondary pair management servers.
Registering redundant pair management servers manually If you are constructing the redundant pair management server configuration manually, be sure and do the following: 1. 2. 3. Use a P9000 RAID Manager command to change the configuration of the copy pair. Set up the HORCM configuration files so that each primary HORCM file has all secondary targets and vice versa.
• Prerequisite products for Replication Manager are installed and their environment settings are configured • Replication Manager is installed on the management server, and an environment is set up • If you plan to create replicas, make sure the Application Agent is installed on the database and backup servers • A Replication Manager license is set up Logging in and out To log in to Replication Manager: 1.
If you are logged in to another P9000 Command View AE Suite product, you can also start Replication Manager using the GO link for RepMgr displayed in the Dashboard menu. If you logged in to Device Manager from HP SIM, you can invoke Replication Manager software from Device Manager. In this case, you can perform the Replication Manager software operations permitted by the permissions of the user account that you used to log in.
Getting started
3 Replication Manager console This chapter describes the Replication Manager console and its main features. This chapter also provides descriptions of various functional views available in the Replication Manager console. Understanding the console layout Replication Manager provides a simple, easy-to-use, centralized management console for monitoring and visualizing volume replication configurations and status information. The following example is an illustration of Replication Manager console layout.
• Restrictions related to the GUI, page 463 Global tasks bar area The global tasks bar area contains menus and action buttons for Replication Manager functions, and also contains information about the logged-in user. A triangle icon is provided to show or hide the Explorer and Dashboard menus. Global tasks bar area menu items Menu Explanation Close Closes the window, but does not log the user out from Replication Manager and other active P9000 Command View AE Suite products.
Explorer menu items Menu item Explanation Displays resources such as application servers or hosts, storage systems, and pair management servers managed by Replication Manager. • Hosts: Displays information about the hosts managed by Replication Manager (hosts view). Resources • Storage Systems: Displays information about the storage systems managed by Replication Manager (Storage Systems view).
Menu item Explanation Tasks: Displays the tasks scheduled for copy pairs. Tasks Workflows: Displays the workflow generated for copy pairs. Alerts Alerts: Allows you to check alerts or edit alert settings. User Profile: Allows you to check or edit user information. Settings License Info: Sets the Replication Manager license information. Refresh Setting: Allows you to update the information managed by Replication Manager and set the interval for updating the information.
Dialog box A dialog box is a pop-up window displayed when an action button is clicked. The window displayed when a specific action button is clicked is called the action-name dialog box. Clicking Help in a dialog box displays the online help page that describes the items displayed in the dialog box. Functional views Replication Manager provides multiple views that display pair configurations and the status of the replication environment from different perspectives.
Structure of the Hosts view The figure below shows the structure of the Hosts view with the list of hosts as the starting point. The subwindow changes according to the hierarchy displayed in this structure.
Storage Systems subwindow The Storage Systems subwindow lets you view storage systems containing paired volumes and the copy licenses registered for each storage system. For details on the meanings of the icons, see “Icons representing the management target” on page 460 or “Display formats used when no pertinent information is available” on page 471.
Displays the types of the storage systems. Storage System Type For mainframe systems, you can identify the type of a storage system only when the storage system is registered in the Device Manager server and that server is registered as an information source. If you cannot identify the type, the storage system family is displayed (from among XP1024/XP128, XP12000/10000/SVS200, and XP24000/ 20000). Displays the copy types for which licenses are registered in open systems or mainframe systems.
Pair configurations subwindow The Pair Configurations subwindow lets you view pair management servers with copy pair definitions (P9000 RAID Manager configuration definition file) and related information. Pair Management Servers Pair Management Server Displays the name of the pair management server that issues instructions to storage systems to perform a copy pair operation.
Information Source Displays the name (nickname) of the Device Manager server, instance of HP StorageWorks P9000 for Business Continuity Manager Software, or instance of P9000 mainframe agent. Structure of the Pair Configurations view The figure below shows the structure of the Pair Configurations view with the list of copy pair configuration definitions as the starting point. The subwindow changes according to the hierarchy displayed in this structure.
TIP: For mainframe pair configurations, the tree structure of the pair configurations appears differently for copy groups within containers and copy groups that are not. • For copy groups not within a container, the copy group nodes are displayed directly under the prefix nodes and the node name of the copy groups is consistent with the dataset names.
Applications Item Description Application Displays Exchange or SQL. Displays the status icon that represents the current state of protection. Data Protection Status See “About data protection status” on page 295 for a list of icons and their meanings. Structure of the Applications view The figure below shows the structure of the Applications view with the list of applications (Exchange or SQL) as the starting point. The subwindow changes according to the hierarchy displayed in this structure.
User Guide 51
Replication Manager console
4 Setting up information sources Before you can use Replication Manager to manage resources, you must register an information source. In open systems, this information source is the Device Manager server. In mainframe systems, this information source is either HP StorageWorks P9000 for Business Continuity Manager Software or P9000 mainframe agent.
TIP: If you register Device Manager servers, you can configure links for invoking the instances of registered Device Manager servers from Replication Manager. You can register links to the servers in the Go menu of the global tasks bar area. You can set the link by executing the hcmdslink command on the management server. For details on this command, see the HP P9000 Replication Manager Software Configuration Guide.
Adding a Device Manager server TIP: Only a user who has the Admin permission can add a Device Manager server. To add a Device Manager server: 1. Ensure that you have the following information: 2. • IP address or host name • Protocol to be used for communication with Replication Manager software (HTTP or HTTPS) • Port number (the server.http.port value in the server.
Adding an instance of HP StorageWorks P9000 for Business Continuity Manager Software or P9000 mainframe agent CAUTION: If you have an HP StorageWorks P9000 for Business Continuity Manager Software environment where multiple BCM instances have overlapping copy group or disk configuration definition files, see “When multiple BCM instances have overlapping configuration definition files” on page 57 first.
Once an instance of BCM is registered, Replication Manager loads the configuration information associated with the BCM for the purposes of scanning the volumes as described in “About mainframe volume discovery” on page 67.
Adding an instance of Application Agent To add an instance of Application Agent: 1. Make sure you have the following information concerning the host where Application Agent has been installed: • Name of Application Agent identified by Replication Manager • Host ID. For a physical host (stand-alone), the IP address or host name of production server where the agent is running. (IPv4 and IPv6 addresses are supported.
Related topics • Setting Application Agent options, page 59 • Editing an instance of Application Agent, page 370 • Refreshing Application Agent, page 65 Setting Application Agent options After adding an instance of Application Agent, you must configure the options for the agent before the application discovery process can proceed. The options differ depending on whether the host is a database or backup server.
6. For cluster configurations, the Cluster Options tab is displayed. This tab sets the required Shared Data Path (location of the application configuration information used by Application Agent) and selects the Restore Mode (whether or not to keep cluster resources online).
Settings for virtual hosts and cluster configurations For the settings below, any settings applied to a physical host are automatically applied to all virtual hosts running on the physical host. This applies to cluster configurations as well.
Manual operation When a task has been created through the Pair Configuration Wizard with the Applications view, you can conceal or reveal volumes manually when adding or deleting pair groups. In the Edit Task[s] dialog box, go to the Pair Operation section of the Pair Setting tab. The Reveal Secondary Volumes option is is displayed when an attempt is made to delete a copy pair or group definition, and Conceal Secondary Volumes option is displayed for a creation operation.
Therefore, to execute the verification process in parallel and increase the performance, it is ideal to increase the number of FC ports connecting the server and storage and provide a configuration to enable multiple processing of I/O with respect to the disk.
Parameter Description Notes IS_NUM Number of information stores per storage group (Exchange Server 2003/2007), or per database server (Exchange Server 2010/2013) You must supply this value. SG_NUM Number of storage groups to back up per database server (for Exchange Server 2010/2013, use a value of 1) You must supply this value. Because storage groups are not supported in Exchange Server 2010/2013, use a value of 1 in this case. DB_SERVER Number of database servers You must supply this value.
Refreshing Application Agent After updating an instance of Application Agent, you need to refresh the data. Replication Manager then retrieves the following information: • Application Agent component version • Parameters displayed on the setup windows To refresh the Application Agent data: 1. From the Explorer menu, choose Administration and then Information Source. The Information Source subwindow appears. 2. Expand the object tree, and then select Application Agent.
Setting up information sources
5 Discovering volumes Before you can use Replication Manager to define or manage copy pairs, it is necessary to discover volumes. As a result of this discovery process, Replication Manager identifies a list of volumes that can be used for pair definition. This chapter describes how to discover volumes. Discovering volumes (open systems) Open systems volumes are discovered by refreshing configuration information after registering an information source.
1. 2. 3.
Example volume scan procedure Types of volume scans Replication Manager uses one of three available scanning methods to discover mainframe volumes: Local scan (Gen'ed) This method discovers volumes recognized by the mainframe host within a specified DEVN/VOLSER range. Local scan (Non Gen'ed) This method discovers volumes within a specified storage system and LDEV range. As a prerequisite, a local scan (Gen'ed) must be performed on the scan target storage system.
• Deleting a volume range from a volume range list, page 71 • Restrictions for deleting volume ranges, page 71 Adding a volume range to a volume range list To add a volume range to the volume range list: 1. Display the list of disk configuration definition files on the Disk Configs tab in the BC Manager / Mainframe Agent subwindow. For details on how to display disk configuration definition files, see “Displaying disk configuration definition files” on page 75. 2.
• Overlapping volume ranges cannot be specified. • When Non Gen'ed scan or Remote scan is selected, a starting number of Dummy DEVN that would cause the value of Dummy DEVN to exceed FFFF during the volume scan cannot be specified. Deleting a volume range from a volume range list To delete a volume range from a volume range list: 1. Display the list of disk configuration definition files on the Disk Configs tab in the BC Manager / Mainframe Agent subwindow.
2. Select a disk configuration definition file. 3. Set the volume range for the scan. For details, see “Adding a volume range to a volume range list” on page 70. 4. Select the target hosts for disk list distribution. For details, see “Selecting targets for disk configuration distribution” on page 74. 5. Check the information and click OK to begin the volume scan. The scanning process may take some time.
Example disk list distribution scenario Prerequisites for distribution destination hosts (disk configuration definitions) HP StorageWorks P9000 for Business Continuity Manager Software or P9000 mainframe agent hosts (with disk configuration definition files) must satisfy the following conditions to be distribution destination candidates: • The DADIDs of the distribution destination candidate host are the same as the origin of distribution.
Conditions Whether volume has been added to a pair* Copy type Volume type Information displayed when no restrictions apply to resource groups Information displayed when restrictions apply to resource groups Only the DADID of the volume added to the pair is displayed. Only the DADID of the volume added to the pair is displayed.
5. To delete a distribution target, deselect the check box for the candidate distribution host. TIP: The copy group definition file will not be distributed if you deselect a host registered as a distribution target. 6. To distribute the disk configuration definition file when the disk list is created, select the Distribute the disk config when creating the list check box. (Uncheck this check box when you want to skip disk list distribution.) 7. Click OK.
To edit a disk configuration definition file: 1. From the Explorer menu, choose Administration and then Information Source. The Information Source subwindow appears. 2. Expand the object tree, and select BC Manager / Mainframe Agent. The BC Manager / Mainframe subwindow appears. 3. Click the Disk Configs tab. The list of disk configuration definition files managed by Replication Manager are displayed in the Disk Configs tab. 4.
3. Under the DEVNs tab, select the Paired tab. The paired DEVN list is displayed. This list also displays copy types associated with established copy pairs. 4. Review the information in the paired DEVN list. Related topics • Reviewing unpaired DEVN list, page 77 • Reviewing unpaired LDEV list, page 78 Reviewing paired LDEV list To review the paired LDEV list: 1. From the Explorer menu, choose Resources and then Storage Systems. The Storage Systems subwindow appears. 2.
Reviewing unpaired LDEV list To review the unpaired LDEV list: 1. From the Explorer menu, choose Resources and then Storage Systems. The Hosts subwindow appears. 2. Expand the object tree, and then select a storage system under Storage Systems. The storage-system-name subwindow appears. 3. On the CUs tab, select a control unit number. The CU-number subwindow appears. 4. Under the LDEVs tab, select the Unpaired tab. All Mainframe volumes located on the storage system are listed. 5.
6 Setting up authorities Before you can use Replication Manager, you must specify user account settings and permissions to restrict the scope of operations allowed for each user. Replication Manager controls access by using resource groups that restrict accessible ranges, and user management roles that restrict user operations. To control access to Replication Manager resources, you need to create resource groups and associate users with resources. This chapter describes how to configure access control.
Permissions and management roles In addition to the built-in account (user ID: System), there are permissions that grant access to all Replication Manager functions. Permissions can be allocated in any combination, but are broad in nature and do not control access to individual functions. The following table groups the permissions into two categories known as management roles.
are fixed and cannot be customized.The user roles and their capabilities are shown in the following table. Table 3 User roles User Role Description Storage administrator Responsible for all replication tasks, including resource allocation (S-VOLs). Copy pair administrator Responsible for all replication tasks, except resource allocation. Application administrator Responsible for data protection of applications, but cannot change pair configurations.
Basic (mainframe and open) Role Advanced (open only) Resync / split / syncwait Restore Application administrator X X Application operator X Create Delete Takeover Swap Force-split Takeover-Recovery TIP: In most cases, assignment of the roles determines whether a function can be performed by disabling the control or button on a given window (for example, by dimming the Create button). For some functions, the controls may not be displayed at all.
Role Launch Pair Configuration Wizard (Allocate S-VOLs) Launch “Edit Workflow” window (Define Copy Groups) Launch Change Pair Status Wizard (Create/delete copy pairs, restore copy pairs) Launch Restore Replica Wizard Copy Pair Administrator Disabled Enabled Enabled Enabled Application Administrator Disabled Disabled Enabled1 Enabled Disabled Disabled Enabled1,2 Disabled Application Operator Legend: 1. 2.
Changing user permissions You can specify the permissions required to use a specific P9000 Command View AE Suite product for each registered user. To allow existing P9000 Command View AE Suite product users to also use Replication Manager, you must grant Replication Manager management permissions to those users.
Setting up resource groups Replication Manager controls access by using resource groups that restrict the range of resources that can be accessed by users. To control access to Replication Manager resources, you need to create resource groups and associate users with resources. About resource groups A resource group is a collection of applications or sites that are grouped together and associated with specific users to restrict the resources that users can access.
Creating resource groups To create resource groups: 1. From the Explorer menu, choose Administration and then Resource Groups. The Resource Groups subwindow appears. 2. Click Create Group. The Create Resource Group dialog box appears. 3. Register the information about the resource group you want to create. The created resource group is displayed in the Resource Groups subwindow. 4. You can then add resources to the resource group as desired.
• • • • • About resource groups, page 85 Adding hosts to a resource group, page 87 Adding users to a resource group, page 88 Adding storage systems to a resource group, page 87 Adding applications to a resource group, page 89 Adding hosts to a resource group You can add hosts as resources to existing resource groups. TIP: You cannot register the same host in more than one resource group. In addition, you cannot add hosts to the All Resources group (where all hosts are registered automatically).
3. On the Storage Systems page, click Add Storage Systems. The Add Storage Systems - resource-group-name dialog box appears. 4. Select the storage systems you want to add, and then add them. The added storage systems are displayed on the Storage Systems page. Related topics • About resource groups, page 85 • Removing storage systems from a resource group, page 360 Adding users to a resource group You can add users to existing resource groups.
Adding applications to a resource group You can add hosts/applications as resources to existing resource groups. TIP: You cannot register the same host/application in more than one resource group. In addition, you cannot add hosts/applications to the All Resources group (where all hosts are registered automatically). To add hosts/applications to a resource group: 1. From the Explorer menu, choose Administration and then Resource Groups. The Resource Groups subwindow appears. 2.
3. On the Applications page, click Add Hosts. The Add Hosts - resource-group-name (Applications) dialog box appears. 4. Select the hosts/applications you want to add, and then add them. The added hosts/applications are displayed on the Applications page.
7 Organizing resources In Replication Manager you can organize resources such as hosts and storage systems into logical sites for easier management. You can also designate frequently monitored resource groups as My Copy Groups. This chapter describes different ways to organize resources. About resources Resources are entities managed by Replication Manager. These include application servers, storage systems, and pair management servers that constitute the replication environment.
Setting up sites Sites allow you to manually group resources under one name for easier management. You can define your own site and register resources such as hosts and storage systems. Grouping of resources into logical sites is especially useful when you have remote sites. Although you can define logical sites with any combination of resources, managing many resources from the web interface is easier when logical sites are created based on the resources of actual sites.
Adding sites To add sites: 1. From the Explorer menu, choose Shared Views and then Sites. The Sites subwindow appears. 2. Click Add Site. The Add Site dialog box appears. 3. Enter information about the sites you want to add, and then add them. The added sites are displayed in the Sites subwindow.
4. After sites have been added, specify the resources for the sites.
To add hosts to a site: 1. From the Explorer menu, choose Shared Views and then Sites. The Sites subwindow appears. 2. Expand the object tree, and then select a site by clicking on the site name in the Site List. The site-name subwindow appears. 3. Click the Hosts link. The Hosts subwindow appears. 4. Click Add Hosts. The Add Hosts dialog box appears. 5. Select the hosts you want to add, and then add them. The added hosts are displayed in the Hosts subwindow.
Adding pair management servers to a site You can add pair management servers to existing sites. After pair management servers have been added, the copy pair configuration definitions managed by the servers can be accessed from the nodes under the site. For open systems, if you need to use a pre-existing host as a pair management server (that is, you already added the host to the site), you must add the host to the site again as a pair management server.
3. Click the Applications link. The Applications subwindow appears. 4. Click the link for the desired application server. The Hosts list is displayed. 5. Click Add Hosts. The Add Hosts dialog box appears. 6. Select the hosts you want to add, and then add them. The added application servers are displayed in the Hosts list.
• Explorer menu items for My Copy Groups management , page 299 • My Copy Groups management functions, page 299 Examples of My Copy Groups The following figure shows a display example of My Copy Groups. Display example of My Copy Groups If the copy groups registered in My Copy Groups have a multi-target configuration or cascade configuration, the relationships among the copy groups are displayed as described below.
In this example, the secondary volume of Copy Group_A is the primary volume of Copy Group_B and Copy Group_C. If a single copy group is connected to multiple copy groups The secondary volume of the multiple copy groups on the left is the primary volume of the single copy group on the right. In this example, the secondary volume of Copy Group_A and Copy Group_B is the primary volume of Copy Group_C.
In this example, the secondary volume of Copy Group_C is used as the primary volume of Copy Group_D, the copy type of which is Business Copy. Example (2) In this example, the secondary volume of Copy Group_A is used as the primary volume of Copy Group_D and Copy Group_E, both of which have the Business Copy copy type. Example (3) In this example, the primary volume of Copy Group_A is also used as the primary volume of Copy Group_D and Copy Group_E, both of which have the Business Copy copy type.
Creating My Copy Groups To create My Copy Groups: 1. From the Explorer menu, choose My Groups and then My Copy Groups. The My Copy Groups subwindow appears. 2. Click Edit My Copy Groups. The Edit My Copy Groups dialog box appears. 3. In the list, select the copy groups you want to display in My Copy Groups. 4. Click OK to update My Copy Groups. The information displayed in the My Copy Groups subwindow is refreshed.
Organizing resources
8 Setting up storage systems You can use Replication Manager to replicate volumes or change copy pair definitions. It is necessary to configure prerequisite settings before replicating volumes. You can specify the prerequisite settings centrally from Replication Manager, for many storage systems across multiple sites. This chapter describes the tasks for preparing the replication environment and setting up storage systems.
For a list of available storage system setup functions and required user permissions (Replication Manager management), see “Storage system setup functions ” on page 104. NOTE: For mainframe systems: Depending on the copy types to be configured, some of the storage system setup operations need to be performed with Remote Web Console. For details, see the HP P9000 Replication Manager Software Configuration Guide.
• Create a new remote path • Add a remote port for an existing remote path. TIP: Each function can be used only for the resources in resource groups associated with the user. Explorer menu items for setting up storage systems The following table shows the Explorer menu items that are related to setting up storage systems, user permissions (Replication Manager management), and whether the items can be executed with the indicated permissions.
Flow of specifying the settings required before replicating volumes Setting up V-VOLs Replication Manager supports creation of V-VOLs on storage system configurations. This function is only supported for XP24000/XP20000 storage systems. You can create V-VOLs and associate them with volume pools, using the Create V-VOL wizard. For details on how to create V-VOLs, see “Creating V-VOLs” on page 108 About creating V-VOLs Replication Manager supports creation of V-VOLs on storage system configurations.
V-VOL limits The maximum number of V-VOL groups that can be created for each storage system is 65,280. For XP24000/XP20000 storage systems, the maximum number of V-VOLs in a V-VOL group is 1024. For HP StorageWorks P9500 storage systems, the default maximum number of V-VOLs that can be created at one time with the Create V-VOL Wizard is 900. (Exceeding this limit will fail with the error RPM-01014.) To increase this value, you must modify the server.http.entity.maxLength property in the server.
Conditions CVS has been installed CVS has not been installed Number of P-VOLs that can be added (in the Select Primary LDEV-Target LDEVs window) No limit 1 Number of Snapshot/Fast Snap copy generations (in the Primary LDEVs-Count of Snapshot window) 1024 1 (inactive) About the Create V-VOL Wizard Replication Manager includes a Create V-VOL Wizard for creating V-VOLs and associating them with volume pools.
2. Expand the object tree, and then select a storage system under Storage Systems. The storage-system-name subwindow appears. 3. Click the Open link. The Open subwindow appears. 4. Under the Pools tab, display the V-VOLs tab. 5. Click Create V-VOLs. The Create V-VOLs Wizard is launched. 6. On the 1. Setup V-VOL Group page, specify the parameters of the V-VOL Group (Parity Group). NOTE: Steps 7 and 8 only apply to XP24000/XP20000 storage systems.
17. Review all parameters of the V-VOLs and click Confirm. The 5. Finish page is displayed. TIP: The time taken to complete this operation depends on the count and size of the primary LDEVs, and the specified Count of Snapshot. For five 1 GB primary LDEVs, it takes approximately 20 minutes. For one 1 GB primary LDEV and 1024 snapshots, it takes approximately 40 minutes. This operation can take longer when a large number of primary LDEVs are selected. 18.
Related topics • • • • About the Add Command Devices Wizard, page 112 Setting up command devices, page 110 Editing command devices, page 316 Deleting command devices, page 317 Storage system types and volume requirements (command devices) Volumes that meet the requirements listed here are displayed as candidate volumes in Replication Manager.
About the Add Command Devices Wizard Replication Manager includes an Add Command Devices Wizard for registering volumes as command devices. The wizard provides the following functions: • Filters for narrowing down the volumes to be registered as command devices • List of candidate volumes that can be registered as command devices • List of newly configured command devices Launching the Add Command Devices Wizard To launch the Add Command Devices Wizard: 1.
Setting up remote paths If you use Continuous Access Asynchronous, Continuous Access Synchronous, or Continuous Access Journal to replicate volumes, you must set up a logical path (called a remote path) to link the MCU (or primary DKC) of the local storage system to the RCU (or secondary DKC) of the remote storage system. You can set up a remote path by starting the wizard that is available under the Remote Paths tab of the Storage Systems view.
Whether to specify a remote path depending on combination of storage systems Remote storage system Local storage system XP512/ XP48 XP1024/ XP128 XP12000/ XP10000/ SVS200 XP24000/ XP20000 HP P9500 XP512/XP48 N N -- -- -- XP1024/XP128 N N N N -- -- N* Y Y Y -- N* Y Y Y -- N* Y Y Y XP12000/ XP10000/ SVS200 XP24000/ XP20000 HP P9500 Legend: Y: A remote path can be specified. N: A remote path cannot be specified.
2. Expand the object tree, and then select a storage system under Storage Systems. The storage-system-name subwindow appears. 3. Click the Open link. The Open subwindow appears. 4. Under the Remote Paths tab, click Create Path. The Create Remote Path Wizard starts. 5. Follow the instructions provided by the wizard to create a remote path. The remote path you created is displayed in the Open subwindow.
• The storage system type is XP12000/XP10000/SVS200, XP24000/XP20000, or HP P9500. • A license has been registered for the copy type being used (Snapshot/Fast Snap). For a volume to be used as a pool volume, the volume must meet the applicable requirements for the storage system type. For information on volume requirements for storage system types, see “Storage system types and volume requirements (pools)” on page 116.
Requirement XP12000/ XP10000/ SVS200 XP24000/ XP20000/ HP P9500 Encrypted and non-encrypted volumes cannot coexist N Y Must have same RAID level Y Y1 Legend: Y: This requirement applies. N: This requirement does not apply. 1. Only Snapshot pools are checked. Fast Snap are not checked. About the Create Pool Wizard Replication Manager includes a Create Pool Wizard for registering pool volumes.
Adding pools To add a pool: 1. From the Explorer menu, choose Resources and then Storage Systems. The Storage Systems subwindow appears. 2. Expand the object tree, and then select a storage system under Storage Systems. The storage-system-name subwindow appears. 3. Click the Open link. The Open subwindow appears. 4. On the Pools page, click Create Pool. The Create Pool Wizard starts. 5. Create a pool as instructed by the wizard. The added pool is displayed in the Open subwindow.
For each journal group, you can specify journal options. Specify each item according to the journal group status. To view items that can be specified as journal options, see “Items permitted for journal options” on page 120. Related topics • About the Create Journal Group Wizard, page 121 Storage system types and volume requirements (journal) Volumes that meet the requirements listed here are displayed as candidate volumes in Replication Manager.
Legend: Y: This requirement applies. N: This requirement does not apply.
Journal Group on the Primary Side (Master) Item Copy Pace Active Stop Other than Active or Stop N Y N Initial Y Journal Group on the Secondary Side (Restore) Active Stop Other than Active or Stop N N N Legend: Y: This item can be specified. N: This item cannot be specified. About the Create Journal Group Wizard Replication Manager includes a Create Journal Group Wizard for creating journal groups.
Launching the Create Journal Group Wizard To launch the Create Journal Group Wizard: 1. In the Explorer menu, choose Resources and then Storage Systems. The Storage Systems information is displayed in the Navigation area. 2. Expand a storage system, to open up the storage system information, and click Open. The storage system detailed information is displayed in the Application area. 3. In the JNLGs tab, click Create JNLG. The Create Journal Group Wizard starts.
4. On the JNLGs page, click Create JNLG. The Create Journal Group Wizard starts. 5. Create a journal group as instructed by the wizard. The added journal group is displayed in the Open subwindow.
Setting up storage systems
9 Customizing monitoring parameters You can customize Replication Manager by configuring alert notification settings, refresh intervals, and data retention periods. You can set up alerts to monitor thresholds for copy pair status, performance metrics and copy license usage. You can also configure refresh intervals at which the latest storage system information is applied to the Replication Manager database and retention periods for data items such as received alerts, write delay time, and event logs.
• • • • Alert retention, page 127 Alert limits, page 127 About the Create Alert Setting Wizard, page 128 About handling errors, page 431 Copy pair status An alert is sent when a copy pair or copy group achieves a specified status. For example, you can specify a condition for a copy group so that an alert is sent when an error status is detected. In this case, an alert is sent indicating the copy pairs of the group that are in error status.
Alert completion Alerts are automatically marked as Completed according to the criteria in the following table. Table 7 Alert completion conditions Monitored condition Completion criteria • Pool usage for each pool • Journal usage for each journal group • License usage When current usage is less than or equal to the usage (%) specified for the alert.
TIP: Note the following: • The best practice is to configure alert settings before starting Replication Manager operations either during initial setup or during re-configuration. If you set alerts or edit alert settings, HP recommends that you perform a test before starting operation to make sure that the alerts are sent normally. See “Testing alert settings” on page 333 for more information.
Launching the Create Alert Setting Wizard You can launch the Create Alert Setting Wizard from the following locations on the web interface depending on the monitored target: • • • • Copy Groups tab Pools tab JNLGs tab Copy Licenses tab To launch the Create Alert Setting Wizard, click Create Alerts in the Application area.
2. Display the information about the copy groups for which you want to set monitoring conditions. TIP: The best way to access alert settings related to copy groups is with the Copy Groups tab of the Alerts Setting List of the Alerts subwindow. For more information, see “Viewing alerts and settings” on page 332. For details on how to display this information, see the following: • • • • 3.
Setting the copy pair status monitoring conditions for each copy pair To set the conditions for monitoring copy pair status on a copy pair basis: 1. If you intend to use SNMP traps to send alerts, load the MIB definition files into the software that will receive the traps. For the location of the Replication Manager MIB definition files, see “About MIB definition files” on page 434. 2.
Setting performance monitoring conditions for each copy group To set the performance monitoring conditions on a copy group basis: 1. If you intend to use SNMP traps to send alerts, load the MIB definition files into the software that will receive the traps. For the location of the Replication Manager MIB definition files, see “About MIB definition files” on page 434. 2. Display the information about the copy groups where you want to set monitoring conditions.
Setting performance monitoring conditions for each journal group To set the performance monitoring conditions on a journal group basis: 1. If you intend to use SNMP traps to send alerts, load the MIB definition files into the software that will receive the traps. For the location of the Replication Manager MIB definition files, see “About MIB definition files” on page 434. 2. From the Explorer menu, choose Resources and then Storage Systems. The Storage Systems subwindow appears. 3.
Setting performance monitoring conditions for each pool To set the performance monitoring conditions on a pool basis: 1. If you intend to use SNMP traps to send alerts, load the MIB definition files into the software that will receive the traps. For the location of the Replication Manager MIB definition files, see “About MIB definition files” on page 434. 2. From the Explorer menu, choose Resources and then Storage Systems. The Storage Systems subwindow appears. 3.
Setting monitoring conditions for copy license usage To set monitoring conditions for copy license usage: 1. If you intend to use SNMP traps to send alerts, load the MIB definition files into the software that will receive the traps. For the location of the Replication Manager MIB definition files, see “About alert management” on page 331. 2. From the Explorer menu, select Resources, and then Storage Systems. The Storage Systems subwindow appears. 3.
Adding monitored targets To add a monitored target: 1. Select the resources you want to add as monitoring targets, and then click Create Alerts. The Create Alert Setting Wizard starts with the 1. Introduction page displayed. 2. Read the wizard page, and then click Next. The 2. Select Monitoring Type page appears. 3. Select the monitoring type you want to use, and then click Next. The 3. Select Alert Setting page appears. 4.
Related topics • About refreshing copy pair status, page 263 Calculating the copy pair status refresh interval You should set refresh intervals values such that copy pair status refresh operations have minimal impact on management servers and pair management servers. The automatic refresh interval you specify should be greater than the time required for an individual pair management server to collect pair status. To calculate the interval for refreshing the copy pair status: 1.
• • • • • • Received alerts Write delay time (C/T delta) Event log data Sidefile and journal volume usage Pool volume usage (open systems) Tasks TIP: If the total number of data items (including alerts, C/T delta, event logs, sidefile, journal volume usage, and pool volume usage, but excluding tasks) exceeds 30,000,000, some of the old data might be deleted even if the retention period for the data has not expired.
Related topics • About data retention periods, page 137 User Guide 139
Customizing monitoring parameters
10 Managing pair life cycle Replication Manager allows you to specify copy pair configuration definitions in open systems in which the storage system type is XP12000/XP10000/SVS200 or XP24000/XP20000 and in mainframe systems where the storage system type is XP12000/XP10000/SVS200 or XP24000/XP20000. Replication Manager also allows you to change the copy pair status in both open systems and mainframe systems.
Permissions Function Admin Modify View Viewing a list of tasks Y Y Y Editing tasks Y Y N Deleting tasks Y Y N Canceling tasks Y Y N Viewing a list of workflows Y Y Y Editing workflows Y Y N Deleting workflows Y Y N TIP: Based on the Modify permission, you can also assign user roles that have greater granularity and give you more control over the tasks that users can perform. See “About user roles” on page 80 for more information. Legend: Y: Can be used with this permission.
Legend: Y: Can be executed with this permission. About the pair management wizards Replication Manager provides two pair management wizards. The Pair Configuration Wizard is provided for the creation and editing of copy pair configuration definitions. The Change Pair Status Wizard allows you to change the copy pair status.
Pair configuration workflow The following figure illustrates the workflow for pair configuration. Launching the Pair Configuration Wizard You can launch the Pair Configuration Wizard from the following locations on the web interface: • Unpaired LUN List: The Unpaired LUN list does not include copy pairs. The wizard can be launched from this list to configure new volume pairs. • Paired LUN List: The Paired LUN list includes copy pairs.
NOTE: The term LUN (Logical Unit Number) only applies to open systems. For mainframe systems, the analogs are LDEV (Logical Device) and DEVN (Device Number). Method for launching the wizard Conditions when the wizard cannot be launched • The LU has been reserved by another workflow. • The LU is a virtual volume. • If the LU is an internal volume to which an external volume is mapped, the host I/O suppression mode is enabled.
Method for launching the wizard Conditions when the wizard cannot be launched • A copy group that belongs to the same cascade has been reserved by another workflow. • At least one of the selected volumes does not belong to the same copy group. • A copy group in the same cascade contains pairs of multiple copy types. • Replication Manager is not aware of the pair management server (on either the primary or secondary side) that manages copy groups belonging to the same cascade.
Defining copy pairs and pair groups This module discusses how copy pair configuration definitions are created and tasks for defining copy pairs and pair groups: • • • • • • • About copy pairs, page 147 About copy pair configuration definitions, page 149 About creating copy pair configuration definitions, page 151 Creating pairs and pair groups, page 156 Editing pair names, page 157 About filtering candidate volumes, page 158 Selecting multiple candidate volumes, page 158 About copy pairs A copy pair is a
• Secondary volume (S-VOL): The destination volume to which the contents of the primary volume are copied. • Secondary-primary volume (SP-VOL): The volume located in the middle of a cascade configuration. A secondary-primary volume is both the secondary volume in an upper-level copy pair and the primary volume in a lower-level copy pair.
About copy pair configuration definitions Copy pair configuration definitions are generated when a new copy group is created. Pre-existing copy pair configuration definitions can also be imported into Replication Manager. New copy pair configuration definitions are created and edited using the Pair Configuration Wizard.
About configuration definition file formats New configuration definition files (HORCM configuration files) can be generated in either HORCM_LDEV format or HORCM_DEV format. Replication Manager allows you to specify the format for new configuration definition files using the server.agent.rm.pairDefinitionForm and server.agent.rm.cuLdevForm properties in the Device Manager agent server.properties file.
About creating copy pair configuration definitions Replication Manager allows you to create copy pair configuration definitions in open systems where the storage system type is XP12000/XP10000/SVS200 or XP24000/XP20000 and in mainframe systems where the storage system type is XP12000/XP10000/SVS200 or XP24000/XP20000. There are some requirements to be satisfied before creating copy pair configuration definitions.
(or exceeds the documented limits), an error occurs during task execution, even if the wizard finishes normally. Table 9 Number of generations possible with multi-target configuration Copy type Storage system Business Copy HP P9500 XP24000/XP20000 Fast Snap Snapshot 64 First layer: 3 Second layer: 21 XP12000/XP10000/SVS200 -- 64 -- Notes: 1. Cascading to second layer is not possible for mainframe pair configurations.
Storage system conditions for pair configuration definition The following tables describe the correspondence between the copy types that can be specified for copy pair configuration definitions and the storage system type.
Conditions for volume selection The following conditions apply for volume selection during pair definition: • • • • Conditions Conditions Conditions Conditions for for for for primary volumes that can be added (open systems) , page 154 primary volumes that can be added (mainframe systems), page 154 secondary volumes that can be added (open systems) , page 154 secondary volumes that can be added (mainframe systems) , page 155 The following conditions apply for information displayed during pair definition
• • • • The license registered in the storage system must be valid. The S-VOL Disable attribute must not be specified. When the copy type is Copy-on-Write Snapshot/Fast Snap, volumes must be virtual volumes. When the copy type is Business Copy, Continuous Access Asynchronous, Continuous Access Synchronous, or Continuous Access Journal, volumes must not be virtual volumes. • When the copy type is Snapshot/Fast Snap or Continuous Access Journal, the emulation type must be OPEN-V.
• If managed by P9000 RAID Manager, Replication Manager must recognize the command device of the storage system Creating pairs and pair groups To define copy pair configurations, you should first register a new pair group and define a list of volume pairs to assign to the pair groups. Pair groups can be created on the 2. Pair Association page of the Pair Configuration Wizard.
4. From the displayed tree structure on the Results tab, select the candidate volumes that you want to assign as the primary volume or secondary volumes for the new copy pairs. You can select multiple volumes on the Result tab. For details, see “Selecting multiple candidate volumes” on page 158. 5. Click Add or Add All. The selected volumes are assigned as secondary volumes and the defined copy pair is displayed in the Pair List pane. Repeat this operation for each pair group you create.
5. Click Refresh. The new pair name is displayed in the Pair List pane in the Edit Pair Name dialog box. 6. Click OK. The pair name is updated in the Copy Group pane on the 3. Group Management page. Related topics • Associating pair groups with copy groups, page 164 About filtering candidate volumes When defining pairs you can specify filtering criteria to filter the list of candidate volumes for easier volume selection.
• Creating pairs and pair groups, page 156 About volume capacity checking A volume capacity check is conducted when the Pair Configuration Wizard is used to create or edit mainframe copy pairs. This is done to help the administrator avoid difficulties with Reverse-Resync operations involving primary and secondary volumes of mismatched sizes. (Although it is possible to create such copy pairs, an I/O error occurs if you execute a Reverse-Resync operation under this condition.
• Creating copy groups, page 162 • Supported copy group and container combinations, page 165 Copy group requirements for pair configuration (mainframe systems) The following copy group requirements must be satisfied when creating or editing mainframe pair configurations: • The copy group must contain the DADIDs of both the primary and secondary volumes for the created pair group.
• About assigning CTGID/JNLGID for copy pairs, page 160 Configuring open and mainframe consistency groups The use of consistency groups across open and mainframe systems is supported for the Cnt Ac-S copy type when using HP StorageWorks P9000 for Business Continuity Manager Software on XP24000/XP20000 and HP P9500 storage systems. When creating new pairs 1. In the Pair Configuration Wizard (open system), specify the Assign CTG option in the Edit Task dialog box (4.
• To specify the existing HORCM instances for which you do not want Replication Manager or Device Manager to add or delete copy pairs or change copy pair statuses. You can view configuration information for copy groups and copy pairs included in the specified instance but cannot perform any copy pair operations. TIP: HORCM instances created external to Replication Manager are not recognized and therefore not provided in the list of candidate instances in the Create Group dialog box.
5. Specify the path group ID or MU number. By default, Replication Manager automatically assigns an MU Number, which identifies the generation number for backup volumes. To change this value, choose another from the drop-down list. TIP: HP recommends specifying same value for both primary and secondary path group IDs. For more information on the MU Number, see “Managing generations (replica rotation)” on page 377. 6. Click OK to create a new copy group.
6. Click Edit Group. The Edit Group dialog is displayed. 7. Specify a new copy group name. 8. Click OK. The Copy Group field displays the specified group name. Associating pair groups with copy groups To associate pair groups with a copy group: 1. If you are creating a copy pair configuration definition from a saved workflow, perform the following: 1. From the Explorer menu, choose Tasks and then choose Workflows. A list of saved workflows is displayed. 2. 2.
Creating a container with multiple copy groups (mainframe systems) To create a container with multiple copy groups: 1. Select a volume without a copy pair configuration and launch the Pair Configuration Wizard. For details on how to launch the Pair Configuration Wizard, see “Launching the Pair Configuration Wizard” on page 144. 2. Create a pair group and associate it with a copy group. When performing the association, specify the consistency group ID and journal group ID.
Defining multi-target and cascade configurations This module discusses information about multi-target and cascade configurations and procedures for creating them.
Requirements for the copy type when creating a multi-target configuration Copy type of the pair group to be connected by group addition Copy type of the original pair group Business Copy Snapshot Continuous Access Synchronous Continuous Access Asynchronous Continuous Access Journal Business Copy Y N Y Y Y Snapshot N Y Y Y Y Continuous Access Synchronous Y Y N N Y Continuous Access Asynchronous Y Y N N N Continuous Access Journal Y Y N N N Legend: Y: This type of pair grou
Requirements for the copy type when creating a cascade configuration Copy type of the pair group to be connected by group addition Copy type of the original pair group Business Copy Snapshot Continuous Access Synchronous Continuous Access Asynchronous Continuous Access Journal Business Copy Y N Y Y Y Snapshot N N N N N Continuous Access Synchronous Y Y N N Y Continuous Access Asynchronous Y Y N N N Continuous Access Journal Y Y N N N Legend: Y: This type of pair group can
• When creating a cascade configuration, it is necessary to first create a higher-level copy pair or copy group.
4. On the 3. Group Management page, create a copy group and assign a pair group to the copy group. 5. Repeat the operations for creating a copy group and assigning a pair group to the copy group.
• Execution using CLI NOTE: If Replication Manager is terminated at the start time of a task, the task will be executed as follows: • For tasks with an execution interval specified, the task is run at the next execution time after startup occurs. • For tasks without an execution interval, the task is run immediately after startup occurs.
NOTE: If Replication Manager is not running when a task is scheduled to execute, the task is either automatically executed after Replication Manager is restarted (if execution only once has been selected for the task) or automatically rescheduled to execute at the next scheduled execution time after Replication Manager is restarted (if an interval is selected for the task). TIP: You need to re-create the task if all of the following conditions are satisfied.
• Editing tasks, page 175 About task types (open systems) The following task types are displayed for open systems: • modify file: Creates or edits the P9000 RAID Manager configuration definition file. This operation does not create a copy pair. • modify file + create: Creates or edits the P9000 RAID Manager configuration definition file and creates a copy pair. • modify file + delete: Edits the P9000 RAID Manager configuration definition file and dissolves a copy pair. • create: Creates a copy pair.
• modify file (delete): Deletes a pair from a copy group definition file. This type of task only deletes or edits a copy group definition file. It does not delete the defined pair. • distribute file: Distributes a copy group definition file. • change primary host: Changes the management host. • split: Splits a copy pair. This type of task is used to indicate both splitting of suspended pair and swapped pair. • resync: Re-synchronizes a copy pair.
3. Specify the following options on the Task Options tab: Execution Request Time Modify Pair Configuration File Only (Do not create Pair) check box 4. Executes the task at a specified date and time. Specifies whether to create a pair or only modify the P9000 RAID Manager configuration definition file. For mainframe tasks, this option is automatically selected and cannot be changed because mainframe pairs cannot created by Replication Manager. Update the task(s).
To make changes to one or more tasks on the 4. Task Management page: 1. To edit a single task, click the associated icon. To edit multiple tasks, they must be of the same copy type. Select the check boxes of the tasks you want to edit and click Edit Tasks. The Edit Task(s) dialog box appears. In this dialog box, you can set up execution options to modify pair creation. TIP: The Pair Setting tab is not displayed when editing tasks for mainframe systems. 2.
Viewing a list of tasks The Task List displays the tasks related to operations performed on copy pairs that are registered when the Pair Configuration Wizard or the Change Pair Status Wizard completes an operation, or when a copy pair associated with a remote path is deleted. The maximum number of tasks is 1,000. In this list, you can check information such as the task type (type of copy pair operation), execution status, and owner.
Deleting tasks You can delete tasks related to operations on copy pairs that were registered when the Pair Configuration Wizard or the Change Pair Status Wizard completed an operation, or when a copy pair associated with a remote path was deleted. You can only delete tasks that have the Cancel, Failure, Warning or Success status. When a task is deleted the task information is deleted from the repository. Resources reserved by a task are released when all the related workflows are deleted.
• Pre-distribution: Distribution of the latest copy group definition file from the current primary host to the copy group that will be the next primary host. The file can be distributed to only one userselected primary host (destination). This distribution occurs when the primary host is being changed and the copy group definition of the original primary host does not match the copy group definition of the new primary host.
• The copy group definition file must be previously distributed from the primary host by Replication Manager. (This implies a distribution relationship must already exist between the copy groups.) The following conditions occur when a copy group distribution primary host is changed: • Alert monitoring for the copy group by the previous primary host is stopped.
Confirming distribution hosts To confirm target distribution hosts and last distributed time: 1. Display the copy group information in the host or pair configurations view. For details on how to display this information, see “Viewing copy group information in the Hosts view (open systems)” on page 308. 2. Click the icon of the copy group for which you want to confirm target distribution hosts. The Distribution Hosts - copy group name window is displayed. 3.
• The tasks performed in the wizard might be divided between a storage system administrator who manages the storage system resources and an application server administrator who sets up the allocated resources according to the application. In this scenario, the storage system administrator can save the wizard current settings as a workflow so that the application server administrator can inherit the copy pair list that has been created.
To edit a workflow: 1. From the Explorer menu, choose Tasks and then Workflows. The Workflows subwindow appears. 2. Select the check box of a workflow you want to edit, and then click Edit Workflow. TIP: A workflow that was saved in a step prior to the Pair Configuration Wizard (3. Group Management) page cannot be edited or deleted. Therefore, if you click either of these buttons, an error message (RPM-00451) appears. A workflow that was saved in the Pair Configuration Wizard (3.
• About workflows, page 181 • Viewing a list of workflows, page 182 Managing copy pair configuration definitions This module describes tasks for managing copy pair configuration definitions: • • • • • • • • • • About editing copy pair configuration definitions, page 184 Adding copy pairs (completed workflow), page 186 Editing copy groups by associating new pair groups, page 186 Editing copy groups by associating new copy pairs, page 189 Editing copy groups by setting copy type, page 190 Editing copy group
CAUTION: Observe the following precautions: • While a copy pair configuration definition is being edited, do not use storage system operation management software to perform operations on a volume, copy group, or copy pair specified in that definition. Doing so might cause errors when Replication Manager executes tasks. • If you have specified the instance number in the server.agent.rm.exclusion.instance property of the server.
Adding copy pairs (completed workflow) After completing the initial pair configuration, you can add additional copy pairs to a copy pair configuration definition. This can be done only if all the associated tasks are in Ready status. You can edit the completed workflow created upon completion of the Pair Configuration Wizard. To add copy pairs to a completed workflow: 1. In the Explorer menu, choose Tasks and then Tasks. A list of tasks is displayed in the Tasks subwindow. 2.
3. Read the wizard page, and then click Next. The 2. Pair Association page appears. The copy topology (configuration of the related copy groups) to which the copy group belongs is displayed in the Copy Topology pane. 4. Create a pair group in the Copy Topology pane. 5. Define a list of copy pairs that you want to include in the pair group, by selecting the primary and secondary volumes in the Candidate List pane. For details on how to define copy pairs, see “Creating pairs and pair groups” on page 156.
• The copy type is Continuous Access Synchronous, and the secondary volume of the copy group that is the base for a multi-target configuration is selected. • The selected copy group has the same number of copy pairs as belong to a Continuous Access Journal copy group. • The storage system for the selected copy group differs from that for a Continuous Access Journal copy group.
Copy types that can be selected when a new copy group is added to existing copy groups Copy type of the pair group to be connected by group addition Business Copy Continuous Access Synchronous Continuous Access Asynchronous Continuous Access Journal Primary Y Y Y* Y Secondary N Y Y* Y Continuous Access Synchronous Primary Y N N Y Secondary Y N N Y Continuous Access Asynchronous* Primary Y N N N Secondary Y N N N Primary Y Y N N Secondary Y Y N N Copy type of sel
5. Click Add. The new volume pair is assigned to the copy group and displayed in the Pair List pane. 6. Click Next. The 3. Group Management page appears. The created pairs are displayed on the 3. Group Management page. 7. Click Next. A new task that correspond to the copy group is displayed on the 4. Task Management page. The Pair Operations field for the associated task displays the status "modify file + create". 8. Click Next. The 5. Confirm page appears. 9.
6. Select a copy type from the Copy Type drop down list. CAUTION: Pair configuration can fail if the specified copy type is different from the one configured when pair configuration file was created. 7. Click OK. The copy type assigned to the copy group is displayed in the Copy Topology pane. TIP: The copy type of the edited copy group cannot be edited after a copy type is assigned.
5.
Copy type Option name Displayed items Default value Integer values from 0 to 3 Mirror ID Continuous Access Journal Continuous Access Synchronous Continuous Access Asynchronous Note: If you want to concurrently use Continuous Access Journal and Continuous Access Synchronous copy groups in a 3DC Cascade or 3DC Multi-target configuration, you cannot specify a value of 0 for Mirror ID.
The EXCTG options are available on the Edit Group window, when multiple CTGIDs exist on the Continuous Access Journal copy group. These options enable consistency to be maintained among multiple CTGIDs. The following table lists the EXCTG options available: Option name Displayed item Description Enable EXCTG among multiple CTGIDs Check box EXCTG ID No value or 0 to 3 Secondary Storage Systems All secondary storage systems that belong to the container are displayed.
TIP: Before you delete mainframe copy groups (with EXCTG specification) using the Pair Configuration Wizard, you should first delete all pairs using the Change Pair Status Wizard. When copy groups are deleted by CTG or pair units, the consistency of the EXCTG configuration is not guaranteed and task execution might fail. To delete a copy group: 1.
Deleting copy pairs from copy groups You can delete pairs from an existing copy group using the Pair Configuration Wizard. TIP: In mainframe systems, you cannot delete all pairs that are in an existing copy group. This restriction prevents deletion of copy groups with distribution relationships. For details of conditions that disrupt copy group linkage, see “Conditions that disrupt copy group distribution relationships” on page 180. To delete copy pairs from a copy group: 1.
• Creating pairs and pair groups, page 156 Importing existing configuration definition files To import existing copy group configuration definition files: 1. Confirm the following prerequisites: • Ensure the file specification format is is supported by Device Manager agent. Verify that the parameters in the configuration definition file satisfy the settings restrictions for each parameter.
• When new copy pairs are added to a pre-existing configuration definition file that has mixed formats, Replication Manager determines the format for the new copy pairs using the server.agent.rm.pairDefinitionForm property in the Device Manager agent server.properties file. The preexisting format parameters are left as is. After modification, both HORCM_LDEV and HORCM_DEV formats are supported in the same configuration definition file.
Copy pair operation options that can be set for each copy type Copy type Copy pair operation Option Continuous Access Synchronous Continuous Access Asynchronous Continuous Access Journal Business Copy Snapshot / Fast Snap Copy Pace Y Y Y Y N Fence Level Y Y Y N N Pool ID N N N N Y1 Pool ID (P) N N N N N Pool ID (S) N N N N N JNLG ID (P) N N Y N N JNLG ID (S) N N Y N N No Copy Y Y Y N N Split N N N Y2 N3 Quick Split N N N Y N Read disable (se
Copy type Copy pair operation Option Continuous Access Synchronous Continuous Access Asynchronous Continuous Access Journal Business Copy Snapshot / Fast Snap syncwait Timeout time N Y Y N N Force Delete Y Y Y N N Reveal Secondary Volumes Y Y Y N N takeover Data forward timeout time N Y Y N N swap takeover recovery (resync) Copy Pace Y Y Y N N Copy Pace Y Y Y N N JNLG ID (P) N N Y N N JNLG ID (S) N N Y7 N N No Copy Y Y Y N N delete takeover re
Copy types and maximum CTGID values Storage System Continuous Access Synchronous HP XP12000 Continuous Access Asynchronous Continuous Access Journal Business Copy N Snapshot / Fast Snap N NOTE: CTGID values start at 0. Also, the CTGID option cannot be specified for Delta Resync or Snapshot. Legend: N: Cannot be set. Option items for copy pair operations (mainframe systems) The option items for a copy pair operation differ depending on the copy type.
Copy Type Copy Pair Operation Option Values Secondary Mode Quick Resync Cnt Ac-S Read Only(*), Read Write On, Off(*) Y -- Cnt Ac-A Y -- Cnt Ac-J Y -- Description BC Y Y If the value is Read Only, the S-VOLs will be read only after the split operation is done. If the value is Read Write, the S-VOLs will be writable after the split operation is done. If the value is On, the status will be changed to Pair immediately.
TIP: When the YKRESYNC command is entered in BCM, you should specify either the FORWARD or REVERSE parameter. Whether you use the YKRESYNC FORWARD command to perform a Resync operation or use the YKRESYNC REVERSE command to perform a Restore operation depends on whether YKSUSPND FORWARD or YKSUSPND REVERSE was specified when the pair was suspended. You can also suspend a pair without specifying that a Resync or Restore operation will be performed.
Copy direction Present copy direction Value displayed in Direction option Forward + Reverse + No direction Forward Forward TIP: The Direction or Synchronization option should be specified, but not at the same time. The Direction option is available only when the copy type is Continuous Access Synchronous. For and Continuous Access Journal, both options are available.
Pair command Options Item specified force The operation is performed on a volume basis. The command is executed for all pairs regardless of their status. Specifiable values on, off Default value off Remarks SELECT(ALL),VOLUNIT is specified in the BCM command. The command is also executed for pairs whose status is not available for the command. The command is executed on a pair basis even though execution by group is possible.
Pair command Options Item specified Specifiable values Default value Remarks When specified: YKRECVER. When not specified: YKDELETE. delete force Whether to set the pair status to Simplex from the SVOL. on, off off The command cannot be used during a planned shutdown (during switching of the P-VOL and S-VOL). Note: The Force Delete option changes the status of the secondary volume to simplex, but does not affect the status of the primary volume.
Pair command Options Item specified Specifiable values Default value Remarks Flush: The copy pair is suspended after the data is synchronized. Purge: The copy pair is suspended at the moment that a suspend request is issued, even when there is data that has not been synchronized yet. Notes: Synchron-ization Force Whether to suspend the copy pair after the data is synchronized.
Pair command Options Force Item specified The operation is performed on a volume basis. The command is executed for all pairs regardless of their status. Specifiable values on, off Default value off Remarks SELECT(ALL),VOLUNIT is specified in the BCM command. The command is also executed for pairs whose status is not available for the command. The command is executed on a pair basis even though execution by group is possible.
Pair command Options Item specified Specifiable values Default value Remarks When specified: YKRECVER. When not specified: YKDELETE. delete force Whether to set the pair status to Simplex from the SVOL. on, off The command cannot be used during a planned shutdown (during switching of the P-VOL and S-VOL). off Note: The Force Delete option changes the status of the secondary volume to simplex, but does not affect the status of the primary volume.
Pair command Options Item specified Specifiable values Default value Remarks on: A copy pair is created even when the S-VOL (or P-VOL when Reverse is specified) is online. Overwrite ONLINE target volume Whether to create a copy pair when the copy destination volume is online. Quick Restore Whether to immediately perform restoration. force The operation is performed on a volume basis. The command is executed for all pairs regardless of their status.
2. 3. 4. When a split operation is performed on Cnt Ac-A or Cnt Ac-J copy groups, if the value specified for the Direction option is different from the current copy direction, Synchronization cannot be specified. The default value displayed for the Secondary Mode option is the value defined for the copy group to which the target copy pair belongs. When a split operation is performed during I/O processing of the primary volume, it might result in incomplete data in the secondary volume.
Copy pair status categories Icon Copy pair status Meaning error An error occurred in the copy pair. suspend The copy pair is split. copying The copy pair is being copied in a forward or reverse direction. sync The copy pair is in a synchronized state. simplex Definition information for the copy pair exists, but the copy pair structure itself does not.
Copy pair state of the primary volume Copy pair state of the secondary volume Invalid Error (PSUE or HLDE) Error (SUSPER) Error (SUSPCU) Error (HOLDER) Error (PDUB) Split (PFUS) Split (SWAPPING) Split (SSWS) suspend error suspend/ error* suspend error error error -- Split (SUSPOP) suspend -- error error error -- -- suspend Split (HOLD) suspend -- error error error -- -- -- Split (PSUS or HOLD) suspend error error -- -- error error -- Suspending or Deleting (TRANS
Copy pair state of the secondary volume Copy pair state of the primary volume Split (NODELTA) Split (SUSPOP) Split (HOLD) Split (PSUS or HOLD) Split (CHKJNL) Split (HOLDTRNS) Split (PSUS or HOLD) Error (SUSPER) error error error error error error error Error (SUSPCU) error error error -- error error error Error (PDUB) -- -- -- error -- -- error Split (PFUS) -- -- -- error -- -- error Split (SSWS) copying suspend copying suspend copying copying copying Split (S
Conditions for determining copy pair status 3/3 (for Continuous Access Asynchronous, Continuous Access Synchronous and Continuous Access Journal) Copy pair state of the primary volume Copy pair state of the secondary volume Deleting (COPY or PAIR) Suspending (COPY or PAIR) Copying (COPY) or Copying (Pending or Resync) Invalid copying copying Error (PSUE or HLDE) error Error (SUSPER) Pair (PFUL) Pair (PAIR or PFUL) Pair (PAIR or PFUL) or Pair (DUPLEX) Simplex (SMPL) or Simplex (SIMPLEX) Unknown
Copy pair state of the primary volume Copy pair state of the secondary volume Deleting (COPY or PAIR) Suspending (COPY or PAIR) Copying (COPY) or Copying (Pending or Resync) Pair (PAIR or PFUL) or Pair (DUPLEX) copying copying Simplex (SMPL) or Simplex (SIMPLEX) copying Unknown copying Pair (PFUL) Pair (PAIR or PFUL) Pair (PAIR or PFUL) or Pair (DUPLEX) Simplex (SMPL) or Simplex (SIMPLEX) Unknown copying sync sync sync simplex sync copying copying copying copying copying simplex
Copy pair state of the primary volume Copy pair state of the secondary volume Invalid Error (PSUE or HLDE) Error (SUSPER) Split (PFUS) Split (SUSPVS) Split (SUSPOP) Split (PSUS or HOLD) Suspending or Deleting (TRANS) Deleting (COPY or PAIR) copying error error error suspend -- suspend copying Copying (COPY) or Copying (Pending or Resync) copying error error error suspend suspend suspend copying Copying (RCPY) or Copying (Resync-R) copying error error error suspend suspend s
Copy pair state of the primary volume Deleting (COPY or PAIR) Copying (COPY) or Copying (Pending or Resync) Copying (RCPY) or Copying (Resync-R) Pair (PAIR or PFUL) Pair (PAIR or PFUL) or Pair (DUPLEX) Simplex (SMPL) or Simplex (SIMPLEX) Unknown Suspending or Deleting (TRANS) copying copying copying sync sync error copying Deleting (COPY or PAIR) copying copying copying sync sync error copying Copying (COPY) or Copying (Pending or Resync) copying copying copying sync sync error
pair states in Replication Manager and the copy pair statuses of various products, classified by open systems and mainframe systems.
Copy pair state Copy pair status in Device Manager Copy pair status in P9000 RAID Manager Copy pair status in Remote Web Console BC/Snapshot/Cnt Ac-S/Cnt Ac-A/Cnt Ac-J PAIR PAIR Pair (PFUL)8 Copy type PFUL Cnt Ac-A Simplex (SMPL) Simplex SMPL SMPL BC/Snapshot/Cnt Ac-S/Cnt Ac-A/Cnt Ac-J Unknown Unknown -- -- -- Legend: --: Not applicable Snapshot: Snapshot/Fast Snap BC: Business Copy Cnt Ac-S: Continuous Access Synchronous Cnt Ac-A: Continuous Access Asynchronous Cnt Ac-J: Continuous Acces
Copy pair state Copy pair status in HP StorageWorks P9000 for Business Continuity Manager Software Error (SUSPER) SUSPER2 Copy pair status in Remote Web Console Copy type Suspended Cnt Ac-S/Cnt Ac-A Suspend BC/Cnt Ac-J Error (HOLDER) HOLDER Hlde Cnt Ac-J Split (SWAPPING) SWAPPING Suspended Cnt Ac-S/Cnt Ac-A/Cnt Ac-J Suspended Cnt Ac-S/Cnt Ac-A/Cnt Ac-J Split BC Split (SUSPOP) SUSPOP Split (SUSPOP) Split (SUSPVS) SUSPVS V-Split BC Split (NODELTA) NODELTA Hold Cnt Ac-J Split (HOL
TIP: As of Replication Manager version 6.3, mainframe pair status information can be obtained using Device Manager (without HP StorageWorks P9000 for Business Continuity Manager Software or P9000 mainframe agent installed). Detailed pair state information for mainframe pairs in Device Manager is equivalent to the information for open systems pairs shown in Table 11.
About changing copy pair status Replication Manager allows you to change the copy pair status in open and mainframe systems. Pair status change operations may be necessary to resume copy operations after recovery from an error or unexpected pair status changes. For open systems, you can perform the split, resync, restore, create and delete operations when the storage system type is XP12000/XP10000/SVS200 or XP24000/XP20000.
• Changing the copy pair status for multiple copy pairs (batch operation), page 237 Pair status transitions (when the target is a copy group) The following table lists possible pair status transitions for each combination of copy pair state and copy type, when the target is a copy group.
Copy pair state Copying Business Copy Continuous Access Synchronous Continuous Access Asynchronous split split split resync resync resync restore restore restore delete delete delete -- -- split split split resync resync resync restore restore restore delete delete delete split split resync resync restore restore syncwait syncwait delete delete split split split resync resync resync restore restore restore delete delete delete split split split resync
--: Indicates that the copy pair status cannot be changed. *: This is the copy pair state when a 3DC multi-target configuration is used. TIP: Notes about pair status transitions: • If a selected copy group includes a copy pair whose copy pair state is Error (PSUE) or Error in LUSE, the state of all copy pairs is assumed to be Error (PSUE). • If a selected copy group includes copy pairs whose copy pair states differ, all copy pair statuses to which each copy pair can be changed are displayed as candidates.
Copy-on-Write Snapshot / Fast Snap Copy pair state Deleting Suspending Copying Copying (Reverse) Pair (Full) Pair (PAIR or PFUL) Pair Simplex Unknown The same primary volume is shared1 The same primary volume is not shared2 Continuous Access Journal split split split resync resync resync restore restore restore delete delete delete split split split resync resync resync restore restore restore delete delete delete split split split resync resync resync restore res
1. 2. 3. This column lists the selectable copy pair statuses when the copy group contains copy pairs that have the same primary volume. This column lists the selectable copy pair statuses when the copy group does not contain copy pairs that have the same primary volume. This is the copy pair state when a 3DC multi-target configuration is used.
Copy-on-Write Snapshot / Fast Snap Copy pair state Split (SW) Split (HOLD)3 Split Deleting Suspending Copying Business Copy Continuous Access Synchronous Continuous Access Asynchronous split split resync resync restore The Same Primary Volume Is Shared1 The Same Primary Volume Is Not Shared2 Continuous Access Journal split split split split resync resync resync resync restore restore restore restore restore delete delete delete delete delete delete -- -- -- -- -- --
Copy-on-Write Snapshot / Fast Snap Copy pair state Pair (PAIR) Pair (PFUL) Pair Simplex Unknown Business Copy Continuous Access Synchronous split split resync resync restore restore delete delete split split resync resync restore Continuous Access Asynchronous Continuous Access Journal The Same Primary Volume Is Shared1 The Same Primary Volume Is Not Shared2 split split resync resync restore restore delete delete split split split split resync resync resync resync re
2. 3. This column lists the selectable copy pair statuses when the copy group to which the selected copy pair belongs does not contain copy pairs that have the same primary volume. This is the copy pair state when a 3DC multi-target configuration is used. Supported operations for copy groups and copy pairs (mainframe systems) The following table lists the operations supported for mainframe copy groups and copy pairs, classified by copy pair statuses and copy types.
TIP: The operation that can be selected is determined based on the copy directions of the definition and entity and on the pair status. The Resync option or the Restore option is displayed for pair operations depending on whether the FORWARD or REVERSE option is specified when the SUSPEND status is set. For Business Copy copy type, this check is not performed and you can select both the Resync and Restore options.
TIP: Note the following: • When the wizard finishes processing, a task is automatically registered for each copy group. You cannot edit these tasks because the copy pair status is changed immediately. However if the processing takes time, you can check the task execution result later. • You can register a maximum of 100 workflows and a total of 1,000 tasks, including the tasks for creating and editing copy pair configuration definitions and changing the copy pair status.
To launch the Change Pair Status Wizard using the Change Pair Status button: 1. Display the information about the group or container containing the copy pairs whose status you want to change. 2. Select the check boxes of the target copy pairs whose status you want to change, and then click Change Pair Status. Related topics • About Change Pair Status Wizard, page 232 Changing the copy pair status for each copy pair To change the status of a single copy pair: 1.
6. Set the operation (Pair Operation) and options to change the pair status and click Next. The Confirm page appears. CAUTION: Please check the following before confirming the pair status change operation: • Before a Split operation is performed, ensure that I/O processing for the primary volume is not being performed because this operation might result in incomplete data in the secondary volume.
2. Click the icon of the copy group or container that contains the copy pairs whose pair status you want to change. The Change Pair Status Wizard starts. 3. Read the wizard page and click Next. The 2. Select Copy Pairs page appears. 4. For open systems, select the check boxes of the copy pairs whose status you want to change in the Pair List pane, and then click Next. The 3. Select Pair Operation page appears. 5. For mainframe systems, perform the following operations on the 2.
Changing the copy pair status for multiple copy pairs (batch operation) To change the status of multiple copy pairs: 1. Display the information about the group containing the copy pairs whose status you want to change. For more information, see “Viewing information about copy groups belonging to a host” on page 307 or “Viewing information about copy groups belonging to a copy pair configuration definition” on page 305. 2.
6. Set the operation (Pair Operation) and options to change the pair status, and then click Next. The Confirm page appears. CAUTION: Please confirm the following before confirming the pair status change operation: • Before a split operation is performed, ensure that I/O processing for the primary volume is not being performed because this operation might result in incomplete data in the secondary volume.
6. On the Tasks window, verify task has completed by checking if the task status is Success. Related topics • About copy pair status, page 211 Advanced pair operations and recovery scenarios In addition to the basic pair operations (such as split and resync), the Change Pair Status Wizard supports several advanced operations for open system pairs.
CAUTION: Take note of the following points: • Advanced operations can be performed per copy group or per copy pair. • Because the copy pair status cannot be retrieved in the event of a failure, it is not confirmed prior to executing an operation. (Under normal circumstances, copy pair status confirmation is required and is performed by the Device Manager agent.) In this instance, an error message is created based on the information sent from the agent and is output for the Change Copy Pair Status task.
Swap operation This operation is used to switch work from the primary site to the secondary site. When you execute this operation, the primary volume and secondary volume for the copy pair are switched. The swap procedure is as follows: 1. Using the Change Pair Status Wizard, create a swap Change Copy Pair Status task for the target copy group or copy pair. 2. Check the Task List window to confirm that the status of the task is Success. 3. Check the copy pair status in the Pair Configurations view. 4.
takeover-recovery operation depend on the options specified, so you must check the copy pair status and select the options accordingly. The table below lists the options for the takeover-recovery operation and the status of the target copy pairs. Table 14 Operations and target copy pair states for takeover-recovery Operation Description Target copy pair state P-VOL S-VOL takeover-recovery (resync) Switches and synchronizes the primary and secondary volumes.
Scenario Procedure using the Change Pair Status Wizard Workflow reference Ending maintenance on the primary site work server To switch an application to the primary site, execute an advanced swap operation. The secondary site volume becomes the secondary volume and the primary site volume becomes the primary volume. Takeback: 3 Performing maintenance on the primary site storage To switch an application to the secondary site, execute an advanced swap operation.
Scenario Procedure using the Change Pair Status Wizard Workflow reference Primary site damage (loss of primary site data) To switch the application to the secondary site, execute an advanced takeover operation. The status of the secondary volume on the secondary site is changed to Split (SSWS). Takeover: 1 Recovery from primary site damage Reconstruct the copy pair from the secondary volume by executing a takeover-recovery (recreate) operation.
Figure 6 Takeover workflow Figure 7 Takeback workflow User Guide 245
NOTE: The takeback flowchart assumes that a configuration definition file exists. If no pair configuration definition file exists for the copy pair, or if a configuration file exists but is unavailable, you must use the Pair Configuration Wizard to recreate a pair configuration definition file. (The configuration definition file might not exist if it has been lost or the LDEV number has been changed.
Figure 8 Alert settings and volume reversal Alerts set for copy group CG1 are not valid for the copy group CG1 with reversed primary and secondary volumes. If you reverse the primary and secondary volumes for copy group CG1, the alerts set for copy group CG1 become valid once again. NOTE: When primary and secondary volumes are reversed, the copy group name is the same both before and after the reversal.
Change Pair Status Wizard P9000 RAID Manager Operation Command Option Read disable (secondary) Option -m noread To specify CTGID at the same time: -m grp CTGID Assign CTG for At-Time Split1 Otherwise use: -m To specify CTGID at the same time: -fg fencelevel CTGID Assign CTG2 Otherwise use: -fg fencelevel CTGID See the two previous options for specifying the CTGID.
Conditions for copy pair operations (basic versus advanced) Available copy pair operations depend on the storage system type and volume status. Basic operations The following operations and storage system configurations are not supported for basic operations: • A create or delete operation for a copy group defined in a device group. • The storage system type is XP24000/XP20000 or HP StorageWorks P9500 and the copy pair is a HAM copy pair.
Change Pair Status Wizard P9000 RAID Manager Description Operation Option Command Option None Execute these commands in the following order: n/a swap Copy Pace takeover-recovery (resync) None Copy Pace Redirects copying, retaining the current copy pair state. Recovers an S-VOL from the Split(SSWS) status and the P-VOL and S-VOL to the Pair(PAIR) status. 1. pairsplit 2.
• P9000 RAID Manager response time and virtual command devices, page 255 About virtual command devices Command devices are used to send P9000 RAID Manager commands between the pair management server and a storage system. Command devices use the FC link (known as an in-band connection). Virtual command devices allow you to perform the same operations using the LAN (known as an out-of-band connection).
The following figure shows a Virtual Command Device server configuration. The server connected to the actual command device is set as the virtual command device on each pair management server or application host. The Virtual Command Device server can be the same machine as the P9000 RAID Manager server. Figure 10 Configuration with Virtual Command Device server Prerequisites for virtual command device configurations The following requirements apply to virtual command device configurations.
Target Pair Management server Storage system Prerequisite Device Manager agent 7.1.0 or later and P9000 RAID Manager 01-25-xx/xx or later must be installed. The configuration definition file is in a format that is supported by Device Manager agent, and the P9000 RAID Manager instance must have started normally. The serial numbers of the storage systems managed by the Device Manager server must be unique.
To set up an SVP as a virtual command device: 1. Change the account used for execution of the Device Manager agent service to an account with Administrator permission. (The default is the LocalSystem account.) 2. Specify the IP address of the SVP in the HORCM_CMD section of the HORCM configuration file. 3. Add copy groups to the HORCM configuration file. 4. Execute the raidcom -login command on the server managing the HORCM configuration file. 5. Perform a storage refresh from Device Manager. 6.
6. Perform a storage refresh from Device Manager. 7. If you using a remote Device Manager, follow the procedure for “Refreshing configuration information manually for each information source” on page 275. The new copy groups are displayed in the Copy Groups table of the Hosts view. Once these steps are complete, you can perform pair operations using the new resources.
Performing user authentication for replica operations When performing replica operations using command devices and P9000 RAID Manager authentication is enabled, you must execute the OS commands described in this procedure: 1. Start the P9000 RAID Manager instance that will be used by Application Agent: P9000-RAID-Manager-instance-location\etc\horcmstart P9000-RAID-Manager-instance-number 2.
Monitoring and management of copy groups defined by device group Copy groups defined by device group enable you to manage the LDEVs in a storage system as a single entity, allowing operations to be performed in batch mode. NOTE: As of release 7.1.
Prerequisites for copy group configurations defined by device group The following requirements apply to copy groups defined by device group. Target Prerequisites • The management server has been discovered as a pair management server in Replication Manager on the pair management server. (If performing discovery of copy groups defined by device group at a remote site, you also need to refresh the Device Manager configuration on the remote site.
raidvchkdsp –g Grp01 –d vol01 -v gflag Group PairVol Device_File Seq# LDEV# GI-C-R-W-S PI-C-R-W-S R-Time Grp01 vol01 Harddisk1 2332 3 D E E E E E E E E E – Proceed to step 2 only if the value of the GI attribute is D (INQUIRY is not allowed). 2. Release the INQUIRY of the primary volume as in this example: raidvchkset –g Grp01 –d vol01 -idb 3.
Installation-destination-of-Application Agent\DRM\log\drm_pp_traceX.log 5. 6. Select the process of P9000 RAID Manager in the Image Name column of the Processes tab. Click End Process. Unsupported copy group configurations defined by device group The following configurations are not supported: • The number of volumes differs between copy groups defined by device group. • The device name of a copy-pair target volume differs from that of a copy-pair source volume.
11 Refreshing management information This chapter describes ways to refresh configuration and copy pair status information. About refreshing management information To maintain operability, Replication Manager has its own database for storing information about managed resources.
If you change the replication configuration, make sure that you refresh the configuration information before you refresh the copy pairs.
Explorer menu Permissions Submenu Menu command Admin Modify View My Groups My Copy Groups Y Y Y Settings Refresh Setting Y Y N Administration Maintenance Y N N Legend: Y: Can be executed with this permission. N: Cannot be executed with this permission.
Copy pair statuses can be refreshed manually (from a subwindow) or automatically (at an interval preset in the refresh settings). Normally, refreshing takes anywhere from a few to tens of minutes total. However, if the Device Manager refresh function is used (because there are copy pairs not managed by pair management servers in open systems), refreshing can require anywhere from a few to tens of minutes for each storage system.
Refreshing copy pair statuses data flow (mainframe systems) The following figure shows the flow of data when copy pairs are refreshed in mainframe systems.
Disabling the Device Manager refresh function In open systems where all copy pairs are managed by pair management servers, you should prevent the Device Manager refresh function from executing during a manual refresh. If this function is used to refresh copy pair statuses, processing time increases. TIP: If copy pairs have been defined using storage management software such as Remote Web Console, no configuration definition file exists. Such copy pairs are not managed by pair management servers.
4. Select the Do not execute a Device Manager refresh operation during a manual refresh operation check box, and then apply the new settings. The settings specified in the Monitoring Setting subwindow are updated. Thereafter, a manual refresh acquires information from the Device Manager agent on each pair management server (not from the database of the instance of Device Manager on the management server).
Refreshing copy pair statuses manually for each copy group To refresh copy pair statuses manually on a copy group basis: 1. Display the information about the copy group for which you want to refresh copy pair statuses. For details, see “Viewing information about copy groups belonging to a host” on page 307 or “Viewing information about copy groups belonging to a copy pair configuration definition” on page 305. 2. Click Refresh Copy Group or Refresh Copy Groups to start a refresh operation.
Continuity Manager Software or P9000 mainframe agent that is an information source. You can also disable periodic refreshing. To refresh the copy pair status automatically for each information source: 1. From the Explorer menu, choose Settings and then Refresh Setting. The Refresh Setting subwindow appears. 2. Click the Monitoring Setting link. The Monitoring Setting subwindow appears. 3. Click the icon of the information source from which you want the copy pair status to be acquired automatically.
2. Click the Monitoring Setting link. The Monitoring Setting subwindow appears. 3. Click the link that has the name of the Device Manager server that is an information source to which the pair management server belongs. The Device-Manager-server-name subwindow appears. 4. Click the icon of the pair management server from which you want the copy pair statuses to be acquired automatically. The Edit Interval of Refresh Pair Status - pair-management-server-name dialog box appears. 5.
• Adding or deleting storage systems • Adding or deleting hosts • Adding or deleting copy pairs using the CLI For storage controlled by a remote instance of Device Manager, a manual refresh can be performed at any time as described in “Refreshing configuration information manually for each information source” on page 275, or it can be refreshed automatically.
Periodic refreshing When the periodic refreshing of configuration information is enabled, the latest configuration is acquired from the information source regardless of a storage refresh operation in Device Manager. For this option, you should specify a configuration refresh interval for acquiring the latest configuration information as described in “Refreshing configuration information automatically (using the refresh settings)” on page 274.
Data flow when configuration information is refreshed in mainframe systems The following figure shows the flow of data when configuration information is refreshed in mainframe systems.
Refreshing configuration information automatically (using the refresh settings) To minimize effects on operation, determine the refresh interval and start time carefully so that configuration information is refreshed while machine use is not heavy. You can also disable periodic refreshing if the configuration does not change. NOTE: Only remote instances of Device Manager are displayed. The local instance of Device Manager is refreshed automatically.
To refresh configuration information automatically: 1. From the Explorer menu, choose Settings and then Refresh Setting. The Refresh Setting subwindow appears. 2. Click the Configuration Setting link. The Configuration Setting subwindow appears. 3. Click the icon of the information source where you want to acquire configuration information automatically. The Edit Interval of Refresh Configuration - information-source-name dialog box appears. 4. Set and apply a refresh interval and refresh start time.
2. Select a storage system and click Refresh Storage System. The configuration information displayed in the Storage Systems view subwindow is refreshed. For details, see “Viewing a list of storage systems” on page 303.
12 System monitoring Replication Manager provides multiple ways to monitor the operating status of the replication environment. You can monitor frequently viewed copy groups, check pair statuses, pair configurations, and the performance of remote copies. This chapter describes the different types of system monitoring functions supported by Replication Manager. About system monitoring Replication Manager allows you to perform the following types of system monitoring functions.
Monitoring resource utilization You can monitor the usage ratio of buffers (pools and journal groups) and receive alerts by email or SNMP traps based on the predefined thresholds. If you are an administrator, you can add volumes to the buffers using Replication Manager. Monitoring copy license usage You can monitor the used capacity and copy license usage percentage for each copy product in complex replication environments.
Checking copy pair configurations Replication Manager provides multiple ways to check copy pair configurations. For details on how to check copy pair configuration, see: • Checking copy pair configuration definitions, page 279 • Checking copy pair configuration (perspective of specific volume), page 280 • Checking copy pair configuration (perspective of specific copy group), page 281 Copy pair configuration check workflow The following figure shows the flow of tasks for checking copy pair configurations.
2. Expand the object tree nodes. Expand the tree nodes for the pair management server in the navigation area. 3. Check the copy pair configuration. Check the copy groups defined in the configuration definition file or the copy group definition file (prefix). When you select a copy group, you can view a list of copy pairs belonging to the copy group.
2. Select a volume. In the displayed list, select the volume (LUN or DEVN) where you want to check the copy pair configuration to display information. For a storage system that connects to mainframe systems, before selecting the volume, select the applicable LDKC and CU for the model. 3. Check the copy pair configuration. In the list of copy pairs related to the selected volume, check the copy pair configuration.
2. Expand the object tree, and then select a pair management server under Pair Configurations. The pair-management-server-name subwindow appears. 3. Select a configuration definition file. The information about the configuration definition is displayed. Related topics • Viewing a list of copy pair configurations, page 302 • About configuration definition file formats, page 150 Viewing prefix information (mainframe systems) To view prefix information: 1.
you can specify an alert is sent when a given error status is detected. In this case, an alert is sent when any of the copy pairs belonging to the copy group enters the error status. TIP: Because you can receive alerts by way of email or SNMP traps, you can also monitor the replication environment without being logged on to Replication Manager.
Icons representing the relationship between a volume and a copy group Replication Manager uses icons representing volumes and copy groups and icons representing direction to indicate the relationship between a volume and a copy group. The following table lists and describes the icons that represent the relationship between a volume and a copy group: Icons representing the relationship between a volume and copy group Icon Description Indicates a primary volume.
Icon Description There is another copy pair connected in the cascade format to the copy pair's primary volume. There is another copy pair connected in the cascade format to the copy pair's secondary volume.
Checking the copy pair status Replication Manager provides multiple ways to check copy pair statuses: • “Checking status of copy pairs associated with volumes belonging to a host” on page 287. • “Checking status of copy pairs for a volume in a storage system” on page 287. Related topics • Copy pair status check workflow, page 286 About copy pair status checks Replication Manager provides multiple ways to check copy pair status.
Checking status of copy pairs associated with volumes belonging to a host To check the copy pair status for a volume of a host: 1. Select a host. From the Explorer menu, either choose Resources and then Hosts or choose Shared Views and then Sites. Select the host that contains the copy pair whose status you want to check. 2. Select a volume. In the displayed list, select the volume (LUN or DEVN) included in the copy pair whose status you want to check.
3. Check the copy pair statuses. In the list of copy pairs related to the selected volume, check the copy pair status, copy pair state, and copy progress for each pair.
Replication Manager can also be used to monitor asynchronous remote copying performed using Continuous Access Asynchronous or Continuous Access Journal. Write delay time or consistency time delta (C/T delta) can be monitored to acquire transfer delay status from volume replication facilities. You can display the transfer delay state between the primary and secondary volumes for each copy group.
For details on how to check performance of remote copies, see the following: • “Checking buffer usage (pools and journal groups)” on page 293. • “Checking buffer usage (sidefiles and journal volumes)” on page 293. • “Checking write delay time (C/T Delta) for each copy group” on page 291. Checking performance workflow (remote copies) The following figure shows the flow of tasks for checking the performance of remote copies.
Copy progress display Copy pair status Copy type • Business Copy • Snapshot/Fast Snap • Continuous Access Synchronous • Continuous Access Asynchronous • Continuous Access Journal error suspend copying sync simplex CP CP or BM CP CP -- BM BM CP BM -- BM BM CP -- -- Legend: CP: Copy progress (copy pair matching rate) BM: Differential-bitmap matching rate --: Not displayed Related topics • About copy pair status, page 211 • Viewing copy progress, page 291 Viewing copy progress To confirm
2. Select a configuration definition file or prefix. From the displayed list, select the configuration definition file or prefix that includes the copy group whose C/T delta you want to check. For an open-system host, click the Copy Groups tab. 3. Select a copy group. From the list, select the copy group whose C/T delta you want to check. If necessary, click Refresh Copy Group to refresh the information. 4. Check the C/T delta. Use the copy group summary to check the C/T delta.
Checking buffer usage (pools and journal groups) To check the usage of the buffers (pool volumes or journal volumes) for each pool or journal group: 1. Select a storage system. From the Explorer menu, either select Resources and then Storage Systems or select Shared Views and then Sites. Select the storage system that contains the copy pair whose buffer usage you want to check, and the appropriate platform (mainframe or open systems).
5. Check the detailed usage information for buffers (sidefiles and journal volumes). In the copy group summary, if you click the sidefile usage link or journal volume usage link, you can view the following types of information: Sidefile usage (Continuous Access Asynchronous): In the primary volume column, the sidefile usage is displayed on a consistency group basis.
• • • • About data protection status, page 295 Data protection status example, page 295 About aggregation rules for protection status, page 296 Excluding objects from data protection status monitoring, page 297 About data protection status The protection status display allows quick identification of the cases shown in the table. Table 19 Protection status Status Icon Description Normal The latest replica is current (the last scheduled replica was successful).
About aggregation rules for protection status The Applications view consists of three levels: application (Microsoft Exchange or SQL Server), the servers running the application, and the storage groups (Exchange 2003/2007), information stores (Exchange 2010/2013), or database instance (SQL) allocated to each server. To simplify monitoring, a series of status labels are applied to each level in the structure.
Excluding objects from data protection status monitoring During a maintenance operation, the protection status for a specific object could be intentionally set to Critical. In this case, aggregating the status would disturb status monitoring. To avoid this situation, administrators can exclude objects from monitoring by excluding the individual information sources.
System monitoring
13 Managing My Copy Groups This chapter describes tasks for managing My Copy Groups. My Copy Groups management functions The following table shows the My Copy Groups management functions, user permissions (Replication Manager management), and whether the functions can be used with the indicated permissions. Permissions Function Admin Modify View Viewing my copy groups Y Y Y Editing my copy groups Y Y Y Legend: Y: Can be used with this permission.
Checking My Copy Groups You can view My Copy Groups to check information such as the registered copy groups and the number of copy groups for each copy type. Each copy group functions as a link to the window that displays the detailed information of the copy group. However, the link is enabled only when you have access permissions for the pair management server (host) on which the copy group is defined. The access permissions you have depends on which resource groups are associated with you.
14 Managing resources This chapter describes different methods for managing resources. Resource management functions The following table describes the resource management functions, user permissions (Replication Manager management), and whether the functions can be used with the indicated permissions.
Permissions Function Admin Modify View Viewing copy pair configuration definition information Y Y Y Viewing information about copy groups belonging to a copy pair configuration definition Y Y Y Legend: Y: Can be used with this permission. N: Cannot be used with this permission. TIP: Each function can be used only for the resources in resource groups associated with the user.
• Viewing copy pair configuration definition information, page 281 • Structure of the Pair Configurations view, page 48 Viewing a list of copy pairs associated with a task You can view the list of copy pairs associated with a task to confirm copy status before or during task execution or to investigate the pair configuration or status of a selected copy group. To view the list of copy pairs associated with a task: 1. In the Explorer menu, choose Tasks and then Tasks.
Information such as the storage system type and serial number is displayed. • List of platforms Information such as the license registration status of each copy type and the information sources is displayed for each platform (mainframe or open systems). To view a summary of storage systems: 1. From the Explorer menu, choose Resources and then Storage Systems. The Storage Systems subwindow appears. 2. Expand the object tree, and then select a storage system under Storage Systems.
• List of copy group definition files (prefixes) belonging to the host To view host information: 1. From the Explorer menu, select Resources and then Hosts. The Hosts subwindow appears. 2. Expand the object tree, and then select a host under Hosts. The information about the selected host is displayed.
Icons representing a copy topology Replication Manager uses the icons representing copy groups and icons representing the copy direction to indicate a copy topology (copy group configurations). The following table lists and describes the icons that represent a copy topology: Icon Description Indicates a copy group. Indicates a newly created copy group. Indicates an edited copy group. Indicates a deleted copy group.
Viewing copy group information in the Pair Configurations view (open systems) To view copy group information (open systems): 1. From the Explorer menu, choose Resources and then Pair Configurations. The Pair Configurations subwindow appears. 2. Expand the object tree, and then select a pair management server under Pair Configurations. The pair-management-server-name subwindow appears. 3. Select a configuration definition file. The configuration-definition-file-name subwindow appears. 4.
• Viewing copy group information in the Pair Configurations view (mainframe systems), page 306 Viewing copy group information in the Hosts view (open systems) To view copy group information (open systems): 1. From the Explorer menu, choose Resources and then Hosts. The Hosts subwindow appears. 2. Expand the object tree, and then select a host under Hosts. The host-name subwindow appears. 3. On the Copy Groups page, select a copy group. The information about the selected copy group is displayed.
2. Expand the object tree, and then select a host under Hosts. The host-name subwindow appears. 3. On the Prefixes page, select a prefix. The information for the selected prefix is displayed in the prefix-name subwindow.
Information such as the serial number and capacity is listed for each volume. To view CU information: 1. From the Explorer menu, choose Resources and then Storage Systems. The Storage Systems subwindow appears. 2. Expand the object tree, and then select a storage system under Storage Systems. The storage-system-name subwindow appears. 3. Click the Mainframe link. The Mainframe subwindow appears. 4. On the LDKCs page, select an LDKC. The LDKC-name subwindow appears. 5. Select a CU.
LDEV display format The LDEV number is displayed in hexadecimal, as explained below. If the LDEV number is a single-digit number, a leading zero is added (0A for example) so that it will be displayed as a 2-digit number. Open system: XX:XX (CU-number: LDEV number) Mainframe system: XX:XX (CU-number: CCA (Command Control Address)) Example: 0:0A, 1:A4, 54:32 Viewing LUN information in the Storage Systems view (open systems) To view LUN information: 1.
Viewing storage system information (mainframe systems) To view storage system information (mainframe systems): 1. From the Explorer menu, choose Resources and then Storage Systems. The Storage Systems subwindow appears. 2. Expand the object tree, and then select a storage system under Storage Systems. The storage-system-name subwindow appears. 3. Click the Mainframe link. Mainframe system information is displayed in the Mainframe subwindow.
Viewing information about LDKCs belonging to a storage system (mainframe systems) You can display the following information about the LDKCs used in mainframe storage systems that support them: • LDKC summary The capacity of each LDKC is displayed. • List of CUs belonging to an LDKC The capacity of each CU is listed. To view LDKC information: 1. From the Explorer menu, choose Resources and then Storage Systems. The Storage Systems subwindow appears. 2.
Managing resources
15 Managing storage systems This chapter describes tasks for managing storage systems. Managing V-VOLs This module describes tasks for managing V-VOLs: • Conditions for deleting V-VOLs, page 315 • Deleting V-VOLs, page 315 • Deleting multiple V-VOLs, page 315 Conditions for deleting V-VOLs The following restrictions apply when deleting a V-VOL: • The V-VOL must not be part of a pair configuration. • The V-VOL must not have a path defined to any host.
TIP: Any unselected V-VOLs in the same parity group as the V-VOLs selected for deletion are also listed in the Delete V-VOLs window. NOTE: For an HP StorageWorks P9500 storage system (regardless of CVS installation) only one V-VOL can be created in a single Parity Group. Therefore, if you delete a V-VOL, the Parity Group containing the V-VOL is also deleted.
Deleting command devices To delete command devices: 1. From the Explorer menu, choose Resources and then Storage Systems. The Storage Systems subwindow appears. 2. Expand the object tree, and then select a storage system under Storage Systems. The storage-system-name subwindow appears. 3. Click the Open link. The Open subwindow appears. 4. On the Cmd Devs page, select the check boxes of the command devices you want to delete, and then click Delete Cmd Devices.
• About remote paths, page 113 About deleting remote paths Remote paths can be deleted by performing the following operations: • Deleting the associated copy pair. Using this operation, you delete the copy pair that uses the remote path that you want to delete. By default, this method deletes the configuration definition file that defines the copy pair. You can also specify an option to only release the pair (placing the copy pair in simplex status) while retaining the configuration definition file.
A copy pair that is reserved for performing other copy pair operations cannot be deleted. You must first delete the applicable tasks and workflows. For details, see “Deleting tasks” on page 178 and “Deleting workflows” on page 183. • The copy pair of mainframe volumes exist: The copy pair specified by HP StorageWorks P9000 for Business Continuity Manager Software or P9000 mainframe agent cannot be deleted using Replication Manager.
Editing pools You can edit pool information (pool volumes and pool options) about existing pools. For details about the conditions that must be satisfied, see “Storage system types and volume requirements (pools)” on page 116. For details about pool usage threshold values that can be specified as an option for changing to warning status, see “Pool usage threshold values” on page 292. CAUTION: Once you have set volumes in a pool, you can no longer remove those volumes from the pool.
Related topics • About pool volumes, page 115 • Pool usage threshold values, page 292 Managing journal groups This module describes tasks for managing journal groups: • • • • Editing journal groups, page 321 Deleting journal groups, page 321 Expanding journal group capacity, page 322 Editing a warning banner, page 367 Editing journal groups You can edit journal group information (journal volumes and journal group options).
3. Click the Open link. The Open subwindow appears. 4. On the JNLGs page, select the check boxes of the journal groups you want to delete and click Delete JNLGs. The Delete Journal Groups dialog box appears. 5. Confirm your selections, and then delete them. The information in the display is updated. Related topics • About journal groups, page 118 • Editing journal groups, page 321 Expanding journal group capacity To expand capacity of a journal group: 1.
• About journal groups, page 118 • Storage system types and volume requirements (journal), page 119 • Editing journal groups, page 321 Changing the maximum number of initial copy activities The Maximum Initial Copy Activities limits the number of volumes that can be copied at one time during initial copy and resynchronization operations. NOTE: A new setting only applies to pairs created after the setting was changed, not to existing pairs. To change the maximum value: 1.
Managing storage systems
16 Managing sites This chapter describes tasks for managing sites. About site administration In a complex replication environment, storage systems can be located at many sites. In such cases, you can create logical sites whenever necessary by grouping resources. Grouping resources based on the actual sites simplifies resource management because you can then use a graphical user interface for management.
Site management functions The following table describes the site management functions, user permissions (Replication Manager management), and whether the functions can be used with the indicated permissions.
Explorer menu Permissions Submenu Menu command Admin Modify View Shared Views Sites Y Y Y Legend: Y: Can be executed with this permission. Viewing a list of sites To view a list of registered sites, from the Explorer menu, choose Shared Views and then Sites. A list of registered sites is displayed in the Sites subwindow. Viewing individual site information You can display information about individual sites.
4. Edit and update the site information. The site information displayed in the Sites subwindow is refreshed. Related topics • Adding hosts to a site, page 94 • Adding storage systems to a site, page 95 • Adding pair management servers to a site, page 96 Removing hosts from a site To remove hosts from a site: 1. From the Explorer menu, choose Shared Views and then Sites. The Sites subwindow appears. 2. Expand the object tree, and then select a site under Sites. The site-name subwindow appears. 3.
Removing pair management servers from a site To remove pair management servers (hosts) from a site: 1. From the Explorer menu, choose Shared Views and then Sites. The Sites subwindow appears. 2. Expand the object tree, and then select a site under Sites. The site-name subwindow appears. 3. Click the Pair Configurations link. The Pair Configurations subwindow appears. 4.
The following topics are included in this module: • Deleting individual sites, page 330 • Deleting multiple sites, page 330 Related topics • Removing hosts from a site, page 328 • Removing pair management servers from a site, page 329 • Removing storage systems from a site, page 328 Deleting individual sites To delete a single site: 1. From the Explorer menu, choose Shared Views and then Sites. The Sites subwindow appears. 2. Expand the object tree, and then select a site under Sites.
17 Managing alerts This chapter describes tasks for alert management. About alert management Replication Manager can send an alert when a monitored target, such as a copy pair or buffer, satisfies a preset condition. The conditions that can be set include: thresholds for copy pair statuses, performance information, and copy license usage. You can specify a maximum of 1,000 conditions.
TIP: Each function can be used only for the resources in resource groups associated with the user. Related topics • About alert settings, page 125 Explorer menu items for alert management The following table shows the Explorer menu items that are related to alert management, user permissions (Replication Manager management), and whether the items can be executed with the indicated permissions.
Includes the resource from which each alert was issued and information about the detected event (copy pair status, performance information, or copy license usage). The maximum number of alerts is 1,000. • List of alert settings Includes the notification conditions such as the alert action (email or SNMP trap) and item being monitored (copy pair status, performance information, or copy license usage threshold). The maximum number of alert settings is 1,000.
Related topics • About alert settings, page 125 • Viewing alerts and settings, page 332 Editing alert settings To edit alert settings: 1. From the Explorer menu, choose Alerts and then Alerts. The Alerts subwindow appears. 2. On the Alert Setting List page, click the icon of the alert whose settings you want to edit. The Edit Alert Setting - alert-name dialog box appears (where alert-name is the name of the alert whose icon you clicked). 3.
3. Confirm the alerts that will be set as completed, and then set them as already read. The number of alerts displayed in the Completed/Not Completed column and Dashboard menu in the Alerts subwindow is updated. Related topics • About alert settings, page 125 Deleting alert settings To delete alerts: 1. From the Explorer menu, choose Alerts and then Alerts. The Alerts subwindow appears. 2.
Managing alerts
18 Managing licenses This chapter describes tasks for license management. About licenses Licenses must be registered for the storage systems managed by Replication Manager. The following table describes the types of license keys. Types of license keys Type Description Permanent A license key required to use a product permanently. Permanent license keys are provided for each storage system that is to be managed by Replication Manager.
Explorer menu items for license management The following table shows the Explorer menu items that are related to license management, user permissions, and whether the items can be executed with the indicated permissions. Explorer menu Permissions Submenu Menu command Admin (user management) Admin, modify, or view (Replication Manager management) Settings License Info Y Y Legend: Y: Can be executed with this permission.
Related topics • About licenses, page 337 • Viewing license information, page 338 User Guide 339
Managing licenses
19 Managing users and permissions Replication Manager provides role-based user access control to secure protection processes and recovery operations and mitigate the risk of unauthorized operations. To achieve stringent access control and efficiency, multiple users can be allocated access to functions on the basis of their role in the organization. User permissions can be assigned for different categories such as Storage Administrator, Database/Server Administrator and Super User (RepMgr Administrator).
Explorer menu items for user management The following table describes the Explorer menu items that are related to managing users, user permissions, and whether the menu command can be executed with the indicated permissions. Explorer menu Permissions Submenu Menu command Admin (user management) permission Admin, modify, or view (Replication Manager management) permission Administration Users and Permissions Y N Legend: Y: Can be executed with this permission.
• User profile (information such as the user ID and full name) • List of permissions specified for each P9000 Command View AE Suite product To view the information for an individual user: 1. From the Explorer menu, choose Administration and then Users and Permissions. The Users and Permissions subwindow appears. 2. Expand the object tree, and then select a user ID under Users. Information about the user with the selected user ID is displayed in the user-ID subwindow.
Changing user roles To change the roles assigned to users: 1. From the Explorer menu, choose Administration and then User Roles. The User Roles subwindow appears. TIP: As with other menus under Administration, only users with Admin permission can access this window. The “User Roles” table lists all users with access to Replication Manager. • When no user role is assigned, the “Role” field is empty and the user is equivalent to the “Storage Administrator” role (with no restrictions).
3. Click Edit Profile. The Edit Profile - user-ID dialog box appears. 4. Edit and update user information. The user information displayed in the user-ID subwindow is refreshed. If the new user information is not applied immediately to the list of users in the Users subwindow, you can click Refresh Tree to refresh this information in the navigation area.
Deleting multiple users TIP: Do not delete the user account that is used for communication between Device Manager agents and the Device Manager server (default: HaUser). To delete multiple users: 1. From the Explorer menu, choose Administration and then Users and Permissions. The Users and Permissions subwindow appears. 2. Expand the object tree, and then select Users. The Users subwindow appears. 3.
• Viewing a summary of user permissions, page 347 • Changing user permissions, page 84 Viewing a summary of user permissions You can display summarized information about all P9000 Command View AE Suite products that have been installed. The displayed information includes the number of registered products and the number of users. To view a summary of user permissions: 1. From the Explorer menu, choose Administration and then Users and Permissions. The Users and Permissions subwindow appears. 2.
Permissions Admin (user management) permission Admin, modify, or view (Replication Manager management) permission Editing user profiles Y Y Changing user passwords Y Y Function Legend: Y: Can be used with this permission. Explorer menu items for user profile management The following table describes the Explorer menu items that are related to user profile management, user permissions, and whether the items can be executed with the indicated permissions.
3. Edit and update user information. The user information displayed in the User Profile subwindow is refreshed. If the new user information is not applied immediately to the list of users in the Users subwindow, you can click Refresh Tree to refresh this information in the navigation area.
• Changing the user authentication method, page 354 • Using an external authorization server (authorization groups), page 354 About account locking To prevent unauthorized individuals from logging in, you can set the system to automatically lock user accounts when invalid passwords are entered a specified number of times in succession.
• By default, the built-in account (user ID: System) cannot be locked. To enable locking of this builtin account, edit the user.conf file on the management server. For details about the user.conf file, see the HP P9000 Replication Manager Software Configuration Guide. • In P9000 Command View AE Suite products, you cannot change the lock status of a user that logs in by linking to an external authorization server because such an account has not been registered in the P9000 Command View AE Suite products.
4. Confirm the users whose accounts you want to unlock, and then unlock the accounts. The lock statuses of the users displayed in the Users subwindow are refreshed. NOTE: If you select a user account that is locked because no password has been set, the user account cannot be unlocked. If you set a password, the user account will be unlocked.
Linking to an external authentication server To link to an external authentication server: 1. On the Device Manager management server, specify settings for linking to an external authentication server. For details about requirements for an external authentication server and how to specify settings for linking to the server, see the HP P9000 Replication Manager Software Configuration Guide. 2.
Changing the user authentication method To change the method for user authentication: 1. From the Explorer menu, choose Administration and then Users and Permissions. The Users and Permissions subwindow appears. 2. Expand the object tree, and then select Users. The Users subwindow appears. 3. In the list of users, select the check boxes of the users for whom you want to enable or disable linkage to the external authentication server, and then click Change Auth.
Registering an authorization group To manage user accounts per authorization group, register authorization groups in the P9000 Command View AE Suite products. You cannot register only authorization groups that are already registered in the authorization server. You must first register authorization groups in the P9000 Command View AE Suite products, then register them in the authorization server. By default, All Resources is assigned to the authorization group as the resource group.
NOTE: The following restrictions apply. Permissions: When the Modify permission is granted to an externally authenticated group, detailed permissions (permission per operation provided by the User Role function) for users who belong to the group are set to the default value ("Storage Administrator") and cannot be changed. Resource Group: Users belonging to the externally authenticated group are assigned to the resource group All Resources, and this setting cannot be changed.
20 Managing resource groups This chapter describes the tasks for Resource Group management. About resource group management Resource groups can be managed only by users with the Admin (Replication Manager management) permission. Users other than the System built-in account can only use the resources in the associated resource groups, the configuration definition of those resources, and alerts.
Permissions Function Admin Modify View Adding applications to a resource group Y N N Removing applications from a resource group Y N N Legend: Y: Can be used with this permission. N: Cannot be used with this permission. Explorer menu items for resource group management The following table describes the Explorer menu items that are related to resource group management, user permissions (Replication Manager management), and whether the items can be executed with the indicated permissions.
Viewing a list of resource groups To view a list of registered resource groups, from the Explorer menu, choose Administration and then Resource Groups. Registered resource groups are listed in the Resource Groups subwindow.
4. Confirm the hosts to be removed, and then remove them. The selected hosts are removed from the Hosts page. Related topics • About resource groups, page 85 • Adding hosts to a resource group, page 87 Removing storage systems from a resource group You can remove storage systems registered as resources from their resource groups. NOTE: You cannot remove storage systems from the All Resources group, which is the resource group in which all storage systems are automatically registered.
2. Expand the object tree, and then select either a resource group under Resource Groups or the All Resources group. The resource-group-name subwindow or the All Resources subwindow appears. 3. On the Users page, select the check boxes of the users you want to remove, and then click Remove Users. The Remove Users - resource-group-name dialog box appears. 4. Confirm the users to be removed, and then remove them. The users are removed from the Users page.
NOTE: You cannot delete the default resource group All Resources, which is the group in which all resources are automatically registered. The following topics are included in this module: • Deleting individual resource groups, page 362 • Deleting multiple resource groups, page 362 Deleting individual resource groups To delete a single resource group: 1. From the Explorer menu, choose Administration and then Resource Groups. The Resource Groups subwindow appears. 2.
21 Managing security This chapter describes tasks for managing security. About security settings Replication Manager provides security functions that allow you to perform the following: • Set password conditions to prevent users from using easy-to-guess passwords. • Enable automatic locking of user accounts for which successive login attempts have failed. • Display a user-specified message (a warning banner) in the user login window at login time as a security measure.
Explorer menu items for setting security The following table shows the Explorer menu items that are related to setting security, user permissions, and whether the items can be executed with the indicated permissions. Explorer menu Permissions Submenu Menu command Admin (user management) permission Admin, modify, or view (Replication Manager management) Administration Security Y N Legend: Y: Can be executed with this permission. N: Cannot be executed with this permission.
apply when new users are added or when passwords are changed. Because newly set conditions do not apply to existing user passwords, existing users can continue to log in to Replication Manager using their existing passwords, even if those passwords do not conform to the newly established conditions. To change password conditions: 1. From the Explorer menu, choose Administration and then Security. The Security subwindow appears. 2. Expand the object tree, and then select Password under Security.
If you change the setting for the number of allowed login failures, the new setting does not apply retroactively to users who have already exceeded the new value or to user accounts that are already locked. For example, if you change the number of login failures from 5 to 2, a user account whose number of successive login failures is 3 remains valid. However, the account will be locked if the user's next login attempt fails. To change the settings for the automatic account locking function: 1.
Related topics • About warning banners, page 366 Editing a warning banner To edit a warning banner: 1. From the Explorer menu, choose Administration and then Security. The Security subwindow appears. 2. Expand the object tree, and then select Warning Banner under Security. The Warning Banner subwindow appears. 3. Click Edit Message. The Edit Message dialog box appears. 4. Edit and update the message that will be set up as a warning banner. Click Preview to display a preview in HTML.
Managing security
22 Managing information sources This chapter describes tasks for managing information sources. Viewing a list of information sources You can display a list of the Device Manager servers, instances of HP StorageWorks P9000 for Business Continuity Manager Software, instances of P9000 mainframe agent, or instances of Application Agent that are used as Replication Manager information sources. To view a list of information sources: 1. From the Explorer menu, choose Administration and then Information Source.
2. Expand the object tree, and then select Device Manager. The Device Manager subwindow appears. 3. Click the icon of the Device Manager server whose information you want to change. The Edit Device Manager - Device-Manager-server-name dialog box appears. 4. Edit and update the desired information. The display is refreshed to reflect your changes.
Editing an instance of HP StorageWorks P9000 for Business Continuity Manager Software or P9000 mainframe agent To edit an instance of HP StorageWorks P9000 for Business Continuity Manager Software or P9000 mainframe agent: 1. From the Explorer menu, choose Administration and then Information Source. The Information Source subwindow appears. 2. Expand the object tree, and then select BC Manager / Mainframe Agent. The BC Manager / Mainframe Agent subwindow appears. 3.
TIP: User-configured My Copy Groups and alert settings are not cleared automatically when you delete the information sources. For details on how to manually clear the relevant settings, see “Editing My Copy Groups” on page 300. For details on how to manually clear the alert settings, see “Deleting alert settings” on page 335. Related topics • About information sources, page 53 Removing information sources workflow The following figure shows the flow of tasks for removing information sources.
3. Select the check boxes of the Device Manager servers you want to delete, and then click Remove DevMgrs. The Remove Device Managers dialog box appears. 4. Confirm your selections, and then delete them. The information in the display is updated.
Related topics • Adding an instance of Application Agent, page 58 • Refreshing Application Agent, page 65 • Setting Application Agent options, page 59 Acquiring the latest configuration information (configuration refresh) Whether you need to refresh the configuration and synchronize the configuration information of Replication Manager and Device Manager depends on the source of the acquired information for managing the storage system: • When the source of the acquired information for managing the storage s
User Guide 375
Managing information sources
23 Managing application replicas This chapter describes how to manage application replicas using Replication Manager. About application replicas An application replica is a snapshot of an application server that is saved to a series of secondary volumes on an immediate or scheduled basis. As with copy pair management, the creation and management of application replicas is organized around tasks and storage assets. Replication Manager is used to create, manage, and (manually) restore replicas.
When selecting a secondary volume for a backup, you can either manually select the volume you want or use the default. To have Replication Manager choose a secondary volume for you, you need to use the volume copy function. When manually selecting a volume, choose the generation name unique to the desired volume.
Figure 13 Backup and restore operations Related topics • Creating an application replica, page 399 • Restoring the latest application replica (simple restore), page 406 About storage groups and information stores Storage groups are objects managed by Microsoft Exchange 2003/2007 to store databases. Multiple databases can be managed together because databases within the same group use a common transaction log.
Exchange 2010/2013 does not use storage groups, therefore individual information stores are managed by Replication Manager. The following table lists which objects are eligible for Exchange replica operations.
Mount points If different logical volumes are mounted in multiple mount points with a hierarchical relationship (such as M:\ and M:\MNT) do not specify a mount point that includes a lower level directory mountpoint (for example, M:\ in the above instance) as the target of replication. If this is done, the replica creation fails and the error message (KAVX0006-E, DRM-10062) is output.
Database and backup server time synchronization The database server time and backup server time should be set to the present time, or the task status related to replica management operation is not updated correctly. If the time zone of the database server and backup server is changed, from the Explorer menu, choose Administration and then Information Source. Choose the relevant server, and then click Refresh Agent to update the information.
SQL Server database instances and physical volumes Because SQL Server replicas operate on individual physical volumes, the object configuration of SQL Server databases must meet the following requirement: • Data files to be stored on a particular disk drive must belong to the same instance. Data files from different instances must not be stored on the same disk drive. Mount status of secondary volumes Unmount all secondary volumes before performing a backup or restore to a database server.
data exists on the secondary volume.The following is an example of two objects (databases, storage groups, or information stores) stored in separate volumes: • Database A (copy group: vg01,obj01) • Database B (copy group: vg01,obj01) Use the following backup method to back up the databases: 1. Back up database A and database B concurrently. The replica 2010/8/31 07:14:00 is created. 2. Back up database A only. The replica 2010/9/06 08:15:00 is created.
• The configuration definition file for P9000 RAID Manager is changed (excluding changes made with Replication Manager). NOTE: After using a P9000 RAID Manager command to change the configuration of a copy pair, you should also execute a Refresh Storage System for the relevant storage system. For more information, see “Refreshing configuration information manually for each storage system” on page 275. • • • • • • • • The mount point (drive letter for Windows) is changed.
• Do not use LUN#0 as a secondary volume for the backup destination, or other disks may not be recognized. • To back up an SQL Server instance, the instance must be online. If an attempt is made to back up an instance when it is not running, the attempt will fail.
Event type: Warning Event source: ftdisk Event ID: 57 Event type: Warning Event source: disk Event ID: 51 Event type: Warning Event source: ntfs Event ID: 50 These messages are displayed because the secondary volume is temporarily hidden during the backup. They have no impact on the operation and can be ignored.
Event source : Virtual Disk Service Event ID : 1 Description : Unexpected error. Error code : 48F@02000018 Event type : error Event source : Disk Event ID : 15 Description : The Device XXXXXXXXXXXX is not the status that can be accessed.
• If the primary volume drive is being opened from an external computer, exit the application opening the drive. • The primary volume might have been opened by a memory-resident monitoring program. If this is the case, stop the monitoring program. • If Management Studio has been used to view the database to be restored, use Enterprise Manager to detach from the database or exit Management Studio before the restoration.
Figure 15 When the primary volume for BC and the primary volume for Cnt Ac-A are the same LDEV When using the configuration shown in Figure 15 to restore the paired volume for Business Copy, set the status of the paired volume for Continuous Access to SMPL or PSUS (SSUS). If you attempt to restore the pair volume for Business Copy with the status of a pair volume for Continuous Access PAIR, an error message indicating that the status of the copy group is invalid is displayed and the restore operation fails.
NOTE: Define one consistency group as one group (dev_group) of P9000 RAID Manager configuration definition files so that there are never too many or too few copy groups. For Exchange databases When restoring individual information stores: Define consistency groups to make each information store of data files (*.edb, *.stm) in the same consistency group. In addition, define consistency groups to make the transaction log files and checkpoint files (*.log, *.
• The files to be backed up must all be placed on a RAID volume defined as a pair. • For Exchange 2003/2007 servers, deploy the storage group taking into consideration that backups are conducted in units of volumes. If you deploy multiple storage groups in the same volume, you need to back up or restore these storage groups as one group. When backing up or restoring a storage group separately, deploy the storage group on a separate volume.
NOTE: You can search for items using Outlook (cache mode). • Failed is displayed for ContentIndexState when you execute Get-MailboxDatabaseCopyStatus command. After you resume the Microsoft Exchange Search Host Controller service, the index operation is also resumed. However, more than the usual amount of time may be required to change the status from Failed to Healthy and to enable email search.
• ASCII characters • Multi-byte characters (one character must be expressed using 1- or 2-byte characters) However, do not use the following characters:\ / : , ; * ? < > | “ • Do not use names in the following form for database data files: META_database-ID.dmp Where database-ID is a 10-digit number. • In a cluster environment, specify a user on each node for the owner of a database subject to backup. Local users with the same user name and password on different nodes are not considered to be the same user.
• • • • • FILESTREAM data Capturing changed data Tracking of changes Compressing backup database and transaction log Compressing data The following functions are not supported for SQL Server 2012: • • • • • • • FILESTREAM data Capturing changed data Tracking of changes Compressing backup database and transaction log AlwaysOn failover cluster instance AlwaysOn usability group Server Core Allocating files that comprise a database Do not place database files to be backed up in the same volume as files that
Figure 16 Metafile allocation If the database server is in a cluster configuration using Microsoft Cluster Service and metafiles are stored in a storage system volume, a secondary volume can be used to restore the metafiles when the cluster server fails over. For best results, store metafiles in a volume belonging to an SQL Server resource group so that, even if an SQL Server cluster resource fails over, the metafiles are failed over with the resource group.
Software that should not be used during replica operations There are several tools and applications that can interfere with replica operations and should not be run while performing backups and restores. Applications that use the primary or secondary volumes can prevent P9000 RAID Manager from operating properly, interfere with mount/unmount operations, and cause data inconsistencies.
Create application replica workflow The following figure shows the flow for creating an application replica. Figure 18 Create application replica workflow About the Create Replica Wizard Replication Manager includes a Create Replica Wizard for creating snapshots of application servers. The Create Replica Wizard provides the following functions: • Choose to create a new task or edit an existing one, and select target objects.
3. Select one or more application resources (storage groups for Exchange 2003/2007, information stores for Exchange 2010/2013, or database instances for SQL Server) and click Create Replica. The Create Replica Wizard is launched. Creating an application replica To create an application replica: 1. From the Explorer menu, select Resources, and then Applications. The Applications subwindow appears. 2. Expand the object tree and select a server.
7. Click Next. The 2. Setup Options page is displayed. You can make changes or simply use the default settings. • For details on specifying the S-VOLs used for the replica (Target Generation), see “Managing generations (replica rotation)” on page 377. • Basic Options determine whether to abort the backup if there is a mismatch between the actual volume configuration and the one stored by Application Agent (repository).
Restoring application replicas This module describes methods of restoring application replicas: • • • • • • • • Roll-forward versus point-in-time restores, page 401 Restoring in units of information stores (Exchange 2003/2007), page 403 Restore application replica workflow, page 405 About the Restore Replica Wizard, page 405 Restoring the latest application replica (simple restore), page 406 Restoring an application replica from the Replica History, page 407 Restoring an SQL Server replica to a remote site
Figure 19 Flow of operation using transaction logs (Roll-forward) After the database is backed up from the primary volume to the secondary volume at point A, the database is updated at point B. If an error occurs in a data file on the primary volume at point C and then the database is restored from the secondary volume to the primary volume, the database returns to the state it was in at point A.
Figure 20 Restoring data in units of information stores by applying transaction logs (roll-forward) The prerequisites for this example are the same as for the previous scenario, plus the following: • Only the data files (*.edb and *.stm) in the information store are stored on the same drive. • The transaction log file on the primary volume is not destroyed (roll-forward is executable). • Storage group SG1 has been backed up from the primary volume to the secondary volume.
• Configurations in which only information store data files (*.edb and *.stm) to be restored individually are stored on the same LDEV • Configurations in which multiple information store data files within the same storage group are stored on the same LDEV You can restore all information stores stored on the same LDEV provided that you specify all the information stores. In this case, if you do not specify all information stores located on the same LDEV, the restore operation will fail.
NOTE: The following restrictions apply: • When restoring backup data in units of information stores, you must apply (roll forward) the transaction log at the time of restoration. • To restore backup data in units of information stores, you need at least three LDEVs for one storage group. If you are using Continuous Access as the volume duplication function, up to two LDEVs can be backed up for a single storage group. This means that you cannot restore backup data in units of information stores.
Restoring the latest application replica (simple restore) TIP: This operation is available when all the target resources can be restored from a single replica. If target resources are managed by multiple tasks/replicas, see “Restoring an application replica from the Replica History” on page 407. To perform a simple restore of the most recent replica: 1. If you are restoring a replica located at a remote site to the local site, run the Change Pair Status Wizard and split the copy group. 2.
8. Choose the Restore Mode. • Point-in-time Restore: Restores the replica and the transaction logs (without committing the outstanding transactions). • Roll-forward Restore: Restores the replica and then commits any outstanding database transactions stored in the transaction logs. NOTE: A roll-forward operation cannot be performed for SQL Servers from within Replication Manager.
3. Expand the object tree, and then select a database server. The Server summary window appears. 4. Open the Replica History tab to view a list of replicas. 5. Select a replica and click Restore Replica. The Restore Replica Wizard is launched. 6. Follow the procedure in “Restoring the latest application replica (simple restore)” on page 406 starting at step 5.
2. Use the disk management function to unmount the primary volume connected to the database server. 3. Stop SQL Server on the backup server. 4. Select the replica associated with the volume in step 2 from the Replica History and click Unmount Replica. 5. Select the copy group, start the Change Pair Status Wizard, and select create. 6. Select the copy group, start the Change Pair Status Wizard, and select swap. 7.
Using Database Availability Groups (DAGs) Replication Manager supports Exchange Database Availability Groups (DAGs). In a DAG configuration, data mirroring occurs between the DAG active node and passive nodes. (The target server can be an active or passive node.) NOTE: The DAG feature is exclusive to Exchange Server 2010/2013. For more information, see “About Database Availability Groups (DAGs)” on page 411.
• You cannot simultaneously create the replica of the active and passive mailbox database copies. Wait until execution of the replica creation is finished for the first mailbox database copy before you begin create the replica of the other mailbox database copies. • When you restore a replica, the target mailbox database copy must be an active mailbox database copy. • A replica can be restored only to the Exchange Server 2010/2013 server where the replica was created.
Replication Manager supports data backups and restores on a DAG configuration. Related topics • Using Database Availability Groups (DAGs), page 410 About SQL database and service status When Replication Manager is used to restore data from a secondary volume to a primary volume, the status of the database becomes either loading or standby: • Loading status (loading) The database can neither be viewed nor updated. • Standby status (read-only) The database can be viewed, but not updated.
SQL Server database status User action Readonly, Offline, and Unconfirmed Readonly • •1 • •2 •2 •2 • •2 •2 • •1 • •2 •2 •2 • •2 •2 • • Roll-forward restore (loading)5 Readonly and Offline Readonly and Unconfirmed Loading Offline (standby)4 Loading and Unconfirmed Unconfirmed Online Roll-forward restore Offline and Unconfirmed Legend: • : Action permitted and database changes are allowed. o : Action permitted and no database changes allowed. x : Action not permitted.
x : Action not permitted.
POST_PROC: Post-processing specified by the user (after the backup command is issued). Table 26 Coding rules Applicable items Rules • The character code set must be ASCII. • Codes lower than 0x20 cannot be used, except for CR (0x0d), LF (0x0a), and TAB (0x09). Overall user script • The linefeed code must be LF (0x0a) or CR+LF (0x0d and 0x0a). • The length of a single line must not exceed 8 KB. • Do not execute a command that will display more than 2000 bytes of text.
NOTE: If command line execution from a user script times out, the task might remain in the Executing status. If this happens, perform the following procedure before re-creating the task: 1. Restart the Application Agent service. 2. Update the task information. 3. Revise the CMDLINE and TIMEOUT settings in the user script. Table 27 Script entries Entry name Meaning and specifiable values Multiple specification Omit LOCAL_BACKUP Specify YES.
Entry name Meaning and specifiable values Multiple specification Omit Not allowed Not allowed Allowed Allowed Specifies a command line to be executed. • If you want to specify an option, separate the command name and the option with a one-byte space character. • One command definition section must contain only one command line. • A maximum of 2048 characters can be specified on a command line. • A path or file name containing one or more spaces must be enclosed in double quotation marks (").
Entry name Meaning and specifiable values Multiple specification Omit Not allowed Allowed Not allowed Allowed Not allowed Allowed Not allowed Allowed Specifies the action to be performed in response to the return value of the executed command. Specifiable values are as follows: TERMINATE_NZ (default) Terminates script processing if a non-zero return value returns. IGNORE Continue processing whatever may be returned for a return value.
Environment variables The table below shows the Application Agent script environment variables that must be referenced by commands in the user post-processing section. These script environment variables can be referenced from the local server and the backup server. DRMENV_L_BACKUPID Backup ID of the local server. This environment variable is valid in the following cases: • The command is being executed in the local server. • The execution status of the parent command is normal.
Script text Explanation PARENT_STAT=NORMAL Execute only when the backup command is normal. Unmounting after an automatic mount If you specify the Automatically mount during the operation option while using the Create Replica Wizard, to automatically unmount the replica after the backup has been completed, you must execute the drmumount command. The Batch command file example demonstrates how to do this.
Preparing the user script and batch command file To prepare the script for execution from the Create Replica Wizard: 1. Save the user script file in any folder on the database server. You must supply this location in the Create Replica Wizard. 2. Save the batch command file in the directory C:\tmp on the backup server.
• SQL Server only: The database server must be set up with the default VDI Meta File Location in the SQL Options tab of the Setup Application Agent dialog box. • The backup server must be set as the tape backup destination by setting Replica Catalog Location in the Server Options tab of the Setup Application Agent dialog box. To save a replica to tape: 1.
• Select Execute pre/post jobs with Agent User Script and supply the path to a Script File located on the production server. TIP: If you set the Automatically mount during the operation option in the Create Replica Wizard, you should unmount the volume manually when the restore is complete. Command line tools Several command line tools to support tape operations are installed as part of Application Agent.
name containing space characters for the -f option, you must enclose the path name in double quotation marks ("). Return values are 0 for normal termination; any other value indicates an error. drmdbimport command The drmdbimport command imports, into a backup catalog, backup-information from a file that was exported by the drmdbexport command. Application Agent programs manage backup information based on copy groups, which are used as a key.
When the SQL Server replication function is used, the following requirements must be satisfied: • You must use the transaction replication type. • The name of the distribution database must be distribution, and only one distribution database can be created. • The subscription database must be restored separately from the system database (master, model, msdb), so the subscription database must be configured in a different volume than the system database.
Figure 26 Configuration of backup server for the publisher/distributor server (detail) Backing up the databases The publication database needs to be backed up at the same time as the distribution database. From the Select Target window of the Create Replica Wizard, select both the publication and distribution databases. Backing up the publication database transaction log Use Management Studio to back up the transaction log.
• For push subscription: use the publisher/distributor server. • For pull subscription: use the subscriber server. On the appropriate server, do the following: 1. Start the log reader agent. 2. Start the subscription agent. 3. Re-initialize the subscription, or remove and then recreate the subscription. Mounting and unmounting application replicas Replicas can be mounted or unmounted on the backup server as desired.
Checking the status of application replicas The status of application replicas is summarized in the Applications and Server subwindows. A set of icons represent how recent the replicas are, whether they have been created successfully, and so on. These icons are discussed in “About data protection status” on page 295. To check the data protection status of application replicas: 1. From the Explorer menu, choose Resources and then Applications. The Applications subwindow appears. 2.
2. Expand the object tree, and then select a database server. The Server summary window appears. 3. For Exchange 2003/2007, the Storage Groups tab allows you to view the storage groups associated with the server. For Exchange 2010/2013, the Information Store tab allows you to view the information stores associated with the server. Clicking an object opens the Monitoring Setting window, which lists the information stores and Task ID links.
Managing application replicas
24 Handling errors This chapter describes error handling mechanisms supported by Replication Manager. About handling errors To monitor for errors occurring in a complex replication environment, you must acquire information that identifies the locations of errors. With Replication Manager, you can set alert conditions for monitoring entities such as copy pairs, copy groups, journal groups and copy licenses.
Event log management functions The following table shows the event log management functions, user permissions (Replication Manager management), and whether the functions can be used with the indicated permissions. Permissions Function Viewing a list of event log files Admin Modify View Y N N Legend: Y: Can be used with this permission. N: Cannot be used with this permission.
Icon Severity Description Error Indicates that the message describes an error related to the operation that was performed. Warning Indicates that the message shows a warning or confirmation for the operation that was performed or that is to be performed. Information Indicates that the message shows the processing status or result of the operation that was performed. Troubleshooting the replication environment For a diagram, see “Troubleshooting the replication environment workflow” on page 433.
NOTE: By default, alerts are automatically marked as completed when the pair leaves the monitored status. If the automarking feature has been disabled, the alert must be handled manually. See “Marking alerts as completed” on page 334 for more information. About MIB definition files You can check received SNMP traps using the MIB definition files provided by Replication Manager.
25 Exporting management information This chapter describes tasks for exporting management information. About exporting management information You can export Replication Manager management information to a file in CSV or HTML format. Using the exported file, you can determine the cause of an error, establish corrective measures, and analyze performance information. If necessary, you can edit the file or open it with another application program. You can export a maximum of 20,000 data items at a time.
Permissions Function Exporting event log files Admin Modify View Y N N Legend: Y: Can be used with this permission. N: Cannot be used with this permission. TIP: Each function can be used only for the resources in resource groups associated with the user.
3. Specify a time period for the information to be exported and the export format, and then export the information. The alert history is exported to a file. Related topics • About exporting management information, page 435 Exporting event log data To export event log data: 1. From the Explorer menu, choose Administration and then Event Logs. The Event Logs subwindow appears. 2. Click Export. The Export Event Logs dialog box appears. 3.
Exporting the history of journal volume usage for each copy group To export the history of journal volume usage on a copy group basis: 1. Display the information about the copy group whose journal volume usage history you want to export. For details on how to display this information, see the following: • • • • 2.
Related topics • About exporting management information, page 435 Exporting the history of pool volume usage To export the history of pool volume usage: 1. From the Explorer menu, choose Resources and then Storage Systems. The Storage Systems subwindow appears. 2. Expand the object tree, and then select a storage system under Storage Systems. The summary information for the selected storage system is displayed. 3. Click the Open link. The Open subwindow appears. 4.
• About exporting management information, page 435 440 Exporting management information
26 System maintenance This chapter describes the system maintenance functions supported by Replication Manager. About system maintenance In Replication Manager, system maintenance can be performed by changing the operation mode from normal to maintenance mode and managing the retention periods of data according to system configuration and operating status. Changing to maintenance mode disables monitoring operations during maintenance operations such as replacement of the storage system microprogram.
Explorer menu Permissions Submenu Menu command Admin Modify View Administration Maintenance Y N N Data Retention Y N N Legend: Y: Can be executed with this permission. N: Cannot be executed with this permission. About operation modes During storage system maintenance it may be necessary to disable Replication Manager monitoring functions. This can be done by entering maintenance mode. Normal mode The default mode.
2. Click Change Mode. Either the Change Mode to Maintenance dialog box or the Change Mode to Normal dialog box appears. 3. Read the message, and then change the operation mode. The operation mode displayed in the Maintenance subwindow is updated.
System maintenance
27 Replication Manager CLI tools This chapter describes the CLI functions supported by Replication Manager. About the installation base path If the XP P9000 Command View AE Common Component is not installed under the installation directory of XP P9000 Command View AE suite products, you must set the HRPM_CLI_BASE_PATH environment variable to the actual installation path.
• The GetCTDelta command requires that the P9000 Command View AE Common Component services are running. • If the XP P9000 Command View AE Common Component is not installed under the installation directory of XP P9000 Command View AE suite products, you must set the HRPM_CLI_BASE_PATH environment variable. See “About the installation base path” on page 445 for more information. • GetCTDelta must be run on the management server. NOTE: Do not attempt to invoke multiple instances of GetCTDelta.
Output for the specified copy group (mainframe system managed by HP StorageWorks P9000 for Business Continuity Manager Software): [hostName=host-name prefix=prefix groupName=copy-group-name] [{hour=number-of-hours | day=number-of-days}] Parameter Description hostName Pair management server or host name. instanceNumber Instance number (cannot be specified with prefix). prefix Prefix (cannot be specified with instanceNumber). groupName Copy group name.
With parameters (open systems) GetCTDelta hostname=hcfg05 instanceNumber=1302 groupName=UR001 hour=10 Date / Time,Pair Management Server / Host,Configuration File / Prefix,Copy Group,CTG,C/T Delta Tue Jul 03 11:02:12 JST 2012,hcdg05,horcm1302.conf,UR001,,0 Tue Jul 03 11:04:08 JST 2012,hcdg05,horcm1302.conf,UR001,,0 With parameters (mainframe systems) GetCTDelta hostname=XX01 prefix=HRPM.TEST.
• The task CLI only supports tasks whose targets are open system copy pairs or copy groups. Mainframe system copy pairs and copy groups managed by HP StorageWorks P9000 for Business Continuity Manager Software or P9000 RAID Manager are not supported. Property settings Before starting task management operation using Replication Manager CLI, the properties of base.properties file shown below must be set. • base.rmi.
Getting information about tasks (GetTasks) The GetTasks command obtains information about tasks that have been created for execution by the CLI. The parameters enable you to specify a taskID for which you want information, retry interval, and number of times to confirm a task status change. If you specify a taskID, the return value enables you to confirm the task status. If you do not specify any parameters, all CLI tasks are displayed.
Output The information output by the GetTasks command is as follows: • Task ID • MF/Open • Host (Primary/Secondary). (A hyphen is displayed for the Host (Primary) information when a copy group is defined as a device group.) • Target • Copy Type • TaskType • Status • Creation Time • Execution Start Time • Execution End Time • Message • Detail Message Executing a task (ExecuteTask) The ExecuteTasks command executes a task that was created for execution by the Replication Manager CLI.
Managing tasks with scripts A task created using the Replication Manager GUI can be registered as a task to be executed using the CLI. By creating a user script to execute the task in conjunction with performing a quiesce operation, you can perform data backup linking with the application. By placing such a script on the management server, copy pair operations on each host can be managed collectively and the execution results confirmed from Replication Manager GUI.
set cmdRetVal=%errorlevel% if not "%cmdRetVal%"=="0" ( rem an error occur echo Error!! exit /b 1 ) rem Confirming the result of pair operation task call GetTasks.
Replication Manager CLI tools
28 Support and other resources Numerous support options are available. Contacting HP HP technical support For worldwide technical support information, see the HP support website: http://www.hp.
Conventions This guide follows the conventions shown in Table 29 to refer to HP StorageWorks P9000 products.
Product reference Full name or meaning This abbreviation is used when it is not necessary to distinguish the following products: • Continuous Access Synchronous Continuous Access Synchronous • Continuous Access XP Synchronous • P9000 Continuous Access Synchronous • XP Continuous Access Synchronous This abbreviation is used when it is not necessary to distinguish the following products: • Continuous Access Journal Continuous Access Journal • Continuous Access XP Journal • P9000 Continuous Access Journal
Support and other resources
A Icons This appendix provides a listing of icons and their descriptions. Icons for executing operations Clicking an icon for executing an operation displays a dialog box or wizard. The following table lists and describes the icons for executing operations: Icon Description Starts a wizard for changing the pair status. The icon is called Change Pair Status. Displays a dialog box for editing the settings. This icon is disabled when the settings cannot be edited. The icon is called Edit.
Icon Copy pair status Description suspend The copy pair is in the split status. copying The copy pair is under forward or backward copy processing. sync The copy pair is synchronized. simplex There is copy pair definition information, but there is no actual copy pair configuration. Replication Manager cannot determine the pair status due to any of the following reasons: unknown • The settings are set not to acquire copy pair statuses.
Icon Description Indicates a copy group container. Indicates a copy pair. Indicates a newly created copy pair. Indicates an edited copy pair. Indicates a deleted copy pair. Indicates a reserved copy pair. Indicates a hundred LUs. Indicates an LU. Indicates a reserved LU. Indicates an LDEV. Indicates a reserved LDEV. Indicates a root node in the site. Indicates a workflow. Indicates an Exchange root node of an application group.
Icons
B Exceptions This appendix provides information about complex system configuration scenarios. Cautionary notes for the GUI display Certain cautionary notes exist for the GUI.
For open systems In the Hosts view or Storage Systems view, volumes to which paths have been specified are displayed in either the Paired or Unpaired list. The volumes constituting copy pairs are displayed in the Paired list and the other volumes are displayed in the Unpaired list. However, the volumes constituting copy pairs in simplex status are displayed in the Unpaired list, because they have been defined, but not yet created.
To view an example configuration in which two copy group definition files are used for the same copy group (for mainframe systems), see “Example configuration in which two copy group definition files are used for the same copy group (for mainframe systems)” on page 465.
When the copy pair configuration is complex For a complex configuration, such as one in which a copy group has two primary volumes, copy group configuration information cannot be displayed when copy groups are displayed in list format, as they are in the pair configurations view.
Example when two configuration files define an opposite relationship of primary and secondary volumes for the same copy group Example of complex cascade configuration 2 Example of when two pairs in a cascade configuration are defined in the same copy group When the displayed information depends on the system configuration In Replication Manager, displayed information might be limited by the system configuration. The following describes such limitations separately for open systems and mainframe systems.
• Name of the storage system to which a secondary volume belongs TIP: It is assumed that each Device Manager server has been registered as an information source of Replication Manager and that the pair management servers and hosts have been registered in the Device Manager server at each site. For a diagram, see “Example configuration in which data is remotely copied between multiple sites (for open systems) ” on page 469.
Example configuration in which data is remotely copied between multiple sites (for open systems) When multiple Replication Manager servers manage the same information source In configurations where multiple Replication Manager servers manage the same information source (DevMgr / BCM), the servers cannot simultaneously monitor and manage pairs.
When Replication Manager handles multiple prefixes (mainframe systems) Replication Manager allows you to confirm, define and operate copy pairs for multiple prefixes concurrently. On the Hosts or Storage Systems view you can confirm DEVNs and LDEVs without specifying or identifying the prefix. During pair configuration, Replication Manager prohibits selection of P-VOLs / S-VOLs from multiple prefixes on a mainframe host.
C Display formats This appendix provides information on supported display formats. Display formats used when no pertinent information is available If no pertinent information is available, several items are displayed in the GUI depending on the context: No object Indicates that Replication Manager cannot acquire the information because the information source does not exist. In this case, the connection with the information source must be re-established.
Indicates that no value is specified for the configuration information managed by Replication Manager Before this information can be displayed, a value must be specified for the information in Replication Manager. (This does not apply to hyphens contained in license information.) Blank Indicates that Replication Manager acquired blank information from the information source. (Unknown icon) or Unknown (For the summary copy pair status, the Unknown icon is displayed.
Display format of copy type Display format in GUI Copy type BC Business Copy Cnt Ac-A Continuous Access Asynchronous Cnt Ac-S Continuous Access Synchronous SS / FS Snapshot/Fast Snap Cnt Ac-J Continuous Access Journal Cnt Ac-J (3DC Delta Resync) Continuous Access Journal (when 3DC delta resync is supported) User Guide 473
Display formats
Glossary This glossary defines the special terms used in this document. Click the desired letter below to display the glossary entries that start with that letter. 3DC Multi-target configuration A configuration in which, in addition to the local site, a connection is established between a nearby remote site and a distant remote site and Continuous Access Synchronous and Continuous Access Journal are used to copy storage system volumes among the three sites (called a data center).
cluster configuration In a Replication Manager operating environment, the term cluster configuration refers to a configuration that consists of an executing node and a standby node, each of which includes a duplicate management server. cluster software Software installed on management server nodes to boost overall availability by duplicating management servers as a cluster system. Available software depends on the OS that runs on the management server.
copy pair status A value that represents the status of a copy pair. Six status values are defined in Replication Manager: error, suspend, copying, sync, simplex, and unknown. Each status is indicated by an icon. The copy pair status is determined by the combination of the copy pair states of the primary and secondary volumes. Also called pair status. copy progress Progress status of the volume replication functionality executed by the storage system.
Manager Software to manage volumes to which no DEVNs have been assigned by the mainframe host. Emulation Type The types of LUs with varying attributes supported by the XP1024/XP128, XP12000/10000/SVS200 and XP24000/20000 series. Also referred to as Emulation Mode. Extended Consistency Group (EXCTG) An attribute for maintaining data integrity between the copy pairs contained in consistency groups. In principle, each copy group container is assigned this attribute.
LAN Local Area Network LDAP Lightweight Directory Access Protocol LDEV (Logical DEVice) A volume created in a storage systemknown as an LDEV (logical device) in a mainframe system. It is a storage region created by dividing up an Array group storage region in the XP1024/XP128, XP12000/10000/SVS200 and XP24000/20000 series. The size of an LDEV is determined by the factory settings and the size of the drives that make up the Array group. An LU is made up of one or more LDEVs.
N:N configuration A configuration in which multiple configuration definition files are managed by both the primary volume server and the secondary volume server. Non-Gen’ed Scan A volume scan that can be performed on Non Gen'ed volumes within the site where HP StorageWorks P9000 for Business Continuity Manager Software resides. The Non Gen'ed DAD attribute is assigned to the disk configuration definition file in which the discovered volumes are stored.
and re-synchronizing copy pairs, is executed on the storage system by P9000 RAID Manager. Remote Device Manager A Device Manager server that is managed by Replication Manager as an information source, but is running on a on a different management server from Replication Manager. A Device Manager server running at the primary site can also be a remote Device Manager if it is running on a management server that is not running Replication Manager.
storage system An external storage device (storage system) connected to a host. summary pair status By displaying only the summary status for the copy pairs in each copy group, Replication Manager allows users to quickly check copy pair status. Replication Manager determines the summary copy pair status for each copy function (such as Business Copy and Continuous Access) in turn.
Index A access control users and permissions, 79 accounts adding users, 83 automatic locking, 365 changing passwords, 343, 349 locking, 350 removing users, 345, 346 unlocking, 351 advanced options force-split, 241 swap, 241 takeover, 240 takeover-recovery (recreate), 241 takeover-recovery (resync), 241 agent user script, 414 alerts and volume switching, 246 automarking, disabling, 161, 335 changing, 334 completion, 127 conditions for, 125 copy license usage threshold, 126 copy pair status, 126 deleting, 335
C C/T delta, 289, 435 alert settings, 125 checking for each copy group, 291 exporting history, 437, 445 cache, 121 candidate volumes, 117, 121 capacity, 117, 151, 309 expanding journal group, 322 licensed, 338 cascade configuration defining, 169 limitations, 169 permitted topologies, 168 Change Pair Status Wizard about, 232 advanced options, 239, 249 basic options, 239, 249 checkpoint files, 392 class, 166 CLI copy pair status, 263 refreshing configuration information, 270 command device adding, 112 defined
copy pair about, 147, 198 add to workflow, 186 and copy groups, 129 associated with a task, 303 checking, 281 checking (specific volume), 280 checking configuration definitions, 279 checking, about, 278 configuration definitions, 149 copy groups belonging to, 305 deleting related pairs, 318 editing, 189 monitoring, 282 monitoring (alerts), 282 prerequisites for mainframe, 185 refresh interval, 137 refreshing manually (My Copy Groups), 268 refreshing status, 263 saving, 181 states, 218 status, 211, 223 statu
drmumount command, 423 E Edit Group window, 178, 192 email, 282, 331 emergency license key, 337, 338 emulation type, 309 event log about, 431 data retention, 137 exporting, 437 viewing list of files, 432 exauth.
IPv6, 36, 56, 371 J JNLG, 122, 321, 438 expanding journal group capacity, 322 journal groups about, 118 adding, 122 deleting, 321 editing, 321 expanding capacity, 322 journal volume usage, 438 wizard, 122 journal usage exporting, 438 exporting for each copy group, 438 K KAVN00123-I, 137 KAVN00124-I, 137 KAVN00126-I, 137 KAVN00127-I, 137 L last distributed time, 181 last refresh, 267, 268, 275 LDAP, 79, 352 LDEV, 151, 267, 312, 316, 467 Viewing LDEV Information (Mainframe Systems), 310 LDKC, 280, 287 View
P9000 RAID Manager, 23 command devices, 110 pair configuration association, 189 copy group requirements, 160 creating, 156 deleting, 196 editing by associating, 186 prerequisites (mainframe), 152 wizard, about, 143 Pair Configuration Wizard launching, 144 Pair Configurations view, 307 pair management copy groups defined in storage, 257 virtual command devices, 250 pair management server, 308 adding (to site), 96 removing, 329 pair management server>redundant, 32 pair names editing, 157 pair status changing,
remote paths about, 113 conditions, 113 creating, 113, 114 deleting, 319 editing, 317 managing, 317 wizard, 114 remote_MU, 378 replica generation, 163 replicas about, 377, 397, 398 check status workflow, 428 concealing secondary volumes, 61 configuration requirements, 391 create (workflow), 398 creating, 385, 399 data protection status, 295, 296 data types, 391 generations, 151, 377 information stores, 403 mounting/unmounting, 427 precautions, 380, 397 resources, 428 restoring, 388, 405 restoring (simple),
Split (SSWS), 240 Split (SWSS), 239, 241 SQL Server database status, 412 distribution database, 425 publication database, 425 replication function, 424 restoring, 424 standby status, 412 start time, 274 Storage Groups, 429 storage system status of copy pairs, 287 storage systems adding to resource group, 87 adding to site, 95 removing from site, 328 setting up, 103 viewing a list, 303 viewing a summary, 303 viewing individual, 305 viewing information (open systems), 312 volume information, 309 subscription
V V-VOLs and CVS installation, 107 conditions for adding, 107 creating, 106, 108 deleting, 315 deleting multiple, 315 deleting, conditions, 315 managing, 315 prerequisites, 107 wizard, 108 VDI Meta File Generation Timeout, 64 verification replicas, 62 virtual command devices, 250 VOL, 113 volume belonging to a host, 309 candidates, 158 conditions for adding (mainframe), 155 mainframe discovery, 67 selecting multiple candidates, 158 selection restrictions, 154 Volume Scan about, 68 range, 70, 71 range(Settin