Hitachi Global Link Manager Software Installation and Configuration Guide
4. Use a text editor to create a cluster-configuration file.
The items to be specified in the cluster-configuration file are as follows:
mode: Specify online.
virtualhost: Specify the logical host name.
onlinehost: Specify the host name of the primary node.
standbyhost: Specify the host name of the secondary node.
An IP address cannot be specified for virtualhost, onlinehost, or
standbyhost. Make sure that the IP address can be resolved from the
host name.
The following shows a coding example in the cluster-configuration file:
mode = online
virtualhost = hicommand_cluster
onlinehost = hicommand_1
standbyhost = hicommand_2
Save the created file as cluster.conf in Hitachi-Command-Suite-
Common-Component-installation-folder\conf.
5. Migrate the database to the shared disk.
Execute the following command:
Hitachi-Command-Suite-Common-Component-installation-folder\bin
\hcmds64dbclustersetup /createcluster /databasepath target-
folder-for-re-creating-the-database /exportpath target-folder-
for-storing-data /auto
Before executing the command, either delete target-folder-for-re-
creating-the-database and target-folder-for-storing-data or make sure
that the two folders are empty.
On the shared disk, deploy the folder in which the database is to be re-
created. On the local disk, deploy the folder that stores data.
Specify an absolute path (maximum of 63 bytes) for target-folder-for-re-
creating-the-database and target-folder-for-storing-data.
You can use the following characters for target-folder-for-re-creating-the-
database and target-folder-for-storing-data:
A to Z, a to z, 0 to 9, period (.), and underscore (_). You can also use a
backslash (\), colon (:), and forward slash (/) as the path delimiter.
When the /auto option is used, the system automatically stops Hitachi
Command Suite Common Component and starts HiRDB. After the
command is executed, both Hitachi Command Suite Common Component
and HiRDB are stopped. Depending on the machine performance, the
command is executed before HiRDB has completely started, and then the
KAPM06587-E message appears indicating that the export processing has
failed. In this case, manually start HiRDB, and then execute the
hcmds64dbclustersetup command without specifying the /auto option.
To start HiRDB, execute:
Hitachi-Command-Suite-Common-Component-installation-folder\bin
\hcmds64dbsrv /start
Installing Global Link Manager Clusters
4-21
Hitachi Global Link Manager Installation and Configuration Guide (Web Version)