cmx_delete_system (Delete a Web system)
Format
cmx_delete_system [Common-arguments] [-s web-system-name] [-lb {keepvs|deletevs}]
cmx_delete_system [Common-arguments] [-s web-system-name] -unit service-unit-name
cmx_delete_system [Common-arguments] -ns
Function
This command deletes Web systems or service units of Web systems. If you do not specify the -unit option, Web systems will be deleted and if you specify the -unit option, service units of Web systems will be deleted. For a Web system that is built using the host-based management model, if multiple application servers (hosts) share the virtual server of load balancers, you specify whether to delete the virtual server with the -lb option, and then delete the Web system.
Additionally, when you specify the -ns option, all the logical servers that are not associated with the Web system and the hosts will be deleted.
Note that this command also deletes the Web system information model registered with Management Server, the information set in the load balancer, and all the hosts associated with Web systems or service units to be deleted. However, the hosts referenced from other Web systems and service units that are not to be deleted and the hosts in which a logical server is added without using the Smart Composer functionality will not be deleted. To delete hosts registered in the management domain and not associated with Web systems, you must temporarily associate the hosts to be deleted with Web systems and service units, and then delete the host for each associated Web system or service unit.
Arguments
Input examples
cmx_delete_system -s sample-system -unit unit1
Return values
Notes