Chapter 2. Install prerequisites for Red Hat Discovery
Discovery requires specific hardware, software, and environment configurations. You must install Discovery on a dedicated system that does not run any other workloads.
Discovery is a containerized solution that can be deployed on any RHEL or OpenShift Container Platform platform. The following documentation is written for Discovery installed on a dedicated RHEL system. No warranty or support is offered for installation on a nondedicated system.
- Install the following requirements for hardware, software, and the environment in which you are going to install and use Discovery.
2.1. Hardware prerequisites Copy linkLink copied to clipboard!
The system on which you install Red Hat Discovery must meet or exceed these hardware requirements:
- CPU: 2 core minimum, with a recommended 4 cores
- RAM: 2 GB minimum, with a recommended 4 GB
- Disk Storage: 30 GB
Red Hat Discovery uses rootless Podman, which, by default, stores containers in the following filepath: ${HOME}/.local/share/containers. Ensure that the partition that contains this directory has at least 30 GB of storage. If Podman is configured to use a non-standard directory for container storage, ensure that the configured directory has 30 GB of storage.
2.2. Software prerequisites Copy linkLink copied to clipboard!
The system on which you install Red Hat Discovery must meet these software requirements:
- Operating system: The latest version of Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, or Red Hat Enterprise Linux 10, installed as a clean install and specifically not upgraded from Red Hat Enterprise Linux 7 or any previous version.
The system must have
cgroups v2enabled and active. You can verify by running the following read-only command as a regular, not-root user. If it outputscgroup2fs, thencgroups v2is enabled.stat -fc %T /sys/fs/cgroupThe system must have a supported version of Podman installed, and its filesystem must have
d_typeenabled to support Podman container storage. You can verify thatd_typeis enabled by running the following read-only command as a regular, not-root user. If it outputstrue, then Podman is installed withd_typeenabled.LANG=C LC_ALL=C podman info | awk -F': ' '/Supports d_type/ {print $2}'
Installing and running Discovery requires a supported version of Red Hat Enterprise Linux with the Podman container tool. The Podman package is included with Red Hat Enterprise Linux 8 and later, so you are not required to obtain the Podman package separately. You need sudo privileges to install Podman if it is not yet installed, and you need Podman version 4.9.4 or later to successfully install Discovery.
The Discovery documentation is written for the most recent version of the Red Hat Discovery RPMs and container images installed on your system. No warranty or support is offered by Red Hat if the version of Discovery used is obsolete.
2.3. Other environment prerequisites Copy linkLink copied to clipboard!
Review environment requirements for both the Red Hat Discovery server system and the systems in your IT infrastructure that you plan to scan.
In your network:
- If you want to use Discovery to scan a network that contains multiple air-gapped environments, you must install a Discovery server for each of those air-gapped environments.
On the system where Red Hat Discovery is installed and running:
- The system onto which Red Hat Discovery will be installed and run must be dedicated to Discovery work only and must not be used for either development or production work.
-
Do not run any
discoveryctlcommands as therootuser or by usingsudoorsu. Doing so will result in a broken installation. Podman is installed on the system during the installation process if it is not already present.
- For a disconnected installation, Podman will be installed on both the connected system and disconnected system if it is not already present.
The system must have an internet connection to access Red Hat subscription management services and Red Hat content.
- For a disconnected installation, the connected system on which you are downloading the containers must meet this requirement.
A Red Hat subscription must include access to the Discovery repository for the Red Hat Enterprise Linux version and system architecture. As part of the installation process, enable this repository on the system using
subscription-managerand install binary packages from it usingdnf.For a disconnected installation, the disconnected system must be able to install packages from a local package source that includes the Discovery repository.
Setting up and maintaining a local package source in a disconnected environment is outside the scope of Red Hat Discovery documentation. Ensure that the required repositories are accessible on the disconnected system. Common approaches include using Satellite to synchronize repositories to the disconnected environment or using a local package mirror configured with the required repositories.
The system must have access to the Red Hat Ecosystem Catalog with your Red Hat Customer Portal credentials.
For a disconnected installation, the connected system on which you are downloading the containers must meet this requirement.
NoteIf you cannot use the Red Hat Ecosystem Catalog to download Red Hat content, join the Red Hat Developer program to create a Red Hat Customer Portal account, obtain a Red Hat Developer subscription, and gain access to Red Hat content. For more information, see the Red Hat Developer website.
On the systems in your network where Discovery runs scans:
The following requirements apply to the systems that Discovery scans, not to the system where Discovery is installed and running.
- Any network sources that are targeted for scanning must be running the SSH protocol.
-
A user account that is used as a credential for a scan requires the
bashshell. The shell cannot be the/sbin/nologinshell or the/bin/falseshell. - A user account that is used as a credential for a network scan must have adequate permissions to run commands and read certain files on those systems. For example, some commands that run during a scan require privilege elevation to gather the complete set of facts for the scan. The Using Red Hat Discovery guide has additional information about the creation of credentials for network scans and the privileges that must be associated with those credentials to enable a more complete scan of network assets.
-
Discovery network scans will use program paths as defined in the target system’s
PATHvariable.