Version control for Linux by integrating HP Insight Control for Linux with Red Hat Network for HP ProLiant Servers

11
Provisioning
HP Insight Control for Linux also provides a provisioning tool set that can incorporate the one-time
functions necessary to prepare and register systems with RHN. Customize the RHEL5 Kickstart files to
include the appropriate one time functions (RHN-Reg-RHGPGKey and RHN-Reg-NewSystem or RHN-
Reg-NewSystemLocalSatellite) CLI command equivalent in the Kickstart file.
The available Kickstart files are listed in the GUI under the OptionsManage ICE-Linux Repository
menu options. The Kickstart files are stored under a subdirectory name that matches the name given in
the repository. For example, you can find the rh050 Kickstart file at
/opt/repository/instconfig/rh050/rh050.cfg
Insert the CLI command equivalent strings between the %post directive and %%completion%% macro.
%post
%%agentinstall%%
/bin/rpm import /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
/usr/sbin/rhnreg_ks --activationkey=9783630d6a5f50813e8e80bd992d6ddd
%%completion%%
When incorporating the RHN registration task into a Kickstart file, HP recommends that you build the
system with the target fully qualified domain name (FQDN). Although the FQDN is not the unique
identifier for RHN registration, the FQDN is included in the RHN profile to simplify identifying systems
in the RHN GUI. For additional information on customizing Insight Control for Linux Kickstart files, see
the HP Insight Control for Linux User Guide.
Capturing/deploying a Linux image
Insight Control for Linux provides a set of tools that can capture and deploy a Linux image from and
to managed systems. When systems are registered with RHN, a system ID is stored in an XML file
/etc/sysconfig/rhn/systemid on the registered server.
If you are using a system registered with RHN as the golden master for the captured Linux image, HP
recommends you rename the systemid file to systemid.masterimage before performing the capture
operation. This prevents any systems that are deployed with the Linux image from contacting RHN
with a duplicate systemid string. After the capture task is complete, rename the systemid file back to
its original name.
Include, as a customization post task for deploying systems with the captured golden image,
registering the system with RHN using the appropriate defined custom tool.
Updating ProLiant firmware
Insight Control for Linux
2
Firmware updates are run using the HP Smart Update Manager (HPSUM) tool from the Firmware
Maintenance CD. All firmware updates are run using the HPSUM tool’s silent option, which
means that the update is not interactive and allows the task to be scheduled. The firmware files you
provide from the Maintenance CD or downloaded from the HP support web site are scanned, and
any devices that can be updated will be updated. For additional information on setting up the
has additional tools that allow you to integrate the HP ProLiant Firmware
Maintenance CD onto your Insight Control for Linux CMS, then use Insight Control for Linux to update
the firmware on a system, either on demand from the SIM user interface, or automatically, when a
system is discovered using the Insight Control for Linux bare metal discovery feature.
2
Features included from Insight Control Environment for Linux (ICE-Linux) v2.10, available in January 2009.