Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • The individual performing this installation has a small bit of Linux experience
  • Root access is available
  • Internet access is required for installing any missing but required software packages
  • NMIS must be installed on the same server that opHA is being installed on. Here you can read the NMIS installation guide.
  • You will need a license for opHA ( CONTACT US for an evaluation license )
  • opHA has to be installed onto the Primary and each Poller NMIS server
  • If using opCharts on Primary each poller will also need opCharts.

Getting Started

...

Download the latest product version from opmantek.com


Info

Prior to attempting to install opHA and undertaking configuration it is CRITICAL that clock synchronisation via ntpd or chronyd is fully operational and all systems validate as being synchronise off a similar clock source linked to the global clocking infrastructure.

chronyd is purported to be better suited to virtual environments and contains additional reporting features to assist with troubleshooting when used in a private clock distribution setup. ChronyD is the default for RedHat.

The requirement for good timekeeping is a basic logging element however, SSL crypto is time dependent and variation in time beyond a couple of minutes can cause various rejections, timeout responses and failures.

Having the time of day clock synchronised is an underlying design feature of streaming cryptography such as SSL as a component of the protection mechanism.


Installation Steps

...

Download or transfer the .run using wget, scp or sftp or any transfer tool. Repeat this process for each server involved. 

...

Code Block
If your browser is running on the same machine as opHA was 
installed onto, this would be

http://localhost/omk/opHA/


This URL should present you with a webpage that allows you to enter a license key and accept a EULA.  This  This step will need to be completed on each opHA instance.  !


After successful license key and EULA acceptance you will be presented with a dashboard that looks like this:

...

  • URL of the peer
  • Username and Password OR the SharedKey
    • For Shared Key this for the value of omkd_secrets set in the /usr/local/omk/conf/opCommon.json of the poller you are doing a discovery on.


Info
titleUsing HTTPS between master primary and poller

You MUST set the "opha_url_base" on the POLLER to the https:// url for the poller before doing discovery.

In setting opha_url_base you must also set the opha_hostname to match the fqdn.

If the opha_url_base is blank the Primary will connect to the poller but on receipt of the pollers information it will swap the https:// URL for http:// and the discovery will then fail.

...

Please note that the nodes are pushed to the pollers, but the other data is pulled:

We can also use the opHA cli tool to synchronise the data - and use it for another other actions: 

Code Block
/usr/local/omk/bin/opha-cli.pl 
Usage: opha-cli.pl act=[action to take] [options...]
opha-cli.pl act=discover url_base=... username=... password=.... role=... mirror=...
opha-cli.pl act=<import_peers|export_peers|list_peers>
opha-cli.pl act=delete_peer {cluster_id=...|server_name=...}
opha-cli.pl act=pull [data_types=X...] [peers=Y] [force=t]
	    pull data types except nodes
	    primary <-- peers
...

With this tool we can automate the synchronisation process with a cron job to keep all the data up to date. 

Once we have synchronise synchronised a peer we will be able to see its data from NMIS or opCharts from the Primary

...

opHA version 3.0.5 brings a new feature to modify the NMIS and omk configuration from the Primary server. The centralised configuration feature allows you to easily and quickly manage easy and quick a large network of multi-servers server network. 

It is important to note that once NMIS is updated from a Primary, it cannot be edited from the poller. 

...

We can check the peer status in the opHA Home indexpage:

opHA will check in every pull the status of the peer using the endpoint:

...

In the opHA synchronisation, the registry data for each product configured in the server will be send sent to the Primary. 

Each registry has a url property. In the opCharts case, it will be used to see the graphs from the poller. 

...

What's next

...