Enabling PI HA on an EPDS - Pre 2.0.2.0

The HA functionality of OPTS isn't available until these steps are performed.

Step-by-step guide

Follow these steps:

Shut Down the Blue Side

Through the menus, enter Maintenance Mode.

Enable the HA Start Scripts on the Red Side

  1. Through the menus, enter Maintenance Mode.
  2. Enable PI HA:
    1. cd /Owl/startup
    2. open startupOptions.
    3. Find USING_PIHA=0 and change it to 1.
    4. Save and exit.
    5. Open startupowl.
    6. Search for “startOwlHa002”.
    7. Remove startOwlHa002 from the line.
    8. Save and exit.
  3. 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. Uncomment OPT_HA_PRESENT, OPT_HA_BUFFER (If using buffer), OPT_HA_RETRY, OPT_HA_IPADDR, OPT_HA_STATPORT, OPT_PI_PRIMARYHA1.
    3. 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, and 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.