Install Required Data Fabric Software Utilities
Describes the prerequisites for installing the Data Fabric software when deploying it on a hardened OS.
Install the following required utiltities before proceeding with the Data Fabric operating system installation.
- Install Wget.
zypper install wget - Install Java. In this example,we are installing Java version
17.
zypper install java-17-openjdk java-17-openjdk-devel - Verify the Python version.
python3 --version - Set UMASK as 022 for mapr and root users.
- vim /etc/login.defs
- UMASK-022
- Change USERGROUPS_ENAB-no
SSH Keys
SSH keys provide a more secure and convenient alternative to password-based
authentication.
- On the first node in the cluster, create the SSH
keys.
ssh-keygen -t rsacd /root/.ssh cat id_rsa.pub >> /root/.ssh/authorized_keyschmod 700 ~/.ssh;chmod 640 ~/.ssh/authorized_keys;chmod 600 ~/.ssh/id_rsa - Copy the key to the other nodes in the cluster.
- ssh-copy-id root@Node2
- ssh-copy-id root@Node3
systemctl restart sshd.service - Ensure that the user ID for MAPR is the same in all nodes.
id mapr - Ensure that the time is synchronized across all nodes. Set the time manually
(shown below) or configure the common NTP server on all nodes.
timedatectl set-time 11:47:00
Configure NTP in SUSE SLES15 SP5
Before proceeding, ensure that the NTP server in the domain is reachable from all
nodes.
- sudo zypper install chrony
- sudo vi /etc/chrony/chrony.conf
- Add the NTP Server in the configuration
file.
server <local_ntp_server_IP_or_hostname> iburst - After saving the file, restart the Chrony service to apply the changes.
- sudo systemctl enable chronyd
- sudo systemctl start chronyd
- Verify the client synchronization.
chronyc sources -v
Configure /etc/hosts in all nodes
vim /etc/hosts
<IP> <FQDN> Node1
<IP> <FQDN> Node2
<IP> <FQDN> Node3