[Users] vzmigrate modifications

2010-07-08 Thread Ismael Zarco
Hi, I'll be running 1 VPS on each server normally. I'd like to be able to replicate each VPS to its backup server(s). For example: * SERVER1 = VPS1 (VPS2's backup server) * SERVER2 = VPS2 (VPS1's backup server) I thought to user a modified vzmigrate script for mantain a copy of VPS2

[Users] Stopping hosts file rewrite on reboot.

2010-07-08 Thread Andy Loughran
Guys, Is there a way to either: a) stop the hosts file being rewritten each reboot b) add a file to get included in the /etc/hosts when it gets generated. Running Gentoo OpenVZ host guest. Regards, Andy ___ Users mailing list Users@openvz.org

Re: [Users] Stopping hosts file rewrite on reboot.

2010-07-08 Thread Mathieu Blanc
Hi, For the option a) : In the VE conf file, i delete the HOSTNAME=. Then you have to write yourself the file /etc/hostname and /etc/hosts in your VE. Hope this will help you :) Le 08/07/2010 10:52, Andy Loughran a écrit : Guys, Is there a way to either: a) stop the hosts file being

Re: [Users] Stopping hosts file rewrite on reboot.

2010-07-08 Thread Alan Young
On Thu, Jul 8, 2010 at 02:52, Andy Loughran a...@zrmt.com wrote: a) stop the hosts file being rewritten each reboot Don't use the --hostname option in either the create or set commands. The hosts file will never be touched. -- Alan ___ Users mailing

Re: [Users] Stopping hosts file rewrite on reboot.

2010-07-08 Thread Andy Loughran
Thanks guys - Much appreciated. On 8 July 2010 15:07, Alan Young alan.yo...@contractor.verio.net wrote: On Thu, Jul 8, 2010 at 02:52, Andy Loughran a...@zrmt.com wrote: a) stop the hosts file being rewritten each reboot Don't use the --hostname option in either the create or set commands.

Re: [Users] vzmigrate modifications

2010-07-08 Thread Scott Dowdle
Ismael, - Original Message - Hi, I'll be running 1 VPS on each server normally. I'd like to be able to replicate each VPS to its backup server(s). For example: • SERVER1 = VPS1 (VPS2's backup server) • SERVER2 = VPS2 (VPS1's backup server) I thought to user a modified vzmigrate

Re: [Users] Some basic startup related issues

2010-07-08 Thread Scott Dowdle
Greetings, - Original Message - I doubt. For instance, in another container (102) that is running, I have: # cat /etc/fstab none /dev/pts devpts rw 0 0 # mount /dev/simfs on / type simfs (rw) /proc on /proc type proc (rw) /sys on /sys type sysfs (rw) none on /dev/pts type

Re: [Users] Some basic startup related issues

2010-07-08 Thread Nirmal Guhan
On Thu, Jul 8, 2010 at 8:54 AM, Scott Dowdle dow...@montanalinux.org wrote: Greetings, - Original Message - I doubt. For instance, in another container (102) that is running, I have: # cat /etc/fstab none /dev/pts devpts rw 0 0 # mount /dev/simfs on / type simfs (rw) /proc on