cmx_add_serverref (add a logical user server) (For compatibility)
Format
cmx_add_serverref [Common-arguments] -f logical-server-reference-definition-file
Function
The cmx_add_serverref command adds a user-defined logical server (logical user server) to a service unit in the Web system according to the contents of the logical server reference definition file.
If multiple logical user servers are specified in the logical server reference definition file, the servers will be added to service units in the defined order. When the processing starts, the error check is executed for the added logical user server.
Arguments
- -f logical-server-reference-definition-file
- Specifies the path of the logical server reference definition file.
Input examples
cmx_add_serverref -f UserServerRef.xml
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 specified logical user server has already been added in the same service unit or another service unit, an error occurs.
- If the Web system and the service unit specified as the destination for adding the logical user server do not exist, an error occurs.
- The cmx_add_serverref command is used for compatibility with the earlier versions. You use this command only to add a logical user server in the built system with the logical server reference definition file. In the version 07-50 and later versions, we recommend that you use the Easy Setup definition file to set a logical user server.