quinta-feira, 16 de fevereiro de 2017

Librenms - Movendo a instalação para outro servidor

How do I move my LibreNMS install to another server?

If you are moving from one CPU architecture to another then you will need to dump the rrd files and re-create them. If you are in
this scenario then you can use Dan Brown's migration scripts.
If you are just moving to another server with the same CPU architecture then the following steps should be all that's needed:
- Install LibreNMS as per our normal documentation, you don't need to run through the web installer or building the sql schema.     
- Stop cron by commenting out all lines in `/etc/cron.d/librenms`
- Dump the MySQL database `librenms` and import this into your new server.
- Copy the `rrd/` folder to the new server.
- Copy the `config.php` file to the new server.
- Renable cron by uncommenting all lines in `/etc/cron.d/librenms`

0 comentários: