Command «config» is used for making manipulations with configs. Syntax of this command differs with action type. General command syntax is:
Code Block |
---|
cmdmgr.exe config action=<clone_shared_instance|get_app_instances_info|get_shared_instances_info|get_starengine_info|set_service_creds|show_ports|get_insurance_binds_option_enabled|set_insurance_binds_option_enabled> [other args] |
...
Based on action type here is list of action detailed description with examples:
1. action=clone_shared_instance
This is action, that creates new shared instance based on existing. Here is syntax of command with this action type:
...
Code Block |
---|
cmdmgr.exe config --action=clone_shared_instance --from=sweb01 --to=sweb02 --baseport=21000 --remote_ip_pri=0.0.0.0 --remote_ip_sec=0.0.0.0 --remote_dupport_pri=5555 --remote_dupport_sec=5555 |
2. action=get_app_instances_info
This is action, which shows info(host:base port) about each application tier. Here is syntax of command with this action type:
...
Figure 4. Get app instances info example.
3. action=get_insurance_binds_option_enabled
This is action, which shows if insurance binds option is enabled or disabled. Action has no additional parameters. Here is example and syntax:
...
Figure 5. Get insurance binds option enabled example.
4. action=get_shared_instances_info
This is action, which shows shared instances (name: base port) for specified side. Here is command syntax with this action type:
...
Figure 6. Get shared instances info example.
5. action=get_starengine_info
This is action, which shows info (name:port) about each STAR Engine. Action has no additional parameters. Here is example and syntax:
...
Figure 7. Get star engine info example.
6. action=set_insurance_binds_option_enabled
This is action, which enables or disables insurance binds option. Here is command syntax with this action type:
...
Figure 8. Set insurance binds option enabled example.
7. action=set_service_creds
This is action, which set credentials for services. Here is command syntax with this action type:
...
Code Block |
---|
cmdmgr.exe config --action=set_service_creds --passfile="passfile" --servicename=emshell_thick --account=domain\user |
8. action=show_ports
This is action which shows configured servers ports. Here is command syntax with this action type:
...