LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Xen + AoE + LVM2 (https://www.linuxquestions.org/questions/linux-server-73/xen-aoe-lvm2-703440/)

vasco2009 02-09-2009 04:04 PM

Xen + AoE + LVM2
 
Hello

I'm starting in virtualization, and I need some help.
Is it possible to create a virtual machine who use an LVM volume on a remote server via Ata over ethernet.
Can I share an LVM volume from the aoe server with all others servers
Est-ce que si je copy des fichier du volume partager sur le volume root cela s’effectuera en local, ou les donné passerons par le réseaux.
And if I copy some files from the shared LVM volume to the root LVM volume of the virtual machine, the data will transit by the network or in local host ?

An image will speak better

http://nemesis.euskill.com/vm/gif_1.gif

anyone now good website for XEN and LVM2 ?

can I install Enomalism on debian, if someone have a howto. http://www.enomalism.com/

Thanks a lot

Thomas Schneider

Matey 02-11-2009 08:12 AM

Quote:

And if I copy some files from the shared LVM volume to the root LVM volume of the virtual machine, the data will transit by the network or in local host ?
You can do either.
You can manually copy files into the VM by mounting it first , also umount it then run xen via xm create, then you can also ssh to it from any place including the host.
(for xen);
http://www.howtoforge.com/

this is pretty good for LVM;

http://www.faqs.org/docs/Linux-HOWTO/LVM-HOWTO.html


BTW, I use chroot when I cd to the mounted xen machine let's say the name is xen1 so I do this\
mount /dev/whatever VLM-VG you created/xen1 /mnt/xen1/
then chroot /mnt/xen1/
then you can use commands like passwd to set/change root's password for the virtual machine you created etc. but as a caution use the same password you used for the host machine just in case.

then you can exit the chroot,,umount and then run xen's xm command.
good luck...
oh and dont forget to use mkfs.ext3 for the LVM...and mkswap if you have a swap file.

vasco2009 02-12-2009 08:27 AM

thanks
 
I will try that.

basicly i want to host the dard drive of the vm on SAN network but without Fiber Channel. if you have athers ideas keep me informed.

thanks for your help

see you


All times are GMT -5. The time now is 09:16 PM.