Configuration
Para gestionar el HA de la base de datos de histórico es necesario indicar las siguientes opciones de configuración en el fichero /opt/pandorafms/pandora_history_ha/pandora_history_ha.conf
| Parámetro | Descripción |
| dbname | Name of the historical database to connect to. |
| dbport | Connection port for the historical database. |
| dbuser | Historical database connection user. Requires the"`REPLICATION CLIENT" and "SUPER" (or "REPLICATION_SLAVE_ADMIN") privileges. |
| dbpass | Password for the previous user. |
| repl_dbuser | Historical database replication user. Requires the "REPLICATION SLAVE" privilege. |
| repl_dbpass | Password for the previous user. |
| ha_hosts | List of IP addresses or FQDNs of all hosts participating in the historical database HA cluster (comma-separated). |
| ha_interval | Interval, in seconds, between HA status checks. |
| ha_connect_retries | Number of retry attempts when connecting to the historical database HA cluster. |
| ha_connect_delay | Delay, in seconds, between connection retry attempts. |
| splitbrain_autofix | Enables (1) or disables (0) automatic HA recovery in the event of a split-brain situation. |
| verbose | Enables (1) or disables (0) detailed logging. |
| log_file | Path to the service log file. |
| pid_file | Path to the service PID file. |
| main_dbhost | IP address or FQDN of the main Pandora FMS database. |
| main_dbport | Connection port for the main Pandora FMS database. |
| main_dbname | Name of the main Pandora FMS database. |
| main_dbuser | Connection user for the main Pandora FMS database. |
| main_dbpass | Password for the previous user. |