Configure remote syslog for XenServer via the command line

Citrix has some helpful documentation online about configuring remote syslog support for XenServer using the XenCenter GUI. However, if you need to do this via configuration management or scripts, using a GUI isn’t an option. Getting it done via the command line is relatively easy: HOSTUUID=`xe host-list --minimal` SYSLOGHOST=syslog.example.com xe host-param-set uuid=${HOSTUUID} logging:syslog_destination=${SYSLOGHOST} xe host-syslog-reconfigure host-uuid=${HOSTUUID} Removing the configuration and going back to only local logging is easy as well:...

2014-06-03 · 1 min · Major Hayden

Fedora 17 XVA ready to import into XenServer

After I wrote a post about my kickstart update for Fedora 17, I asked if anyone wanted a XVA export of a working Fedora 17 instance. Without further ado, here’s the bzip2-compressed XVA file ready to be decompressed and imported into XenServer: F17.xva.bz2 (221MB) The kickstart used to generate the XVA can be found on GitHub. To import this virtual machine export, use XenCenter or ssh to your XenServer instance and run:...

2012-06-04 · 1 min · Major Hayden

Fedora 17 released, XenServer kickstarts updated

Fedora 17 was released yesterday and you can download it now! In addition, I made some edits to my kickstarts repository on GitHub to match up with the final release of Fedora 17. The kickstart took less than ten minutes to complete even with a remote repository configured for RPM packages. Fedora & XenServer users: Would posting an actual XVA file for download make it easier for you to get started?...

2012-05-30 · 1 min · Major Hayden

Fedora 17 is a go!

I was glad to see the Fedora 17 Final is declared GOLD! announcement on the Fedora devel-announce list. If all goes well, we should see the formal release on May 29. As some of you might have noticed, I’m a fan of Xen. If you want to get Fedora 17 rolling in XenServer right now, just try my minimal kickstart. I’ll try to get a XVA/OVF-formatted image online in the next few days so you can hit the ground running if you’re in a hurry....

2012-05-25 · 1 min · Major Hayden

Installing XenServer 6.0.2 on an AOpen MP57

Getting XenServer installed on some unusual platforms takes a bit of work and the AOpen MP57 is a challenging platform for a XenServer 6.0.2 installation. My MP57 box came with the i57QMx-vP motherboard. If yours came with something else, this post may or may not work for you. You’ll need the XenServer 6 installation ISO burned to a CD to get started. Boot the CD in your MP57 and wait for the initial boot screen to appear....

2012-03-12 · 2 min · Major Hayden

Installing Fedora 16 in XenServer

Getting Fedora 16 working in XenServer isn’t the easiest thing to do, but I’ve put together a repository on GitHub that should help. The repository contains a kickstart file along with some brief instructions to help with the installation. If you’re ready to get started right now, just clone the repository: git clone git://github.com/rackerhacker/kickstarts.git kickstarts There are some big issues with Fedora 16 which cause problems for installations within XenServer:...

2012-02-12 · 1 min · Major Hayden

XenServer 6: Storage repository on software RAID

Although Citrix recommends against using software RAID with XenServer due to performance issues, I’ve had some pretty awful experiences with hardware RAID cards over the last few years. In addition, the price of software RAID makes it a very desirable solution. Before you get started, go through the steps to disable GPT. That post also explains an optional adjustment to get a larger root partition (which I would recommend). You cannot complete the steps in this post if your XenServer installation uses GPT....

2012-01-16 · 4 min · Major Hayden

XenServer 6: Disable GPT and get a larger root partition

XenServer 6 is a solid virtualization platform, but the installer doesn’t give you many options for customized configurations. By default, it installs with a 4GB root partition and uses GUID Partition Tables (GPT). GPT is new in XenServer 6. I’d rather use MBR partition tables and get a larger root partition. If you want to make these adjustments in your XenServer 6 installation, follow these steps after booting into the XenServer 6 install disc:...

2012-01-13 · 2 min · Major Hayden