cscsvconfig (HCSC server runtime definitions)
Format
cscsvconfig [-h]
-user login-user-ID
-pass login-password
{-operation get -csc HCSC-server-name
|-operation set -propfile name-of-HCSC-server-runtime-definition-file
{-csc HCSC-server-name|-cluster cluster-name}}
Function
Obtains and changes the definition information for an HCSC server after the server is set up.
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 uCosminexus 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.
-operation {get|set}
Specifies the operations of these commands.
-csc HCSC-server-name ~ <one-byte alphanumeric characters and underscores (_)> ((1 to 8 characters))
Specifies the name of the HCSC server whose definition information you want to obtain or change.
-propfile name-of-HCSC-server-runtime-definition-file ~ ((1 to 200 bytes))
Specifies the name of the file that contains the list of definitions to be defined on the HCSC server as a relative or absolute path. This option is enabled if set is specified in the -operation option.
-cluster cluster-name ~ <one-byte alphanumeric characters and underscores (_)> ((1 to 8 characters))
Specifies the name of the cluster wherein the HCSC server definitions are to be updated in a batch. This option is enabled if set is specified in the -operation option. However, an error occurs if you specify this option when the cluster type is HA.
Examples of input
cscsvconfig -user admin -pass admin -csc HCSC -operation get
cscsvconfig -user admin -pass admin -csc HCSC -operation set -propfile config.properties
cscsvconfig -user admin -pass admin -cluster Cluster -operation set -propfile config.properties
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. |