Jump to: navigation, search

Starting and Stopping

Starting and Stopping JOP

To start the JOP applications, run the following commands:

cd IP_JOP_PRR_<version_number>_ENU_linux/scripts/
bash start.sh

To stop the JOP applications, run the following commands:

cd IP_JOP_PRR_<version_number>_ENU_linux/scripts/
bash stop.sh

Autostart JOP

To auto-start the application cluster on server reboot add the following lines to the /etc/rc.d/rc.local file:

# Adds execution permissions to rc.local
sudo chmod u+x /etc/rc.d/rc.local

# Makes sure docker has stated 
sudo echo "sleep 10" >> /etc/rc.d/rc.local

# starts the containers on boot
sudo echo "bash /home/pm/IP_JOP_PRR_<version_number>_ENU_linux/scripts/start.sh" >>/etc/rc.d/rc.local

Restart the server and verify that the application is running.

Note: You may need to change the parameters passed to start.sh.

Starting and Stopping the ASC Application

All Agent State Connector instances can be started and stopped from Genesys Administrator or manually from the command line.

  • For instructions on starting and stopping from Genesys Administrator, see the System Dashboard topic in the Genesys Administrator Help.

Starting ASC Manually on Linux

To start ASC from the command line, open a terminal window on the host machine and enter the following commands:

cd "<Agent State Connector working directory>"
./AgentStateConnector.sh -host <host_name> -port <port_number> -app "<application_name>"

You can start the Agent State Connector by entering ./run.sh.

Starting ASC Manually on Windows

To start ASC from the command line:

  • Open a terminal window on the host machine and run the AgentStateConnector.bat script.

To start ASC deployed on Windows host from Genesys Administrator:

  • Configure on the "Server Info" tab the following parameters:
    • Command Line: <Path to JDK bin folder>\java.exe
    • Command Line Arguments: -jar agent_state_connector-<version>-jar-with-dependencies.jar -host <host_name> -port <port_number> -app "<application_name>"
  • Start the ASC using "Start" button on the application page.

Stopping ASC Manually on Linux

If you need to stop ASC from the host using the command line, enter the following:

ps ax | grep <ASC_application_name>
kill -9 <shell_script_pid>
kill -9 <pid_of_java_process_running_ASC>
Important
For an emergency stop, follow the same procedure given here.

Stopping ASC Manually on Windows

If ASC is running as an application—not as a Windows Service—stop it using the following procedure.

  • From the application’s console window, press CTRL+C.
  • From Genesys Administrator, use "Stop" button on the ASC application page.

Starting and Stopping Use of the Strategy Subroutines

To turn on Predictive Routing in your routing strategy:

  1. Open the Predictive_Route_CfgData Transaction List object.
  2. Set the prr-mode option to any value except off in all sections that define predictors, and also in the [default-predictor] section.

To turn off Predictive Routing in your routing strategy:

  1. Open the Predictive_Route_CfgData Transaction List object.
  2. Set the prr-mode option to off in all sections that define predictors, and also in the [default-predictor] section.

Feedback

Comment on this article:

blog comments powered by Disqus
This page was last modified on July 13, 2018, at 12:33.