- Presenting the plugin loadentity
Presenting the plugin loadentity¶
This extension works from version 0.70 of GLPI
This extension allows you to import GLPI data to a local server from a central GLPI server on which the dumpentity extension is installed.
After decompressing the archive into the plugins folder GLPI GLPI log on as administrator:
Access: Configuration / Plugins / Import Feature / Installation
This will create the tables used by the extension.
Enter the address of the central server to access the login screen, for example http://nomduserveur/glpi/
- Test Connection
After validation of the address, if it is correct and the central server is configured to allow the local server as a client, the list of available tables will be displayed.
Specific parameters for Windows based clients¶
If the import process cannot create tables, then you may have to specify the absolute path to the temporary directory used by the plugin.
To do so, you have to create a file called "config.path.php" in glpi's config directory.
In the file, add the line :
define ("PLUGIN_LOADENTITY_UPLOAD_DIR", "c:/wamp/www/glpi/files/_plugins/loadentity/");
You'll need to change the path to match your webserver installation.
Don't forget to activate plugin before using
Access : Configuration / Plugins / Import Feature / Activation
Access: Plugins / Import Feature
From the screen of the extension, the administrator can check the list of tables available on the central server and the last synchronization.
It is also possible to trigger a manual load, especially for the initial loading and validation of the configuration.
After validation of the configuration, you can create a scheduled task that runs daily to synchronize your local server with the central server.
To ensure that all clients synchronize smoothly, especially during the hours of GLPI use, the administrator of the central server can designate a regular time slot to use for auto synchronization.
The report of the last synchronization is available in the ''glpi/files/_log/loadentity.log'' (or ''/var/log/glpi/loadentity.log'' in the case of an installation package for Linux).