Using the Management Layer
You can use Genesys Administrator to start and stop applications via the Management Layer.
Before starting an application with the Management Layer, make sure the application's startup parameters are correctly specified in the Application properties. In the Server Info section of the application's Configuration tab, check that the following entries are correct:
- Working Directory - Directory in which the application is installed and/or is to run
- Command Line - Name of the executable file
- Command Line Arguments - Command-line parameters
See Command-line parameters for Framework components for descriptions of the parameters.
After you correctly specify the command-line parameters, you can start and stop the following Framework components from Genesys Administrator:
- Configuration Server (the Command Line Arguments are not required for the primary Configuration Server)
- Configuration Server Proxy
- Message Server
- SNMP Master Agent
- HA Proxy
- Stat Server
The Management Layer can also restart failed applications; to enable the autorestart functionality for a particular application, select the corresponding check box in the properties of the Application.
Note that when an application is started (or restarted) via the Management Layer, it inherits environment variables from LCA, which executes the startup command. Therefore, you must also set the environment variables required for the application for the account that runs LCA.
Stop vs. Graceful Shutdown
When you stop an application or a solution, the application or solution shuts down, ceasing all processing immediately. This may have a detrimental effect on the rest of the system.
Starting in release 8.0, you can stop an application or a solution gracefully, known as a graceful shutdown or graceful stop. Applications refuse any new requests, but continue to process their current requests. A solution gracefully shuts down all of its composite applications, then stops.
Only applications and solutions that support the graceful stop functionality can be stopped gracefully. Applications and solutions that do not support this functionality shut down ungracefully.
If you are unsure if the application supports graceful shutdown, you can use the suspending-wait-timeout configuration option to configure a timeout. If the status of the application changes to Suspending within this time, the application supports graceful shutdown. If the status does not change to Suspending within the timeout, the application does not support graceful shutdown, and the application will then stop ungracefully after the timeout expires. Refer to the ''Framework Configuration Options Reference Manual'', for a detailed description of this configuration option and how to use it.
Refer to ''Genesys Administrator 8.1 Help'' for more information about stopping gracefully, and about configuring a timeout.