Download Installation Manual - Support

Transcript
5.1 Registering A Red Hat Enterprise Linux Based Cluster
Command
Description
service rhnsd start
make it active without a reboot
chkconfig rhnsd off
stop it becoming active on boot
service rhnsd status
see if it is currently running
After registration, the yum-rhn-plugin is enabled, so that yum can
be used to install and update from the Red Hat Network repositories.
5.1.2 Registering A Software Image With RHEL
The rhn_register command can be used to register an RHEL software
image. If the head node, on which the software image resides, has no
direct connection to the internet, then an HTTP proxy can be configured
as a command line option. The rhn_register man pages give details
on configuring the proxy from the command line.
The default software image, default-image, can be registered by
running the following on the head node:
[root@bright70 ~]# chroot /cm/images/default-image rhn_register --nox
When the rhn_register command is run, the following screens are
gone through in a standard run:
• Connect to Red Hat Network
• Information
• Enter login information for Red Hat Network
• Register a System Profile—Hardware
• Register a System Profile—Packages
• Send Profile Information to Red Hat Network
• System subscription details
• Finish setup
Some of the screens may require inputs before going on to the next
screen.
The Red Hat Network base software channel subscription configuration is displayed in the “Review system subscription details”
screen.
The Red Hat Network software channels subscriptions configuration
can also be viewed outside of the rhn_register command by using the
rhn-channel command.
For RHEL6 it can be run from the head node as:
[root@bright70˜]# chroot /cm/images/default-image rhn-channel -L -u \
<Red Hat Network username> -p <Red Hat Network password>
For an RHEL6-based software image, the following Red Hat Network
software channels subscriptions need to be configured:
• rhel-x86_64-server-6
© Bright Computing, Inc.
63