Re: [Vserver] Re: I would like to know how to build a FC4 template

From: Steven Truong <djatlantic_at_gmail.com>
Date: Wed 19 Oct 2005 - 18:23:25 BST
Message-ID: <77e0913f0510191023n4f547c21re097a6814ec70913@mail.gmail.com>

Hi, Mr. Poetzl. Thanks for answering my question.

Regarding the user-space command, ah, maybe I did not think it through when
I wrote that. But my concern is that once you hard copy a guest server, then
you still need to copy/create /etc/vservers/newtest, where newtest is the
name of the newly copied server /vservers/newtest.
Basically, by copying by hand, users have to take of these steps???

Or should you suggest to use vserver-copy, then delete /vservers/newtest,
then hard-copy. Because my guess is that vserver-copy would take care some
of the works regarding configuration files.

I have troubles carrying out some of the steps because I just don't know
which of which is legacy or new. I have tried to absord as much infor as
possible but I am sure I might forget some of the readings.

Could you suggest or point to document(s) that describe(s) correct ways of
doing these things?

Thanks for sharing your knowledge.
Steven.

On 10/19/05, Herbert Poetzl <herbert@13thfloor.at> wrote:
>
> On Tue, Oct 18, 2005 at 04:55:24PM -0700, Steven Truong wrote:
> > Hi, all. Thanks for your answers. Thank *smagnuson and* Mr. Poetzl . As
> Mr.
> > Poetzl suggested by those two commands, then we just build one guest
> server
> > and then (hard) copy by: 'cp -va' the whole guest server to the new one.
> Is
> > it possible that we bypass the user-space commands/utilities to clone a
> > guest this way? If so, then wonderful.
>
> what do you mean by bypass user-space commands?
>
> > Btw, is it the best possible and portable way?
>
> please elaborate!
>
> best,
> Herbert
>
> > Thanks.
> >
> > On 10/18/05, Steven Truong <djatlantic@gmail.com> wrote:
> > >
> > > Hi, all. It is a good idea to build a guest server with basic all
> around
> > > apps and then clone this basic server to other guest of the same
> > > distribution, in my case FC4. Then for each clone, I would be able to
> add
> > > specific apps to it.
> > >
> > > For this matter, I could not find enough information to try. It seems
> like
> > > for Gentoo distribution
> http://www.gentoo.org/doc/en/vserver-howto.xmlshows that you can tar the
> whole guest server and then reuse this tarball.
> > >
> > > I also found vserver-copy and read the man page and tried this on my
> > > configured guest server. I got the following error trying to copy my
> lanweb
> > > FC4 guest server to a newtest guest server:
> > >
> > > vserver-copy -v lanweb/ newtest
> > > I: vserver-copy: called on abc-25 at Tue Oct 18 12:28:25 PDT 2005
> > > newtest
> > > E: vserver-copy: Vserver file "/etc/vservers/lanweb/.conf" does not
> exist
> > >
> > > Coudl somebody tell me what .conf file and where/how to configure/find
> it?
> > > Is it the same file with /etc/vservers/lanweb/lanweb.conf file.
> Currently, I
> > > disabled/do not have this lanweb.conf file.
> > > In the man page, it also mention about /etc/vservers/vserver.conf and
> with
> > > my current settings, I don't have this file either.
> > >
> > > Could someone give me some information regarding all of these .conf
> files?
> > >
> > >
> > > Thank you in advance for all your helps.
> > > Steven.
> > >
>
> > _______________________________________________
> > 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 Wed Oct 19 18:23:44 2005

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 19 Oct 2005 - 18:23:50 BST by hypermail 2.1.8