Internal upgrade process

To perform the upgrade the mwg-update tool performs several internal activities. Knowledge of these activities can be useful for troubleshooting.

The activities that the tool performs are specified in an implementation file of the appliance system. The file name and path are: /usr/lib/ruby/1.8/mwg-config/mwgupdateOffline.rb.

To prepare the upgrade, the tool completes the following.

  • Perform validation checks on the ISO file that is used for the upgrade.
  • Copy all RPM packages of the ISO file to a local temp directory.
  • Create a repository named local, copy the RPM packages to this repository, and enable it.

To perform the upgrade, the tool executes this command:

  • yum upgrade -disablerepo=\* --enablerepo=local

The tool then completes the following post-upgrade activities.

  • Delete all temporary directories and files created for the upgrade including the local repository.
  • Reactivate all *.repo files in /etc/ yum.repos.d .