cmx_delete_serverref (Delete a logical user server) (For compatibility)
Format
cmx_delete_serverref [Common-arguments] [-s web-system-name] -unit service-unit-name -name logical-server-name
Function
This command deletes logical user servers from service units in Web systems.
Arguments
- -s web-system-name
- Specifies name of Web systems.
- 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_delete_serverref command by omitting the -s option, an error occurs.
- -unit service-unit-name
- Specifies names of service units.
- -name logical-server-name
- Specifies names of logical servers.
Input examples
cmx_delete_serverref -s sample-system -unit Unit01 -name cmx_Web02_Unit01_User_01
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 other service units, an error occurs.
- The cmx_delete_serverref command is used for compatibility with the earlier versions. You use this command only for deleting logical user servers.