Note | |
---|---|
title | Non-Appliance Mode Only The steps below are only applicable for installation in Non-Appliance mode, and should be performed by your Linux your Linux administrator. |
Tip |
---|
This video demonstrates how to prepare a RHEL 7.8 operating system for DPOD Non-Appliance mode installation. Use it just as a demonstration, as it is not kept up-to-date with every change in the requirements. When preparing the operating system, you should follow the procedure provided below. |
Subject | Action |
---|---|
Supported operating system |
Install an operating system that is supported by DPOD as described in |
Verify the |
installed OS using the following command:
| ||
Resources allocation | Allocate resources according to the chosen |
deployment profile as listed in |
Verify the allocated resources using the following commands:
|
| |
Network |
requirements | Ensure you have at least one network |
interface installed and configured with full access to network services, such as DNS and NTP |
. |
interfaces. |
|
Root access |
The installation must be performed by a root user. You cannot use |
su -
Disks, mount points / file systems and logical volumes
| |
Disks | DPOD requires at least 3 disks (LUNs / physical / virtual):
|
|
|
Some configurations, such as the Cell environment, require |
multiple disks for the data. You may verify the existence of the disks using the following command (e.g: look for
| ||
Mount points, file systems and logical volumes | See Table 1 below for the required mount points / file systems on the different disks |
. |
disk(s). See Example: Creating File Systems using LVM. |
the configuration using the following command:
Tip: |
To use LVM in AWS EC2 instances with RHEL 8.x and EBS disks, first execute | |||
Store service dedicated OS user and group | The Store service requires a dedicated OS user and group to run. Consider executing the following command:
| ||
OS locale | The supported OS locale is en_US.UTF-8. Check the OS Locale Configuration and change it if necessary. | ||
SELinux configuration | Changes in SELinux configuration might be needed. Check if SELinux is enabled using the following command:
If SELinux is enforced on the DPOD server, please review possible required configuration changes. | ||
Setup DNS |
It is highly recommended to setup DNS - your network admin may need to assist you with this action. |
Using yum on RedHat | For RedHat only: Your system might need to be registered and subscribed to the Red Hat Customer Portal to be able to install all prerequisites using |
consider the following commands just as |
an example:
|
Setup
|
| ||
Setup NTP | It is highly recommended to setup NTP - it has to be the same one configured in your IBM DataPower Gateways.
|
|
|
|
| |
Setup hosts file | Verify that the |
hostname
display your server name, you may execute the command |
| |
Required RPMs | Verify the existence of the following RPMs from the official RedHat/CentOS yum repositories:
The installation is usually performed by executing |
yum install httpd mod_ssl curl wget unzip iptables iptables-services bc fontconfig
. If the command fails to find the packages, you should manually download the RPM files and install them. |
Ensure the httpd service is enabled and started by executing the command:
systemctl enable httpd.service && systemctl start httpd.service
- This RPM is not always accessible from existing repositories. Try first to install it by executing the command: yum install mod_proxy_html
If you get the error "No package mod_proxy_html available. Error: Nothing to do", you will need to download the RPM yourself, using one of the following methods:- Method 1 - download the RPM
- Find your httpd version by executing the command: rpm -qa | grep httpd
- The system will print something resembling httpd-2.4.6-67.el7_2.4.x86_64. This is the mod_proxy version you need to download.
- For RedHat only - Download the mod_proxy with the correct version from the following url:
https://access.redhat.com/downloads/content/mod_proxy_html/2.4.6-45.el7/x86_64/f21541eb/package (change the version part of the URL to match the httpd version you found above). Use wget or any other mechanism to download, and ensure to place the RPM inside the /tmp directory of the pre-installed OS server. - Install the RPM by executing the command: rpm -Uvh mod_proxy_html-2.4.6-67.el7_2.4.x86_64.rpm (Note: your version may vary, as described above)
- Method 2 - add a repository and install it from the repository using the commands (For RedHat only)
subscription-manager repos --enable=rhel-7-server-optional-rpms
yum install mod_proxy_html
- Method 1 - download the RPM
Optional: Install Kibana OSS (please read Kibana access limitations):
Configure Kibana (edit /etc/kibana/kibana.yml):
The following RPMs are recommended for system maintenance and troubleshooting, and are optional: | |||
Ensure | |||
Ensure the
| |||
Cleanup | In case you are using yum, it is recommended to clean its cache to make sure there is enough space in /var (yum cache can take a lot of the space there). To clean yum cache, execute the following command:
|
To configure your firewall to allow access to DPOD server at port 443, execute the following commands:
Note |
---|
These commands may not be applicable if your system has no builtin firewall. You should open port access for the DNS Server, your DataPower Gateways, your SMTP server and others as described in Firewall Requirements. Please assist your network admin and Linux admin to enable access on these ports. |
firewall-cmd --zone=public --add-port=443/tcp --permanent
firewall-cmd --reload
iptables-save | grep 443
firewall-cmd --zone=public --remove-port=443/tcp --permanent
firewall-cmd --reload
iptables-save | grep 443
Installation file and environment
Ensure your /tmp directory has at least 1GB of free space.
Installation from a different directory is possible. If you opt to run the install from a directory other than /tmp, ensure that this directory:
- Has at least 1GB of free space.
- Is NOT one of these folders: /app, /logs, /data, /shared, /installs.
Download the CEF file and transfer it to the installation directory (e.g. /tmp) on the pre-installed OS server.
Execute the following command from the pre-installed OS server terminal:
chmod 755 ./<File Name>
It is recommended to let DPOD optimize the Operating System parameters to ensure performance.
Please review the script before executing it and make sure the OS parameters values match your organization's policy.
/app/scripts/tune-os-parameters.sh
When DPOD is later installed, it will check the OS parameters. Critical compatibility checks must be satisfied in order to install the system, while other informational compatibility checks will make sure the operating system is optimized and will notify if changes are recommended to be made. Please take time to review the results of these checks after installation, and perform all applicable optimizations. The compatibility checks report can be found in /installs/logs/appliance_checks-<date time>.log.
Table 1 - Prepare your file system
Disk
Space in Mib
Device Type
File System
|
Table 1 - File Systems / Mount Points
File System / Mount Point | Minimum Size | Device Type | File System |
---|---|---|---|
Disk 1: Operating System (e.g.: | |||
biosboot | 2MB | Standard Partition | BIOS BOOT |
swap | 8GB | LVM | swap |
/boot |
2048
2GB | Standard Partition | XFS |
/boot/efi |
200MB |
(for UEFI installations for GPT partition) | Standard Partition | EFI System Partition |
/ |
8GB | LVM | XFS |
/var |
8GB | LVM | XFS |
/tmp | 16GB |
LVM |
(recommended 16384)
XFS | |||
Disk 2: Application/logs (e.g.: | |||
/shared | 1GB | LVM | XFS |
/app |
30GB | LVM | XFS |
/app/tmp |
8GB | LVM | XFS |
/installs |
30GB | LVM | XFS |
/logs |
12,288
(can be on other fast disk - preferred locally)
15GB | LVM | XFS | |
Data Disk(s) (e.g.: | |||
/data | As described in Hardware and Software Requirements |
minimum of 100GB
or according to the sizing spreadsheet in case one was provided by the DPOD support team. Minimum of 100GB. | LVM | XFS | |
[Required only for cell members] | Only for cell members, according to the sizing spreadsheet provided by DPOD support team. See Setup a Cell Environment for information about these disks/mount points. | LVM | XFS |
Third-Party Software
Third-party software such as antivirus, cybersecurity, monitoring, APM, endpoint protection, backup, etc. might significantly decrease the performance of DPOD and impact its functionality.
In case of functionality or performance issues, try first to disable such software.
During the resolution of issues, DPOD support will ask the customer to disable any 3rd party software in order to isolate the issues and verify their source. Support cannot be provided if the 3rd party tools are not disabled.
...