Hitachi

uCosminexus Application Server Command Reference Guide


cmx_start_target (Start the Web system or service unit)

Organization of this page

Format

Function

This command starts a system. The operations differ when a Web system is started and when a system containing a logical server that is not associated with the Web system is started. The following is the description for each operation:

Arguments

-s web-system-name

Specifies the Web system name.

If you omit this option, the value set in the cmx.websystem.name key of the .cmxrc file or the cmxclient.properties file will be used. Note that if the cmx.websystem.name key is not specified in the .cmxrc file and the cmxclient.properties file and if you execute the cmx_start_target command by omitting the -s option, an error occurs.

-unit service-unit-name

Specifies the service unit name.

-mode { ALL|READY }

Specifies the start mode.

  • ALL

    Upgrades the stopped status, blockade status, and the ready status to the operating status.

  • READY

    Upgrades the stopped status and the blockade status to the ready status.

    You cannot downgrade a service unit in the operating status to the ready status.

-strict

Specify this option to interrupt the starting of subsequent logical servers, when an attempt to start a logical server fails.

If you execute the cmx_start_target command by omitting the -strict option and if an attempt to start a logical server fails, the starting of the subsequent logical servers continues.

-ns

Specify this option to start a system containing the logical server that is not associated with the Web system.

Input examples

cmx_start_target -s sample-system -unit unit1 -mode ALL

Return values

0:

The command is terminated normally.

1:

The command is terminated with a warning.

64:

The command is terminated abnormally.

The following table describes the details of the return values:

Return values

For one service unit

For multiple service units

0

All the logical servers are started successfully.

All the service units are started successfully#1.

1

--

Some of the service units have failed#2 to start.

64

Some of the logical servers have failed to start.

All the service units have failed#2 to start.

Legend

--: None.

#1 The successful starting of a service unit means all the logical servers in the service unit started successfully.

#2 The failed starting of a service unit means some of the logical servers in the service unit has failed to start.

Notes