473,396 Members | 1,895 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

MySQL Cluster

Hi all,

This question has been asked quite a few times, but my situation is a
little bit different from what I've already read from other people.
Here I go:

I need to load-balance two servers that will be running RedHat Linux,
Apache Web Server and MySQL server, with no shared storage. I've
looked into the Linux HA project and it looks very nice. It seems I'd
be able to acheive without any complication the load-balacing of the
Apache server. However, MySQL is proving to be more challenging.

The major issue for us is that we want no single point of failure
(SPOF). Hence, both servers would be running all services (web, MySQL
and LinuxDirector). Load-balancing the "reads" from the MySQL server
is a piece of cake using MySQL's built-in master->slave replication.
However, I have no clue how to load-balance the "writes" (INSERTs,
DELETEs & UPDATEs).

One idea would be to promote the 2nd machine (original slave) to
master when the original master goes offline. However, when the latter
comes back up, it will try to reinitiate replication and all hell will
break loose !!! Also, we could be stuck with the situation where
"writes" would occur just before the master goes down, and before
those newly added (or updated or deleted) records could have been
replicated to the slave machine. We'd therefore lose some of the
"writes".

Second idea is to use the new MySQL Cluster product. I've read
somewhere that the hardware requirements can be quite high, as one
would need twice as much RAM size as the database size. IS this true?
Anyone has been using MySQL Cluster these days? Production-level
stable? Easy to configure?

Third idea is to go with Emic Networks products. The price tag
associated with this is quite high though, so this would remain as the
very last option. Unless anyone tells me it's the best product they've
ever seen ! ;) Anyone is using it?

Surely we're not the only ones stuck in this situation. Wanting a high
avaibility web/database combination is not a new concept. I can't
pretend to be *that* original ! ;)

Can anyone point me the good direction ?!

Thanks !
--
Eric Losier elosier at montrealinfo dot com
Systems Administrator
Concierge Info
http://www.montrealinfo.com
Jul 20 '05 #1
1 1691
That's because your suppose to use a real database like Oracle.

"Eric Losier" <bi*************@yahoo.com> wrote in message
news:a4**************************@posting.google.c om...
Hi all,

This question has been asked quite a few times, but my situation is a
little bit different from what I've already read from other people.
Here I go:

I need to load-balance two servers that will be running RedHat Linux,
Apache Web Server and MySQL server, with no shared storage. I've
looked into the Linux HA project and it looks very nice. It seems I'd
be able to acheive without any complication the load-balacing of the
Apache server. However, MySQL is proving to be more challenging.

The major issue for us is that we want no single point of failure
(SPOF). Hence, both servers would be running all services (web, MySQL
and LinuxDirector). Load-balancing the "reads" from the MySQL server
is a piece of cake using MySQL's built-in master->slave replication.
However, I have no clue how to load-balance the "writes" (INSERTs,
DELETEs & UPDATEs).

One idea would be to promote the 2nd machine (original slave) to
master when the original master goes offline. However, when the latter
comes back up, it will try to reinitiate replication and all hell will
break loose !!! Also, we could be stuck with the situation where
"writes" would occur just before the master goes down, and before
those newly added (or updated or deleted) records could have been
replicated to the slave machine. We'd therefore lose some of the
"writes".

Second idea is to use the new MySQL Cluster product. I've read
somewhere that the hardware requirements can be quite high, as one
would need twice as much RAM size as the database size. IS this true?
Anyone has been using MySQL Cluster these days? Production-level
stable? Easy to configure?

Third idea is to go with Emic Networks products. The price tag
associated with this is quite high though, so this would remain as the
very last option. Unless anyone tells me it's the best product they've
ever seen ! ;) Anyone is using it?

Surely we're not the only ones stuck in this situation. Wanting a high
avaibility web/database combination is not a new concept. I can't
pretend to be *that* original ! ;)

Can anyone point me the good direction ?!

Thanks !
--
Eric Losier elosier at montrealinfo dot com
Systems Administrator
Concierge Info
http://www.montrealinfo.com

Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: luke crouch | last post by:
what is the most stable download I can get that includes mysql cluster? the site says it is included in 4.1, and there's an rpm for 4.1, but it also says there's no binary for cluster... will I...
1
by: nd02tsk | last post by:
Hello Does PostgreSQL provide anything comparable with the functionality of MySQL Cluster? I appreciate all information. Thank you. Tim
0
by: davidb999 | last post by:
I'd appreciate any help/suggestions you people working with MySql cluster can offer. I'm hoping MySql Cluster can help us with a high volume need. Our needs are (at max load) 10M Million...
13
by: Jim Hubbard | last post by:
I have a client that desires a new application for use at several stores in different cities. He wants "real time" access to all store data and the ability to continue to run locally even if the...
7
by: Randy | last post by:
Folks: We have a web-based app that's _really_ slowing down because multiple clients are writing their own private data into a single, central database. I guess the previous programmer did...
2
by: Lion | last post by:
Hi All, I'm new to mySQL. Is it possible to cluster mySQL on a Windows 2003 cluster. I need to create HI reliability mySQL database that IIS connects to , so I created Windows 2003 Cluster...
0
by: btaranto | last post by:
Hi, i need some help with firewall with mysql-clusters. I have mysql-cluster with 1 mgm, 3 nodes and 2 apis, and i need to open some ports on firewall to mysql communicate each other, but the...
0
by: meetmurali | last post by:
Hi, What is the best hardware configuration for MySQL cluster to handle VOIP application. And how best is MySQL Cluster software to handle a VOIP application. Regards Murali
6
by: kennthompson | last post by:
What is the best way to mirror mysql on a remote server for backup in case the local server is down?
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.