-
Notifications
You must be signed in to change notification settings - Fork 1
High availability
EAR is designed to provide support for those systems where High Availability (HA) of services/data is a must. Currently, just the EAR Database Manager and the EAR Database components offer HA support. The latter can be replaced by industry software like Galera Cluster.
Database daemons can be configured and deployed in pairs following a server/mirror schema. Buffering before reporting to the Database is the main duty of this Daemon, so having a mirror ensures no data lose in the case the service stops or the node where it is being running fails unexpectedly. Both services buffer data, but just the server inserts it to the Database. If it fails, the mirror starts insertion process.
You can read how to configure two EAR Database Managers on the Configuration Guide's Island description section.
If the EAR Database is not deplyed on a HA system, you can manually configure EAR to report data on two databases. Just three actions must be performed:
- Create two databases on two different servers. You have two ways:
- Use edb_create command.
- Use
edb_create -oand redirect the output to a file. You will have the SQL query set saved to be executed directly in the DB server (mysql). *
- Specify DBSECIP field in the
ear.conf(and propagate changes). - Restart Database Manager daemons.
- Only supported in mysql.
* You must add a semi-colon (;) at the end of each line.
- Home
- User guide
- Tutorials
- Commands
- Environment variables
- Admin Guide
- Installation from source
- Architecture/Services
- High Availability support
- Configuration
- Classification strategies
- Learning phase
- Plug-ins
- Powercap
- Report plug-ins
- Database
- Supported systems
- EAR Data Center Monitoring
- CHANGELOG
- FAQs
- Known issues