IBM Books

Administration Guide

kscfg.tmpl File

Name

kscfg.tmpl - Linux operating system configuration file template used by csmsetupks.

Description

This file is the template that is used by csmsetupks to create a Kickstart configuration file for each node. The template can be found at /opt/csm/install/kscfg.tmpl.<InstallDistributionName><InstallDistributionVersion>. The Kickstart configuration file that is generated by csmsetupks from this template contains configuration information that is gathered by Kickstart during the installation of the Linux operating system. This file can be used as is, or it can be modified by the user. See an annotated sample template in the Appendix of IBM CSM for Linux: Software Planning and Installation Guide for instructions on how to properly modify the template.

To affect the settings of all the nodes in the cluster, modify the Kickstart configuration file template. Do this before running csmsetupks.

To change node-specific settings, modify the generated Kickstart configuration file for a specific node. The generated node-specific configuration files are called /csminstall/csm/<InstallCSMVersion>/kickstart.<InstallDistributionName><InstallDistributionVersion>/ <node-ipaddr>-kickstart. Modify the generated node-specific configuration file after running csmsetupks.

Note that there are variables in the format #VARIABLE# that must not be deleted. These variables are automatically customized with the appropriate values during the process of generating the Kickstart configuration file. For example, the following are some of the variables that are automatically customized:

#MGMTSVR_HOSTNAME#
Replaced with the host name of the management server.

#NODE_HOSTNAME#
Filled in with the hostname of the node. This is the hostname by which the management server knows the node.

#NFS_HOSTNAME#
Replaced with the host name of the management server.

#NFS_DIR#
Replaced with the directory on the management server that contains the Red Hat installation images; for example, /csminstall/Linux/RedHat/7.1/i386.

#TIMEZONE#
Filled in with the timezone of the management server (in /etc/sysconfig/clock).

#TIMEZONE_UTC#
Filled in with the timezone UTC flag of the management server (in /etc/sysconfig/clock).

The netmask, gateway, and nameserver values are represented by attributes that can be specified on the csmsetupks command line. The default values for these attributes are the same as the values for these attributes on the management server.

If you modify the kscfg.tmpl file or a generated Kickstart configuration file for a node, be careful not to alter sections that are surrounded by the following text:

################# DO NOT ERASE THIS SECTION (begin)###############
################# DO NOT ERASE THIS SECTION (end) ################

Files

/opt/csm/install/kscfg.tmpl.RedHat.Version
Location of the Kickstart configuration file template.

/csminstall/csm/InstallCSMVersion/kickstart.InstallDistributionNameInstallDistributionVersion/node-ipaddr-kickstart
Location of node-specific Kickstart configuration file, for example:
/csminstall/csm/1.2.0/kickstart.RedHat7.1/9.117.241.32-kickstart

See Also

Author

Sean Safron - cluster@us.ibm.com


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]