Versions Compared

Key

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

...

The only thing you need to do is to access to the new System Configuration admin menu: 

http://server/en/omk/admin

...

ToolAccessWorking modeNotes

Admin GUI

OnlineWill sync the nodes online
CLI Tool 

/usr/local/omk/bin/opnode_admin

BackgroundSee the documentation here
CLI Tool /usr/local/omk/bin/opha-cli.pl act=sync-all-nodes

Online 

cron job - 5 minutes

Will review and sync all the nodes
CLI Tool/usr/local/omk/bin/opha-cli.pl act=sync-nodeOnlineWill sync just one node
CLI Tool/usr/local/omk/bin/opha-cli.pl act=sync-processed-nodes

Background

cron job - 5 minutes

Will sync the nodes processed by opnode_admin
CLI Tool /usr/local/omk/bin/opha-cli.pl act=resync_nodes peer=server-nameOnline

Will remove the nodes from the poller in the Primary

will pull the nodes from the poller

...

It is a requirement that the devices collected from the poller are the same than the mirror. 

Discoveries

What

...

happens when we discover a poller?

  • The first time we discover a poller, all the nodes are copied into the masterprimary. But once they have been copied, in the synchronisations the node configuration will be sent from the master primary to the poller. 
  • The server will be set up as a poller, so we are not gonna be able to edit the nodes from the poller. 

What

...

happens when we discover a mirror?

  • The first time we discover a mirror, it needs to be empty (Except for localhost). This is because, all nodes needs to be copied from the poller that is being mirrored. 
  • The nodes will be sent to the mirror, the mirror will start polling those devices, at the same time as the poller. 
  • But the data won't be synchronised, unless the poller is disabled/down. 
  • The server will be set up as a mirror, so we are not going to be able to edit the nodes from the mirror. 
  • Every time we make a change into the poller nodes from the masterprimary, they will be replicated to the mirror. 

...

The mirror will become the poller. 

What happens when we discover a mirror?

We can update the role before removing the poller. If not, we are not going to be able to manage the nodes. We can do this manually by setting opha_role in conf/opCommon.json and restarting the server. 

...

  • If the role is a mirror, needs to have a mirror associated. 
  • The mirror associated should exist. 
  • Mirror and poller should not be "Active" at the same time. 
  • "Active" is set internally in the system and is a flag for the poller and the mirror. But does not need to be set in poller with no mirror. 
  • For mirror and poller: The active one should show the number of data, none for the other. 
  • The mirror doesn't have to have Nodes in the report. These nodes are counted from the master primary database. But, the remote should have the same nodes that the poller has. 

...