cmx_test_lb (Test connection with load balancer)
- Organization of this page
Format
cmx_test_lb [Common-arguments] [-s web-system-name]
Function
This command tests whether the load balancer defined in the Web system that is specified in the argument can be operated.
You can use this command to confirm whether the load balancer definition in the Easy Setup definition file, the Environment Settings of the Smart Composer functionality, and the Environment Settings of JP1/Cm2/NC are specified correctly.
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_test_lb command by omitting the -s option, an error occurs.
Input examples
cmx_test_lb -s sample-system
Return values
- 0:
-
An attempt to connect with the load balancer was successful.
- 1:
-
The load balancer is not defined in the specified Web system.
- 64:
-
An attempt to connect with the load balancer has failed.