Skip to content
English
  • There are no suggestions because the search field is empty.

Enabling PI HA on OPDS - Pre 2.0.2.0

The functionality of OPTS PI HA needs to be configured manually on older OPDS builds.

Step-by-step guide

 

Shut Down the Blue Side:

  1. Through the menus, enter Maintenance Mode.

Enable the HA Start Scripts on the Red Side:

  1. Through the menus, enter Maintenance Mode.
  2. Link the HA start files to the /Owl/startup directory.
    1. cd /Owl/startup
    2. ln –sf /Owl/owlPI/listen-red/startOwlHa001 startOwlHa001
    3. ls
    4. Verify both startOwlHa00X scripts have been linked in the directory.
  3. Add the startOwlHa00X scripts to the startupOwl file.
    1. Open /Owl/startup/startupOwl.
    2. Find the line FILES=”$FILES startOwlPiLISTEN”.
    3. After startOwlPiLISTEN add startOwlHa001 for single redundancy.
    4. It will now be FILES=”$FILES startOwlPiLISTEN startOwlHa001”.
    5. Save and exit the file.
  4. Verify the HA start scripts are being called:
    1. /Owl/startup/startupOwl start
    2. Make sure startOwlHa001 starts.
    3. /Owl/startup/startupOwl stop
    4. Make sure startOwlHa001 stops.

Configure the Red Side HA:

  1. Enable PI HA in the PI configuration file.
    1. Open piConfigLISTEN.txt.
    2. Find the section labeled “HA System Options”.
    3. Uncomment OPT_HA_PRESENT, OPT_HA_BUFFER (If using buffer), OPT_HA_RETRY, OPT_HA_IPADDR, OPT_HA_STATPORT, OPT_PI_PRIMARYHA1.
    4. Uncomment and configure OPT_PI_IP2, OPT_PI_USER2, OPT_PI_PASSWORD2.
  2. Configure the HA system:
    1. Open /Owl/owlPI/listen-red/configHa001.txt.
    2. Make sure OPT_HA_IPADDR and OPT_HA_STATPORT match the configuration from piConfigLISTEN.txt.
    3. Configure OPT_PI_IP, OPT_PI_USER, and OPT_PI_PASSWORD to match the secondary PI Database IP and login credentials.
  3. Verify the connection to the Primary and Secondary Database.
    1. From the menus, Update the Security Hash.
    2. From the menus, Enter Operational Mode.
    3. Exit the menus.
    4. tail -44f /Owllog/owlPI/logs/owlPiServer-LISTEN.log
    5. Verify the Application was able to connect to the Primary database.
    6. NOTE: No data should be passing through the diode at this point.
    7. Exit the tail.
    8. tail -44f /Owllog/owlPI/logs/owlPiHaServ-haServ001.log
    9. Verify the HA Application was able to connect to the Secondary database.
    10. NOTE: Inactivity errors are normal at this point.
    11. If either one of the Applications has connection issues, check the configuration files for errors.

Configure the Blue Side HA:

  1. Enable HA functionality.
    1. Open /Owl/owlPI/talk-blue/piConfigTALK.txt.
    2. Find the section labeled “PI HA System Options”.
    3. Uncomment OPT_HA_PRESENT, OPT_HA_RETRY, OPT_PI_PRIMARYHA1.
    4. Uncomment and configure to match the Secondary Database OPT_PI_IP2, OPT_PI_USER2, OPT_PI_PASSWORD2.
    5. Save and Exit.
  2. Verify the connection to the Primary Database.
    1. From the menus, Update the Security Hash.
    2. From the menus, Enter Operational Mode.
    3. Exit the menus.
    4. tail -44f /Owllog/owlPI/logs/owlPiServer-TALK.log
    5. Verify the Application can connect to the Primary Database.
    6. Wait for Simulation or Production data to begin transfer (this can take up to 20 minutes depending on the size of the database).
    7. If connection errors occur, then check the configuration in piConfigTALK.txt.