Tag Archive: configuration

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!

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.