Ensuring that the Linux operating system and hardware configuration of the new node matches that of the existing cluster nodes is essential to maintain consistency and prevent compatibility issues within the cluster. Here are steps to verify these aspects:
Operating System Version
-
Check OS Version on Existing Nodes and New Node:
Use the command cat /etc/os-release or cat /etc/redhat-release (depending on your distribution) to check the version and build of Linux on both the existing nodes and the new node.
cat /etc/os-release
# or
cat /etc/redhat-release
-
Kernel Version:
Kernel versions should also be consistent across nodes. Check the kernel version using:
uname -r
-
Package Versions:
Ensure that important packages, especially those related to Veritas InfoScale, are of the same version:
For Veritas packages, run:
rpm -qa | grep VRTS
For other packages relevant to your cluster services, use:
rpm -qa | less
Hardware Configuration:
-
CPU and Memory:
To check CPU and memory specifications, use:
lscpu
free -h
-
Disk Configuration:
Since Veritas InfoScale heavily relies on storage configuration, confirm the disk layout is similar across all nodes:
lsscsi
fdisk -l
-
Network Configuration:
Check network interface names, IPs assigned to them, and other network configurations:
ip addr show
nmcli con show
-
Shared Storage Visibility:
The new node must have visibility to the same shared storage as the other nodes. Use vxdisk list or multipath -ll to view the SAN-connected disks.
-
Hardware Compatibility:
If possible, check the hardware compatibility list (HCL) provided by Veritas to ensure your server model, and its internal components are supported by the version of InfoScale you are using.
-
BIOS/Firmware Versions:
While not always necessary to match perfectly, it's worth noting their versions in case of troubleshooting issues that might be related to firmware:
dmidecode -t bios
Sync Package and Kernel Updates
After you've confirmed the versions, you might need to standardize them across nodes:
-
Update OS Packages:
If updates are needed, use your distribution's package manager (such as yum or dnf for Red Hat-based distributions, apt for Debian-based distributions).
-
Kernel Updates:
If you upgrade the kernel, you will need to reboot the node to apply the changes. Ensure all nodes are using the same kernel version.
-
Update Veritas InfoScale Packages:
Use the specific instructions from Veritas to upgrade or update InfoScale packages.
Validation
After you have verified and possibly synchronized the OS and hardware configurations, rerun the checks to confirm that the new node now matches the existing cluster nodes.
Remember, after making changes to kernel versions or key hardware settings, a reboot of the new node might be necessary. Always validate changes in a development or staging environment before applying them to a production cluster.
Additionally, when undertaking changes in a production environment, be sure to follow your organization's change management protocols and ensure that you have valid backups and a plan for rollback just in case something doesn't work as expected.