Hitachi

uCosminexus Service Platform Reference Guide


cscsetup (Easy setup of the production environment)

Organization of this page

Format

cscsetup [-h]
 {-setup definition-file-storage-directory
 |-unsetup [-force]
 |-change definition-file-storage-directory}
 [-yes]

Function

Sets up and removes the setup of the systems that can be applied to the production environment. Furthermore, this command easily changes the information set up with easy setup.

For details on how to use this command, see 3.5.3 Executing the Easy Setup functionality for the HCSC production environment in the uCosminexus Service Platform Setup and Operation Guide.

Arguments

-h

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

-setup definition-file-storage-directory ~ ((1 to 100 bytes))

Specify the absolute path of the definition file storage directory. This command references the definition file of the specified directory and sets up the production environment.

For SOA.xml in the directory specified here, you need to set up a JAR file for the container extension library appropriate for the SOAP mode (SOAP1.1 mode or SOAP1.1/1.2 combined mode). If you do not set up the JAR file, operations are not guaranteed.

-unsetup

Removes the set up production environment.

-force

If an error occurs during unsetup, the unsetup operation continues forcefully. Use this option when the setup operation specifying the -setup option and the unsetup operation specifying the -unsetup option fail and the processing cannot continue. For a normal unsetup, we recommend that you specify the -unsetup option to remove the setup instead of the -force option.

-change definition-file-storage-directory ~ ((1 to 100 bytes))

Specify the absolute path of the definition file storage directory. This command references the definition file of the specified directory and changes the information for the production environment.

Note that if you change the SOAP mode for an environment that has been set up, operations are not guaranteed.

-yes

The confirmation message is not displayed.

Return values

Return value

Meaning

0

The command terminated normally.

1

The command terminated abnormally.

9

An error occurred when checking the execution permission.

Notes

In UNIX, if the cscsetup command definition file (cscsetup.properties) does not exist in the definition file storage directory, the processing is executed by the superuser. Therefore, if you want to change Component Container Administrator and execute operations, specify the owner name and group name in the cscsetup command definition file (cscsetup.properties). For details on the cscsetup command definition file, see 6.4.1 cscsetup command definition file.