Latest Entries »

There was an odd issue with one of my xenserver pools.  I looked at xencenter and found the following as offline pool SRs:

DVD drives
Local storage
Removable storage

Rather strange and I was too busy to review the log files for errors. I wasn’t sure when those appeared and of course nobody knew anything.

How to get rid of them?

Trying the GUI had no options to remove them.  Time for the command line.

Right-Clicking an entry and selecting properties, I copied the UUID.

I opened a shell and entered:

xe sr-forget uuid=<pasting the UUID>

Repeated two more times and the entries disappeared.

Back to regular work……


One of the odd things about xenserver (there are a few) is the way you configure a search domain for /etc/resolv.conf. You can’t simply edit the file and it’s not part of the install.

You have to use the xe commands to establish a permanent search domain.

From the console on the host:

  • You need UUID of the management NIC; the following command will list it:

xe pif-list host-name-label=<hostname> management=true

  • Add the search domain by entering:

xe pif-param-set uuid=<uuid from above> other-config:domain=<your domain>

Note: you can tab through the UUID by simply entering a couple letters and pressing the tab key.

To enter multiple search domains, simply separate by commas:

xe pif-param-set uuid=<uuid> other-config:domain=<domain>,<domain>

  •  Reboot the host and the search domain line appears in /etc/resolv.conf


Acknowledgement time!

Xenserver NIC teaming

Creating a bonded NIC can be a little confusing; especially when considering the options. I found a nice little blog post which discusses the process.

We were installing fiber Nics and somebody tried to assign the management interface IP on one of the new ports. The result of course was an IP conflict and system went offline.

In the Linux world, you simply access the console, change a couple entries in files and reboot.

Such is not the case with Xenserver.  I tried to simply reassign the management interface, but it did not work. I decided to use the XE commands to remove the IP from the offending port (in this case it was xenbr1).

Locate the UUID by entering : xe pif-list

Drop the IP information by entering : xe pif-reconfigure-ip mode=none uuid=<big string>

One nice feature of Xenserver in this matter is you can tab out parameters and the UUID info after enter a few characters.

The system did need a reboot.

I had a case where I was building an image for windows 2008. The host uses 10 GB NICs and for some reason, they were not recognized.

I would add them to the configuration, reboot and nothing happened. I installed Xentools and nothing happened. Thinking it might be the age old driver issue but I did not find any on the vendor site. Setup issue?

To get around this “feature;” you have to delete all NICs and then add the one you want.

A quick reboot and the network was available.


One thing I have noticed on the Net; information about Citrix can be lacking at times.

I had an instance where a resource pool was established and the thinking behind it was wrong. I wanted to destroy it. I started Xencenter and accessed the doomed pool. I removed all the extra Xenserver hosts by simply right-clicking the entry and selecting “Remove Server from pool”

When it came time to kill the master, there wasn’t an option. I tried the xe options of eject and forgetting but they gave errors.

As mentioned, the Net was lacking on information. So I basically started hunting around thinking “it can’t be a reload!” I didn’t want to go through patching again.

I looked at the Xencenter window tab for Pool and sure enough there was an interesting entry!

Make into standalone server

I selected the master host, clicked “Pool” and selected the option. It ran really fast and the pool entry disappeared with the server showing up at the bottom of list of resources. I expected it to reboot but it didn’t. I gave it a reboot for good measure and then added the ex-master as a host to the correct pool.


My adventures with Xenserver found a couple interesting problems today. The first I will leave for another post. This one involved trying to install an update: XS65E1003.

I was trying to install it via the updates wizard and when it came time to run the Prechecks; it would fail with the message:

Checking server side status ... failed with an unknown error.

Ever so helpful.

I ran the update a couple more times just to see if there was a bad download but the error continued.

The messages log didn’t show anything obvious then again I could have missed it.

I checked the Net to see if there was anything similar especially for the unknown error. I found similar errors but not exact.

I was reading through a problem with xenserver 6.2 and saw an interesting suggestion. From the shell enter:

xe vm-cd-eject --multiple --force

I figured why not? It couldn’t hurt as this pool was not in service yet.  It gave a few errors. Nothing is the CD/DVD drive and couldn’t talk to a host. I did notice there wasn’t a message for each system.

I re-ran the install and sure enough; it passed the prechecks.

Strange but expected considering Xenservers error messaging at times.

Normally, I would give a link to where I found the command to credit the person but for the life of me; I can’t find the page anymore. If I find it later, I will add a link.

I am migrating virtual machines from VMware workstation to our cluster. People were trying to save money and use the workstation product instead of getting another cluster.

I am using VMware vCenter Converter Standalone and one migration died. After correcting a couple things; I tried to rerun but received the following error:

A general system error occurred: Unexpected element tag “ConvertManager” seen while parsing serialized DataObject of type converter.AgentInstanceContent at line7, column 63 while parsing return value of type converter.ServiceInstanceContent, version converter.version.version2 at line 7, columen 0 while parsing SOAP body at line 6, column 0 while parsing SOAP envelope at line 2, column 0 while parsing HTTP response for method retrieveConent on object of type converter.ServiceInstance at line 1, column 0

I checked a few things but no obvious issues. This particular VM was part of a group with a similar configuration and they migrated successfully.

Since it crashed, I checked the programs control panel and found that VMware vCenter Converter Agent was installed.

The agent is installed as part of a conversion and is removed at completion. Since the effort failed, it was left in place. Usually, I can rerun without a problem but every so often the mentioned error happens.

I removed the agent (no reboot needed) and was able to initiate a conversion.

With our new XenApp effort; we are going to attempt VDI for our Linux users. Previously, we were using Sun Terminal servers but Citrix stopped supporting it awhile ago and now we have to change.

Our XenServer is version 6.5. Before you attempt to install xentools on any of your guests; make sure you have installed Service Pack 1 and all the suggested patching. Otherwise, you might find yourself having to update xentools again.

Installing Xentools is easier then I remember from a failed XenServer project a couple years ago. Well, the XenServer effort failed due to many mistakes by Citrix  and I probably flushed my brain of this experience as fast as possible.

To install Xentools on RedHat.

  1. Start XenCenter.
  2. Login into your Redhat guest as root.
  3. From XenCenter; click the link to install xentools or right-click your guest and select install xentools. This will load the ISO on the DVD.
  4. From your Redhat guest; enter:   mount /dev/dvd /mnt
  5. Enter: cd /mnt/Linux
  6. Enter:  ./
  7. Reboot after it finishes.

Surprisingly simple to do.

A couple years ago we attempted to use XenServer to offset the costs of VMware. We received the usual sales presentations but what was interesting was the main pitch seemed to be we were foolish to use VMware. Not exactly a great tactic but we were mandated to give it a go.  Xenserver had is quirks and it’s possibilities but ultimately it failed.

Citrix had promised 10 gig Ethernet support. They kind of stretched the definition as yes the NIC would work but the speeds were terrible. At best we saw 3 gig. This was due to their drivers being 32 bit and they wouldn’t give any idea of when this would be addressed.

Support was abysmal. Basically; they received their initial order which as only a small amount of licenses and basically disappeared. There was no after sales support to make sure things worked. It’s almost like they thought we weren’t going to blast VMware out of the company right away so why bother?

Training was terrible. A coworker and I went to a week course on Xen Administration. The Citrix training materials were awful! There was no editorial review at all. Paragraphs out of order. Labs would have 10 steps and even though they were numbered right the steps were really 1,2,5,6,3,8,4,7,9,10. My coworker stopped going but I tried to tough it out. The teacher tried his best to correct everything but much time was wasted. Citrix never responded to my complaints over the student material.

There were other issues but ultimately I was the only one left with a small cluster. It had to be abandoned when the company refused to re-up the licenses.

Fast forward a couple years.

We are going to redesign our XenApp farms. It needs an uplift and we are going to redesign our access. One issue is the old Sun terminal servers. Citrix stopped supporting this product awhile ago but we kept using it as the Linux alternative at the time was terrible. Now, we have Linux with VDI which means the use of XenServer.

The demo farm was pretty easy to setup as it is small and only meant to reintroduce ourselves and see what the new products will yield in our environment.

Xenserver hasn’t changed much.  It’s version 6.5 and so far it looks like it added missing features from 5.x and strengthened other areas. The 10 gig drivers should yield proper speeds as they are now 64 bit.

The Linux side for guests is still lacking. Citrix was mainly Windows for many years but seriously; shouldn’t you be able to setup a guest and install the OS via pxeboot? We cheated and allocated a 2012 shell with it looking to the network. When the guest booted, it looked to the network and our Kickstart server installed the OS. Mind you this is not a clean way to handle this. The virtual stuff in the background will treat the guest as a windows box. For our demo purposes; the work load will not be that heavy.  We won’t use this approach when we start setting up the production farm.

Thinking back to the class; the sad thing is I have learned more with 3 hours of the sales engineers time then I did with the class.

Overall, we are still in the setup phase but it’s looking good so far.