This page provides a brief overview of the major changes between opHA3 releases.

Introduction

opHA introduces the concept of a Primary & pollers servers:

The process of synchronising the information of the nodes is made by the Primary. The Primary requests the information for each poller with pull requests. 

The first time the script runs, it is going to request all the data for each configured poller. Next time, it is going to request only the modified data since the last synchronisation. 

3.3.1

 24 Aug 2021 

This release includes:

3.3.0

 10 Jun 2021 

This release includes two new features:

Another small improvements has been made in the GUI. 

3.2.1

 Released March 10, 2021.

Upgrade Notes

This release resolves issues with MongoDB connection leaks through our applications.

3.2.0

 Released Sept 30, 2020.

Upgrade Notes

The new upcoming release of opHA 3 will work on Opmantek's latest and fastest platform, however, the currently installed products are incompatible with this upgrade. 
To find out more about this upgrade please read: Upgrading Opmantek Applications

3.1.2

 Released Jul 03, 2020

3.1.1

 Released Jun 30, 2020

3.1.0 

 Released Jun 24, 2020

3.0.8 

Released Jun 2, 2020

3.0.7 

Released December 26, 2019
opHA 3.0.7 requires NMIS 9.0.6

3.0.5 

Released August 22, 2019
opHA 3.0.5 requires NMIS 9.0.6

3.0.4 

3.0.3 


'opha_transfer_chunks' => { 
      'inventory' => 500, 
      'nodes' => 500, 
      'events' => 500, 
      'status' => 500, 
      'latest_data' => 500,
      'retry_number' => 3,
      'delay' => 5
    },


Note that if no option is specified, there is not going to do any retry. 

Also, note that if a poller is down, the process is going to take retry_number * delay seconds to finish. 

3.0.2-1 

Hot fix to solve the problem of visualise the nodes graphics of the poller from the Primary. 

3.0.2 

On this version, the Primary is going to request the information by chunks. The number of calls is based on the chunk size and the number of results. The chunk size can be modified on conf/opCommon.nmis on the poller, with the next parameter (Note that a service restart is needed to use the new parameters):

 'opha_transfer_chunks' => { 
      inventory => 500, 
      nodes => 500, 
      events => 500, 
      status => 500, 
      latest_data => 500, 
    },


By default, all the data types are enabled, so all the data types are being synchronised (nodes, inventory, events, latest_data and status).

The synchronisation is configured in a cron job, that is going to run /usr/local/omk/bin/opha-cli.pl act=pull. For debugging purposes, you can run the same script with the following parameters:

bin/opha-cli.pl act=pull data_types=inventory,nodes,events,status,latest_data debug=true


And using force=true to bring all the data again, not only the data modified or created since the last synchronisation. 

You should see something like this when the script es finished:

[Tue May 14 15:32:31 2019] [debug]   [ fulla ]
[Tue May 14 15:32:31 2019] [debug] * inventory took: 0.89 sec - 109 results
[Tue May 14 15:32:31 2019] [debug] * nodes took: 0.87 sec - 0 results
[Tue May 14 15:32:31 2019] [debug] * events took: 0.87 sec - 52 results
[Tue May 14 15:32:31 2019] [debug] * status took: 0.87 sec - 200 results
[Tue May 14 15:32:31 2019] [debug] * latest_data took: 0.96 sec - 438 results
[Tue May 14 15:32:31 2019] [debug]   [ poller-nine ]
[Tue May 14 15:32:31 2019] [debug] * inventory took: 4.26 sec - 434 results
[Tue May 14 15:32:31 2019] [debug] * nodes took: 2.88 sec - 0 results
[Tue May 14 15:32:31 2019] [debug] * events took: 3.75 sec - 5000 results
[Tue May 14 15:32:31 2019] [debug] * status took: 2.5 sec - 76 results
[Tue May 14 15:32:31 2019] [debug] * latest_data took: 17.68 sec - 18487 results