Welcome to Delicate template
Just another WordPress site

XenServer Trick (Linux Repository)

mayo 23rd, 2012 | Posted by cristiansan in CLI | TroubleShooting | XenServer

Two years ago I spoke in Citrix GeekSpealk Local in Barcelona about tools and some tips for XenServer.

As you know, XenServer is based on CentOS Linux. As a good Linux, XenServer have a online repository for software and you can actívate this , for download aditional software for análisis and troubleshooting. Or other packages as a FTP Server… you know.

Important: This change is not supported by Citrix. Any aditional service installed on server can cause poor performance and system crashes.

Ops, this is dangerous! But, it can help-me to analyce the server with some tools very interesting on Linux world.

How can I activate the repositoty?

This is a easy step that you can see in continuation:

Logon to XenServer console or through ssh client, and do:

 #cd /etc/yum.d.repo

 Here, we have the repo file.

 Citrix.repo <- Software Citrix Repository for XenServer updates

CentOS-Media.repo <- CD CentOS Repository

CentOS-Base.repo.orig <- Orginal Repository CentOS OS.

CentOS-Bae.repo <- Repository CentOS for edit .

If you edit this file, you can see that CentOS URL are commented with # and disabled. You can edit this file with text editor as VI and delete this # for activate the CentOS repositori and change the value of “enabled” from 0 to 1.

I active all repositoris on CentOS-Base except updates.

Be Carefull! One update in system and is posible that you need reinstall the server complete.

Now, it’s the momento for use “yum”

Firstly you need to upgrade the repository index. Type:

# yum upgrade

This is a upgrade without CentOS repos active:

After modify the repo file, and upgrade the server you can see this:

When finish the upgrade the repo list type NO INSTALL updates.

And now, is the momento to find now software for Troubleshoting our XenServer enviroments.

You can type:

# yum search ip <- search all packets that content the ip stream.

If you know the packet is moment the install this. For example, we install iptraf for monitoring de real time ip trafic on XenServer.

# yum install iptraf

Type Y and Install.

and boala! I have iptraf for XenServer.

In the next post, i talk about interesting tools for Troubleshooting and Monitoring XenServer.

Thanks for Folowme 😉

You can follow any responses to this entry through the RSS 2.0 You can leave a response, or trackback.

Leave a Reply

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *