Welcome to Pandora FMS Community › Forums › Community support › Advanced troubleshooting › Freezy old 3.0 pandora
-
Freezy old 3.0 pandora
Posted by daniels on June 28, 2010 at 16:39Hi everybody.
Is it possible to freezy my 3.0 version of pandora?
I would like to install the new 3.1 version, but the upgrade is not good to me (my database is not very well after the last upgrades). So, I would like to do a new fresh install, but I would like to keep the old (3.0) pandora to get the historical data. Is it possible? Is there a easy way to do that? Any suggestions are welcome.
Regards.
daniels replied 14 years, 6 months ago 3 Members · 3 Replies -
3 Replies
-
-
::
I had pandora 2.0 and 3.0 in the same box, using different databases. In the installation you can choose which is the pandora database, by default pandora.
BE CAREFUL WITH THIS PROCEDURE, AT YOUR OWN RISK (TEST BEFORE):
– First, put the console in a different directory
– Second, in the console install, you can use a pandora31 as new database.
– Third, in the pandora_server_installer script, change the values of the default variables (by example, I had:
PANDORA_SPOOL=/var/spool/pandora31 (if you want to have both at the same time)
PANDORA_HOME=/usr/share/pandora_server31
PANDORA_CFG_DIR=/etc/pandora31
PANDORA_LOG=/var/log/pandora31
PANDORA_SERVER=/etc/init.d/pandora_server31
PANDORA_CFG_FILE=/etc/pandora/pandora_server31.confYou don’t need to change tentacle
– Fourth, edit /etc/pandora/pandora_server31.conf to change the database from pandora to pandora31
Maybe I’m missing something… Anyway, you can backup your data and use the RENAME MySQL command to rename your current database and make a new install…
-