Top
Systemwalker Service Quality Coordinator Reference Guide
Systemwalker

1.5.1 sqcsetupclp/sqcsetupcls(Cluster setup command)

Privileges required for execution

[Windows]

The privileges of a user belonging to the "Administrators" group are required to execute this command.

[UNIX]

The privileges of a system administrator (superuser) are required to execute this command.


Execution environment

These commands can be executed on an Enterprise Manager or Manager.


Before performing this procedure

If the resident process of the Enterprise Manager or Manager is running, stop the service or the daemon by referring to "Chapter 2 Starting and Stopping Resident Processes". Also check that the relevant resident processes have stopped correctly.


Syntax

[Windows]

(Active node)

<Installation directory>\bin\sqcsetupclp -m shared disk -h logical host name

(Standby node)

<Installation directory>\bin\sqcsetupcls -m shared disk


[UNIX]

(Active node)

/opt/FJSVssqc/bin/>/bin/sqcsetupclp -m mount point -h logical host name

(Standby node)

/opt/FJSVssqc/bin/>/bin/sqcsetupcls -m mount point

Function

The Cluster Setup Command must be executed to create the cluster environment.

This section explains sqcsetupclp (the command for creating a cluster environment on the active node) and sqcsetupcls (the command for creating a cluster environment on the standby node).

Note

Do not execute multiple sqcsetupclp/sqcsetupcls command simultaneously.


Options

[Windows]

-m shared disk

Specifies the drive for the shared disk device to be used by the cluster operation.


-h logical host name

Specifies the logical host name or logical IP address to be used by the cluster operation.


[UNIX]

-m <mount point>

Specifies the mount point for the shared disk device to be used by the cluster operation.


-h logical host name

Specifies the logical host name or logical IP address to be used by the cluster operation.


Return values

Normal termination: 0

Abnormal termination: 1


If this command terminates normally, the following message will be output:

Cluster setup succeeded


Usage example

[Windows]

(Active node: sqcsetupclp)

C:\>cd C:\Program Files\SystemwalkerSQC\bin

C:\Program Files\SystemwalkerSQC\bin>sqcsetupclp -m F:\ -h hostname

126 files copied.

0 files copied.

0 files copied.

0 files copied.

0 files copied.

0 files copied.

0 files copied.

0 files copied.

0 files copied.

0 files copied.

0 files copied.

0 files copied.

0 files copied.

Cluster setup succeeded

C:\Program Files\SystemwalkerSQC\bin>

(Standby node: sqcsetupcls)

C:\>cd C:\Program Files\SystemwalkerSQC\bin

C:\Program Files\SystemwalkerSQC\bin>sqcsetupcls.exe -m F:\

Cluster setup succeeded

C:\Program Files\SystemwalkerSQC\bin>


[UNIX]

(Active node: sqcsetupclp)

# cd /opt/FJSVssqc/bin/

# ./sqcsetupclp -m /share -h hostname

Cluster setup succeeded

#

(Standby node: sqcsetupcls)

# cd /opt/FJSVssqc/bin/

# ./sqcsetupcls -m /share

Cluster setup succeeded

#