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. Default value for it is http://updates.xensource.com/XenServer/updates.xmlImage Removed;
      • update.check.interval (in sec) - How frequently should CloudStack check for Xenserver Updates. By default CloudStack will check for new updates once a week.
  • User permission
    • Root-Admin would have privilege to list the available updates.

...

Architecture and Design description

Search for Host Updates

...

  • When thread runs to search for updates, this thread will:
    1. Create a temp file and fill it with the latest information about the updates

...

    1. applicable to the connected hosts from a given source URL. In case of XenServer, the URL is http://updates.xensource.com/XenServer/updates.xml .
    2. Search the released patches from file for applicable XenServer version.
    3. Fetch the information about the already applied patches.
    4. Compare the list of available patches with the list of already applied patches.
    5. Prepare a list of patches that are not yet applied.
    6. Fetch the details about these patches from the temp file.
    7. Fill the patch details into host_updates table.
    8. Enter a corresponding entry into patch_host_ref table.

Admin 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").

...