Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.12.3 available

The official documentation can be found on https://wiki.ocsinventory-ng.org. Read it before asking your question.

Multiple server url in agent configuration [closed]

Hi,

Is it possible to tell the agent to upload configuration to multiple server url ?

The case is : we have two servers that need to be filled with agent informations. This servers cannot be replicate.

We want to tell the agent to connect to our 2 servers and upload his configuration to.

Can we do this ?

Regards
closed with the note: Solved, no native solution. Workaround instead :-)
in OCS Inventory NG agent for Unix by (160 points)
closed by

3 Answers

0 votes
This is impossible. OCS is made to work with one server and many features will never work with two servers.

The good question is : it is really necessary to have 2 servers ? One server can be configure with ACL that will permit to have a view (or manage) on a part of yours computer for other peoples.
by (22k points)
–1 vote
what you can do is to configure a dns server with 2 ipd adresses for the sam dns name(round robin) . so all clients contacting all servers, because they get somteime ip adress1 and sometimes ip adress 2. But i think it does not work fluently, because the clients will be confused if you deploy packages.

Giv it a try - you should create a vm - and change the ip address manually in agent so you can simulate the behaviour.

Kind regards
by (24.5k points)
0 votes
Hi,

Thank you for your answers.

What we expect is to get a way to make hosts inventory upload to to different servers at the same time.

I understand it is not possible.

So the way we will reach our goal is export the records from OCS DB, then import the records in the second server.

I close thie subject so :-)
by (160 points)
 
Powered by Question2Answer
...