cscsvstop (Stopping an HCSC server)

Format

cscsvstop [-h]
-user login-user-ID
-pass login-password
{-csc HCSC-server-name|-cluster cluster-name}
[{-logical logical-server-name|-system}]
[-force]

Function

Stops the HCSC server.

By setting up default values for mandatory options, such as the login user ID, in the HCSC-Manager command definition file, you can omit the specification of these values in this command.

For details on how to use this command, see the following locations in the Service Platform System Setup and Operation Guide according to the purpose of use:

Arguments

-h

Displays the usage of commands. When you specify this option, all other options are ignored even if specified.

-user login-user-ID ~ <one-byte alphanumeric characters and underscores (_)> ((1 to 16 characters))

Specifies the user ID that is used to log in to HCSC-Manager.

-pass login-password ~ <one-byte alphanumeric characters and underscores (_)> ((1 to 16 characters))

Specifies the password that is used to log in to HCSC-Manager.

-csc HCSC-server-name ~ <one-byte alphanumeric characters and underscores (_)> ((1 to 8 characters))

Specifies the name of the HCSC server to be stopped.

-cluster cluster-name ~ <one-byte alphanumeric characters and underscores (_)> ((1 to 8 characters))

Specifies the name of the cluster wherein the HCSC servers are to be stopped in a batch. An error occurs if you specify the -cluster option when the cluster type is HA.

-logical logical-server-name ~ <one-byte alphanumeric characters, underscores (_), and hyphens (-)> ((1 to 128 characters))

Specifies the name of the logical server to be stopped. The following table describes the types of logical servers set up with this option and their operations. Note that when you specify this option, the HCSC servers will not stop and the -force option is disabled.

Table 5-7 Types of logical servers specified in the -logical option and their operations (for stopping)

No.Type of specified logical serverOperation
1PRFStops PRF.
2Smart AgentStops Smart Agent.
3CTM Domain ManagerStops CTM Domain Manager.
4CTM daemonStops the CTM daemon.
5J2EE serverStops a J2EE server.#
6Web serverStops a Web server.
#
Execute the command when the HCSC server is not running.

-system

Simultaneously stops the logical server defined in cscmng.server.HCSC-server-name.system in the HCSC-Manager definition file and the HCSC server.

-force

Forcefully stops an HCSC server. This option also initializes the status in the MBean.

Examples of input

(1) To stop the HCSC server HCSC

cscsvstop -user admin -pass admin -csc HCSC

(2) To forcefully stop all the HCSC servers in the cluster Cluster in a batch

cscsvstop -user admin -pass admin -cluster Cluster -force

(3) To simultaneously stop the HCSC servers in the cluster Cluster and logical servers, in a batch

cscsvstop -user admin -pass admin -cluster Cluster -system

(4) To stop the logical server PRF in the cluster Cluster, in a batch

cscsvstop -user admin -pass admin -cluster Cluster -logical PRF

(5) To stop the J2EE server J2EEServer on the HCSC server HCSC

cscsvstop -user admin -pass admin -csc HCSC -logical J2EEServer

Return values

Return valueMeaning
0The command terminated normally.
1The command terminated abnormally.
2A communication timeout occurred.
3An exclusion error occurred.
9An error occurred when checking the execution permission.

Notes