Scenario
By default, a maximum of 2 instances of an application service can be running at the same time, on a given host.
User may want to:
- Increase the limit to allow for more instances to run, taking advantage of CPU resources.
- Set the limit to "1", in case if only one instance of the application service can be running on a host.
- Set the limit to "0", in case a host is not intended to be a compute host.
Steps
1. Open the
vem_resource.conf configuration file located under the conf/ directory of your SOAM_HOME
2. Under
AGENT service information, change the value for
<max number of SIMs SSM can start>, save your changes.
3. Shutdown Symphony DE (if it had been running) and restart it.
Verify your Setting
1. Run command
symping -m 10 -r 5000 (Creates a session which sends 10 tasks to "symping" application, each runs for 5 seconds).
2. On another terminal, run command
soamview session symping4.0 (Displays session status).
3. Check the number of running instances under
RUN column.
With the default configuration, there will be 2 instances of symping service running at a time, for a single host Symphony DE cluster.
Limitation
The setting applies across all applications. Therefore cannot be customized on an application basis. However, each compute host can have its own configuration.
References
1. Symphony Reference > Configuration Files > vem_resource.conf