Archive/FreeBSD 64-bit HVM on XCP: Difference between revisions
Lars.kurth (talk | contribs) mNo edit summary |
Rcpavlicek (talk | contribs) m (moved FreeBSD 64-bit HVM on XCP to Archive/FreeBSD 64-bit HVM on XCP: Transition to XenServer.org) |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
== Instructions == |
|||
{{TODO|Migrate content to wiki after getting ACK from Egoitz Aurrekoetxea Aurre}} |
|||
In order to be able to run Freebsd 9.0-RELEASE or newer on XCP you should have a |
|||
See |
|||
XENHVM kernel and the Xentools installed from the FreeBSD xentools port (/usr/ports/sysutils/xen-tools). |
|||
* [http://lists.xen.org/archives/html/xen-api/2012-06/msg00137.html Mail Thread on xen-api] |
|||
* [http://lists.xen.org/archives/html/xen-api/2012-06/pdfBwuQRWpURg.pdf Instructions] |
|||
So, for summarizing : |
|||
* [http://lists.xen.org/archives/html/xen-api/2012-06/tarvG0F1rJq8O.tar Tar file with FreeBSD xentools port] |
|||
* Build and install HVM kernel. |
|||
* Build and install Xentools from ports (/usr/ports/sysutils/xen-tools). |
|||
* Build and install Bash shell from ports (/usr/ports/shells/bash). |
|||
* untar and place the proper location (as could be deduced) in the tar output the FreeBSD contributed XenserverTools. |
|||
So : |
|||
<pre> |
|||
x freebsd-xenservertools/ |
|||
x freebsd-xenservertools/etc/ |
|||
x freebsd-xenservertools/procfalse/ |
|||
x freebsd-xenservertools/usr/ |
|||
x freebsd-xenservertools/usr/local/ |
|||
x freebsd-xenservertools/usr/sbin/ |
|||
x freebsd-xenservertools/usr/sbin/escribe-ip-if.sh |
|||
x freebsd-xenservertools/usr/sbin/escribe-meminfo.sh |
|||
x freebsd-xenservertools/usr/sbin/xe-daemon |
|||
x freebsd-xenservertools/usr/sbin/xe-linux-distribution |
|||
x freebsd-xenservertools/usr/sbin/xe-update-guest-attrs |
|||
x freebsd-xenservertools/usr/local/etc/ |
|||
x freebsd-xenservertools/usr/local/etc/rc.d/ |
|||
x freebsd-xenservertools/usr/local/etc/rc.d/xe-daemon.sh |
|||
x freebsd-xenservertools/etc/freebsd-version |
|||
</pre> |
|||
* Create /procfalse |
|||
* do a ‘uname -r > /etc/freebsd-version’ from you’re shell as root. |
|||
* after that, just place files in proper places as seen before. |
|||
Finally... after booting the machine (or doing /usr/local/etc/rc.d/xe-daemon.sh start), you would be |
|||
able to enjoy of the Xen Cloud virtualization possibilities and so, you could see on right clicking on |
|||
the machine in XenCenter : |
|||
[[Image:freebsd90-cloud-screenshot.png]] |
|||
that you’re able for example to suspend or migrate de FreeBSD VM. |
|||
Available downloads : |
|||
* [http://postfixquotareject.ramattack.net/xenservertools-freebsd/freebsd-xenservertools-1.1.0.tar XenServerTools FreeBSD for XCP 1.1.0 MD5:e9638a4d4693d5c411ddcb3e6bd75982] |
|||
* [http://postfixquotareject.ramattack.net/xenservertools-freebsd/freebsd-xenservertools-1.5.0.tar XenServerTools FreeBSD for XCP 1.5.0 MD5:842d9d43f17b674be86c2f96ce9f79d6] |
|||
* [http://postfixquotareject.ramattack.net/xenservertools-freebsd/freebsd-xenservertools-1.6.0.tar XenServerTools FreeBSD for XCP 1.6.0 MD5:8f6fb9765de4cfd2e524255d8d4dbfd0] |
|||
This code is opened under [http://www.openbsd.org/policy.html OpenBSD license]. I will very happy of answering any kind of doubts of this scripts (data contact below). |
|||
== Thanks To == |
|||
I wanted to say I’m very thankful to my company SareNET who has allowed me to examine how |
|||
could I run FreeBSD in XCP and very thankful too to Dave Scott from Citrix because of the initial |
|||
ideas for getting this working. |
|||
== About the author == |
|||
Egoitz Aurrekoetxea |
|||
System's administrator-programmer |
|||
Email : egoitz@sarenet.es |
|||
[[Image:Sarenet.png]] |
|||
[[Category:XCP]] |
[[Category:XCP]] |
Latest revision as of 04:25, 26 June 2014
Instructions
In order to be able to run Freebsd 9.0-RELEASE or newer on XCP you should have a XENHVM kernel and the Xentools installed from the FreeBSD xentools port (/usr/ports/sysutils/xen-tools).
So, for summarizing :
- Build and install HVM kernel.
- Build and install Xentools from ports (/usr/ports/sysutils/xen-tools).
- Build and install Bash shell from ports (/usr/ports/shells/bash).
- untar and place the proper location (as could be deduced) in the tar output the FreeBSD contributed XenserverTools.
So :
x freebsd-xenservertools/ x freebsd-xenservertools/etc/ x freebsd-xenservertools/procfalse/ x freebsd-xenservertools/usr/ x freebsd-xenservertools/usr/local/ x freebsd-xenservertools/usr/sbin/ x freebsd-xenservertools/usr/sbin/escribe-ip-if.sh x freebsd-xenservertools/usr/sbin/escribe-meminfo.sh x freebsd-xenservertools/usr/sbin/xe-daemon x freebsd-xenservertools/usr/sbin/xe-linux-distribution x freebsd-xenservertools/usr/sbin/xe-update-guest-attrs x freebsd-xenservertools/usr/local/etc/ x freebsd-xenservertools/usr/local/etc/rc.d/ x freebsd-xenservertools/usr/local/etc/rc.d/xe-daemon.sh x freebsd-xenservertools/etc/freebsd-version
- Create /procfalse
- do a ‘uname -r > /etc/freebsd-version’ from you’re shell as root.
- after that, just place files in proper places as seen before.
Finally... after booting the machine (or doing /usr/local/etc/rc.d/xe-daemon.sh start), you would be able to enjoy of the Xen Cloud virtualization possibilities and so, you could see on right clicking on the machine in XenCenter :
that you’re able for example to suspend or migrate de FreeBSD VM.
Available downloads :
- XenServerTools FreeBSD for XCP 1.1.0 MD5:e9638a4d4693d5c411ddcb3e6bd75982
- XenServerTools FreeBSD for XCP 1.5.0 MD5:842d9d43f17b674be86c2f96ce9f79d6
- XenServerTools FreeBSD for XCP 1.6.0 MD5:8f6fb9765de4cfd2e524255d8d4dbfd0
This code is opened under OpenBSD license. I will very happy of answering any kind of doubts of this scripts (data contact below).
Thanks To
I wanted to say I’m very thankful to my company SareNET who has allowed me to examine how could I run FreeBSD in XCP and very thankful too to Dave Scott from Citrix because of the initial ideas for getting this working.
About the author
Egoitz Aurrekoetxea
System's administrator-programmer
Email : egoitz@sarenet.es