Monday, November 30, 2015

Redhat HPC solution 5.3



1. Installation prerequisites:
Installing Red Hat HPC Solution (Red Hat HPC) requires one system to be designated as an installer node. This installer node is responsible for installing the rest of the nodes in the cluster.

Prior to installing Red Hat HPC, confirm that the designated machine has Red Hat Enterprise Linux 5.3 installed and meets the following requirements:
1. Root partition with at least 40 GBytes free.
2. Disable SELinux.
3. One or more network interfaces use a statically defined IP addresses. Connect these to the networks where the machines are provisioned.
4. Red Hat Enterprise Linux Version 5.3 installation media
5. A valid subscription to Red Hat Network is required including an entitlement to Red Hat HPC and supplementary channels.
6. The firewall (iptables) must be configured to permit the services needed for installation on all networks used to provision nodes (HTTP, HTTPS, TFTP, DNS, NTP, BOOTPS, etc). A script is provided to appropriately configure the firewall.
7. Red Hat HPC creates a private DNS zone for all machines under its control. The name of this zone must NOT be the same as any other DNS zone within the organization where the cluster is installed.

2. Installation procedure:
2.1 Install the required packages:
# yum install ocs mos_ssl

2.2 After installing the ocs RPM, source the OCS environment:
# source /etc/profile.d/kusuenv.sh

2.3 Run the installation script:
# /opt/kusu/sbin/ocs-setup

The script detects your network settings and provides a summary per NIC:
NIC: eth0
============================================================
Device = eth0 IP = 172.25.243.44
Network = 172.25.243.0 Subnet = 255.255.255.0
mac = 00:0C:29:C4:61:06 Gateway = 172.25.243.2
dhcp = False boot = 1

Note:
1. Red Hat HPC cannot provision over DHCP configured NICs, only statically configured NICs.
2. Red Hat HPC creates a separate DNS zone for the nodes it installs. The tool prompts for this zone.
Do not use the same DNS zone as any other in your organization. Using an existing zone causes
DNS name resolution problems.

3. The Red Hat HPC Solution stores a copy of the OS media and installation images. The OCS installer prompts for the location of the directory to store the operating system. The default is /depot. A symbolic link to /depot is created if another location is used.

4. The OCS installer builds a local repository using the OS media. This repository is by OCS when provisioning compute nodes. The OCS installer asks for the physical DVD or CDs, a directory containing the contents of the OS media, or an ISO file providing the media.

2.4 To run the script to configure the firewall as root, run:
# /opt/kusu/bin/kusurc /opt/kusu/etc/S02KusuIptables.rc.py

2.5 Once the installation has completed the following message appears:
Congratulations! The base kit is installed and configured to provision on:
Network 1.2.3.4 on interface ethX

Note: Prior to installing the compute nodes it is best to add all the desired kits, and customize the node groups.
If the kits are added after the Compute Nodes have been installed it is necessary to run the following command to get Nagios and Cacti to display the nodes in their respective web interfaces:
# addhost -u

This causes re-generation of many of the application configuration files.

No comments:

Post a Comment