Re: Mirroring / Cloning FreeBSD System
FreeBSD-Utah skrev: I have a question on how to mirror a FreeBSD installation / system. This environment will have two identical / separate systems referred to as “System A” and “System B” - I want to install FreeBSD on to “System A” - Once that installation is complete with selected ports and custom applications, I want to make an exact duplicate of “System A” on “System B” I don’t want to do this with drives in the same system, rather I would like to “clone” “System A” Also, it would be nice to be able to do this as a “mirroring” solution to keep a clone over time of the system in the case of failure of either “System A” or “System B” Is this possible to do? If so, any direction on how I would do this would be welcome. Is there a port / application that enables this? Thank you in advance! Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" I use rsync to mirror and freevrrpd for failover via heartbeat. Freevrrpd should be in ports. Freevrrpd gives both systems the same virtual ip so you will need to avoid rsyncing the configuration file for it. There is a nice feature that makes you trigger a script when one system goes down to initialize configurations on the system taking over. Mind you, if you are using firewall as part of the system you will need to alias the interfaces and use dns names in configuration files. Just my nickels worth /R ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Mirroring / Cloning FreeBSD System
This environment will have two identical / separate systems referred to as System A and System B - I want to install FreeBSD on to System A - Once that installation is complete with selected ports and custom applications, I want to make an exact duplicate of System A on System B I dont want to do this with drives in the same system, rather I would like to clone System A run liveCD on system B, make partitions as you like, newfs, mount as needed under say /mnt (like /mnt, /mnt/usr etc), set up network and do cd /mnt rsh -l root IP_of_systemA "tar --one-file-system -cf - / /usr /othermountpoint /anothermointpoint"|tar xpf - cd / umount /mnt make sure you did bsdlabel -B yourfirstdrive on systema activate rshd and add ip of systemb to .rhosts in /root, at least temporarily. keep machines in sync with rsync, prepare your rsync script, exclude list etc etc.___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Mirroring / Cloning FreeBSD System
On Wednesday 27 February 2008 22:43:31 FreeBSD-Utah wrote: > I have a question on how to mirror a FreeBSD > installation / system. > > This environment will have two identical / separate > systems referred to as System A and System B > > - I want to install FreeBSD on to System A > - Once that installation is complete with selected > ports and custom applications, I want to make an exact > duplicate of System A on System B > > I dont want to do this with drives in the same > system, rather I would like to clone System A > > Also, it would be nice to be able to do this as a > mirroring solution to keep a clone over time of the > system in the case of failure of either System A or > System B > > Is this possible to do? If so, any direction on how I > would do this would be welcome. Install A, then B very minimal and rsync them (port: net/rsync). This assumes a network between the two with different ip addresses :) > Is there a port / application that enables this? Pending your needs, you could try sysutils/heartbeat. But for periodical syncs, rsync should do fine. The tricky part will be /etc/rc.conf, since you'll need to differentiate the IP's. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Mirroring / Cloning FreeBSD System
I have a question on how to mirror a FreeBSD installation / system. This environment will have two identical / separate systems referred to as System A and System B - I want to install FreeBSD on to System A - Once that installation is complete with selected ports and custom applications, I want to make an exact duplicate of System A on System B I dont want to do this with drives in the same system, rather I would like to clone System A Also, it would be nice to be able to do this as a mirroring solution to keep a clone over time of the system in the case of failure of either System A or System B Is this possible to do? If so, any direction on how I would do this would be welcome. Is there a port / application that enables this? Thank you in advance! Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"