poniedziałek, 26 listopada 2012

XenServer - instalowanie patchy z CLI


Installing the update using the off-host CLI

  1. Download the update to a known location on a computer that has the XenServer CLI or XenCenter installed.
  2. Extract the xsupdate file from the zip.
  3. If using Windows, start a Command Prompt and navigate to the XenCenter directory, for example:
  4. cd C:\Program files\Citrix\XenCenter
  5. Upload the xsupdate file to the Pool Master by entering the following commands:
    (Where hostname is the Pool Master's IP address or DNS name.)
    xe patch-upload -s <hostname> -u root -pw <password> file-name=<path_to_update_file> XS60E016.xsupdate
    XenServer assigns the update file a UUID which this command prints. Note the UUID.
    46BC6C41-3889-41BE-B394-A4D8455A58E2

  6. Apply the hotfix to all hosts in the pool, specifying the UUID of the hotfix:
    xe patch-pool-apply uuid=<46BC6C41-3889-41BE-B394-A4D8455A58E2>
  7. Verify that the update was applied by using the patch-list command.
    xe patch-list -s <hostname> -u root -pw <password> name-label=XS60E016
    If the update has been successful, the hosts field will contain the UUIDs of the hosts this patch was successfully applied to. This should be a complete list of all hosts in the pool.
  8. The hotfix is applied to all hosts in the pool, but it will not take effect until each host has been rebooted. For each host, migrate the VMs that you wish to keep running, and shutdown the remaining VMs before rebooting the host.
  9. To verify in XenCenter that the update has been applied correctly, select the Pool, and then click the General tab. This displays the Pool properties. In the Updates section, ensure that the update is listed as Fully applied.    

Brak komentarzy:

Prześlij komentarz