Through a long and intense period of research, implementation, and testing, ARIN completed the migration from Oracle to PostgreSQL late last year. Learn more at: http://teamarin.net/2014/04/01/building-high-availability-postgresql-cluster-arin/
2. What is ARIN?
•Regional Internet registry for
Canada, US, and parts of the
Caribbean
•Distributes IPv4 & IPv6 addresses and
Autonomous System Numbers (Internet
number resources) in the region
•Provides authoritative WHOIS services
for number resources in the region
2
5. Why Not Slony or pgpool-II?
• Slony replaces pgSQL‟s replication –
Why do this?
– Why not let pgSQL handle it?
• Pgpool is not ACID-Compliant
– Doesn‟t confirm writes to multiple nodes
5
6. Our solution
• CMAN / Corosync
– Red Hat + Open-source solution for cross-
node communication
• Pacemaker
– Red Hat and Novell‟s solution for service
management and fencing
• Both under active development by
Clusterlabs
6
7. CMAN/ Corosync
• Provides a messaging framework
between nodes
• Handles a heartbeat between nodes
– “Are you up and available?”
– Does not provide „status‟ of service,
Pacemaker does
• Pacemaker uses Corosync to send
messages between nodes
7
9. About Pacemaker
• Developed / maintained by Red Hat and Novell
• Scalable – Anywhere from a two-node to a 16-
node setup
• Scriptable – Resource scripts can be written in
any language
– Monitoring – Watches out for service state changes
– Fencing – Disables a box and switches roles when
failures occur
• Shareable database between nodes about
status of services / nodes
9