5.2. Customizing Configuration of Compute Nodes

Create a new XML configuration file that will extend the current compute.xml configuration file:

# cd /export/rocks/install/site-profiles/7.0/nodes/
# cp skeleton.xml extend-compute.xml

Caution

If you want to include your customizations in all cluster nodes (and not just the compute nodes) you should use extend-base.xml as a file name instead of extend-compute.xml.

Inside extend-compute.xml, add your configuration scripts that will be run in the post configuration step of the Red Hat installer.

Put your bash scripts in between the tags <post> and </post>:

<post>
	< !-- insert your scripts here -->
</post>

To apply your customized configuration scripts to compute nodes, rebuild the distribution:

# cd /export/rocks/install
# rocks create distro

Then, reinstall your compute nodes.