Hitachi

uCosminexus Service Platform Setup and Operation Guide


3.1.13 Deploying a business process

This subsection describes the preconditions for deploying a business process in the execution environment, and explains how to deploy the business process.

Note that the series of processing to deploy and start the HCSC components in the HCSC server, can also be executed in the development environment in a batch. However, batch execution is performed during system development or from unit testing to integration testing. For details, see "7.5 Batch execution of processes for deploying HCSC components on the HCSC Server and then starting" in "Service Platform Basic Development Guide".

Organization of this subsection

(1) Preconditions

To deploy a business process, the HCSC server in the deployment-destination execution environment must be in a running state.

For details on how to check the status of the HCSC server, see "5.3.15 Checking the HCSC server information".

(2) How to deploy a business process

To deploy a business process, execute the csccompodeploy command in the operating environment.

For details on the csccompodeploy command, see "csccompodeploy (Deploying HCSC components)" in "Service Platform Reference Guide".

The execution format of the command differs depending on whether all the business processes are deployed in a batch, or only a specified business process is deployed.

Important note

When a business process is deployed, do not use the service ID of the business process that only has a difference of case with the service ID of the deployed service adapter and business process, or the reception ID of the user-defined reception. If such a name is used, the business process cannot be deployed.

(a) To deploy all the business processes in a batch

Deploy all the business processes on the HCSC server or cluster in a batch.

The execution format of the command differs depending on whether the business process deployment destination is a single HCSC server, or all the HCSC servers configuring the cluster.

To deploy all the business processes on a single HCSC server

Execute the command by specifying the name of the HCSC server and the -all option.

All the business processes, which are not deployed, are deployed on the HCSC server specified in the -csc option (all the service adapters and user-defined receptions that are not deployed are also deployed at the same time).

csccompodeploy -user <login user ID> -pass <login password> -csc <HCSC server name> -all
To deploy all the business processes on all the HCSC servers in the cluster

Execute the command by specifying the cluster name and the -all option.

All the business processes, which are not deployed, are deployed on all the HCSC servers in the cluster specified in the -cluster option (all the service adapters and user-defined receptions that are not deployed are also deployed at the same time).

csccompodeploy -user <login user ID> -pass <login password> -cluster <cluster name> -all
Important note

If the service adapters, business processes, and user-defined receptions cannot be deployed because the -all option was specified, even if un-deployed service adapters, business processes, and user-defined receptions exist, they are ignored and the command terminates. After executing the command, use the cscrepls command to check the deployment status.

For details on the cscrepls command, see "cscrepls (Displaying the repository information) " in "Service Platform Reference Guide".

(b) To deploy the specified business process only

Deploy only the specified business process on the HCSC server or cluster.

The execution format of the command differs depending on whether the business process deployment destination is a single HCSC server, or all the HCSC servers configuring the cluster.

To deploy the specified business process on a single HCSC server

Execute the command by specifying the name of the HCSC server and the service ID of the business process.

The business process specified in the -name option is deployed on the HCSC server specified in the -csc option.

csccompodeploy -user <login user ID> -pass <login password> -csc <HCSC server name> -name <business process service ID>

With the cscrepls command, you can check the HCSC server name and service ID of the business process specified in the csccompodeploy command. For details on the cscrepls command, see "cscrepls (Displaying the repository information)" in "Service Platform Reference Guide".

To deploy the specified business process on all the HCSC servers in the cluster

Execute the command by specifying the cluster name and the service ID of the business process.

The specified business process is deployed on all the HCSC servers in the cluster specified in the -cluster option.

csccompodeploy -user <login user ID> -pass <login password> -cluster <cluster name> -name <business process service ID>