I want to user Corosync and Pacemaker to sync between two servers, the servers are, two (or more) EC2 instances, with Ubuntu 16.04 installed on them. I was doing that following this article, but I'm stuck at the step of private_binding_IP_address
I search over the internet but no luck, what I want to know is the following:
- Does Corosync and Pacemaker work with Ubuntu 16.04?
- Does Corosync and Pacemaker work with Amazon EC2 (Ubuntu) instances?
- How to do that (sync two or more Amazon EC2s together)?
Thanks
UPDATE: the main goal of creating HA cluster of EC2's is that I want to install two or more of NextCloud servers on EC2 instances for storage and database, I can configure the NextCloud to use, S3 bucket for as a primary storage, and RDS for database, for all EC2 instances.
the NextCloud instances are already installed and configured to an S3 bucket and an RDS, now to sync the two EC2s I followed the article but I'm stuck at the step Configure Corosync cluster I can't get the bindnetaddr
which is a binding IP address, I ran the command ifconfig -a at both servers but the two IP that specified in the article were not the same
UPDATE2 I saw AWS article the thing is that this article describes how to make HA between EC2s, meaning one instance is active, and the other one is standby, what I need to do is to make all instances active at the sane time not one active and the others are standby, you can say sync at application level, assume if I have three NextCloud servers a user can send requests to the three NextCloud servers, and requests are processed by the three servers. I tired the AWS ELB (Elastic Load Balancer) but it was behaving same as scenario that is described in the above AWS article, so that's why I shifted to the Corosync and Pacemaker, yet I couldn't figure how to use Corosync for EC2s