Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
en:documentation:02_installation:02_anexo_upgrade [2021/06/17 13:00]
jimmy.olano [Additional PHP engine configuration for Update Manager] Boleto GitLab # 7677 ticket.
en:documentation:02_installation:02_anexo_upgrade [2021/07/09 10:59]
laura.cano [Migrating to another system]
Line 363: Line 363:
 ===== Migrating to another system ===== ===== Migrating to another system =====
  
-You may want to use a new version of Pandora FMS in another different or newer system or distribution, for example, migrating from a CentOS 6 to 8 or from RHEL to CentOS.+You may want to use a new Pandora FMS version in another different or newer system or distribution, for example, migrating from a CentOS 6 to 8 or from RHEL to CentOS.
  
 1. Back up the previous system's database: 1. Back up the previous system's database:
Line 386: Line 386:
  
 <WRAP center round tip 60%>\\ <WRAP center round tip 60%>\\
-From version NG 754 onwards, [[:en:documentation:05_big_environments:07_server_management#manual_startup:shutdown_for_pandora_fms_servers|additional options are available for manual startup and shutdown]] of High Availability (HA) environments.\\+From version NG 754 onwards, [[:en:documentation:05_big_environments:07_server_management#manual_startupshutdown_for_pandora_fms_servers|additional options are available for manual startup and shutdown]] of High Availability (HA) environments.\\
 </WRAP>\\ </WRAP>\\
-5. Stopping the Apache server will depende on the distribution used:+5. Stopping the Apache server will depend on the distribution used:
 <code> <code>
  
Line 405: Line 405:
 </code> </code>
  
-6. Enter **MySQL** as root user. Access the Pandora FMS database on the new system (¨pandora¨ by default) and import the database.+6. Enter **MySQL** as root user. Access Pandora FMS database on the new system (¨pandora¨ by default) and import the database.
 <code> <code>
  # mysql -u root -p  # mysql -u root -p
Line 416: Line 416:
 This path will vary depending on the directory where the backup is stored. This path will vary depending on the directory where the backup is stored.
  
-7. In case of a migration to a higher version, where the database structure changes, this would be the time to run the migration scripts as indicated in the major version update procedure.+7. In case of migrating to a higher version, where the database structure changes, this would be the time to run the migration scripts as indicated in the major version update procedure.
  
-8. If you have changed the distribution, keep in mind the console ''PATH'' has also changed and some database fields will be different, such as **tconfig** ''attachment_store'' and ''fontpath''. To modify these fields, enter these queries. In the example you can see what a migration to CentOS would look like. For other distributions, change the Apache directory ''path''.+8. If you changed the distribution, keep in mind the console ''PATH'' also changed and some database fields will be different, such as **tconfig** ''attachment_store'' and ''fontpath''. To modify these fields, enter these queries. In the example you can see what a migration to CentOS would look like. For other distributions, change the Apache directory ''path''.
 <code> <code>
  #mysql -u root -p  #mysql -u root -p
Line 430: Line 430:
 Keep these ''PATHS'' in mind in server and console configuration files (''config.php'' and ''pandora_server.conf'') Keep these ''PATHS'' in mind in server and console configuration files (''config.php'' and ''pandora_server.conf'')
  
-9. Once the database is migrated, check that the previous ''…/pandora_console/include/config.php'' and ''/etc/pandora/pandora_server.conf'' files and the new ones contain the same data in the ''dbname'', ''dbuser'' and ''dbpass'' fields. If they are the same ther is no need to do anything. If not, do one of these two things:+9. Once the database is migrated, check that the previous ''…/pandora_console/include/config.php'' and ''/etc/pandora/pandora_server.conf'' files and the new ones contain the same data in the ''dbname'', ''dbuser'' and ''dbpass'' fields. If they are the same there is no need to do anything. If not, do one of these two things:
  
 a. Replace the new files with the old ones or replace the data of the new files for the old ones. a. Replace the new files with the old ones or replace the data of the new files for the old ones.
ºº