Red Hat HPC Solution
From Consultancy.EdVoncken.NET
In environments that need commercial support, you may want to look at Red Hat HPC Solution. It is based on Platform Lava and OCS (Open Cluster Stack). OCS has since been renamed to PCM (Platform Cluster Manager).
Contents |
Kusu
PCM / OCS
Platform Cluster Manager, formerly known as Open Cluster Stack, supports clusters containing up to 512 nodes. It is roughly comparable in functionality to Platform LSF 6.x.
CFM
CFM, or Configuration File Manager, is used to replicate configuration files from the installer node to all compute nodes.
The source files are kept on the installer node, under /etc/cfm/<nodegroupname>/.
For example, add an NFS mount to the compute nodes:
vi /etc/cfm/compute-rhel/etc/fstab.append [ ... create the new entry ...] cfmsync -f
You can add any directory to CFM, not just /etc:
mkdir -p /etc/cfm/compute-rhel/var/cfengine/inputs echo "# Crash test dummy" > /etc/cfm/compute-rhel/var/cfengine/inputs/promises.cf cfmsync -f
This would create /var/cfengine/inputs.promises.cf on all compute nodes in the compute-rhel group.
Backend databases
Red Hat HPC Solution installs both MySQL and PostgreSQL databases for various purposes. Install phpMyAdmin and phpPgAdmin to browse your databases using a web interface. These RPM packages are not available from the standard Yum repositories, so you need to add the EPEL repository. It contains a very good selection of additional software.
Add the EPEL repository (download and install the epel-release RPM), but ensure that it is disabled (enabled=0 in /etc/yum.repos.d/epel.repo). This prevents yum from updating the software packages as provided by Red Hat HPC Solution.
yum install phpMyAdmin phpPgAdmin --enablerepo=epel
MySQL
Postgresql
Back up the Kusu database. You can create a script in /etc/cron.daily/:
#!/bin/sh
# Dump the kusudb database
DUMPDIR=~/backup/kusudb
DUMPFILE=$(date +%Y%m%d-%H%M%S).dump
[ ! -d ${DUMPDIR} ] && mkdir -p ${DUMPDIR}
PGPASSWORD=$(cat /opt/kusu/etc/db.passwd) pg_dump -U apache kusudb > ${DUMPDIR}/${DUMPFILE}
# EOF
See Also
- Unicluster Wiki - admin guide with useful examples
- IBM Redbooks | Linux Clustering with CSM and GPFS
- IBM Redbooks | Linux HPC Cluster Installation