How to Apply Updates through Command Line Interface (CLI) on Citrix XenServer 6.x

How to Apply Updates through Command Line Interface (CLI) on Citrix XenServer 6.x

Article Summary: This article provides information on how to apply updates through command line interface (CLI) on Citrix XenServer 6.x.

  • Ensure you have a valid and tested backup of your host
  • If the host belongs to a pool, ensure you update the master host first
  • Download and unzip the hotfix on your workstation
  • Use your host console or SSH :
    • Live migrate all VMs off host or ensure all VMs are powered off on host :
      • # xe host-evacuate
    • If host belongs to a pool, disable HA on the pool :
    • # xe pool-ha-disable
    • # xe host-disable
    • # mkdir /root/backupdatabase
    • # xe pool-dump-database file-name=/root/backupdatabase/olddatabase
    • # mkdir /root/updates
    • Put host in maintenance mode :
    • Backup pool database :
    • Prepare for updates :
  • Transfer the .xsupdate and the .tar.gz2 files using SCP from your workstation to the '/root/updates' directory on the server
  • Apply updates via host console or SSH :
  • # xe patch-upload file-name=/root/updates/<hotfixfilename.xsupdate>
  • A UUID for the patch will be displayed
  • Notate the UUID
  • # xe patch-apply uuid=<UUID>
  • # xe patch-list
  • # reboot
  • Verify patch installation :
  • Reboot server :
Note: Citrix advises against running pools in mixed mode where you have hosts running multiple versions of XenServer. Best practice is to not leave your pools in mixed mode for any longer than necessary.

Quick Tips content is self-published by the Dell Support Professionals who resolve issues daily. In order to achieve a speedy publication, Quick Tips may represent only partial solutions or work-arounds that are still in development or pending further proof of successfully resolving an issue. As such Quick Tips have not been reviewed, validated or approved by Dell and should be used with appropriate caution. Dell shall not be liable for any loss, including but not limited to loss of data, loss of profit or loss of revenue, which customers may incur by following any procedure or advice set out in the Quick Tips.

문서 ID: SLN283551

최종 수정일: 10/06/2014 01:34 PM

이 문서 평가하기

이해하기 쉬운
이 문서가 도움이 되셨나요?
지원 미지원
피드백을 보내 주십시오.
의견에는 <>()\와 같은 특수 문자를 사용할 수 없습니다.
죄송합니다. 현재 피드백 시스템은 사용하실 수 없습니다. 잠시 후에 다시 시도하십시오.

피드백을 보내주셔서 감사합니다.