DBaasNow V3

Prepare the installation host

Step 2 of the installation sequence. The commands on this page prepare the Lifecycle Manager host, not a target PostgreSQL, MongoDB or Neo4j server.

Run privileged preparation commands as an existing administrator with sudo. If using root, omit the sudo prefix. The installer itself must later run as Linux user dbaasnow.

Examples use lifecycle.example.com and 192.0.2.10. Replace them with the installation host's actual FQDN and IP address before running the relevant commands.

1. Check the OS, architecture and capacity

cat /etc/os-release
uname -m
uname -r
nproc
free -m
df -h / /opt

Confirm the approved Oracle Linux 8 host, x86_64 architecture, kernel, CPU, memory and available storage against requirements.

If skipped: an unsupported host or insufficient capacity can fail installation or leave the platform unable to operate reliably.

2. Prepare the dbaasnow account and group

Check whether they already exist:

getent group dbaasnow
id dbaasnow

Create only the missing group or account:

sudo groupadd dbaasnow
sudo useradd -m -g dbaasnow -s /bin/bash dbaasnow
sudo passwd dbaasnow

If the account already exists, verify its group, home directory, shell and usable credentials instead of recreating it.

If skipped: the installer refuses to run under another user, or required ownership and access may fail.

3. Configure and verify sudo

Use the V2 sudo baseline through a validated sudoers file:

sudo visudo -f /etc/sudoers.d/dbaasnow

Add:

dbaasnow ALL=(ALL) NOPASSWD: ALL

Protect and validate the file:

sudo chmod 0440 /etc/sudoers.d/dbaasnow
sudo visudo -cf /etc/sudoers.d/dbaasnow

The account requires full installation privileges. Apply the approved sudo policy for this dedicated host; the V2 example above enables passwordless sudo.

If skipped: prerequisite checks or privileged installation tasks fail. The installer also validates sudo before starting component work.

4. Prepare OS package access and tools

sudo dnf repolist
sudo dnf makecache
sudo dnf install -y curl wget tar unzip gzip bc bind-utils chrony python3 python3-pip openssl
command -v openssl

OpenSSL must be available before full installation so the installer can load its required product settings. Confirm that the command above prints the executable location. Use approved OS repositories and download routes. The installer obtains additional dependencies as required, so package access must remain available.

If skipped: archive extraction, downloads, hostname/time checks or installer dependency setup can fail.

5. Configure the FQDN and name resolution

Set the actual hostname:

sudo hostnamectl set-hostname lifecycle.example.com
sudo vi /etc/hosts

Retain the localhost entries and add the host's actual address and names. Example:

192.0.2.10 lifecycle.example.com lifecycle

Have the DNS administrator configure forward and reverse records. Verify:

hostname -f
getent hosts lifecycle.example.com
dig +short lifecycle.example.com
dig -x 192.0.2.10 +short

The previous package-preparation step provides dig. An /etc/hosts entry alone does not satisfy the precheck's DNS queries.

If skipped: precheck can fail, component addresses may be wrong, or users and target servers may be unable to reach the platform.

6. Configure synchronized time

If a working time service already exists, verify it. Otherwise configure the approved time source:

sudo vi /etc/chrony.conf

Use your organization's time source; for example, replacing the hostname:

server ntp.example.com iburst

Enable and check synchronization:

sudo systemctl enable --now chronyd
chronyc tracking
chronyc sources -v
timedatectl status

If skipped: the precheck can fail and operational timestamps or monitoring correlations may be unreliable.

7. Apply the installation security baseline

The supplied precheck requires firewalld inactive and SELinux Disabled, matching the V2 installation baseline.

On the approved dedicated host:

sudo systemctl stop firewalld
sudo systemctl disable firewalld
sudo vi /etc/selinux/config

Set:

SELINUX=disabled

Reboot the host to apply the SELinux setting:

sudo reboot

After reconnecting:

getenforce
systemctl is-active firewalld
hostname -f
timedatectl status

Expected security states are Disabled and inactive. Retain the approved network-level access restrictions. A permissive SELinux state still fails the current precheck.

If skipped: the prerequisite check refuses this baseline. If your policy requires SELinux or firewalld enabled, agree a supported alternative with DBaasNow rather than bypassing the check.

8. Prepare staging and product directories

For a new host with no existing Lifecycle Manager installation:

sudo install -d -o dbaasnow -g dbaasnow -m 0750 /opt/software
sudo install -d -o dbaasnow -g dbaasnow -m 0755 /opt/dbaasnow
ls -ld /opt/software /opt/dbaasnow
ls -la /opt/dbaasnow

The package is staged in /opt/software; /opt/dbaasnow is reserved for the installed platform. If the latter already contains an installation or customer records, stop and agree the recovery/deployment plan before proceeding.

If skipped: the directory precheck or file-access operations can fail. Using a populated host risks mixing an existing platform with a fresh install.

9. Review the open-file limit

sudo vi /etc/security/limits.d/dbaasnow.conf

For the documented baseline, add:

dbaasnow soft nofile 65536
dbaasnow hard nofile 65536

Start a new login session before checking ulimit -n. A lower value produces a precheck warning; review it before installation.

10. Verify the installation user's session

Sign in as dbaasnow:

su - dbaasnow
whoami
id
sudo -l
ulimit -n

Confirm the user, privileges and prepared directories. The package's prerequisite check remains required after extraction.

Next: Obtain and extract the installation package.


Previous: requirements ยท Installation sequence