Migrate Pandora 1.1 to Pandora 1.2 ================================== You need a script called pandoradb_1.1_to_1.2.sql provided in Pandora Console Package for 1.2 version. Migrate 1.1 to 1.2 versions includes: a) Full replacement of Pandora Console PHP Code (backup your original one to replace values in /include/config.php for your login, password, hostname to connect database). b) Full replacement of Pandora Server PERL Code (backyou your original one to replace values in pandora_server.conf. The new pandora_server.conf is located at /conf directory. It's possible that you need to change incoming dir, or parameters into daemon scripts. Please recheck Pandora Server 1.2 documentation before try to run it. c) Read documentation about new features of Pandora 1.2. Migration process doesnt delete any data, you don't loss any agente, config, or enviroment data, but please, read _carefully_ all documentation about this process before trying it. Migration steps --------------- 0. You need to stop Pandora Server before any changes in database. Think that you dont loose any data in the process of migration because agent data will be stored in incoming directory. Move this data to the new incoming directory before launch the new server, and you process that data without miss anything. 1. DUMP all tagente_datos records to a safe file, for example mysqldump --no-create-info -u root -p pandora tagente_datos > /tmp/pandora.conv.tmp 2. Run migration SQL script, for example: cat pandoradb_1.1_to_1.2.sql | mysql -u root -p -D pandora PLEASE NOTE THAT this script WILL DROP your data table, so please DONT SKIP step #1. 3. Reimport data writen in first step, for example: cat /tmp/pandora.conv.tmp | mysql -u root -p -D pandora 4. Delete temporal files, for example: rm -Rf /tmp/pandora.conv.tmp Code upgrade ------------ Simply backup your Pandora Console and Pandora Server install and proceed as if Pandora 1.2 was a new installation. Use your configuration values your the new configuration files in Pandora and Server components. Database migration is the "heavy" task, and need to be made before using new code. Final step ---------- Start your new Pandora components. Start your new Pandora components. Enter the WEB console and check that a new "server" has been created. Please, edit each agent you have and assign this new server for each agent. This process could be automated using SQL, and you only need to do once.