[Vserver] gentoo stop fix? and final production guidance requested.

2005-10-02 Thread Chuck

i am currently using the Bertl-Shep stop fix which appears to be working for 
the most part. Is there a permanent cure for this now?

I am currently using the following versions

latest as of 2 weeks ago gentoo 2005.1 install on host.

kernel 2.6.13.1 vanilla sources from kernel.org
with patch-2.6.13.1-vs2.1.0-rc2.diff installed.

I am just upgrading now to the
util-vserver-0.30.208-r3

and am using the stage3-latest as of a few weeks ago that was obtained from 
Hollow's site.


I guess my question is more than one :) .

1. is the stop bug fixed

2. if so what are the latest versions of the above?

3. what is my best approach for least production problems in
creating a template?
a. find an updated stage3 that includes latest base layout
b. make the template from the latest stage1 vserver build and
use the latest base layout with that and just build the thing 
from scratch?


I have moved many servers into guests on various machines temporarily to make 
rack space for 'big bertha'  (8u machine), a 4 processor  system which will 
be our final resting place for all the servers. Then the most powerful of the 
empty servers will be converted to guest colo machines and the rest retired 
and sold.

Since this will be the final production machine I want to do it all right with 
all fixes the first time so I don't have to go back and baby-sit it in any 
way. This system will be fully automated and at times will be auto-starting 
and stopping certain guests which are only in service certain hours on 
certain days.. which means there is no room for error. It all has to work 
perfectly every time.

Suggestions?

-- 

Chuck

___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] gentoo stop fix? and final production guidance requested.

2005-10-02 Thread Christian Heim
On Sunday 02 October 2005 13:59, Chuck wrote:
 I guess my question is more than one :) .

 1. is the stop bug fixed
Yes, in the latest baselayout-vserver they're fixed.
That means you've currently to do the following inside your guests:
# echo '=sys-apps/baselayout-vserver-1.11.13-r1 ~x86 \
 /etc/portage/package.keywords'
# CONFIG_PROTECT=-* emerge -u baselayout-vserver

after that, your guest should now be stopping fine

 2. if so what are the latest versions of the above?
* latest kernel patch is at 2.1.0_rc2 (IIRC)
   - for Gentoo that is =vserver-sources-2.1.0_rc2  (~x86)
  incorporating kernel-2.6.13.2 and vs2.1.0_rc2

* util-vserver-0.30.208 (are the latest)
   - for Gentoo that is =util-vserver-0.30.208-r3 (~x86)

* baselayout for the guests is currently at
   - =baselayout-vserver-1.11.13-r1  (~x86)
   - =baselayout-vserver-1.12.0_pre8  (~x86)

   Depends if you like to use the 1.12.0 stuff or the old ones

 3. what is my best approach for least production problems in
 creating a template?
   a. find an updated stage3 that includes latest base layout
   b. make the template from the latest stage1 vserver build and
   use the latest base layout with that and just build the thing
 from scratch?

Depends on the following:
* how bleeding-edge you would like to be
* if you need some customizations (like 64-bit guests) 

The stage-tarballs will be renewed
* every half year
* if a new baselayout-vserver went stable

If I were you, I would go for the template from scratch.

 I have moved many servers into guests on various machines temporarily to
 make rack space for 'big bertha'  (8u machine), a 4 processor  system which
 will be our final resting place for all the servers. Then the most powerful
 of the empty servers will be converted to guest colo machines and the rest
 retired and sold.

 Since this will be the final production machine I want to do it all right
 with all fixes the first time so I don't have to go back and baby-sit it in
 any way. This system will be fully automated and at times will be
 auto-starting and stopping certain guests which are only in service certain
 hours on certain days.. which means there is no room for error. It all has
 to work perfectly every time.

 Suggestions?

-- 
Christian Heim [EMAIL PROTECTED]
Gentoo Linux Developer (VServer)


pgpS0F4ExuqaI.pgp
Description: PGP signature
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] gentoo stop fix? and final production guidance requested.

2005-10-02 Thread Chuck
On Sunday 02 October 2005 08:31 am, Christian Heim wrote:
 On Sunday 02 October 2005 13:59, Chuck wrote:
  I guess my question is more than one :) .
 
  1. is the stop bug fixed
 Yes, in the latest baselayout-vserver they're fixed.
 That means you've currently to do the following inside your guests:
 # echo '=sys-apps/baselayout-vserver-1.11.13-r1 ~x86 \
  /etc/portage/package.keywords'
 # CONFIG_PROTECT=-* emerge -u baselayout-vserver
 
 after that, your guest should now be stopping fine
 
  2. if so what are the latest versions of the above?
 * latest kernel patch is at 2.1.0_rc2 (IIRC)
- for Gentoo that is =vserver-sources-2.1.0_rc2  (~x86)
   incorporating kernel-2.6.13.2 and vs2.1.0_rc2
 
 * util-vserver-0.30.208 (are the latest)
- for Gentoo that is =util-vserver-0.30.208-r3 (~x86)
 
 * baselayout for the guests is currently at
- =baselayout-vserver-1.11.13-r1  (~x86)
- =baselayout-vserver-1.12.0_pre8  (~x86)
 
Depends if you like to use the 1.12.0 stuff or the old ones
 

thank you! will upgrade everything i can now, then when i prep 'bertha' ill 
just do all the existing guests from scratch again.

i have no clue whether im using 1.11.13 or 1.12.0.. the base layout was 
included in the stage 3 i got from hollow's site several weeks ago.
have no clue what the differences are.

  3. what is my best approach for least production problems in
  creating a template?
  a. find an updated stage3 that includes latest base layout
  b. make the template from the latest stage1 vserver build and
  use the latest base layout with that and just build the thing
  from scratch?
 
 Depends on the following:
 * how bleeding-edge you would like to be
 * if you need some customizations (like 64-bit guests) 
 
 The stage-tarballs will be renewed
 * every half year
 * if a new baselayout-vserver went stable
 
 If I were you, I would go for the template from scratch.
 

i need reliability more than 'bleeding edge' however i do need things like 
exec inside a guest from host and abilities to flag various hosts to 
autostart and things like that. we have no 64 bit guests or hosts so ... 



 
 -- 
 Christian Heim [EMAIL PROTECTED]
 Gentoo Linux Developer (VServer)
 

-- 

Chuck


___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] gentoo stop fix? and final production guidance requested.

2005-10-02 Thread Chuck
On Sunday 02 October 2005 08:31 am, Christian Heim wrote:

 

 
  2. if so what are the latest versions of the above?
 * latest kernel patch is at 2.1.0_rc2 (IIRC)
- for Gentoo that is =vserver-sources-2.1.0_rc2  (~x86)
   incorporating kernel-2.6.13.2 and vs2.1.0_rc2
 
the only reason i use vanilla kernels now is i have found on my workstations 
and servers a noticable increase in performance using vanilla over the 
gentoo-sources. i believe it is due to all the extra patches that i dont use 
anyway :)

is the verserver sources only a vanilla with the vserver patch and thats it?

 
 -- 
 Christian Heim [EMAIL PROTECTED]
 Gentoo Linux Developer (VServer)
 

-- 

Chuck

...and the hordes of M$*ft users descended upon me in their anger,
and asked 'Why do you not get the viruses or the BlueScreensOfDeath
or insecure system troubles and slowness or pay through the nose 
for an OS as *we* do?!!', and I answered...'I use Linux'. 
The Book of John, chapter 1, page 1, and end of book


___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] gentoo stop fix? and final production guidance requested.

2005-10-02 Thread Christian Heim
On Sunday 02 October 2005 15:19, Chuck wrote:
 the only reason i use vanilla kernels now is i have found on my
 workstations and servers a noticable increase in performance using vanilla
 over the gentoo-sources. i believe it is due to all the extra patches that
 i dont use anyway :)

 is the verserver sources only a vanilla with the vserver patch and thats
 it?

Nope, the vserver-sources are based upon the gentoo-sources (genpatches if you 
want a precise answer ;))

--
Christian Heim [EMAIL PROTECTED]
Gentoo Linux Developer (VServer)


pgpUw54W1mK4V.pgp
Description: PGP signature
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] gentoo stop fix? and final production guidance requested.

2005-10-02 Thread Christian Heim
On Sunday 02 October 2005 15:15, Chuck wrote:
 snip

 i need reliability more than 'bleeding edge' however i do need things like
 exec inside a guest from host and abilities to flag various hosts to
 autostart and things like that. we have no 64 bit guests or hosts so ...

exec as in vserver ${name} exec ?! Well that is simple, and is covered by a 
default installation (even the stage3-tarball covers this).

What do you mean with flag ?! Some sort of depends between different 
guests ?

--
Christian Heim [EMAIL PROTECTED]
Gentoo Linux Developer (VServer)


pgpDEW3W9LE53.pgp
Description: PGP signature
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] gentoo stop fix? and final production guidance requested.

2005-10-02 Thread Chuck
On Sunday 02 October 2005 09:38 am, Christian Heim wrote:
 On Sunday 02 October 2005 15:15, Chuck wrote:
  snip
 
  i need reliability more than 'bleeding edge' however i do need things like
  exec inside a guest from host and abilities to flag various hosts to
  autostart and things like that. we have no 64 bit guests or hosts so ...
 
 exec as in vserver ${name} exec ?! Well that is simple, and is covered by 
a 
 default installation (even the stage3-tarball covers this).
 
 What do you mean with flag ?! Some sort of depends between different 
 guests ?
 

wrong terminology im sure :) the ability to set mark files and their contents.

where can i find the differences between the 2 base layouts? i am getting 
ready to install them into the guests that are running now.. even tho these 
are  'production' they are also my 'proving ground' so once i start on the 
big machine i will not have these kinds of things to mess with and can just 
install certain versions of everything and be done with them :)

 --
 Christian Heim [EMAIL PROTECTED]
 Gentoo Linux Developer (VServer)
 

-- 

Chuck

...and the hordes of M$*ft users descended upon me in their anger,
and asked 'Why do you not get the viruses or the BlueScreensOfDeath
or insecure system troubles and slowness or pay through the nose 
for an OS as *we* do?!!', and I answered...'I use Linux'. 
The Book of John, chapter 1, page 1, and end of book


___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] gentoo stop fix? and final production guidance requested.

2005-10-02 Thread Christian Heim
On Sunday 02 October 2005 15:48, Chuck wrote:
 wrong terminology im sure :) the ability to set mark files and their
 contents.
You mean the context tagging of files by any chance ?!

 where can i find the differences between the 2 base layouts? i am getting
Well, the 1.12.0_pre stuff is AFAIK a complete rework and some stuff is even 
modularized. I've no idea if there's anywhere a comparison between the 2 
baselayouts. But you could have a look in the gentoo-dev mailinglist 
archives.

 ready to install them into the guests that are running now.. even tho these
 are  'production' they are also my 'proving ground' so once i start on the
 big machine i will not have these kinds of things to mess with and can just
 install certain versions of everything and be done with them :)
The go for baselayout-vserver-1.11.13-r1 :) that is old-style baselayout and 
should be somewhat stable to use :)
--
Christian Heim [EMAIL PROTECTED]
Gentoo Linux Developer (VServer)


pgpBDeLBEPa74.pgp
Description: PGP signature
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] gentoo stop fix? and final production guidance requested.

2005-10-02 Thread Chuck
On Sunday 02 October 2005 10:46 am, Christian Heim wrote:
 On Sunday 02 October 2005 15:48, Chuck wrote:
  wrong terminology im sure :) the ability to set mark files and their
  contents.
 You mean the context tagging of files by any chance ?!
 

no.. i dont know how long mark files have been supported;.. they go in

/etc/vservers/guestname/apps/init

and usually contain 'default' so the veserver startup script will start only 
those services marked default.

  where can i find the differences between the 2 base layouts? i am getting
 Well, the 1.12.0_pre stuff is AFAIK a complete rework and some stuff is even 
 modularized. I've no idea if there's anywhere a comparison between the 2 
 baselayouts. But you could have a look in the gentoo-dev mailinglist 
 archives.
 
  ready to install them into the guests that are running now.. even tho 
these
  are  'production' they are also my 'proving ground' so once i start on the
  big machine i will not have these kinds of things to mess with and can 
just
  install certain versions of everything and be done with them :)
 The go for baselayout-vserver-1.11.13-r1 :) that is old-style baselayout and 
 should be somewhat stable to use :)
 --

ok will do. i will install 1.12.0 in my testing guest on the production server 
and 1.11.13 in the production template and guests.. :)

 Christian Heim [EMAIL PROTECTED]
 Gentoo Linux Developer (VServer)
 

-- 

Chuck

...and the hordes of M$*ft users descended upon me in their anger,
and asked 'Why do you not get the viruses or the BlueScreensOfDeath
or insecure system troubles and slowness or pay through the nose 
for an OS as *we* do?!!', and I answered...'I use Linux'. 
The Book of John, chapter 1, page 1, and end of book


___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] gentoo stop fix? and final production guidance requested.

2005-10-02 Thread Chuck
On Sunday 02 October 2005 11:49 am, Chuck wrote:

with these new versions of base layout and util-vserver, do we still need to 
put this into a post start script?


vattribute --xid 3407 --flag ^37

or is that now not needed?




 On Sunday 02 October 2005 10:46 am, Christian Heim wrote:
  On Sunday 02 October 2005 15:48, Chuck wrote:
   wrong terminology im sure :) the ability to set mark files and their
   contents.
  You mean the context tagging of files by any chance ?!
  
 
 no.. i dont know how long mark files have been supported;.. they go in
 
 /etc/vservers/guestname/apps/init
 
 and usually contain 'default' so the veserver startup script will start only 
 those services marked default.
 
   where can i find the differences between the 2 base layouts? i am 
getting
  Well, the 1.12.0_pre stuff is AFAIK a complete rework and some stuff is 
even 
  modularized. I've no idea if there's anywhere a comparison between the 2 
  baselayouts. But you could have a look in the gentoo-dev mailinglist 
  archives.
  
   ready to install them into the guests that are running now.. even tho 
 these
   are  'production' they are also my 'proving ground' so once i start on 
the
   big machine i will not have these kinds of things to mess with and can 
 just
   install certain versions of everything and be done with them :)
  The go for baselayout-vserver-1.11.13-r1 :) that is old-style baselayout 
and 
  should be somewhat stable to use :)
  --
 
 ok will do. i will install 1.12.0 in my testing guest on the production 
server 
 and 1.11.13 in the production template and guests.. :)
 
  Christian Heim [EMAIL PROTECTED]
  Gentoo Linux Developer (VServer)
  
 
 -- 
 
 Chuck
 
 ...and the hordes of M$*ft users descended upon me in their anger,
 and asked 'Why do you not get the viruses or the BlueScreensOfDeath
 or insecure system troubles and slowness or pay through the nose 
 for an OS as *we* do?!!', and I answered...'I use Linux'. 
 The Book of John, chapter 1, page 1, and end of book
 
 
 ___
 Vserver mailing list
 Vserver@list.linux-vserver.org
 http://list.linux-vserver.org/mailman/listinfo/vserver
 

-- 

Chuck

...and the hordes of M$*ft users descended upon me in their anger,
and asked 'Why do you not get the viruses or the BlueScreensOfDeath
or insecure system troubles and slowness or pay through the nose 
for an OS as *we* do?!!', and I answered...'I use Linux'. 
The Book of John, chapter 1, page 1, and end of book


___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] gentoo stop fix? and final production guidance requested.

2005-10-02 Thread Benedikt Boehm
On Sunday 02 October 2005 20:21, Chuck wrote:
 On Sunday 02 October 2005 11:49 am, Chuck wrote:

 with these new versions of base layout and util-vserver, do we still need
 to put this into a post start script?


 vattribute --xid 3407 --flag ^37

 or is that now not needed?

it is not needed with baselayout-vserver-{1.11.13-r1,12.0_pre8}, and 
0.30.208-r3 contains a patch which adds the cflags to vattribute, so you 
could do

vattribute --xid 3407 --flag reboot_kill

if you still need it for some guests...

also look at http://home.xnull.de:8008/doc/en/vserver-howto.xml
i updated it to make use of new tools included in 0.30-208-r3

Cheers!

___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] gentoo stop fix? and final production guidance requested.

2005-10-02 Thread Chuck
On Sunday 02 October 2005 04:41 pm, Benedikt Boehm wrote:

ok cool thanks... one more quick one...


if i choose the latest 2005.1 standard p3 stage3 from the mirrors then 
overlayed the guest baselayout is that sufficient or are there other changes 
in the stage3 that i should stick with the older one?

 On Sunday 02 October 2005 20:21, Chuck wrote:
  On Sunday 02 October 2005 11:49 am, Chuck wrote:
 
  with these new versions of base layout and util-vserver, do we still need
  to put this into a post start script?
 
 
  vattribute --xid 3407 --flag ^37
 
  or is that now not needed?
 
 it is not needed with baselayout-vserver-{1.11.13-r1,12.0_pre8}, and 
 0.30.208-r3 contains a patch which adds the cflags to vattribute, so you 
 could do
 
 vattribute --xid 3407 --flag reboot_kill
 
 if you still need it for some guests...
 
 also look at http://home.xnull.de:8008/doc/en/vserver-howto.xml
 i updated it to make use of new tools included in 0.30-208-r3
 
 Cheers!
 
 ___
 Vserver mailing list
 Vserver@list.linux-vserver.org
 http://list.linux-vserver.org/mailman/listinfo/vserver
 

-- 

Chuck

...and the hordes of M$*ft users descended upon me in their anger,
and asked 'Why do you not get the viruses or the BlueScreensOfDeath
or insecure system troubles and slowness or pay through the nose 
for an OS as *we* do?!!', and I answered...'I use Linux'. 
The Book of John, chapter 1, page 1, and end of book


___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] gentoo stop fix? and final production guidance requested.

2005-10-02 Thread Benedikt Boehm
On Sunday 02 October 2005 20:42, Chuck wrote:
 On Sunday 02 October 2005 04:41 pm, Benedikt Boehm wrote:

 ok cool thanks... one more quick one...


 if i choose the latest 2005.1 standard p3 stage3 from the mirrors then
 overlayed the guest baselayout is that sufficient or are there other
 changes in the stage3 that i should stick with the older one?

proably it will work, but not sure, i think you have to unmerge baselayout 
before and without it you're not able to emerge anything...

if you're familar with catalyst you could try the 
http://dev.gentoo.org/~hollow/stages/build-stages script, it will build 
stages for you, though we will upload new ones soon...


  On Sunday 02 October 2005 20:21, Chuck wrote:
   On Sunday 02 October 2005 11:49 am, Chuck wrote:
  
   with these new versions of base layout and util-vserver, do we still
   need to put this into a post start script?
  
  
   vattribute --xid 3407 --flag ^37
  
   or is that now not needed?
 
  it is not needed with baselayout-vserver-{1.11.13-r1,12.0_pre8}, and
  0.30.208-r3 contains a patch which adds the cflags to vattribute, so you
  could do
 
  vattribute --xid 3407 --flag reboot_kill
 
  if you still need it for some guests...
 
  also look at http://home.xnull.de:8008/doc/en/vserver-howto.xml
  i updated it to make use of new tools included in 0.30-208-r3
 
  Cheers!
 
  ___
  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


Re: [Vserver] gentoo stop fix? and final production guidance requested.

2005-10-02 Thread Chuck
On Sunday 02 October 2005 05:06 pm, Benedikt Boehm wrote:


i used your new methods to make the template and then make a stage3 of my own 
and make a guest from that.. incredibly nice

 On Sunday 02 October 2005 20:42, Chuck wrote:
  On Sunday 02 October 2005 04:41 pm, Benedikt Boehm wrote:
 
  ok cool thanks... one more quick one...
 
 
  if i choose the latest 2005.1 standard p3 stage3 from the mirrors then
  overlayed the guest baselayout is that sufficient or are there other
  changes in the stage3 that i should stick with the older one?
 
 proably it will work, but not sure, i think you have to unmerge baselayout 
 before and without it you're not able to emerge anything...
 
 if you're familar with catalyst you could try the 
 http://dev.gentoo.org/~hollow/stages/build-stages script, it will build 
 stages for you, though we will upload new ones soon...
 
 
   On Sunday 02 October 2005 20:21, Chuck wrote:
On Sunday 02 October 2005 11:49 am, Chuck wrote:
   
with these new versions of base layout and util-vserver, do we still
need to put this into a post start script?
   
   
vattribute --xid 3407 --flag ^37
   
or is that now not needed?
  
   it is not needed with baselayout-vserver-{1.11.13-r1,12.0_pre8}, and
   0.30.208-r3 contains a patch which adds the cflags to vattribute, so you
   could do
  
   vattribute --xid 3407 --flag reboot_kill
  
   if you still need it for some guests...
  
   also look at http://home.xnull.de:8008/doc/en/vserver-howto.xml
   i updated it to make use of new tools included in 0.30-208-r3
  
   Cheers!
  
   ___
   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
 

-- 

Chuck

...and the hordes of M$*ft users descended upon me in their anger,
and asked 'Why do you not get the viruses or the BlueScreensOfDeath
or insecure system troubles and slowness or pay through the nose 
for an OS as *we* do?!!', and I answered...'I use Linux'. 
The Book of John, chapter 1, page 1, and end of book


___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver