OCSInventory-NG / OCSInventory-Server

Communication server of OCS Inventory
http://www.ocsinventory-ng.org/
GNU General Public License v2.0
344 stars 139 forks source link

[QUESTION] Manage 200k of machines with OCS #206

Closed wiltonsr closed 4 years ago

wiltonsr commented 4 years ago

Hello,

What is the best/recommended way of create an OCS Inventory Server Infraestructure to manage 200k of machines that report 3 times of a day?

The wiki says that 2 servers can inventory 10k of machines.

So in my case I will need 40 servers? How I should configure the database of this servers? Use a Multi Master replication with Galera Cluster?

gillesdubois commented 4 years ago

Hi @wiltonsr ,

Managing 200k of assets is possible and is a common case for our product.

The wiki is a bit misleading on this part. For 200k assets I recommend to split your OCS Instance like this scheme: image

The database and the communication server will have the higher load and will to have better specs than the others component. (like 6-8 vCPU / 64G of ram for the database AND the communication server)

You can also install more than one communication server to split the load.

A multi-master cluster like Galera won't help much, it will improve the performences but one standalone server should be enough.

Also, I recommend you to check our professional offer. The community edition doesn't have any official support or any guarantee which is (in my opinion) a bit unsecure with your assets number.

Our professional offer Contact US

Regards, Gilles Dubois.