[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Question about the best practice to install two versions of Xen toolstack on the same machine
Hi Meng,
I never install two xen (actually xen-tools) on the same server. However, I always hate to install xen-tools at default locations since that will mess the OS. Here is how I install xen-tools without overriding the privileged folders like /etc or /usr. Hope this can help. ENV: xen-4.6.1 and Ubuntu 14.04.3. You can easily install xen.gz by just modifying grub. Let's skip this. About xen-tools, e.g., my username is "zhang" and I want to install tools at /soft/xen. I always run the following with a script. 1. sudo mkdir /soft/xen & sudo chown zhang /soft/xen 2. sudo mkdir /var/lib/xen & sudo chown zhang /var/lib/xen 3. sudo mkdir /var/lib/xenstored & sudo chown zhang /var/lib/xenstored 4. ./configure --prefix=/soft/xen --sysconfdir=/soft/xen 5. make tools 6. make install-tools (do not use "sudo" or "su" in this step) 7. export LD_LIBRARY_PATH=/soft/xen/lib 8. PATH=$PATH:/soft/xen/bin:/soft/xen/sbin 9. export PYTHONPATH=/soft/xen/lib/python2.7/site-packages (this is for pygrub) 10. Goto /soft/xen and run "./init.d/xencommons" 11. Boot guest with xl for either pv, pvhvm or hvm, never tried pvh :) Hopefully, you can install different xen-tools at different locations and let them share the same /var/lib/xen and /var/lib/xenstored. 2016-05-23 15:02 GMT+08:00 Jan Beulich <JBeulich@xxxxxxxx>: >>> On 20.05.16 at 19:56, <mengxu@xxxxxxxxxxxxx> wrote: -- Dongli Zhang (张东立) finallyjustice.github.io _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |