HP StorageWorks XP Replication Monitor software installation and configuration guide (T1784-96008, November 2006)

Creating a cluster environment 103
Supplementary explanation:
When stopping Command View XP AE Suite product services, stop them in the following order. For
details, see the documentation for each product.
1. Other Command View XP AE Suite product services
2. Common Component services
2. Start HiRDB.
Execute the following command:
Common-Component-installation-folder\bin\hcmdsdbsrv /start
An example of command execution is shown below:
C:\Program Files\CVXPAE\Base\bin\hcmdsdbsrv /start
3. Create the cluster setting file cluster.conf using a text editor.
In the cluster setting file, specify whether the node is the executing or standby node, and specify the host
names of the virtual host, executing node, and standby node. Use the formats shown below:
mode = Specifies whether the node is the executing or standby node.
virtualhost = Specifies the host name of the virtual host.
onlinehost = Specifies the host name of the executing node.
standbyhost = Specifies the host name of the standby node.
In the following example, items are specified for an executing node:
mode = online
virtualhost = virt99
onlinehost = hrpm5
standbyhost = hrpm7
Store the created cluster file in Common-Component-installation-folder\conf.
NOTE: In the cluster setting file cluster.conf, you cannot use IP addresses to specify the host names
of the virtual host, executing node, or standby node.
The virtual host name specified for virtualhost must be valid for the corresponding IP address and
must be accessible.
4. Move the database to the shared disk.
Delete or empty the folder where the data is to be stored, and then execute the following command.
Executing this command changes the port number of the port used by HiRDB to the default port number
(23032). If you changed the port number to a number other than the default, take note of the port number
being used so that you can specify it later.
Common-Component-installation-folder\bin\hcmdsdbclustersetup /createcluster
/databasepath database-recreation-folder /exportpath data-destination-folder
An example of command execution is shown below:
C:\Program Files\CVXPAE\Base\bin\hcmdsdbclustersetup /createcluster
/databasepath R:\re_creating_db /exportpath C:\storing_data