Table of contents

Set up repositories for installing Watson Studio Local

To install packages on Red Hat Enterprise Linux, you must have either an offline repository/Active Repository (RHEL Subscription or Internal Repository). Otherwise, Watson Studio Local might fail while it is installing packages.

Red Hat Enterprise Linux

You can get RHEL packages using either of two methods: an offline repository (such as the RHEL ISO file), or by subscribing the systems to Red Hat Repositories/Enabling internal repositories.

Method 1: Red Hat Subscription Manager
If possible, you can obtain packages through the Red Hat subscription. This subscription enables repositories linked to Red Hat.

If you have internal repos that can be utilized as well, consult your I.T. team to get the systems subscribed to these repos.

Method 2: Offline Repository
The following method mounts the Red Hat ISO and uses its built-in repository:
  1. Create a directory in the /mnt directory, for example, /mnt/iso.
  2. Copy the applicable ISO file to the system (retain the absolute path to the ISO file).
  3. Enter the following command to mount the ISO file and access its contents:
    mount -t iso9660 -o loop /{LOCATION_OF_ISO}
    /mnt/{DIRECTORY_NAME}/
    where LOCATION_OF_ISO is the absolute path to the ISO file and DIRECTORY_NAME is the absolute path to the directory made in /mnt.
  4. Create a file in /etc/yum.repos.d with the .repo extension, for example, rhel_iso.repo with the following contents:
    [RHEL_Repo]
    name = RHEL_Repo
    baseurl = file:///mnt/{DIRECTORY_NAME}/
    gpgcheck = 0
    where RHEL_Repo is the name of the file and DIRECTORY_NAME is the absolute path to the directory made in /mnt.
  5. As a test, try the following command:
    yum list | grep haproxy
    The result should show something like:
    haproxy.x86_64                        
    1.5.18-6.el7               RHEL_Repo
    If no result appears, this means an issue occurred with the set up of the offline repository.
RHEL RPM package requirements
For a RHEL installation, Watson Studio Local and glusterfs-server require the following RPM packages on every node (these packages can be installed before Watson Studio Local installation and are available in the Red Hat extras repo, for example, - subscription-manager repos --enable rhel-7-server-extras-rpms): "attr", "gssproxy", "keyutils", "libbasicobjects", "libcollection", "libevent", "libini_config", "libnfsidmap", "libpath_utils", "libref_array", "libtirpc", "libverto-libevent", "nfs-utils", "psmisc", "quota", "quota-nls", "rpcbind", and "tcp_wrappers".

Watson Studio Local requires the following RPM packages on every node, these packages can be installed before the Watson Studio Local installation: "socat" (for parent package kubelet) and "rsync".

For a RHEL installation, Watson Studio Local requires the following RPM packages on all master nodes: "haproxy" and "keepalived".

RHEL 7.3 requirement: Install the following package: "libselinux-python" before you install Watson Studio Local.