Re: [Vserver] Cloning a vserver

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Tue 27 Jun 2006 - 17:52:10 BST
Message-ID: <20060627165210.GA31734@MAIL.13thfloor.at>

On Tue, Jun 27, 2006 at 10:34:52AM +0200, Christian Knauber wrote:
> Yes you can leave it without, but in this case if you defined it in
> the "old" vserver you would have to change it in the "new" vserver.
>
> Also, I do not know if this is really the case, but I felt that having
> fixed context IDs is much more stable than having dynamic ones.

more important, dynamic contexts are deprecated for
some time now (as they cause nothing but troubles)
and will go away in the (near) future ...

so please, handle the context assignment in userspace
by either assigning them explicitely or extending
the tools to handle that properly

best,
Herbert

> ----- Original Message -----
> From: Youri LACAN-BARTLEY <ylacan@teicam.com>
> To: vserver@list.linux-vserver.org
> Sent: Tuesday, June 27, 2006 10:15:43 AM GMT+0100
> Subject: Re: [Vserver] Cloning a vserver
>
> IIRC, there is no need to manually specify the context ID ...
>
> Christian Knauber wrote:
> > Did you change the context id of the new vserver ?
> > It is defined in the file /etc/vservers/new/context.
> >
> > Have a nice day,
> >
> > Christian
> >
> > ----- Original Message -----
> > From: Odile Bénassy <odile.benassy@jm.u-psud.fr>
> > To: vserver@list.linux-vserver.org
> > Sent: Tuesday, June 27, 2006 9:18:27 AM GMT+0100
> > Subject: [Vserver] Cloning a vserver
> >
> > Hello,
> >
> > I hope not to disturb with a low-level question, I still hope will be
> > useful to others.
> >
> > I'm very happy with my vservers in general, I must say, and the users
> > too, of course.
> >
> > I want to copy a vserver into a second one, because the second one will
> > run the same software.
> >
> > So I had an IP .xxx and a name "old"
> >
> > And I want a new IP .yyy and a new name "new"
> >
> > 1) I copied all the /vservers/old to /vservers/new
> >
> > 2) I copied all the /etc/vservers/old to /etc/vservers/new and also
> > /etc/vservers/old.conf to /etc/vservers/new.conf
> >
> > 3) I went into /etc/vservers/new.conf, into /etc/vservers/new, into
> > /vservers/new/etc and change there every string .xxx into .yyy, and
> > "old" into "new"
> >
> > 4) I fixed the /etc/vservers/new symlink
> >
> > Now both vservers can start and stop. I can ping both IPs.
> >
> > But if I enter "new" I am in "old".
> >
> > What do I have left behind?
> >
> >
> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
>
> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Tue Jun 27 17:57:05 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 27 Jun 2006 - 17:57:12 BST by hypermail 2.1.8