Consulta de temas

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.

Identificación del artículo: SLN283551

Última fecha de modificación: 10/06/2014 01:34 PM


Califique este artículo

Preciso
Útil
Fácil de comprender
¿Este artículo fue útil?
No
Envíenos sus comentarios
Los comentarios no pueden contener estos caracteres especiales: <>"(", ")", "\"
Disculpe, nuestro sistema de comentarios está actualmente inactivo. Vuelva a intentarlo más tarde.

Muchas gracias por sus comentarios.