HP Insight Cluster Management Utility User Manual

Page 80

Advertising
background image

If you want to select the current running kernel as the kernel to boot diskless, then provide the
CURRENT

keyword (for example, –k CURRENT ).

If any errors occur during the creation of the golden image, the logical group will not be created
in HP Insight CMU. Correct the errors and recreate the diskless logical group.

5.8.3.5.2 Customizing an HP Insight CMU oneSIS diskless image

An HP Insight CMU oneSIS diskless image can be managed in two ways: manually and
automatically. The system administrator can manually make changes to the golden image. This is
a quick way to get a diskless image ready for deployment. The downside is that these changes
are not preserved.

The other way to manage an HP Insight CMU oneSIS diskless image is to script changes to occur
automatically when the image is created. Scripting these changes allows the system administrator
to update the software on the golden node and extract new diskless golden images without manually
repeating the previous customizations. The HP Insight CMU oneSIS diskless image creation process
provides support for scripting any customizations to the golden image.

Before making any manual customizations to this golden image, HP strongly recommends that you
read and become familiar with the "oneSIS-HOWTO" documentation section on the

http://

onesis.org

website. This documentation explains the file system layout of the read-only oneSIS

golden image and how to configure oneSIS to manage per-node file changes in this golden image.
You must not change any settings that specifically support the oneSIS diskless environment.

When an HP Insight CMU oneSIS diskless logical group is created for the first time, the contents
of the /opt/cmu/image/<logical_group_name>/ directory are populated with the
appropriate support infrastructure. After creating an HP Insight CMU oneSIS diskless image for
the first time, familiarize yourself with the HP Insight CMU oneSIS diskless image support:

[root@cmumaster ~]# cd /opt/cmu/image/centos63-onesis
[root@cmumaster centos63-onesis]# ls -l
total 28
-rw-r--r-- 1 root root 692 Sep 18 09:04 files
-rw-r--r-- 1 root root 250 Sep 18 09:04 files.customd
rwxr-xr-x 2 root root 4096 Sep 18 09:05 onesis
drwxr-xr-x 3 root root 4096 Sep 18 09:05 onesis_pxeboot
-rw-r--r-- 1 root root 268 Sep 18 09:04 onesis_pxeboot_template
-rwxr-xr-x 1 root root 2570 Sep 18 09:04 reconf-onesis-image.sh
-rwxr-xr-x 1 root root 2115 Sep 18 09:04 reconf-onesis-snapshot.sh
[root@cmumaster centos63-onesis]#

The files file contains the list of files and directories identified by HP Insight CMU as writable
by default for all Linux distributions. This file may be updated with HP Insight CMU patches or
updates. It is overwritten automatically each time the diskless logical group is re-created, so this
file should not be modified. These files and directories are automatically configured in the onesis/
etc/sysimage.conf

file and when the mk-sysimage

/opt/cmu/image/<logical_group_name>/onesis

command is run during the diskless

image creation process (when you add the logical group to HP Insight CMU).

An additional list of files and directories can be configured in the files.custom file to be writable
whenever the diskless logical group is created. You can also add files and directories directly to
the oneSIS image by manually modifying the onesis/etc/sysimage.conf file and then running
the mk-sysimage /opt/cmu/image/<logical_group_name>/onesis command, but the
files.custom

file is recommended to enable repeatability.

The onesis directory contains the root file system for the golden image. This directory is
automatically configured to be exported as read-only through NFS during the image creation
process. You can update the contents of this directory but you must respect the alterations made
by the oneSIS process. These alterations are discussed in detail in the "oneSIS-HOWTO"
documentation section of

http://onesis.org

website. The alterations consist of soft links in place of

files and directories renamed to support the in-memory writable file system created at bootup.

80

Provisioning a cluster with HP Insight CMU

Advertising