Configuring operating system yum repositories for nodes using Red Hat Enterprise Linux
Before you install IBM Cloud Manager with OpenStack on the deployment server, your controller node and Linux compute nodes that are using Red Hat Enterprise Linux must have access to yum repositories that contain operating system and additional software packages. These packages are required when IBM Cloud Manager with OpenStack is installed and OpenStack is deployed.
About this task
- RDO repositories are not supported because they contain packages that conflict with IBM Cloud Manager with OpenStack.
- For the Red Hat Enterprise Linux operating system, configure fixed Red Hat Enterprise Linux 7.1, 7.2, 7.3, 7.4, 7.5, 7.6 yum repositories that match the current operating system version. Do not use Red Hat Subscription Management or configure the update yum repository. Otherwise, your node operating system will be updated to a higher version while deploying OpenStack.
- You can use a local mirror of yum repositories. Important: You must configure the local yum repository by adding a repository file in the /etc/yum.repos.d/ directory, instead of adding a yum repository configuration section into /etc/yum.conf. The IBM Cloud Manager with OpenStack deployment process will configure /etc/yum.conf on the node and your configuration will be overwritten.
If you choose this option, the yum repositories must be configured on the nodes before installing IBM Cloud Manager with OpenStack and deploying OpenStack and must include local mirrors of the Optional and Supplementary channels.
- If you cannot use a local mirror of yum repositories on the nodes in your deployment
environment, you can set up the deployment server to serve as a yum repository. When the deployment
server is configured as a yum repository, the yum repositories are configured on the nodes
automatically when OpenStack is deployed. To use
this option, your deployment server must first be configured with a local mirror of yum
repositories.
If you choose this option, complete the following instructions for setting up the deployment server to serve as a yum repository after installing IBM Cloud Manager with OpenStack, but before deploying OpenStack.
Set up the deployment server to serve as a yum repository
- These instructions apply only if a local mirror of yum repositories cannot be used on the nodes in your OpenStack deployment environment.
- On the deployment server, you must set up a local mirror of yum repositories according to the previous options described before installing IBM Cloud Manager with OpenStack.
- You can set up the yum repository on the deployment server or the controller node.
The operating system installation media for the node system contains all of the packages that are required to deploy OpenStack. You can access the operating system installation media by inserting the installation media for the node into the DVD device or by mounting the installation ISO image for the node system. The operating system optional channel installation media for the node system contains all of the optional packages that are required to deploy OpenStack. You can access the operating system optional installation media by inserting the installation media for the node into the DVD device or by mounting the installation ISO image for the node system.
The deployment server is configured to serve these packages from the following locations:
<installation directory>/yum-repo/operatingsystem/<platform><platform version>/<architecture>
<installation directory>/yum-repo/operatingsystem/<platform><platform version>/<architecture>/optional
- installation directory
- The location where IBM Cloud Manager with OpenStack is installed, typically /opt/ibm/cmwo.
- platform
- The platform of the node system. For example, redhat or ibm_powerkvm.
- platform version
- The version of the operating system on the node system. For example, 7.4 or 2.1.
- architecture
- The architecture for the node system. For example, x86_64 or ppc64.
/opt/ibm/cmwo/yum-repo/operatingsystem/redhat7.4/x86_64
/opt/ibm/cmwo/yum-repo/operatingsystem/redhat7.4/x86_64/optional
In
this example, replace redhat7.4
with your version of Red Hat Enterprise Linux.
- python-zope-interface
- python-pyasn1-modules
/opt/ibm/cmwo/yum-repo/operatingsystem/redhat7.1/ppc64
/opt/ibm/cmwo/yum-repo/operatingsystem/redhat7.1/ppc64/optional
In this example, replace redhat7.1
with your version of Red Hat Enterprise Linux.
/opt/ibm/cmwo/yum-repo/operatingsystem/ibm_powerkvm2.1/ppc64
/opt/ibm/cmwo/yum-repo/operatingsystem/ibm_powerkvm2.1/ppc64/updates