Versions Compared

Key

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

...

Once in a week, thread will check this location to search for updates and fill the database with available updates(if any) or admin can change the time interval to check the updates by changing the value of xen.update.check.interval global config parameter( by default interval is set to check the updates "Once in a week").

...

List Host Updates

http://10.102.125.207:8096/client/api?command=listHostUpdates&id=&hostid=&applied=true/false

...

New cloudStack object:

update

  • update label
  • updateId
  • description
  • after-apply-guidance
  • version
  • url
  • timestamp

DB Schema changes

New tables

  • host_updates (id, uuid, label, description, after_apply_guidance, url, timestamp)
    +-------------------------------------------------------------------------------+----------------------+
    | Field                          | Type                      | Null   | Key   | Default   | Extra               |
    +----------------------------------------------------

    Field

    Type

    Type

    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)

    YES

     

    NULL

     

    url

    varchar(999)

    YES

     

    NULL

     

    -----------------------------------------------------+

| id                               | bigint(20) unsigned | NO    | PRI    | NULL    | auto_increment |
| uuid                           | varchar(40)             | YES  |           | NULL   |                         |
| description                  | varchar(999)           | YES  |          | NULL    |                        |
| label                           | varchar(40)             | YES  |          | NULL    |                         |
| after_apply_guidance   | varchar(40)             | YES  |          | NULL    |                         |
| timestamp                  | varchar(80)             | 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          |                         |
        +--------------------------------------------------------------------------------+-----------------------+

...