Jump to: navigation, search

Creating Genesys Applications for the control scripts

Application Object Corresponding Script Description
TP_PRIMARY_VIP_UP SC_VIP_ON.BAT Enables the Virtual IP address on the primary server.
TP_PRIMARY_VIP_DOWN SC_VIP_OFF.BAT Disables the Virtual IP address on the primary server.
TP_BACKUP_VIP_UP SC_VIP_ON.BAT Enables the Virtual IP address on the backup server.
TP_BACKUP_VIP_DOWN SC_VIP_OFF.BAT Disables the Virtual IP address on the backup server.
TP_VMSERVER-1_SWITCHOVER SC_APPLICATION_SWITCHOVER.BAT Switches the primary VM Server to primary mode.
TP_VMSERVER-2_SWITCHOVER SC_APPLICATION_SWITCHOVER.BAT Switches the backup VM Server to primary mode.
TP_VM-SIPSERVER-1_SWITCHOVER SC_APPLICATION_SWITCHOVER.BAT Switches the primary VM SIP Server to primary mode.
TP_VM-SIPSERVER-2_SWITCHOVER SC_APPLICATION_SWITCHOVER.BAT Switches the backup VM SIP Server to primary mode.

Creating Application objects for the shell files allows the shell files to be run as applications within the Genesys Framework.

Creating Genesys Applications for the control scripts

Start

  1. In the Configuration Manager, select Environment > Applications.
  2. Right-click and select New > Application.
  3. Select the Third Party Server template from the Application Templates folder, and click OK.
  4. On the General tab, enter a name for the Application object. For example, TP_PRIMARY_VIP_UP.
    Note: You can use the suggested Application object names, or you can specify your own.
  5. Select the Server Info tab.
    1. For VIP control scripts, select the host name of the VM Server on which the corresponding control/shell script is located.
    2. For application control scripts, select the host name of the server running SCS.
    3. If necessary, specify a valid communication-port number by using the Edit Port option.
  6. Select the Start Info tab.
  7. Set the Working Directory to the location of the control/shell script, and enter the name of the script in the Command Line field.
    For example, for the TP_PRIMARY_VIP_UP Application object, enter the script name that enables the Virtual IP address:
    Windows: SC_VIP_UP.BAT
    Linux: SC_VIP_UP.SH
    For the PRIMARY_VIP_DOWN Application object, enter the script name that disables the Virtual IP address:
    Windows: SC_VIP_DOWN.BAT
    Linux: SC_VIP_DOWN.SH
  8. Repeat the steps in this procedure to create an Application object for each of the scripts.

End

Next Steps

Resultset next.png Creating Alarm Reaction scripts OR Resultset next.png Back to Task Table: Windows IP Address Takeover OR Linux IP Address Takeover

Feedback

Comment on this article:

blog comments powered by Disqus
This page was last modified on February 26, 2013, at 07:59.