el6_quickstart

HPC Clustering quickstart for Centos 6 and Clones

Perform a basic system installation of the Centos 6 x86_64-minimal ISO. For networking configuration set the hostname and settings for both network interfaces. Set the Perceus master network interface to a non-routable static IP (like 10.1.1.1), and have it start up automatically.

After the system is installed and booted, run:
# yum update
# yum install wget

Add the IP address and system hostname to /etc/hosts. The cluster nodes can be added to the hosts file in the same manner if desired, which will assign node names to IP addresses. The iptables service is started and running by installation default, but it will block Perceus provisioning so stop it. Verify the Perceus master network interface is configured correctly in the /etc/sysconfig/network-scripts/ifcfg-<device> file.

Perceus dependencies will require the EPEL repo. Install it with:
# rpm -Uvh 
http://bit.ly/q7kHBq

verify it was correctly enabled with:
# yum repolist

# yum install yum-priorities

Change the EPEL repo priorities by editing /etc/yum.repos.d/epel.repo and adding 'priority=10' to the bottom of the [epel] section of the file. Verify this with:
# yum check-update

There will be a message about packages blocked by priority.

Now install the dependencies. Run:

# yum install autoconf automake openssl-devel elfutils-libelf-devel zlib-static nasm libtool uuid-devel rsync

Include httpd if you intend to use the perceus-cgi web interface. To add the needed Perl modules run:
# yum install perl-DBI perl-IO-Interface perl-Unix-Syslog perl-Net-ARP perl-CGI perl-Time-HiRes

Get the Perceus RPM from the mirror:
# wget 
http://mirror.infiscale.org/Perceus/rpms/perceus-1.6.0-2402.x86_64.rpm

. If you need Perceus debugging, get the perceus-debuginfo RPM too. You may also want the perceus-provisiond RPM for your VNFS capsules. Install Perceus with:
# rpm -ivh perceus-1.6.0-2402.x86_64.rpm

To configure Perceus, first add the master network device you configured with a static IP to the /etc/perceus/perceus.conf file. Run:
# perceus

Perform a complete system initialization when asked. Default values can be accepted. Consider activating the Perceus modules hostname, ipaddr, and masterauth with:
# perceus module activate <module>

Verify that the perceus and nfs services are running.

Perceus is now ready to start provisioning, but the process won't be completed without a VNFS capsule. You can attempt to build one using the scripts located at /usr/share/perceus/vnfs-scripts/ or you can download an existing VNFS capsule from the mirror, for example:
# wget 
http://caos.osuosl.org/Perceus/vnfs/premade_vnfs/centos-6-1.x86_64.vnfs

When you have a VNFS, import it into Perceus with:
# perceus vnfs import <capsule.vnfs>

Set the node root password when asked. The default values for other questions are drawn from your Perceus configuration, so they can be accepted as is. When importing is complete, assign the VNFS to the nodes with:
# perceus node set vnfs <capsule> <node>

You could also add the capsule to the default VNFS assignment in /etc/perceus/defaults.conf.

Powering on nodes connected to the Perceus master network will now provision them with the assigned VNFS capsule. If you need to alter the VNFS capsule, mount it with:
# perceus vnfs mount <capsule>

Chroot to the mounted directory and make changes, or use 'yum --installroot' or 'rpm --root' flags to install binaries. When finished finalize changes and recompress the VNFS capsule:
# perceus vnfs umount <capsule>

(c) 2005-2012 Infiscale.com