horcm0

11000/udp

#Raid Manager instance 0

4.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-CMfor these devices; for example, OPEN-3-CM.

If there are no configured command devices on the disk array, you must create two before proceeding. Each 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.

5.Copy the default Raid Manager configuration file to an instance-specific name.

# cp /etc/horcm.conf /etc/horcm0.conf

6.Create a minimum Raid Manager configuration file by editing the following fields in the file created in the previous step:

HORCM_MON—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_CMD—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).

CAUTION: Make sure that the redundant command device is NOT on the same physical device as the primary command device. Also, make sure that it is on a different bus inside the P9000 or XP series disk array.

7.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

If the Raid Manager protection facility is not used or disabled, export the HORCPERM environment variable.

#export HORCMPERM=MGRNOINST

8.Start the Raid Manager instance by using horcmstart.sh <instance-#>.

#horcmstart.sh 0

9.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

Now, use Raid Manager commands to get further information from the disk arrays.

To verify the software revision of the Raid Manager and the firmware revision of the P9000 or XP disk array.

# raidqry -l

NOTE: Check for the minimum requirement level for XP/P9000, Raid Manager software, and firmware for your version listed in the Metrocluster with Continuous Access for P9000 and XP Release Notes.

Identifying HP-UX device files

Before you create volume groups, you must determine the Device Special Files (DSFs) of the corresponding LUNs used in the XP array. To determine the legacy DSFs corresponding to the LUNs in the P9000 or XP array:

# ls /dev/rdsk/* raidscan -find -fx

Preparing the Cluster for Data Replication 165