uCosminexus Application Server, Command Reference Guide

[Contents][Index][Back][Next]

8.2 Exclusive control when multiple commands are executed concurrently

When you concurrently execute multiple commands of the Smart Composer functionality, depending on the command, the commands executed later include ones that are mutual-exclusive controlled and ones that are not mutual-exclusive controlled.

The following table describes the commands of the Smart Composer functionality that are mutual-exclusive controlled and that are not mutual-exclusive controlled:

Table 8-5 Commands that are and that are not mutual-exclusive controlled

Command types Command name Target of mutual-exclusive control
Commands for the entire Web system cmx_build_model Y
cmx_change_model Y
Commands for individual Web system cmx_admin_passwd --
cmx_build_system Y
cmx_delete_system Y
cmx_export_model --
cmx_list_model --
cmx_list_status --
cmx_resume_lb Y
cmx_start_target Y
cmx_stop_target Y
cmx_test_lb Y
cmx_trans_param --

Legend:
Y: The command is mutual-exclusive controlled. In these commands, you can specify the -wait/ -nowait option that exists with common arguments in the subsection 8.3 Details of commands used with the Smart Composer functionality.
--: The command is not mutual-exclusive controlled. The command can be executed even when a command is being executed.

The following table describes the Smart Composer functionality commands for compatibility with the earlier versions that are mutual-exclusive controlled and that are not mutual-exclusive controlled:

Table 8-6 Commands for compatibility that are and that are not mutual-exclusive controlled

Command types Command name Target of mutual-exclusive control
Commands for the entire Web system cmx_add_serverref Y
cmx_delete_serverref Y
cmx_register_application Y
cmx_register_resource Y
cmx_unregister_application Y
cmx_unregister_resource Y
Commands for individual Web system cmx_define_application Y
cmx_define_resource Y
cmx_deploy_application Y
cmx_deploy_resource Y
cmx_start_application Y
cmx_start_resource Y
cmx_stop_application Y
cmx_stop_resource Y
cmx_undefine_application Y
cmx_undefine_resource Y
cmx_undeploy_application Y
cmx_undeploy_resource Y

Legend:
Y: This command is mutual-exclusive controlled. In these commands, you can specify the -wait/ -nowait option that exists with common arguments in the subsection 8.3 Details of commands used with the Smart Composer functionality.

In the commands that are mutual-exclusive controlled, the operations differ when multiple commands are executed simultaneously depending on the specification of the -wait/ -nowait option with the common arguments of the command. Additionally, the commands might or might not be mutual-exclusive controlled depending on the combination of the command type and the Web system for which the command is executed.

The following table describes the mutual exclusive control rules when multiple commands are executed simultaneously. For details on the types of commands classified as Commands for the entire Web system and Commands for individual Web systems in the table, see Table 8-5 and Table 8-6.

Table 8-7 Mutual-exclusive control rules

Commands to be executed later Commands being executed
Types of commands Target system Specification of common arguments Types of commands
Commands for the entire Web system Commands for individual Web system
Commands for the entire Web system -- -wait W W
-nowait E E
Commands for individual Web system Same Web system -wait W W
-nowait E E
Different Web systems -wait W Y
-nowait E Y

Legend:
E: Commands to be executed later will return an exclusive error.
W: Commands to be executed later will wait until the command being executed terminates.
Y: Commands to be executed later will be executed.
--: Not applicable