Re: [Vserver] vserver-admin install error

2004-06-02 Thread Herbert Poetzl
On Tue, Jun 01, 2004 at 02:34:19PM -0400, Guarino, Kenneth (ETSD) wrote:
 Hi,
  I've downloaded util-vserver-0.29.4.tar.bz2, compiled and installed it
 (with no complaints) using the instructions in the INSTALL file.
 It did not create newvserver. Is there a new install/configuration tool or
 do I need to install a different package ?

newvserver is not part of util-vserver, but it
should be possible to use the script from an
older vserver tools package ... (I'd suggest
vserver 0.26 or 0.28)

the new alpha util-vserver tools support a
completely different scheme for vserver
creation see ...

http://www.linux-vserver.org/index.php?page=alpha+util-vserver

HTH,
Herbert

 Thanks
 
 -Original Message-
 From: Herbert Poetzl [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, May 26, 2004 11:15 AM
 To: Guarino, Kenneth (ETSD)
 Cc: '[EMAIL PROTECTED]'
 Subject: Re: [Vserver] vserver-admin install error
 
 On Wed, May 26, 2004 at 10:10:26AM -0400, Guarino, Kenneth (ETSD) wrote:
  Hi,
  I'm a Linux and vserver newbie.
  Linux 2.4.25-vs1.27
  My Installation was going great until I got this error trying to install
  vserver-admin
  
  [EMAIL PROTECTED] kjshark]# rpm --install vserver-admin-0.29-1.i386.rpm
  warning: vserver-admin-0.29-1.i386.rpm: V3 DSA signature: NOKEY, key ID
  687255b5
  /usr/lib/linuxconf/lib/shellmod-control: relocation error:
  /usr/lib/linuxconf/li
  b/shellmod-control: undefined symbol: __vt_12SSTRING_KEYS
  error: %post(vserver-admin-0.29-1) scriptlet failed, exit status 127
  
  How do I fix this ?
 
 by not installing it, where do you have it from?
 
 please use util-vserver (0.29.4 or 0.29.5) as
 suggested on the download page:
 
 http://www.13thfloor.at/vserver/s_release/v1.27/
 
 ps, you should be able to recompile the tar 
 package with rpm -tb util-vserver-0.29.4.tar.bz2
 (or rpmbuild)
 
 best,
 Herbert
 
  ___
  Vserver mailing list
  [EMAIL PROTECTED]
  http://list.linux-vserver.org/mailman/listinfo/vserver
 ___
 Vserver mailing list
 [EMAIL PROTECTED]
 http://list.linux-vserver.org/mailman/listinfo/vserver
___
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] VServer, heartbeat and drbd

2004-06-02 Thread Gebhardt Thomas
On Friday 28 May 2004 02:04, Lucas Albers wrote:

Hi,

 Could you post more details about this?

 1.The startup script you have for a vserver which does the arp takeover.
 Assume listed in /etc/vservers/servername.sh
#!/bin/sh
case $1 in
pre-start)
/usr/lib/heartbeat/send_arp eth1 ip-addr mac-addr  brdcast-addr 

# this is for the router (may be redunant):
   /usr/lib/heartbeat/send_arp eth1 ip-addr mac-addr  router ip-addr


 How do you disable rebootmgr if you are using vserver?
Just disabling the startup-script:
update-rc.d -f rebootmgr remove  (debian)

 Does this break other items?
You cannot reboot the vserver from inside.
If you need this feature, you should propably use the
new reboot userspace helper.

 2.) Your Heartbeat script.
harsources:
node1   datadisk::drbd0 vserver::vservername \
MailTo::mail-addr::vservername

 3.) Your Sample drbd config.
(I should probably not use protocol B)

resource drbd0 {

  protocol=B
  fsckcmd=fsck -p -y

  disk {
disk-size=1G
  }

  net {
sync-max=50M
sync-group=0
  }

  on node1 {
device=/dev/nb0

# btw, don't do this.
# did you notice that in this example we have two drbd devices
# on the same spindle (hda)?  performance will be bad.  if you
# use several drbd devices, put them on different spindles;
# different channels/controllers won't be a bad idea for IDE.

disk=/dev/linux_vg/vserver_lv
address=ip-addr
port=7789
  }

  on node2 {
device=/dev/nb0

# and while we are at it,
# if drbd throughput is low, please check your disk
# throughput first. maybe you need to enable DMA? (- man hdparm)

disk=/dev/linux_vg/vserver_lv
address=ip-addr
port=7789
  }
}

 Any other changes you had to make to vserver to get this to work.
 I'll go ask on the drbd list for more drbd specific information.
 Thanks.
The heartbeat vserver resource script is just a copy (or symlink) to the
vserver script.

Hope that helps, Thomas
___
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] network interface in vs 1.9.1

2004-06-02 Thread Bert De Vuyst

Hello,

I have a test setup running vs 1.9.1 on a stock 2.6.6 kernel, using 
util-vserver 0.29.214.
To get the networking running in the vservers, I had to create the file name 
in the /etc/vservers/VSERVER-NAME/interfaces/0/
The documentation of the util-vserver package suggests this file is a option.
Is this a bug? 

host: debian sarge
vserver: debian woody

Best regards,

Bert.
___
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver