HP XP P9000 Replication Manager Software 7.6.0-00 Application Agent CLI User Guide

C Replacing primary and secondary volume
disks while Application Agent is running
This appendix explains how to replace a primary or secondary volume disk while Application Agent
is running. The descriptions in this appendix apply to the Application Agent CLI.
Replacing primary and secondary volume disks while
Application Agent is running
This section explains how to replace a primary volume disk and secondary volume disk while
Application Agent is running. If the disk used as a primary or secondary volume is damaged, you
must restore data and change the settings according to one of the procedures below, as well as
replace the damaged disk. The procedure differs depending on whether a primary disk or secondary
disk belongs to the replaced disk.
Procedure for replacing a disk to which a primary volume belongs:
Restore the primary volume by using tape backup data.
Define the primary volume side by using the disk group configuration that was in use before re-
placement, and use the RAID Manager paircreate command to copy the primary volume to
the secondary volume.
Restore, to the secondary volume, the tape data that you want to return.
Using the backup information that was restored to the secondary volume, restore data from the
secondary volume to a new primary volume.
Procedure for replacing a disk to which a secondary volume belongs:
Copy the latest data from the primary volume to a new secondary volume.
When restoring tape backup data to a new secondary volume, use the drmmount command (with
the -force option specified) and the drmmediarestore command.
Procedure for replacing a primary volume disk
The following example shows how to replace a primary volume disk:
Application Agent CLI User Guide 553