Versions Compared

Key

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

...

  • Requirements
    • Surface up the list of all released updates available updates applicable to XenServers hosts being managed by CloudStack and display them by means of APIs or on CloudStack UI dashboard so that admin can have the list of available updates and take appropriate action to install them manually.
  • Non-requirements
    • CloudStack will only list the available applicable updates and it is not responsible for applying the updates on the host.
  • 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.xml;
      • update.check.interval (in sec) - How frequently should CloudStack check for Xenserver Updates. By default CloudStack will check for new updates once a week.
      • host.updates.enable - To enable or disable the functionality based on admin demand.
  • User permission
    • Root-Admin would have privilege to list the available updates.

...

This hostUpdates feature will come as a separate plugin which will enumerate all the hosts managed by CloudStack to provide the udpates. We This will use this PluggableService to add the HostUpdate feature APIs into CloudStack, so for that we will add the HostUpdatesService as a seperate service in the components.xml. The manager from HostUpdates plugin will find this entry and call the HostUpdatesService to handle API calls.  We will build this plugin as a seperate target, so we will get a .jar file to use hostUpdates functionality. and the *HostUpdatesManager will be responsible for thread scheduling. This functionality will be contained in an independent jar file.

Search for Host Updates

At regular intervals, update.check.interval, management server will look for all available updates for a Hypervisior. For Xenserver, it'll downloads the latest update information from http://updates.xensource.com/XenServer/updates.xml. The location is configurable through xen.update.url in global configuration.

...