Hitachi

uCosminexus Application Server Command Reference Guide


cmx_resume_lb (Restart load balancer settings)

Organization of this page

Format

cmx_resume_lb [Common-arguments] [-s web-system-name]

Function

This command releases the dormant status of the load balancer in which a failure occurred and restarts the setting up process in the system in which the load balancer is redundant.

In the system in which the load balancer is redundant, if you input the cmx_build_system command, the same settings are executed concurrently for two load balancers. If an error occurs in one load balancer, the settings for the load balancer with the error are controlled and the settings are only executed in the other load balancer. In this case, you restore the load balancer with failure to the same settings as the normal load balancer, and then execute the cmx_resume_lb command. If the cmx_resume_lb command is accepted normally, the operation is recovered so that the same settings are executed concurrently for both the load balancers.

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 is 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_resume_lb command by omitting the -s option, an error occurs.

Input examples

cmx_resume_lb -s sample-system

Return values

0:

The command is terminated normally.

1:

The command is terminated with a warning.

64:

The command is terminated abnormally.

Notes

If the system does not have a redundant load balancer or if the load balancer is not in a dormant state, an error occurs.