[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] [xen4.4] DomU Windows server HVM with xen-tools xl create
Yes I am French. I saw your post on ubuntu-fr. So welcome to Xen world :) That should be a pretty long message so take a coffee and read it entirely. I will make errors here while writting :) Let do everything step by step hoping to reply to all your questions. Here is the plan 0) Did you have a good PC for Xen? I will try to reply 1) about PV domU and xen-create-image 2) about HVM domU 3) to reply to your mail PV domU? HVM domU? (This is my own point of view!) * PV domU: xen-create-image installs only a simple base Ubuntu machine (no desktop :) ). You have to install it yourself. Typically PV domU are usefull it you want a machine dedicated for a server only like a Web Server, a FTP server etc.... A graphical desktop can be installed by you have to do it yourself. You can access this throuhg a console (see #1 below). * HVM domU: Usefull for desktop. But you have to do the installation yourself from an ISO :( . To improve performance you need to be sure that your CPU has the expected features for this. 0) Your CPU is Intel(R) Core(TM) i5-4590 CPU @ 3.30GHz If you have a look at Then you will see Technologie de virtualisation Intel (VT-x) Yes So it means that you are lucky your CPU is good for Xen :). That is the first good new. In human language Vt-x means that you should be able to set up HVM domU (you should get good performance) Vt-d means that you should be able to access real "parts" of your PC through your HVM domU. By "parts" I mean graphical card, usb etc....I will not explain this here Now you have to check if your MB is OK. Your MB is H97M-G43(MS-7924) Virtualization is available for this MB :) . You have to check if it is available in your current BIOS version - Boot your PC - Go to your BIOS by pressing a button (here I can't tell you which one) - Try to find "virtualization". If there is something about "virtualization" then enable it. - Reboot your PC. If
you don't find anything in your BIOS then it just means that you are
currently using a BIOS version without this feature. But it does not
mean that your MB didn't support it. It just means that you have to
upgrade your own BIOS version. The only way to know it is to go on the manufacture of your MB and to check which one is available with "virtualization". FYI your latest BIOS versions are available at http://www.msi-bios.com/msi-bios-for-H97M-G43-with-MS-7924-and-version-2.html I will not explain here how to upgrade a BIOS for Linux (it should take another mail if needed! ) IMPORTANT NOTICE BEFORE GOING AHEAD : Don't try any command that you find on internet about grep 'vmx '/proc/cpuinfo'. Because if you boot your PC on a kernel with Xen then grep command above will return nothing. Check it yourself by doing steps below. Command above will work only but a kernel booted without Xen if "virtualization" is enabled in your BIOS. 1) For your post on ubuntu-fr xen-create-image will only set up a new PV domU . That's all. So there is no graphical server. You have to install it yourself. xen-create-image installs only a simple available domU (= no graphical desktop) When you start your PV domU to get the console (add -c option) xl create /path/to/your/configuration/file -c Then you will be on the PV domU console. If SSH is not installed then install it (sudo apt-get install openssh-server). After that you should be able to log through SSH. To log out from the console, press ""shift" + "5" ("5" from button where there is both "(" and "5" character not the pad number) Later you should be able to SSH on your PV domU and you should be able to install a X server plus KDE or LXDE etc. So you have to do this yourself. 2) For HVM and only for HVM Since you set 'vnc=1' in your configuration file and since you have LXDE on your dom0 start by installing vncviewer. Ok let me explain :) vnc=1 means that your domU will start with VNC available so you shoul be able to access GRAPHICALLY to your domU through any vnc client. You just need a VNC client on your dom0 a) sudo apt-get install xtightvncviewer That should install vncviewer. This is a VNC client. This one should be usefull b) Update your configuration file for HVM domU to point to a Ubuntu iso for installation. I am speaking here about the line 'file:/path/to/your/iso,xvdc:cdrom,r''. If you don't have a Ubuntu iso then download one c) Start your domU (xl create /path/to/your/configuration/file) e) Open a Linux terminal and run vncviewer IP_of_your_dom0 You should be able to see your graphical Ubuntu domU and do a normal installation 3) It is doable to acces a HVM domU when it is not started so you can copy/move files on one of the devices used by this domU. This is doable since you are using LVM. To do this you need to install kpartx (But here please be carefull since your experience with LVM is quite new if you do something wrong that it can break your system) sudo apt-get install kpartx kpartx -va /dev/vg/mydomU (-v and -a options will list all "parts" inside the disk used for volume /dev/vg/domU) You should get something like as output /dev/vg/domU1.... /dev/vg/domU2... etc You just need to use command 'mount' to mount one of the devices you need mount .... Once it is done then umount and use kpartx -vd /dev/vg/mydomU De : "estebann@xxxxxxxxx" <estebann@xxxxxxxxx> à : David TECHER <davidtecher@xxxxxxxx>; Ian Campbell <ian.campbell@xxxxxxxxxx>; "xen-users@xxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxx> Envoyà le : Lundi 12 octobre 2015 20h05 Objet : Re: [Xen-users] [xen4.4] DomU Windows server HVM with xen-tools xl create David TECHER
[...] dom tt depends french isn't it :) ? "'xl console' are for PV domU not for HVM domU." ah ok I had not seen this difference. My Xen host config (new PC) : - MB : H97M-G43(MS-7924) - CPU : Intel(R) Core(TM) i5-4590 CPU @ 3.30GHz - Dom0 OS : Ubuntu 14.04 LTS 64 bits with LXDE desktop manager and X server - Xen : 4.4.2 And my old remote PC. I use Remmina tool to access graphicaly to Dom0 and SSH to administrate Dom0. I want accessing DomU VM in the same way. I just found this, but it implies that I can access inside the DomU VM : http://wiki.linuxservertech.com/index.php?action=""> Le 12/10/2015 17:06, David TECHER a Ãcrit :
_______________________________________________ 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |