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
- Through the menus, enter Maintenance Mode.
- Enable PI HA:
- cd /Owl/startup
- open startupOptions.
- Find USING_PIHA=0 and change it to 1.
- Save and exit.
- Open startupowl.
- Search for “startOwlHa002”.
- Remove startOwlHa002 from the line.
- Save and exit.
- Verify the HA start scripts are being called:
- /Owl/startup/startupOwl start
- Make sure startOwlHa001 starts.
- /Owl/startup/startupOwl stop
- Make sure startOwlHa001 stops.
Configure the Red Side HA
- Enable PI HA in the PI configuration file
- Open piConfigLISTEN.txt.
- Uncomment OPT_HA_PRESENT, OPT_HA_BUFFER (If using buffer), OPT_HA_RETRY, OPT_HA_IPADDR, OPT_HA_STATPORT, OPT_PI_PRIMARYHA1.
- Uncomment and configure OPT_PI_IP2, OPT_PI_USER2, OPT_PI_PASSWORD2.
- Configure the HA system:
- Open /Owl/owlPI/listen-red/configHa001.txt.
- Make sure OPT_HA_IPADDR and OPT_HA_STATPORT match the configuration from piConfigLISTEN.txt.
- Configure OPT_PI_IP, OPT_PI_USER and OPT_PI_PASSWORD to match the secondary PI Database IP and login credentials.
- Verify the connection to the Primary and Secondary Database.
- From the menus, Update the Security Hash.
- From the menus, Enter Operational Mode.
- Exit the menus.
- tail -44f /Owllog/owlPI/logs/owlPiServer-LISTEN.log
- Verify the Application was able to connect to the Primary database.
- NOTE: No data should be passing through the diode at this point.
- Exit the tail.
- tail -44f /Owllog/owlPI/logs/owlPiHaServ-haServ001.log
- Verify the HA Application was able to connect to the Secondary database.
- NOTE: Inactivity errors are normal at this point.
- If either one of the Applications has connection issues, check the configuration files for errors.
Configure the Blue Side HA
- Enable HA functionality:
- Open /Owl/owlPI/talk-blue/piConfigTALK.txt.
- Find the section labeled “PI HA System Options”
- Uncomment OPT_HA_PRESENT, OPT_HA_RETRY, and OPT_PI_PRIMARYHA1.
- Uncomment and configure to match the Secondary Database OPT_PI_IP2, OPT_PI_USER2, OPT_PI_PASSWORD2.
- Save and Exit.
- Verify the connection to the Primary Database:
- From the menus, Update the Security Hash.
- From the menus, Enter Operational Mode.
- Exit the menus.
- tail -44f /Owllog/owlPI/logs/owlPiServer-TALK.log
- Verify the Application can connect to the Primary Database.
- Wait for Simulation or Production data to begin transfer (this can take up to 20 minutes depending on the size of the database).
- If connection errors occur, then check the configuration in piConfigTALK.txt.