Set up repositories for installing DSX Local
To install packages on Red Hat Enterprise Linux, you must have either an offline repository/Active Repository (RHEL Subscription or Internal Repository). Otherwise, DSX 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:
- Create a directory in the
/mnt
directory, for example,/mnt/iso
. - Copy the applicable ISO file to the system (retain the absolute path to the ISO file).
- Enter the following command to mount the ISO file and access its contents:
wheremount -t iso9660 -o loop /{LOCATION_OF_ISO} /mnt/{DIRECTORY_NAME}/
LOCATION_OF_ISO
is the absolute path to the ISO file andDIRECTORY_NAME
is the absolute path to the directory made in/mnt
. - Create a file in
/etc/yum.repos.d
with the.repo
extension, for example,rhel_iso.repo
with the following contents:
where[RHEL_Repo] name = RHEL_Repo baseurl = file:///mnt/{DIRECTORY_NAME}/ gpgcheck = 0
RHEL_Repo
is the name of the file andDIRECTORY_NAME
is the absolute path to the directory made in/mnt
. - As a test, try the following command:
The result should show something like:yum list | grep haproxy
If no result appears, this means an issue occurred with the set up of the offline repository.haproxy.x86_64 1.5.18-6.el7 RHEL_Repo
- Create a directory in the
- RHEL RPM package requirements
- For a RHEL installation, DSX Local and glusterfs-server require the following RPM packages on
every node (these packages can be installed before DSX 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".DSX Local requires the following RPM packages on every node, these packages can be installed before the DSX Local installation: "socat" (for parent package kubelet) and "rsync".
For a RHEL installation, DSX 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 DSX Local.