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.

Synchronization between servers

I want to synchronize two servers, but I dont know how to generate ocs file, needed for doing that.

I do all like in manual, http://wiki.ocsinventory-ng.org/index.php?title=Documentation:Synchoserv.

If I switch Generate_OCS_FILE to On, should it genearate automatically or  I need manually generate it with some script.

I use the latest version of server 2.2.1 for Unix.

Thanks in advance!
in OCS Inventory NG server for Unix by (120 points)

2 Answers

0 votes
Hi,

You have to generate manually or via crontab the inventory of the slave and then inject it in the master.

Regards

Frank
by (90.4k points)
Thanks Frank,

Could you tell me more how to generate inventory ocs file on the slave?

With which script I can do this?

With ocsinventory-injector.pl I can inject ocs to master, I understand that.
0 votes

Hi

  • windows slave => use /local option to set the directory where you want store the .ocs file. The command will be this : ocsinventory-agent.exe /local c:\temp 
  • unix like slave => use --local option. The command will be this : ocsinventory-agent --local /tmp  
Regards
Frank
by (90.4k points)
 
Powered by Question2Answer
...