[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.