Found this on the wiki. Worked like a champ. :-)

Regarding Fix #1 (xapi_version_override):
This doesn't seem to work with XCP 1.4.90 (but may work with later releases). 
For now, you need to do a binary patch of /opt/xensource/bin/xapi. Otherwise 
XenCenter will always recognize XCP as a very old XenServer release and this 
causes trouble in many situations. 

To do the binary patch, do the following on every XCP 1.4.90 host:

cd /opt/xensource/bin
/etc/init.d/xapi stop
cp -vp xapi xapi.original
sed -i 's/1\.4\.90/6.0.99/g' xapi
/etc/init.d/xapi start

After re-connecting XenCenter to the XCP host, it will be identified as a 
XenServer 6.0 host, enabling all the wonderful modern features and fixing some 
strange behavior you may have encountered before patching.
Btw., of course there is no 6.0.99 version of XenServer, but it should be the 
highest value the version identification of XenServer 6.0 should ever reach 
(unless there's a new service/feature pack or completely new version released), 
so it should be the best setting to get all features in XenCenter 6.0 for any 
6.0-compatible XCP release.

As mentioned above in the Fix #1 section, XenCenter will complain about the 
official XCP Xen Tools being outdated, since they also report 1.4.90 as version 
identification.

Taking the fixes for XenTools as described above and modifying them for XCP 
1.4.90, they now look like this:

On each Linux guest with xe-guest-utilities (Xen Tools) installed:
sed -i /usr/sbin/xe-update-guest-attrs -e 's/MajorVersion" "1"/MajorVersion" 
"6"/'
sed -i /usr/sbin/xe-update-guest-attrs -e 's/MinorVersion" "4"/MinorVersion" 
"0"/'
sed -i /usr/sbin/xe-update-guest-attrs -e 's/MicroVersion" "90"/MicroVersion" 
"99"/'

# wait 2 minutes and check XenCenter again (or just execute 
/usr/sbin/xe-update-guest-attrs )

On each Windows guest with Xen Tools installed, modify the following registry 
values:

Server 2003/XP - Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\XenTools
Server 2008 64-bit - 
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Citrix\XenTools

Name
Data (hex)
MajorVersion
6
MicroVersion
0
MinorVersion
99

(Only decimal values shown here, Windows Registry will show both decimal and 
hex.)

Then reboot the Windows guest or restart the 'Citrix Tools for Virtual Machine 
Service' service. 

Restarting XenTools on Windows command line (cmd) works like this:

net stop xensvc
net start xensvc

_______________________________________________
xen-api mailing list
[email protected]
http://lists.xensource.com/mailman/listinfo/xen-api

Reply via email to