Re: [ilugd] Syncing Servers
Interesting discussion, please share the setup of whatever solution you adopt eventually. -- Arun Khan ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] Syncing Servers
On Sat, Jan 10, 2009 at 9:43 PM, Niyaz lists.ni...@gmail.com wrote: Hi, I need your suggestions friends. My friend has two machines which he wants to use as test LAMP servers. He would also use the same machines as a mail servers. He wants to keep the two machine in sync so that if one of those fails (for any reason) the mails and LAMP business keep going on the other machine. How can we do this? Another method using Virtualization and ocfs2 is described here: http://www.novell.com/rc/docrepository/public/37/NPP-310336/NPP-LOC-31033.pdf You may use iSCSI for a common storage. -- Goldwyn ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
[ilugd] Syncing Servers
Hi, I need your suggestions friends. My friend has two machines which he wants to use as test LAMP servers. He would also use the same machines as a mail servers. He wants to keep the two machine in sync so that if one of those fails (for any reason) the mails and LAMP business keep going on the other machine. How can we do this? Thanks to you all, niyaz ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] Syncing Servers
I think, rsync can help have a rysn server on primary machine.. ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] Syncing Servers
On Sat, 2009-01-10 at 22:21 +0530, narendra sisodiya wrote: I think, rsync can help have a rysn server on primary machine.. Thank you for the suggestion, i am reading about it. ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] Syncing Servers
My friend has two machines which he wants to use as test LAMP servers. He would also use the same machines as a mail servers. He wants to keep the two machine in sync so that if one of those fails (for any reason) the mails and LAMP business keep going on the other machine. Assuming he's writing code, I'm guessing one's his development server and the other's his production server. If that is the case, do use a versioning system and work on two different branches. -- Artagnon (.com) ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] Syncing Servers
On Sat, 2009-01-10 at 22:59 +0530, Ramkumar R wrote: My friend has two machines which he wants to use as test LAMP servers. He would also use the same machines as a mail servers. He wants to keep the two machine in sync so that if one of those fails (for any reason) the mails and LAMP business keep going on the other machine. Assuming he's writing code, I'm guessing one's his development server and the other's his production server. If that is the case, do use a versioning system and work on two different branches. I need to clarify here, He will code on his own workstation/laptop. Those both machines will be production servers. He just need to keep them in sync, so that everything goes on if any of those two machines are down. Please let me know if any further clarification is required. ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] Syncing Servers
On Sat, Jan 10, 2009 at 11:10 PM, Angad Singh an...@angadsingh.in wrote: -Rsync for sync'ing files -mysql replication for syncing the database I was not aware of this , for a perfect HA backup system, what other constraint we need to consider ? and you need a high availablility clustering agent to get that always-available behaviour. ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] Syncing Servers
-Rsync for sync'ing files -mysql replication for syncing the database and you need a high availablility clustering agent to get that always-available behaviour. On Sat, Jan 10, 2009 at 11:07 PM, Niyaz lists.ni...@gmail.com wrote: On Sat, 2009-01-10 at 22:59 +0530, Ramkumar R wrote: My friend has two machines which he wants to use as test LAMP servers. He would also use the same machines as a mail servers. He wants to keep the two machine in sync so that if one of those fails (for any reason) the mails and LAMP business keep going on the other machine. Assuming he's writing code, I'm guessing one's his development server and the other's his production server. If that is the case, do use a versioning system and work on two different branches. I need to clarify here, He will code on his own workstation/laptop. Those both machines will be production servers. He just need to keep them in sync, so that everything goes on if any of those two machines are down. Please let me know if any further clarification is required. ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/ -- Angad Singh http://angadsingh.in ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] Syncing Servers
On Sat, 2009-01-10 at 23:29 +0530, narendra sisodiya wrote: On Sat, Jan 10, 2009 at 11:10 PM, Angad Singh an...@angadsingh.in wrote: -Rsync for sync'ing files -mysql replication for syncing the database I was not aware of this , for a perfect HA backup system, what other constraint we need to consider ? and you need a high availablility clustering agent to get that always-available behaviour. HI again, Is it possible, that the two machine be exact replica of each other (which remain in sync), running in parallel so that we have a fail-over system? Umm.. I am having this strong feeling that its possible, but I don't know how is it done. Please give me some pointers. Thanks again, Niyaz ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] Syncing Servers
On Saturday 10 Jan 2009, narendra sisodiya wrote: I was not aware of this , for a perfect HA backup system, what other constraint we need to consider ? The first thing you need for high availability is data sharing. If the applications permit it, you can have separate stores and application-level sync (e.g. replication in MySQL). If the application doesn't do sync by itself (e.g. mail), you need a highly available shared data store between the two servers. Ideally you would have some sort of NAS or SAN storage with multiple network paths, dual or triple power supplies and dual redundant RAID and disk controllers. Apart from the shared storage you need a heartbeat and address and process migration infrastructure. The Linux HA project provides these facilities IIRC. Regards, -- Raju -- Raj Mathurr...@kandalaya.org http://kandalaya.org/ GPG: 78D4 FC67 367F 40E2 0DD5 0FEF C968 D0EF CC68 D17F PsyTrance Chill: http://schizoid.in/ || It is the mind that moves ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] Syncing Servers
The first step would be to ensure that the data used by the lamp applications and mail servers is replicated on both the machines in near real time. this can be done thru DRBD and a network share like (NFS or iscsi) DRBD is kind of a RAID 1 over a network.If one of the drives or servers goes down then the other one assumes its identity and the application accesses the data over a network as if nothing happened. The next is to have a HA daemon such as Heartbeat that monitors the services that you want to have always running. This will monitor if the Primary server has failed and in such an event will make the secondary server the primary server (meaning that the secondary server will assume the identity of the promary and will continue to service client/service requests) Hope this helps Vikram Ranade ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/