Hitachi

JP1 Version 12 JP1/Integrated Management 2 - Manager Command and Definition File Reference


jp1cc_setup_cluster (UNIX only)

Organization of this page

Function

This command sets up an operating environment for a logical host of JP1/IM - Manager (Central Console). Use this command for environment setup in a cluster system.

Set up the environment for the primary node first, and then set up the standby node.

In the environment setup for the primary node, you must specify the logical host name and shared directory name. When you execute this command, information such as definition files is copied to the specified shared directory; therefore, you must have already made the shared disk available for use.

In the environment setup for the standby node, specify only the logical host name. The operating environment is set up on the basis of the information specified for the executing node.

Before you start setting up an environment for the secondary node, you must use the jbsgetcnf and jbssetcnf commands of JP1/Base to copy to the standby node the common definition information set at the executing node.

When you execute this command, the socket binding method used for TCP/IP communication is changed to the IP binding method. The command changes this setting for the physical host and for the logical host that is to be created. For details about the socket binding method used for TCP/IP communication, see the documentation for the applicable OS.

Format

jp1cc_setup_cluster -h logical-host-name
                   [-d shared-directory-name]

Execution permission

Superuser permissions

Storage directory

/opt/jp1cons/bin/

Arguments

-h logical-host-name

Specifies a host name for the logical host whose environment is to be set up. The permitted length is from 1 to 63 bytes characters.

Set the specified logical host name in the hosts file and in the name server to enable TCP/IP communication.

-d shared-directory-name

Specifies a shared directory for storing the information that is to be inherited during node switching. Specify a directory on the shared disk. The permitted length is from 1 to 165 bytes characters.

The command creates the directories listed below in the specified shared directory and then copies definition files from /etc/opt/jp1cons/conf/. Appropriate permissions are set for the created directories. Do not change the set permissions of the directories.

Table 1‒49: Directories created by the jp1cc_setup_cluster command

Type of files to be stored

Directory

Definition files

shared-directory-name/jp1cons/conf/

Log files

shared-directory-name/jp1cons/log/

Temporary files

shared-directory-name/jp1cons/tmp/

History files#

shared-directory-name/jp1cons/operation/

#: The processing of the correlation event generation function is output as history data.

Change the definition files, if necessary.

Notes

Return values

0

Normal termination

1

Abnormal termination

Examples

Set up an environment with the following conditions:

Logical host name: lnode0
Shared disk: /shdsk/lnode0