Re: Multiple-Master Replication recovery

2006-03-29 Thread Barry
古雷 wrote:
 Hello:
 If I use Multiple-Master Replication with two mysql server, when one of them 
 goes down(disk crashed) must I shutdown the good one to recover the 
 Multiple-Master Replication ?

I think yes.
Depends on what you mean with recover the Multiple-Master Replication
Do you want to have the server with the new disk behave again as the
replicant?
Normally you can switch it on demand but yeah i would prefer to shut it
down and start it after you have set it up.

Regards
Barry

-- 
Smileys rule (cX.x)C --o(^_^o)
Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o)

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: Multiple-Master Replication recovery

2006-03-29 Thread Kishore Jalleda
any one of the servers could go down in many ways like
1) disk crash
2) replication failure
3) power failure
4) any hardware component failure
5) OS hang
6) Network failure
7) MYSQL bug
8) table corruption etc ...
9) or just scheduled donwtime

in any case what really matters is the difference in status of the failed
server from the point of failure to the point of recovery , so it all
depends on how up-to-date your data is on the failed server.. here are some
typical cases ..
1) you have everything intact ( data, bin logs, *.info files, etc ) then
just bring back the failed server online and you are good to go
2) if you rebuild the server from scratch it depends on how current your
backup is , in this take a snapshot of the main server ( either hot or cold
depending on your setup) and start the multi-master replication ..

In theory you really dont have to take the server offline unless it really
demands , in the worst case as Barry said its lot easier to shut down the
master (if you can afford some downtime) take a complete
snapshot/backup/dump ( varies for MYISAM and INNODB)  and bring back the
failed server back online

Hope this helps

Kishore Jalleda


On 3/28/06, 古雷 [EMAIL PROTECTED] wrote:

 Hello:

 If I use Multiple-Master Replication with two mysql server, when one of
 them goes down(disk crashed) must I shutdown the good one to recover the
 Multiple-Master Replication ?

 regards,

 gu lei


Re: Multiple-Master Replication recovery

2006-03-29 Thread 古雷
Thanks a lot. I'll try.
- Original Message - 
From: Kishore Jalleda [EMAIL PROTECTED]
To: 古雷 [EMAIL PROTECTED]
Cc: mysql@lists.mysql.com
Sent: Wednesday, March 29, 2006 11:53 PM
Subject: Re: Multiple-Master Replication recovery


 any one of the servers could go down in many ways like
 1) disk crash
 2) replication failure
 3) power failure
 4) any hardware component failure
 5) OS hang
 6) Network failure
 7) MYSQL bug
 8) table corruption etc ...
 9) or just scheduled donwtime
 
 in any case what really matters is the difference in status of the failed
 server from the point of failure to the point of recovery , so it all
 depends on how up-to-date your data is on the failed server.. here are some
 typical cases ..
 1) you have everything intact ( data, bin logs, *.info files, etc ) then
 just bring back the failed server online and you are good to go
 2) if you rebuild the server from scratch it depends on how current your
 backup is , in this take a snapshot of the main server ( either hot or cold
 depending on your setup) and start the multi-master replication ..
 
 In theory you really dont have to take the server offline unless it really
 demands , in the worst case as Barry said its lot easier to shut down the
 master (if you can afford some downtime) take a complete
 snapshot/backup/dump ( varies for MYISAM and INNODB)  and bring back the
 failed server back online
 
 Hope this helps
 
 Kishore Jalleda
 
 
 On 3/28/06, 古雷 [EMAIL PROTECTED] wrote:

 Hello:

 If I use Multiple-Master Replication with two mysql server, when one of
 them goes down(disk crashed) must I shutdown the good one to recover the
 Multiple-Master Replication ?

 regards,

 gu lei


Re: Multiple master replication

2001-03-21 Thread Jeremy D . Zawodny

On Thu, Mar 22, 2001 at 12:47:06PM +1100, Wayne Parrott wrote:

 Is their any way to have multiple masters for one slave?  The
 purpose of this is to backup multiple databases to one server
 easily, if their is no way to do this with replication are their any
 other methods of remote backup?  Thanks Wayne

A logical slave may only have one master.

But there's nothing to prevent you from running multiple copies of
MySQL on a physical machine. Each copy can be the slave of a different
master.

Jeremy
-- 
Jeremy D. Zawodny, [EMAIL PROTECTED]
Technical Yahoo - Yahoo Finance
Desk: (408) 328-7878Fax: (408) 530-5454
Cell: (408) 439-9951

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php