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

RE: [Xen-users] RE: Question about NFS domUs


  • To: "lsm_7" <luismi.amoros@xxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "Ian Tobin" <itobin@xxxxxxxxxxxxx>
  • Date: Fri, 2 Sep 2011 10:12:40 +0100
  • Cc:
  • Delivery-date: Fri, 02 Sep 2011 02:13:40 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: AcxpT1jQdyVTpZFUR5O2+ZHQzdwxzAAAJ4Qw
  • Thread-topic: [Xen-users] RE: Question about NFS domUs

Re the second point.

So your using a xen server also as an NFS server? I would probably
suggest you don't and have the NFS separate as you will be putting extra
load on the nfs/xenserver server.  If you are worried about nodes dying
then wouldn't it be better to cluster?



-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of lsm_7
Sent: 02 September 2011 10:01
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] RE: Question about NFS domUs

Thanks for the reply.

Could you explain me how to start a HVM domU via NFS?? It would very
useful for me... My domU configuration file is:

#
#  Kernel
#
kernel = '/usr/lib/xen-4.1/boot/hvmloader'
builder = 'hvm'

#
#  Hostname
#
name        = 'natty.i2cat.net'

#
#  Memory
#
memory = '1024'
shadow_memory = 8
acpi = 1
apic = 1

#
#  UUID
#
uuid = '0702dad0-644a-4263-9675-cec03359b677'

#
#  CPUs
#
vcpus = 1

#
#  Networking
#
device_model = '/usr/lib/xen-4.1/bin/qemu-dm'
vif = [ 'type=ioemu, mac=00:16:3E:FD:77:0A, bridge=eth1' ]

#
#  Disk device(s).
#
#disk = [ 'phy:/dev/vservers/natty.i2cat.net-disk,ioemu:hda,w',
#         'phy:/dev/cdrom,hdc:cdrom,r'
#         'file:/images/ubuntu-11.04-desktop-i386.iso,hdc:cdrom,r'
#       ]
root        = '/dev/nfs'
nfs_server  = 'chucknorris.i2cat.net'
nfs_root    = '/mnt/virtuals/natty'



boot='dc'
sdl=0

#
#  VNC Config
#
vfb = [ 'type=vnc,vncdisplay=96,vncpasswd=ubuntu' ]

serial='pty'
usbdevice='tablet'
localtime = 1

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

Related to the second question, I'm migrating virtual machines when my
nodes of the virtualization cluster are collapsed. Most of the nodes are
diskless, so their disk is mounted via NFS connected to a central node.
This central node has a partition in LVM for everyone of the diskless
nodes. Then, all domUs are executed in these nodes must be started via
NFS. But these domUs can be migrated to the central node, so domUs can
be started without NFS but the config should be changed... so it is not
a great idea... Then, the idea is to start all the domUs via NFS
independently of the node where it's executed. I don't know if my
explanation is clear...

I hope somebody can help me! 

Thanks

Luismi

--
View this message in context:
http://xen.1045712.n5.nabble.com/Question-about-NFS-domUs-tp4757870p4761
604.html
Sent from the Xen - User mailing list archive at Nabble.com.

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



_______________________________________________
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®.