Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Configuration
    • There are two global configuration parameters:
      • *xen.update.url  - *URL to get latest Xenserver Updates.
      • *xen.update.check.interval (in sec) -  * How frequent update thread frequently should CloudStack check for Xenserver Updates.
  • User permission
    • Root-Admin would have privilege to list the available updates.

Architecture and Design description

...

Search for Host Updates

For Xenserver hypervisor, latest information about the updates for any version of Xenserver is available at this location : http://updates.xensource.com/XenServer/updates.xml

...

Parameter

Description

id

uuid of update

hostid

uuid of host

applied

if the patch/update is applied or not(true/false)

New cloudStack object:

update

...

...

DB Schema changes

New tables

  • host_updates  (id, uuid, label, description, after_apply_guidancelabel, url, timestamp)

    Field

    Type

    NULL

    Key

    Default

    Extra

    id

    bigint(20) unsigned

    NO

    PRI

    NULL

    auto_increment

    uuid

    varchar(40)

    NO

     

    NULL

     

    description

    varchar(999)

    YES

     

    NULL

     

    label

    varchar(40)

    YES

     

    NULL

     

    timestamp

    varchar(80) timestamp

    YES

     

    NULL

     

    url

    varchar(999)

    YES

     

    NULL

     

  • patch_host_ref  (id, host_id,patch_id, update_applied)

    Field

    Type

    NULL

    Key

    Default

    Extra

    id

    bigint(20) unsigned

    NO

    PRI

    NULL

    auto_increment

    host_id

    bigint(20) unsigned

    NO

    MUL

    NULL

     

    patch_id

    bigint(20) unsigned

    NO

     

    NULL

     

    update_applied

    tinyint(1)

    NO

     

    0

     

...

Step 1: Navigate to the detailView page of a host, there you will find a new tab "Updates".

Step 2: Click on* "Updates"* tab to get a list of updates for this host.