Pre-installation - Recommendations
Last updated
Was this helpful?
Last updated
Was this helpful?
It's important to determine several criteria before installing a GLPI server. Some of these may have an impact on the load on the server(s), others on the network load. The right questions to ask yourself before setting up your server are :
How many users will be able to connect at the same time? :symbo
Will there be automatic inventories?
If so, estimate the number of assets (computers, monitors, applications, etc.) that will be brought up.
Will a backup system be set up?
If so, estimate the resources required to launch backups.
Do potential IS security layers consume resources, or can they create latencies?
What system resources are available to you?
if hosting on-premise :
Rack availability
Which hardware to order
Budget constraints
Hosting with a provider ( available)
Are there any recovery constraints (implementation of clusters, load balancing, HA, etc.)?
Are there any short/medium/long-term business growth forecasts?
Depending on the answers, a simple or improved architecture could be considered.
The more traffic there is to/from your GLPI, the more resources you'll need.
If you assume a large number of users and/or assets to be inventoried, you should consider at least an enhanced archtecture :
Type of enhanced architecture
For high-traffic architecture, we strongly suggest :
one for users
one for inventory
8-core CPU minimum per machine
Calibrate configuration for simultaneous task management (connections, worker, etc.)
RAM: 16 or 32 GB
Coniguring 2 GB RAM to the InnoDB buffer pool
Remember to increase values for temporary table management
Disk: Nvme -> indispensable for fast database writes
Sufficient bandwidth
Minimize latency between machines
If you're using a provider, we strongly encourage you to ensure that the machines are on the same physical site
Type of enhanced architecture
Yes, this type of architecture is perfectly feasible with GLP. It's part of a high-availability, disaster recovery mode, in the event of the failure of one of the servers.
For example, you can :
add a reverse-proxy server upstream of the 2 WEB servers
add a 3rd WEB server and better distribute the load (manage fault tolerance)
replace simple MASTER / SLAVE
replication with a database cluster, requiring at least 3 DB nodes
Mandatory flows
User
GLPI
HTTP(S)
80 (443)
http(s) : //glpi/
GLPI
Databases
MySQL
3306
Another port can be configured
Optional Flows - LDAP/CAS connection
GLPI
LDAP directory
LDAP(S)
389 (636)
Synchronization and user authentication
Optional flows - MAIL connection
GLPI
Mail server
SMTP(S)
25 (465), 587
Send email notifications
GLPI
Mail server
IMAP(S)
143 (993)
Mail retrieval (receiver) > ticket creation
Optional flows - GLPI Inventory Basic module (inventory)
Agents
Server
HTTP(S)
80 (443)
http(s) : //glpi/plugins/fusioninventory/
GLPI
Agents
HTTP
62354
Remote agent wake-up (from GLPI)
Optional flows - GLPI Inventory Advanced modules
Agents
Equip.
SNMP
161,162
Network inventories
Agents
Equip.
NMAP
ICMP,DNS
Network discovery
Agents
VMWARE
HTTPS
443
VMWare inventory
Separate web front-ends :
Evaluate APACHE resources correctly
Ensure sufficient bandwidth
Deport SQL layer to a dedicated server
Associate a second server for SQL replication (necessary for disaster recovery)
Associated resources for the SQL layer :
WEB connection <-> SQL :
Add an NFS share to share files
between upstream WEB servers (sessions, attachments, XML inventories, etc...).