Change master to standby
Change master to standby
От:
Alexander Perepelica <alexondi@rambler.ru>
Дата:
Hi!
Can I change server mode master to slave (standby) without restarting?
Thank you!
Alex
Can I change server mode master to slave (standby) without restarting?
Thank you!
Alex
Re: Change master to standby
От:
Fujii Masao <masao.fujii@gmail.com>
Дата:
On Tue, Aug 16, 2011 at 6:55 PM, Alexander Perepelica wrote: > Can I change server mode master to slave (standby) without restarting? Which replication tool do you use? If streaming replication, the answer is "No". You need to shutdown the master, make a fresh base backup from new master, create recovery.conf and start the server as the standby from the backup. I have no idea about other replication method. Regards, -- Fujii Masao NIPPON TELEGRAPH AND TELEPHONE CORPORATION NTT Open Source Software Center