Jump to: navigation, search

Creating Virtual IP control scripts (Linux)

Start

  1. On the primary VM Server, create a shell file to enable the Virtual IP interface that is named SC_VIP_UP.SH, and enter the following commands into the file:

          [+] Commands for SC_VIP_UP.SH

  1. In the shell file, replace the variables indicated by angle brackets with appropriate values.
  2. On both GSVM server host computers, create a shell file to disable the Virtual IP interface that is named SC_VIP_DOWN.SH, and enter the following commands into the file:

          [+] Commands for SC_VIP_DOWN.SH


  1. In the shell file, replace the variables indicated by angle brackets with appropriate values.
  2. Add the SC_VIP_DOWN script as a startup script by adding the script to the current run-level of the machine.
    1. Copy SC_VIP_DOWN.SH to the /etc/init.d folder.
    2. Create a symlink from your run-level directory to execute when a system starts to disable the Virtual IP. For example, if the run-level is 5, the creation of symlink is as follows:
      "ln -s /etc/init.d/<scriptfile> /etc/rc.d/rc5.d/S50<scriptfile>"
      The S50 tells the system to start the script when it starts.

End

Next Steps

Resultset next.png Genesys Applications OR Resultset next.png Back to Task Table

This page was last edited on July 17, 2020, at 16:05.
Comments or questions about this documentation? Contact us for support!