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 server | Operation |
---|---|---|
1 | PRF | Stops PRF. |
2 | Smart Agent | Stops Smart Agent. |
3 | CTM Domain Manager | Stops CTM Domain Manager. |
4 | CTM daemon | Stops the CTM daemon. |
5 | J2EE server | Stops a J2EE server.# |
6 | Web server | Stops a Web server. |
-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
cscsvstop -user admin -pass admin -csc HCSC
cscsvstop -user admin -pass admin -cluster Cluster -force
cscsvstop -user admin -pass admin -cluster Cluster -system
cscsvstop -user admin -pass admin -cluster Cluster -logical PRF
cscsvstop -user admin -pass admin -csc HCSC -logical J2EEServer
Return values
Return value | Meaning |
---|---|
0 | The command terminated normally. |
1 | The command terminated abnormally. |
2 | A communication timeout occurred. |
3 | An exclusion error occurred. |
9 | An error occurred when checking the execution permission. |
Notes