XCP updates should be available via the following:

# yum --enablerepo xcp --nogpgcheck update

The following file should be on your system, if it is not please create it

# cat /etc/yum.repos.d/
CentOS-Base.repo       CentOS-Media.repo      xcp.repo
CentOS-Debuginfo.repo  CentOS-Vault.repo
[root@xs-03 ~]# cat /etc/yum.repos.d/xcp.repo
[xcp]
name=XCP 1.6 Updates
baseurl=http://downloads.xen.org/XCP/repo/xcp-1.6.10/
enabled=0

There's currently one patch in that rep at the moment. Generally speaking I 
would say not to patch XCP from the XenServer release except in cases of 
critical security issues... which should (hopefully) be in this repo in the 
future. From what I understand, they're trying to get better about it.

If it were XCP1.1, I would say you're OK installing patches from 5.6 series, 
and there are instructions on how to decrypt and apply the patch manually 
through rpm. This process is as follows:


1.       Download the zip

2.       Unzip it

3.  Unencrypt and verify it:
# gpg -nomedir /opt/xensource/gpg/ --no-default-keyring -keyring 
/opt/xensource/gpg/pubring.gpg -decrypt XS56XXXXXXXX.xsupdate | dd s=4k skip=1 
| tar xv

4.  The result will be a bunch of files, and the fix's RPM file

5.  Upgrade using rpm:
# rpm -U <rpm file>

It should be noted that these instructions are dated, and are not recommended 
for 1.6.x. I highly recommend sticking to the XCP repo update path.

- Brian Menges
Principal Engineer, DevOps
GoGrid | ServePath | ColoServe | UpStream Networks

From: xen-api-boun...@lists.xen.org [mailto:xen-api-boun...@lists.xen.org] On 
Behalf Of Edwards, Nick, Vodafone Group
Sent: Tuesday, March 26, 2013 04:56
To: xen-api@lists.xen.org
Subject: [Xen-API] Xenserver 6.1 hotfixes for XCP 1.6

Hi,

I am running XCP 1.6.10 (61809c) and I have been looking at installing hotfixes 
as there do not appear to many if any that are available for XCP 1.6.

I have been looking into this and as some of you I'm sure have already 
discovered it is not possible to install Xenserver 6.1 hotfixes on XCP. I was 
receiving the following from the cli when trying to apply an uploaded fix:

[root@xen2 ~]# xe -s localhost -u root -pw password patch-pool-apply 
uuid=89699bc9-fb15-49e9-9d7b-05e0eb49114d
The uploaded patch file is invalid.  See attached log for more details.
log: Could not find element %s

It turns out the problem was caused by the wrong server version:

[root@xen2 ~]# gpg --homedir /opt/xensource/gpg/ --no-default-keyring --keyring 
/opt/xensource/gpg/pubring.gpg --output hotfix.unsigned --decrypt 
<XSUPDATE.the_filename>

[root@xen2 ~]# sh hotfix.unsigned precheck
<error errorcode="PATCH_PRECHECK_FAILED_WRONG_SERVER_VERSION">
    <found></found>
    <required>^6\.1\.0$</required>
</error>

Makes sense of course as this is XCP. I then added the following line to 
/etc/xensource-inventory:

PRODUCT_VERSION='6.1.0'

After adding this I am able to get the hotfixes to install no problem.

This is all good, however I would like to know whether this is a good idea or 
not? If it will cause problems elsewhere and also if the Xenserver 6.1 updates 
could also cause certain incompatibilities etc? As I understand things the 
builds are very similar and coming from the same source tree (I might be wrong 
here).

Advice and thoughts gratefully received!

Thanks,

Nick





________________________________
The information contained in this message, and any attachments, may contain 
confidential and legally privileged material. It is solely for the use of the 
person or entity to which it is addressed. Any review, retransmission, 
dissemination, or action taken in reliance upon this information by persons or 
entities other than the intended recipient is prohibited. If you receive this 
in error, please contact the sender and delete the material from any computer.
_______________________________________________
Xen-api mailing list
Xen-api@lists.xen.org
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

Reply via email to