Xenserver6.2升级补丁方法

Xenserver6.2升级补丁方法

Xenserver6.2开源了,但是没有license是无法通过XenCenter来升级补丁了。可以通过XenCenter来检测补丁但是无法直接安装,不过办法还是有的,只是稍微麻烦一点点。先进Tools-Check for Updates,可以看到需要安装的补丁列表,按照提示进Citrix官网把需要下载的补丁下载下来解压缩。

在下载补丁的时候 会有详细说明
Customers running the licensed version of XenServer can apply the hotfix using XenCenter or the XenServer Command Line Interface (CLI). Customers running the unlicensed version of XenServer can only use the CLI to apply the hotfix.

从提示来看,是可以通过CLI方式来升级补丁。

下面以xenserver6.2升级SP1补丁为例:

1、下载XS62ESP1.zip,解压缩得到XS62ESP1.xsupdate,路径:D:\XS62ESP1\XS62ESP1.xsupdate

2、使用本地的XE程序将升级补丁上传校验,得到服务器UUID。运行CMD,

cd C:\Program files\Citrix\XenCenter

xe patch-upload -s 192.168.1.30 -u root -pw 123qwe! file-name=D:\XS62ESP1\XS62ESP1.xsupdate

得到一串数字0850b186-4d47-11e3-a720-001b2151a503

3、使用服务器UUID进行升级。

xe -s 192.168.1.30 -u root -pw 123qwe! patch-pool-apply uuid=0850b186-4d47-11e3-a720-001b2151a503

4、升级完成后自动回到命令行。关闭命令行,使用XenCenter的tools——check for updates进行检查,确认升级是否成功。

备注:命令行里面的s为XenServer的IP地址,u为root账户,pw为root对应的密码。

dinghui.org

关注虚拟化及IT技术发展!

发表评论


The reCAPTCHA verification period has expired. Please reload the page.