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

8
Table 1. Useful Tools to Define
Figure 9 displays the summary of the above custom tools, as defined in the Insight Control for Linux
web interface.
Figure 9. RHN Tool Summary
Figure 10 depicts the Task Results information generated by running the suggested tool RHN-Reg-
NewSystemLocalSatellite on a single server. The Stdout and Stderr output pages provide detailed
information to the Insight Control for Linux Administrator in case the summary status indicates an
unsuccessful completion of the tool on a given server.
Custom Tool Name Description
CLI Command
RHN-Reg-NewSystem This command registers a system with
Red Hat Network using an activation
key
/usr/sbin/rhnreg_ks --
activationkey=
hex_key_value
RHN-Reg-RHGPGKey This command imports the Red Hat
GPG Key to the rpm database to
validate rpm authenticity
/bin/rpm import
/etc/pki/rpm-gpg/RPM-GPG-
KEY-
redhat-release
RHN-Chk-
RedHatNetworkTask
This command checks to see if any
Red Hat Network task has been
scheduled on the RHN server and
runs it
/usr/sbin/rhn_check
RHN-Chk-SystemErrata This command checks in with the
RHN server to see if any errata
packages are available for the
currently installed software
/usr/bin/yum check-update
RHN-Upd-SystemErrata This command fetches and applies
software errata from Red Hat
Network
/usr/bin/yum update –y
RHN-Upd-SystemProfile Update System Profile on Red Hat
Network
/usr/sbin/rhn-profile-sync
RHN-Reg-
NewSystemLocalSatellite
This command registers a system with
a local Red Hat Network Satellite
Server
/usr/bin/wget O
http://
localsatserver IP
address
/pub/bootstrap/bootstr
ap.sh | /bin/bash