Hitachi

JP1 Version 12 JP1/Automatic Operation Configuration Guide 


5.7.1 Tasks required before the cluster service control commands can be registered

This subsection describes the tasks required before cluster service control commands can be registered in the cluster software.

Renaming model files to create the cluster service control commands

  1. Copy the model files for the cluster service control commands in a directory. These model files have the file name extension .model, and are stored in the /opt/jp1ao/tools directory.

    The following are the model files to be copied:

    • sc_automation.model

    • sc_hbase64_web.model

    • sc_hbase64_hweb.model

    • sc_hbase64_hsso.model

    • sc_hbase64_hirdb.model

  2. Rename the copied model files by deleting their file name extension (.model).

Editing the cluster service control commands

  1. Specify the Common Component installation directory for the following shell variable of each cluster service control command:

    HCMDS_HOME=common-component-installation-directory

  2. Specify the logical host name for the following shell variable of the sc_hbase64_hirdb cluster service control command. Note that the logical host name you specify for the shell variable is the value of the virtualhost key in the cluster.conf file.

    PDHOST=logical-host-name

Important

When you update the version of JP1/AO, the model files for the cluster service control commands might be updated. Therefore, after you perform an upgrade installation of JP1/AO, check whether the version of the created cluster service control commands and the version of the model files are the same. If the version of model files has been updated, copy those files and edit them as cluster service control commands. The version is specified as a comment in the files.