Building Disaster Recovery Serviceguard Solutions Using Metrocluster with Continuous Access for P9000 and XP A.11.00
1. Install the Raid Manager software for either P9000 or XP on every host system depending on
the disk array used in your environment.
2. Edit the /etc/services file, to add an entry for the Raid Manager instance to use with the
cluster. Use the following format to add an entry to the /etc/services file.
horcm<instance-number> <port-number>/udp
For Example,
horcm0 11000/udp #Raid Manager instance 0
3. Use the ioscan command to determine what devices on the P9000 or XP disk array have
been configured as command devices. The device-specific information in the right—most
column of the ioscan output will have the suffix-CM for these devices; For Example,
OPEN-3-CM. If there are no configured command devices on the disk array, you must create
two before proceeding. Every command device must have alternate links (PVLinks). The first
command device is the primary command device. The second command device is a redundant
command device and is used only upon failure of the primary command device. The command
devices must be mapped to the various host interfaces by using the SVP (disk array console)
or a remote console.
4. Copy the default Raid Manager configuration file to an instance-specific name.
# cp /etc/horcm.conf /etc/horcm0.conf
5. Create a minimum Raid Manager configuration file by editing the following fields in the /etc/
horcm0 file created in step4.
Table 2 Raid Manager configuration file fields
DescriptionFieldname
Enter the host-name of the system on which you are editing and the TCP/IP port number
specified for this Raid Manager instance in the /etc/services file.
HORCM_MON
Enter the primary and alternate link device file names for both the primary and
redundant command devices (for a total of four raw device file names).
HORCM_CMD
CAUTION: Ensure that the redundant command device is NOT on the same physical device
as the primary command device. Also, ensure that it is on a different bus inside the P9000
or XP series disk array.
6. If the Raid Manager protection facility is enabled, set the HORCPERM environment variable to
the pathname of the HORCM permission file, then export the variable.
# export HORCMPERM=/etc/horcmperm0.conf
The RAID Manager protection facility restricts volume control operations to volumes that the
host is allowed to see, with or without host-based LUN security and to volumes that are listed
in the configuration file.
For more information about RAID Manager protection facility, see HP StorageWorks P9000
RAID Manager User's Guide or HP StorageWorks XP RAID Manager User's Guide available
at http://h20000.www2.hp.com/bizsupport/TechSupport/Home.jsp.
If the Raid Manager protection facility is not used or disabled, export the HORCPERM
environment variable.
7. Start the Raid Manager instance by using horcmstart.sh <instance-#>
# horcmstart.sh 0
8. Export the environment variable that specifies the Raid Manager instance to be used by the
Raid Manager commands. For Example, with the POSIX shell type.
# export HORCMINST=0
20 Configuring an application in a Metrocluster environment