6) Unplug it from the network.Tutorial for High Availability.
1) Install hardware
2.) Rack Server
3.) Power on server
4.) Install OS
5.) Pray
there are additional options, such as IPVS. it depends on what network layer you need high availability at.Well there are basically two options:
to forward you visitors to one of at least three vps that run your website.
- Misuse DNS
- Use two rocket solid boxes with HAproxy
Misuse DNS Use two rocket solid boxes with HAproxy
Yeah a MySQL replication piece on here wouldn't be bad It's a feature, but way too few folks use it and syncing multiples like 6 severs, well, can MySQL reliably do that ?MySQL replication is easy
2 synching is fine with me =)Yeah a MySQL replication piece on here wouldn't be bad It's a feature, but way too few folks use it and syncing multiples like 6 severs, well, can MySQL reliably do that ?
but you dont which which of the 2 servers has an update of file?File syncing is a cinch per se. That's a straight rsync with cron event.
No doubt, keeping the files sync'd requires thoughts and strategy.2 synching is fine with me =)
but you dont which which of the 2 servers has an update of file?
Would you mind going into a bit of detail on your setup? Specifically, how did you set up VRRP? Is it something the host has to configure, or a special request?Cheap HA is easy, we done it for a few customers:
2x Haproxy VMs + virtual ip with VRRP
3x Percona MySQL Cluster VMs
3x or more nginx webservers
Build a haproxy master+slave setup with a virtual ip and VRRP. Create a MySQL master+master with percona and create a haproxy zone for your mysql cluster with each node. Then install 3x VMs with nginx and sync the filesystem with glusterfs. Create a haproxy zone for your webservers and add each node to it. All VMs located on different nodes. And then you are finished.
If you need a fully ha, deploy this setup in another location and sync MySQL and the filesystem between this zones.
If anyone need some setup, contact us, we can do it for you
Natively? No 6-way master is impossible. You could do it with MySQL clustering, but that is on the commercial product.Yeah a MySQL replication piece on here wouldn't be bad It's a feature, but way too few folks use it and syncing multiples like 6 severs, well, can MySQL reliably do that ?
File syncing is a cinch per se. That's a straight rsync with cron event.
Would you mind going into a bit of detail on your setup? Specifically, how did you set up VRRP? Is it something the host has to configure, or a special request?
Continuent is a leading provider of database-as-a-service solutions for MySQL and Oracle. Continuent Tungsten allows enterprises running business-critical MySQL applications to affordably achieve business and revenue continuity through Tungsten's commercial-grade high availability (HA) and globally redundant disaster recovery (DR) capabilities. Continuent Tungsten makes it simple to create new data services (database-as-a-service) in the cloud or in your private datacenter, and to manage them all from a single point.
Tungsten Replicator, released under a GPL V2 license, is a high performance, open source, data replication engine for MySQL and Oracle. Tungsten Replicator has all the features you expect from enterprise-class data replication products but with the flexibility of open source. Tungsten Replicator is also one of the core components of Continuent's database-as-a-service solution, Continuent Tungsten. The clustering by Continuent Tungsten provides high availability and disaster recovery, whereas Tungsten Replicator transfers events from one server to another. For full comparison, see Feature Matrix.
The key benefits offered by Continuent Tungsten include:
To do any IP failover, don't you need a "Virtual IP" assigned to you somehow? How would another VPS take over an IP that's been assigned elsewhere?That is massively over-complicating what should be a relatively simple setup With Linux-HA you can do failover IP as long as you are contained within a vlan, regardless of what your host does.