WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Shared storage in Xen Cluster

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Shared storage in Xen Cluster
From: Stephan Seitz <s.seitz@xxxxxxxxxxxx>
Date: Fri, 04 Jan 2008 10:25:25 +0100
Cc: Stefan de Konink <skinkie@xxxxxxxxx>, chetan saundankar <chetan.lists@xxxxxxxxx>
Delivery-date: Fri, 04 Jan 2008 02:03:02 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <477D6412.1000201@xxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: netz-haut e.K.
References: <2e3912590801031435s762fcbdcyb631c0b67ebd31f7@xxxxxxxxxxxxxx> <477D6412.1000201@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.6 (X11/20071022)
Stefan de Konink schrieb:
> chetan saundankar schreef:
>> - 1 Image server (NFS)
> 
> If you go this way, test this with bonnie++ first, Linux will overcommit
> memory, and in my experience this will crash your Dom0.

I've migrated a few diskless machines without problems. These were formerly
booted via PXE, by now kernel and ramdisk are located at the respective dom0's,
also swap (formerly an nbd device) is now local at dom0.
The rootfs has been changed as for every other migration (adding kernel modules,
using xen-aware libc / moving /lib/tls out of reach, etc..)
I don't see any problems running these domU's. Well, disk I/O is about 40-90 
MB/sec.
during everyday use (not really much, but you get what you pay for, and there 
are
plenty of these machines sharing two GBit NIC's at physical level).

Below is my skeleton domU config:

#--------------------------------------------
kernel = '/boot/vmlinuz-2.6.18-xen_3.1.0'
vcpus = '1'
ramdisk = '/boot/initrd.img-2.6.18-xen-3.1.0'
memory  = '640'

#xenbr0 = external, xenbr1 = internal
vif  = [ 'bridge=xenbr1, mac=%%INT_MAC%%', 'ip=%%EXT_IP%%, bridge=xenbr0, 
mac=%%EXT_MAC%%' ]

root = '/dev/nfs 
nfsroot=192.168.100.1:/exports/sharedhosting/filesystems/%%HOSTNAME%%/root-x86_32,rsize=8192,wsize=8192
ip=::::::dhcp ro ramdisk_size=65535'

dhcp = 'dhcp'

disk    = [ 'phy:vg0/%%HOSTNAME%%-swap,sda2,w' ]

name    = '%%HOSTNAME%%'

on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'
#--------------------------------------------

Regards,

Stephan

Attachment: s_seitz.vcf
Description: Vcard

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users