5.4.1.2 Adding Packages to a Yum Repository

If your existing Oracle VM Servers have additional packages installed, such as third-party Oracle VM Storage Connect plug-ins, you need to add these packages to the Oracle VM Server 3.3 Update Repository to make sure they are preserved or upgraded during the upgrade process. All additional packages that you want to preserve, must be compatible with Oracle Linux 6.

To add packages to a Yum repository:

  1. Download the packages from the appropriate vendors.

  2. Copy the packages into the Server/Packages directory in the Oracle VM Server 3.3 Update Repository, for example:

    # cp osc-sun7k.rpm /var/www/repos/Server/Packages/
  3. Make sure that you have changed directory so that you run the following commands from the root of the Oracle VM Server 3.3 Update Repository, for example:

    # cd /var/www/repos/Server
  4. Find the repository configuration file:

    # find ./ -name "*comps-ovs-core.xml"
    ./repodata/3bbd98ef14e1e62734b8df6360825010001323218736-comps-ovs-core.xml
  5. Use the filename for the repository configuration to recreate the repository:

    # createrepo -g ./repodata/3bbd98ef14e1e62734b8df6360825010001323218736-comps-ovs-core.xml ./