Henrik Woffinden wrote:
> Hi,
>
> Can anyone tell me how to make vserver-copy work?
>
> It looks like it does everything, but the network interface name isn't
> created.
>
> Creating every vserver via build and downloading packages online is not
> an option since they all need to be 100% identical (obviosly apart from
> IP + hostname).
>
> I also need to make maybe 50-75 servers with 16 guests each, so I can't
> have different versions everywhere.
I two am running into the issue of creating a copies of guests. Not
anywhere near your scale but I want it faster than a build each time.
I still haven't sorted out all the processes. Though I looked at
vserver-copy I think I found two different scripts that went about it in
totally different ways.
What I have tried, but had problems with, is to:
* build $FIRSTGUEST and get it all up-to-date and in place.
* build $NEWGUEST one using the skeleton method.
* remove all the files from the /vserver/$NEWGUEST
* copy all the files from $FIRSTGUEST into $NEWGUEST.
Issues I haven't confirmed/resolved are:
* if I need to copy all the files/information from
/vservers/.pkg/$FIRSTGUEST into /vservers/.pkg/$NEWGUEST. Just an
issue of getting some time.
* How to create the mark file and hash ( vhasify ) directory.
I believe the skeleton method does the rest of the creation/building
just fine.
What would be really great is a clone method that allowed you to specify
which guest to use as the donor.
HTH ( or at least gets you heading in a good direction ),
Rod
-- > > ---------- info --------- > Linux-VServer Test [V0.15] Copyright (C) 2003-2006 H.Poetzl > chcontext is working. > chbind is working. > Linux 2.6.17-1.2157_FC5.vs2.0.2.0.rc26.1smp #1 SMP Sat Jul 15 17:05:38 > EDT 2006 i686 > Ea 0.30.210 273/glibc (DSa) <compat,v11,fscompat,v13,net,oldproc,olduts> > VCI: 0002:0001 273 03010036 (TbLgnPD) > --- > [000]# succeeded. > [001]# succeeded. > [011]# succeeded. > [031]# succeeded. > [101]# succeeded. > [102]# succeeded. > [201]# succeeded. > [202]# succeeded. > ------------------------ > _______________________________________________ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserverReceived on Wed Jul 19 22:34:40 2006