...
Table of Contents | ||
---|---|---|
|
...
Introduction
opHA 5 introduces the concept of a Primary & multiple Poller servers and a message bus:
...
Backup Configuration: Make a backup copy of the
opCommon.json
file before making any changes.Add NATS Server Configuration: Ensure the following configuration is included in
opCommon.json
on all servers. In the below example we have added the main-primary in the nats_server string int the “database“ json objectCode Block language json "nats_server": "opha-dev1.opmantek.net:4222"
IMPORTANT
Delete the following line
Code Block language json "db_mongo_cluster": [],
...
...
4. MongoDB Setup (Main-Primary Only)
The following steps should be performed only on the Main-Primary MongoDB instance.
...
Code Block |
---|
systemctl restart mongod |
...
5. Starting Services
...
5.1 Start NATS
Start the NATS service on the Main-Primary server ONLY:
Code Block |
---|
systemctl start nats-server |
...
5.2 Restart mongod on Pollers and Mirrors only
After configuration changes, restart mongod on all Mirrors and Pollers servers ONLY :
Code Block |
---|
systemctl restart mongod |
...
5.3 Restart services on all servers
After configuration changes, restart the services on all the servers :
Code Block |
---|
systemctl restart nmis9d opchartsd opeventsd omkd ophad |
...
6. Update License
To obtain a license please contact firstwave sales
...
opHA-MB for NMIS & opCharts (This license is required for messagebus to run), nmis and opCharts data are synced from all poller/mirrors to the main-primary using MessageBus. In replication mode, If the main-primary were to go down the secondary primary will retain the nmis and opCharts data.
opHA-MB for opEvents (This license is an add-on for opEvents). With this add-on opEvents will use MessageBus to sync opEvents data from each poller/mirror to the main-primary and in replication mode opEvents data is synced to the secondary-primary. In replication mode, If the main-primary were to go down the secondary primary will retain the opEvents data.
...
7 Restart ophad on the main-primary
Code Block |
---|
systemctl restart ophad |
...
8 Start the Poller and Mirrors
Execute the following command on the poller and mirror servers.
Code Block |
---|
cd /usr/local/omk/bin ./ophad cmd producer start |
...
9. Final Steps
Accept EULAs: Make sure when you login to each server to confirm that all End User License Agreements (EULAs) are accepted.
...