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

Re: [Xen-users] Some questions about Networking and storage.



Thank you so much.
For setting up a network must I edit my "eth0" file or if I use "vif=[ 'bridge=mybridge' ]" in DomU configuration it is enough?
For storage, If I understand, I can use my Physical partition for my Guest and use a Virtual HDD also. Can you show me how can I setting up a Real partition and a Virtual partition for my guest?

I'm a young in Xen.


On Friday, May 6, 2016 6:22 AM, Simon Hobson <linux@xxxxxxxxxxxxxxxx> wrote:


Jason Long <hack3rcon@xxxxxxxxx> wrote:

> I want to start my first VM via Xen and need your advice :
> 1- How can I setup a NIC for my VM? Is it Bridge?

http://wiki.xenproject.org/wiki/Xen_Networking
Decide how you want your guests to access the network(s) and work from there. All of my servers use virtual switches (bridges).


> 2- My computer have two partitions and I want to dedicate second partition for my VMs, Must I create LVM or...? How can I dedicate 80 GB virtual HDD to my VM?


http://wiki.xenproject.org/wiki/Storage_options
That's much more a matter of preference. You can use files in the hosts filesystem, or separate partitions (usually LVM for flexibility). And when using partitions, you can use one partition per guest and let the guest partition it as though it was one big virtual disk; or you can have one partition per guest volume.
Personally, I use LVM and create a logical volume for each separate filesystem on the guest - so there'll be an LVM volume for ${guest}-root, another for ${guest}-var, and so on. But that's just my preference.


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

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