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.

Files .ocs generated by local

I want to configure two OCS servers; one is the master and the second is the slave. I want to inject the information form the slave to the master.

I found an URL (http://wiki.ocsinventory-ng.org/index.php/Documentation:Synchoserv) where you can see how to configure the servers, but I don't know how to create the .ocs files to inject them to the master server.

Could anyone help me with this?

Regards
in OCS Inventory NG server for Unix by (610 points)

2 Answers

0 votes
As I can see in foros I understand, that the only way in which this method works correctly, is with the the local *.ocs files. And putting them in the path I've decided in the server.

Is not possible that the agent generates this *.ocs file and put all the files on the server path?

When all the servers communicate with de OCS server, doesn't it update the information and allocate  the ocs file in the path I've especified?
by (610 points)
Hi Monica,

Did you find a solution for your problem? I also need to find a solution for how synchronise one server with another server... both running as "primary"... but when client sends its XML, mod_perl on the server gets all information "on the fly" and puts it into the database, not saving the xml file...

Could you help me?

Thanks.
0 votes
Hi

On Unix, just use : ocsinventory-agent --local <path_to_store_ocs_file> => ocsinventory-agent --local /tmp

On WIndows, use same option => ocsinventory-agent.exe /local=c:\TEMP

Regards

Frank
by (90.4k points)
 
Powered by Question2Answer
...