7.4. Systems
7.4.1. Overview —
7.4.2. Systems
- Select — Update or unentitled systems cannot be selected. To select systems, mark the appropriate checkboxes. Selected systems are added to the System Set Manager. After adding systems to the System Set Manager, you can use it to perform actions on them simultaneously. Refer to Section 7.4.4, “System Set Manager — ” for details.
- Status — Shows which type of Errata Alerts are applicable to the system or confirms that it is up-to-date. Some icons are linked to pages providing resolution. For instance, the standard Updates icon is linked to the Upgrade subtab of the packages list, while the Critical Updates icon links directly to the Update Confirmation page. Also, the Not Checking In icon is linked to instructions for resolving the issue.
- — System is up-to-date
- — Critical Errata available, update strongly recommended
- — Updates available and recommended
- — System is locked; Actions prohibited
- — System is being kickstarted
- — Updates have been scheduled
- — System not checking in properly (for 24 hours or more)
- — System not entitled to any update service
- Errata — Total number of Errata Alerts applicable to the system.
- Packages — Total number of package updates for the system. Includes packages from Errata Alerts as well as newer packages that are not from Errata Alerts. For example, imagine a client system that has an early version of a package installed. If this client is then subscribed to the appropriate base channel of RHN (such as Red Hat Enterprise Linux 5), that channel may have an updated version of the package. If so, the package appears in the list of available package updates.
Important
If the RHN website identifies package updates for the system, yet the Red Hat Update Agent responds with "Your system is fully updated" when run, a conflict likely exists in the system's package profile or in theup2date
configuration file. To resolve the conflict, either schedule a package list update or remove the packages from the Package Exceptions list for the Red Hat Update Agent. Refer to Section 7.4.2.9, “System Details” or Section 4.4.1.3, “Package Exceptions Settings”, respectively, for instructions. - System — The name of the system as configured when registering it. The default name is the hostname of the system. Clicking on the name of a system takes you to the System Details page for the system. Refer to Section 7.4.2.9, “System Details” for more information.
- Base Channel — The primary channel for the system, based upon its operating system distribution. Refer to Section 7.6.1, “Software Channels” for more information.
- Entitlement — Whether or not the system is entitled and at what service level.
7.4.2.1. All
7.4.2.2. Virtual Systems
- System
- This column displays the name of each guest system.
- Updates
- This column indicates whether the guest systems have any errata that have not yet been applied to them.
- Status
- This column indicates whether a guest is running, paused, or stopped.
- Base Channel
- This column indicates the base channel to which the guest is currently subscribed.
7.4.2.3. Out of Date
7.4.2.4. Unentitled —
7.4.2.5. Ungrouped
7.4.2.6. Inactive
- The system is not entitled to any RHN service. System Profiles that remain unentitled for 180 days (6 months) are removed.
- The system is entitled, but the Red Hat Network Daemon has been disabled on the system. Refer to Chapter 5, Red Hat Network Daemon for instructions on restarting and troubleshooting.
- The system is behind a firewall that does not allow connections over https (port 443).
- The system is behind an HTTP proxy server that has not been properly configured.
- The system is connected to an RHN Proxy Server or RHN Satellite that has not been properly configured.
- The system itself has not been properly configured, perhaps pointing at the wrong RHN Server.
- The system is not on the network.
- Some other barrier exists between the system and the RHN Servers.
7.4.2.7. Recently Registered
7.4.2.8. Proxy
7.4.2.9. System Details
Note
- Details
- Software
- Configuration
- Provisioning —
- Monitoring —
- Groups
- Events
7.4.2.9.1. System Details ⇒ Details
7.4.2.9.1.1. System Details ⇒ Details ⇒ Overview
- System Status Message
- This message indicates the current state of your system in relation to RHN.
Note
If updates are available for any entitled system, the message Critical updates available appears. To apply these updates, click the update now link. - system ID
- A unique identifier generated each time a system registers with RHN.
Note
The system ID can be used to eliminate duplicate profiles from RHN. Compare the system ID listed on this page with the information stored on the client system in the/etc/sysconfig/rhn/systemid
file. In that file, the system's current ID is listed under "system_id". The value starts after the characters "ID-" If the value stored in the file does not match the value listed in the profile, the profile is not the most recent one and may be removed. - Hostname
- The hostname as defined by the client system. This information is often found in
/etc/hostname
for Red Hat Enterprise Linux systems. - IP Address
- The IP address of the client.
- Kernel
- The kernel that is installed and operating on the client system.
- Registered
- The date and time at which the system registered with RHN and created this profile.
- Checked In
- The date and time at which the system last checked in with RHN.
- Last Booted
- The date and time at which the system was last started or restarted.
Note
Systems with a Management entitlement can be rebooted from this screen.- Select Schedule system reboot
- Provide the earliest date and time at which the reboot may take place.
- Click thebutton in the lower right.
When the client checks in after the scheduled start time, RHN will instruct the system to restart itself. - Locked
- Indicates whether a system has been locked.Actions cannot be scheduled for locked systems through the web interface until the lock is removed manually. This does not include preventing auto-errata updates scheduled through the web interface. To prevent the application of auto-errata updates, de-select Auto Errata Update from the System Details ⇒ Details ⇒ Properties subtab.Locking a system can help to prevent you from accidentally making any changes to a system until you are ready to do so. For example, the system may be a production system that you do not wish to receive updates or new packages until you decide to unlock it.
Important
Locking a system in the web interface will not prevent any actions that originate from the client system. For example, if a user logs into the client directly and runsup2date
,up2date
will install available errata whether or not the system is locked in the web interface.Further, locking a system does not restrict the number of users who can access the system via the web interface. If you wish to restrict access to the system, associate that system with a System Group and assign it a System Group Administrator. Refer to Section 7.4.3, “System Groups — ” for more information about System Groups.It is also possible to lock multiple systems via the System Set Manager. Refer to Section 7.4.4.12.4, “System Set Manager ⇒ Misc ⇒ Lock Systems — ” to learn how to do so.
osad
package installed and its service started. Refer to the Enabling Push to Clients section of the RHN Satellite 5.2.0 Installation Guide for details.
- Base Channel
- The first line indicates the base channel to which this client is subscribed. The base channel should match the operating system of the system.
- Child Channels
- The subsequent lines of text, which depend from the base channel, are child channels. Examples are the Red Hat Network Tools channel and the RHEL AS Extras channel.
Note
- Profile Name
- This editable name for the system profile is set to the system's hostname by default. It serves to distinguish this system profile from others.
- Entitlement
- The base entitlement currently applied to this system.
- Notifications
- Indicates the the notification options for this system. You can choose whether you wish to receive email notifying you of available errata updates for this system. In addition, you may choose to include Management-entitled systems in the daily summary email.
- Auto Errata Update
- Indicates whether this system is configured to accept updates automatically.
- Description
- This information is automatically generated at registration. You can edit this to include any information you wish.
- Location
- If entered, this field displays the physical address of the system.
7.4.2.9.1.2. System Details ⇒ Details ⇒ Properties
- Profile Name
- By default, this is the hostname of the system. You can however alter the profile name to anything that allows you to distinguish this profile from others.
- Base Entitlement
- Select a base channel for the system from the available base entitlements.
- Add-on entitlements
- If available, apply a Monitoring, Provisioning, Virtualization, or Virtualization Platform entitlement to the system.
- Notifications
- Toggle whether notifications about this system are sent and whether this system is included in the daily summary. (By default, all Management and Provisioning systems are included in the summary.) This setting keeps you abreast of all advisories pertaining to the system. Anytime an update is produced and released for the system, a notification is sent via email.The daily summary reports system events that affect packages, such as scheduled Errata Updates, system reboots, or failures to check in. In addition to including the system here, you must choose to receive email notification in the Your Preferences page of the Overview category.
- Auto-errata update
- If this box is checked, available errata are automatically applied to the system when it checks in. This action takes place without user intervention. Customers should note that Red Hat does not recommend the use of the auto-update feature for production systems because conflicts between packages and environments can cause system failures. The Red Hat Network Daemon must be enabled on the system for this feature to work.
- Description
- By default, this text box records the operating system, release, and architecture of the system when it first registers. You may edit this information to include anything you like.
Note
7.4.2.9.1.3. System Details ⇒ Details ⇒ Remote Command —
- First, subscribe the system to the RHN Tools channel and use
up2date
to install therhncfg
,rhncfg-client
, andrhncfg-actions
packages.up2date rhncfg rhncfg-client rhncfg-actions
- Log into the system as root and add the following file to the local RHN configuration directory:
allowed-actions/scripts/run
.- Create the necessary directory on the target system:
mkdir -p /etc/sysconfig/rhn/allowed-actions/script
- Create an empty
run
file in that directory to act as a flag to RHN signaling permission to allow remote commands:touch /etc/sysconfig/rhn/allowed-actions/script/run
7.4.2.9.1.4. System Details ⇒ Details ⇒ Reactivation —
rhnreg_ks
command line utility to re-register this system and regain all Red Hat Network settings. Refer to Section 4.5, “Registering with Activation Keys” for instructions. Unlike typical activation keys, which are not associated with a specific system ID, keys created here do not show up within the Activation Keys page.
rhnreg_ks --server=<server-url> --activationkey=<reactivation-key>,<activationkey> --force
Warning
rhnreg_ks
) while a profile-based kickstart is in progress. If you do, the kickstart will fail.
7.4.2.9.1.5. System Details ⇒ Details ⇒ Hardware
7.4.2.9.1.6. System Details ⇒ Details ⇒ Notes
7.4.2.9.1.7. System Details ⇒ Details ⇒ Custom Info —
7.4.2.9.1.8. System Details ⇒ Details ⇒ Proxy
7.4.2.9.1.9. System Details ⇒ Details ⇒ Satellite
7.4.2.9.2. System Details ⇒ Software
7.4.2.9.2.1. System Details ⇒ Software ⇒ Errata
7.4.2.9.2.2. System Details ⇒ Software ⇒ Packages
- Packages
- The default display of the Packages tab describes the options available to you and provides the means to update your package list. To update or complete a potentially outdated list, possibly due to the manual installation of packages, click the Update Package List button on the bottom right-hand corner of this page. The next time the RHN Daemon connects to RHN, it updates your System Profile with the latest list of installed packages.
- List/Remove
- Lists installed packages from the system's software System Profile and enables you to remove them. Click on a package name to view its Package Details page. To delete packages from the system, select their checkboxes and click the button on the bottom right-hand corner of the page. A confirmation page appears with the packages listed. Click the button to remove the packages.
- Upgrade
- Displays a list of packages that have a new version available based on the package versions in the channels for the system. Click on the latest package name to view its Package Details page. To upgrade packages immediately, select them and click the button. To download the packages as a .tar file, select them and click the button.
- Install
- Enables you to install new packages on the system from the available channels. Click on the package name to view its Package Details page. To install packages, select them and click the button.
- Verify
- Validates the packages installed on the system against its RPM database. This is the equivalent of running
rpm -V
. Specifically, this tab allows you to compare the metadata of the system's packages with information from the database, such as MD5 sum, file size, permissions, owner, group and type. To verify a package or packages, select them, click the button, and confirm this action. Once finished, you can view the results by selecting this action within the History subtab under Events. - Profiles
- Gives you the ability to compare the packages on this system with the packages of stored profiles and other Management and Provisioning systems. To make the comparison with a stored profile, select that profile from the pulldown menu and click the Compare button. To make the comparison with another system, select it from the associated pulldown menu and click the Compare button. To create a stored profile based upon the existing system, click the button, enter any additional information you desire, and click the button. These profiles are kept within the Stored Profiles page linked from the left navigation bar.— Once package profiles have been compared, Provisioning customers have the ability to synchronize the packages of the selected system with the package manifest of the compared profile. Note that this action may delete packages on the system not in the profile, as well as install packages from the profile. To install specific packages, select the checkboxes of packages from the profile. To remove specific packages already installed on the system itself, select the checkboxes of packages showing a difference of This system only. To synchronize fully the system's packages with the compared profile, select the master checkbox at the top of the column. Then click the button. On the confirmation screen, review the changes, select a time frame for the action, and click the button.
7.4.2.9.2.3. System Details ⇒ Software ⇒ Software Channels
7.4.2.9.3. System Details ⇒ Configuration —
Note
rhncfg*
packages installed. Refer to Section 7.7.1, “Preparing Systems for Config Management” for instructions on enabling and disabling scheduled actions for a system.
7.4.2.9.3.1. System Details ⇒ Configuration ⇒ Overview
7.4.2.9.3.2. System Details ⇒ Configuration ⇒ Managed Files
- Filename
- This column shows both the name and the deployment path for this file.
- Revision
- This column increments any time you make a change to the managed file.
- From Config Channel
- This column indicates the name of the channel that contains the file, or displays (system override) for files available to this system only.
- Overrides
- If this configuration file overrides another, the overridden file is listed in this column along with its host channel.
Note
7.4.2.9.3.3. System Details ⇒ Configuration ⇒ Compare Files
7.4.2.9.3.4. System Details ⇒ Configuration ⇒ Manage Configuration Channels
httpd.conf
file that will take precedence over the file on lower-ranked channel)
7.4.2.9.3.5. System Details ⇒ Configuration ⇒ Local Overrides
7.4.2.9.3.6. System Details ⇒ Configuration ⇒ Sandbox
7.4.2.9.4. System Details ⇒ Provisioning —
7.4.2.9.4.1. System Details ⇒ Provisioning ⇒ Kickstart —
Note
IPADDR=192.168.0.28 GATEWAY=192.168.0.1
network
portion of a kickstart file could look like the following:
network --bootproto=static --device=eth0 --onboot=on --ip=$IPADDR --gateway=$GATEWAY
$IPADDR
will be 192.168.0.28
, and the $GATEWAY
will be 192.168.0.1
Note
7.4.2.9.4.2. System Details ⇒ Provisioning ⇒ Snapshots —
- group memberships
- channel subscriptions
- installed packages
- configuration channel subscriptions
- configuration files
- snapshot tags
7.4.2.9.4.3. System Details ⇒ Provisioning ⇒ Snapshot Tags —
7.4.2.9.5. System Details ⇒ Virtualization
7.4.2.9.5.1. System Details ⇒ Virtualization ⇒ Details
- Status
- This field indicates whether the virtual system is running, paused, stopped, or has crashed.
- Updates
- This field indicates whether errata applicable to the guest have yet to be applied.
- Base Software Channel
- This field indicates the Base Channel to which the guest is subscribed.
Note
7.4.2.9.5.2. System Details ⇒ Monitoring —
7.4.2.9.5.3. System Details ⇒ Groups —
7.4.2.9.5.3.1. System Details ⇒ Groups ⇒ List/Leave —
7.4.2.9.5.3.2. System Details ⇒ Groups ⇒ Join —
7.4.2.9.5.4. System Details ⇒ Events
7.4.2.9.5.4.1. System Details ⇒ Events ⇒ Pending
- — Package Event
- — Errata Event
- — Preferences Event
- — System Event
7.4.2.9.5.4.2. System Details ⇒ Events ⇒ History
7.4.3. System Groups —
- Create system groups. (Refer to Section 7.4.3.1, “Creating Groups”.)
- Add systems to system groups. (Refer to Section 7.4.3.2, “Adding and Removing Systems in Groups”.)
- Remove systems from system groups. (Refer to Section 7.4.2.9, “System Details”.)
- Assign system group permissions to users. (Refer to Section 7.9, “Users — ”.)
- Select — These checkboxes enable you to add systems in groups to the System Set Manager. To select groups, mark the appropriate checkboxes and click the button below the column. All systems in the selected groups are added to the System Set Manager. You can then use the System Set Manager to perform actions on them simultaneously. It is possible to select only those systems that are members of all of the selected groups, excluding those systems that belong only to one or some of the selected groups. To do so, select them and click the button. To add all systems in all selected groups, select them and click the button. Each system will show up once, regardless of the number of groups to which it belongs. Refer to Section 7.4.4, “System Set Manager — ” for details.
- Updates — Shows which type of Errata Alerts are applicable to the group or confirms that it is up-to-date. Clicking on a group's status icon takes you to the Errata tab of its System Group Details page. Refer to Section 7.4.3.3, “System Group Details — ” for more information.The status icons call for differing degrees of attention:
- — All systems within group are up-to-date
- — Critical Errata available, update strongly recommended
- — Updates available and recommended
- Group Name — The name of the group as configured during its creation. The name should be explicit enough to easily differentiate between it and other groups. Clicking on the name of a group takes you to Details tab of its System Group Details page. Refer to Section 7.4.3.3, “System Group Details — ” for more information.
- Systems — Total number of systems contained by the group. Clicking on the number takes you to the Systems tab of the System Group Details page for the group. Refer to Section 7.4.3.3, “System Group Details — ” for more information.
- Use in SSM — Clicking the button in this column loads the group from that row and launches the System Set Manager immediately. Refer to Section 7.4.4, “System Set Manager — ” for more information.
7.4.3.1. Creating Groups
7.4.3.2. Adding and Removing Systems in Groups
7.4.3.3. System Group Details —
7.4.3.3.1. System Group Details ⇒ Details —
7.4.3.3.2. System Group Details ⇒ Systems —
7.4.3.3.3. System Group Details ⇒ Target Systems —
7.4.3.3.4. System Group Details ⇒ Errata —
7.4.3.3.5. System Group Details ⇒ Admins —
7.4.3.3.6. System Group Details ⇒ Probes —
7.4.4. System Set Manager —
- Apply Errata updates
- Upgrade packages to the most recent versions available
- Add/remove systems to/from system groups
- Subscribe/unsubscribe systems to/from channels
- Update system profiles
- Modify system preferences such as scheduled download and installation of packages
- Kickstart several Provisioning-entitled systems at once
- Set the subscription and rank of configuration channels for Provisioning-entitled systems
- Tag the most recent snapshots of your selected Provisioning-entitled systems
- Revert Provisioning-entitled systems to previous snapshots
- Run remote commands on Provisioning-entitled systems
- Click the System Set Manager link in the left gray navigation area.
- Click the Use Group button in the System Groups list.
- Check the Work with Group link on the System Group Details page.
7.4.4.1. System Set Manager ⇒ Overview —
7.4.4.2. System Set Manager ⇒ Systems —
7.4.4.3. System Set Manager ⇒ Errata —
7.4.4.4. System Set Manager ⇒ Packages —
7.4.4.4.1. System Set Manager ⇒ Packages ⇒ Upgrade —
7.4.4.4.2. System Set Manager ⇒ Packages ⇒ Install —
7.4.4.4.3. System Set Manager ⇒ Packages ⇒ Remove —
7.4.4.5. System Set Manager ⇒ Verify
rpm --verify
for the specified package. If there are any discrepancies, they are displayed in the System Details page for each system.
7.4.4.6. System Set Manager ⇒ Patches
7.4.4.7. System Set Manager ⇒ Patch Clusters
7.4.4.8. System Set Manager ⇒ Groups —
7.4.4.9. System Set Manager ⇒ Channels —
7.4.4.9.1. System Set Manager ⇒ Channels ⇒ Channel Subscriptions —
7.4.4.10. System Set Manager ⇒ Configuration —
rhncfg*
packages. Refer to Section 7.7.1, “Preparing Systems for Config Management” for instructions on enabling and disabling scheduled actions for a system.
7.4.4.10.1. System Set Manager ⇒ Configuration ⇒ Deploy Files —
7.4.4.10.2. System Set Manager ⇒ Configuration ⇒ Compare Files —
7.4.4.10.3. System Set Manager ⇒ Configuration ⇒ Subscribe to Channels —
7.4.4.10.4. System Set Manager ⇒ Configuration ⇒ Unsubscribe from Channels —
7.4.4.10.5. System Set Manager ⇒ Configuration ⇒ Enable Configuration —
7.4.4.11. System Set Manager ⇒ Provisioning —
7.4.4.11.1. System Set Manager ⇒ Provisioning ⇒ Kickstart —
7.4.4.11.2. System Set Manager ⇒ Provisioning ⇒ Tag Systems —
7.4.4.11.3. System Set Manager ⇒ Provisioning ⇒ Rollback —
7.4.4.11.4. System Set Manager ⇒ Provisioning ⇒ Remote Command —
run
file on the client systems to allow this function to operate. Refer to the description of the Configuration subtab of the Channels tab for instructions. You may then identify a specific user, group, timeout period, and the script on this page. Select a date and time to perform the command, and click .
7.4.4.12. System Set Manager ⇒ Misc —
7.4.4.12.1. System Set Manager ⇒ Misc ⇒ System Profile Updates —
7.4.4.12.2. System Set Manager ⇒ Misc ⇒ Custom System Information —
7.4.4.12.3. System Set Manager ⇒ Misc ⇒ Reboot Systems —
7.4.4.12.4. System Set Manager ⇒ Misc ⇒ Lock Systems —
7.4.4.12.5. System Set Manager ⇒ Misc ⇒ Delete Systems —
7.4.4.12.6. System Set Manager ⇒ Misc ⇒ Add or Remove Add-On Entitlements —
7.4.4.12.7. System Set Manager ⇒ Misc ⇒ System Preferences —
- Receive Notifications of Updates/Errata — This setting keeps you abreast of all advisories pertaining to your systems. Any time an update is produced and released for a system under your supervision, a notification is sent via email.
- Include system in Daily Summary — This setting includes the selected systems in a daily summary of system events. (By default, all Management and Provisioning systems are included in the summary.) These system events are actions that affect packages, such as scheduled Errata Updates, system reboots, or failures to check in. In addition to including the systems here, you must choose to receive email notifications in the Your Preferences page of Your RHN. Refer to Section 7.3.2, “Your Preferences” for instructions. Note that RHN sends these summaries only to verified email addresses.
- Automatic application of relevant Errata — This setting enables the automatic application of Errata Updates to the selected systems. This means packages associated with Errata are updated without any user intervention. Customers should note that Red Hat does not recommend the use of the auto-update feature for production systems because conflicts between packages and environments can cause system failures.
7.4.5. Advanced Search —
- DMI Info — The Desktop Management Interface (DMI) is a standard for management of components on computer system. You can search for RHN Satellite systems using the following DMI retrieval methods:
- System — Product names or numbers, Manufacturer names, Serial numbers, and other information that may be unique to a system
- BIOS — BIOS support information such as BIOS vendor name and version, hardware support enabled in the BIOS, and more
- Asset Tag — A unique identifier assigned by an IT department (or vendor) to a system for better tracking, management and inventory
- Location — The physical location of a system, which includes the following:
- Address — The address of the system or system set
- Building — The building or site in an address
- Room — The server or system room within a building
- Rack — The designated location within a server room where a system is situated.
- Details — The unique identifiers assigned to a system by sytem administrators and particularly Satellite Administrators, including the following:
- Name/Description — The name assigned to a system by the Satellite Administrator upon adding it to the RHN Satellite server.
- ID — An identifier that is unique to a system or system set.
- Custom Info — Information about the system that is unique only to that system.
- Snapshot Tag — The name assigned to a new or previous system snapshot
- Running Kernel — The currently running kernel on a system registered to the Satellite
- Hardware — Systems can be searched by particular components in the system, including the following:
- CPU Model — The CPU model name (such as Pentium or Athlon
- CPU MHz Less Than — Search systems with a processor less than a user-designated speed in Megahertz.
- CPU MHz More Than — Search systems with a processor more than a user-designated speed in Megahertz.
- Number of CPUs Less Than — Search systems with a sum of processors less than a user-designated quantity.
- Number of CPUs Greater Than — Search systems with a sum of processors greater than a user-designated quantity.
- RAM Less Than — Search systems with a sum of memory less than a user-designated quantity in megabytes.
- RAM More Than — Search systems with a sum of memory more than a user-designated quantity in megabytes.
- Packages — Systems can be searched by the packages installed (and not yet installed) on the system.
- Installed Packages — Filter systems based on particular installed packages
- Needed Packages — Filter systems based on particular packages that have yet to be installed
- Activity — Systems can be searched by the amount of time since first or last check-in with the RHN Satellite
- Days Since Last Check-in — The amount of time (in days) that systems have last checked into RHN Satellite.
- Days Since First Check-in — The amount of time (in days) that have passed since the systems first checked into RHN Satellite
- Network Info — Systems can be searched based on specific networking details such as IP address.
- Hostname — The name associated with a system registered to RHN Satellite
- IP Address — The network address of the system registered to RHN Satellite
- Hardware Devices — Systems can be searched by specific hardware details such as driver names and Device or Vendor IDs
- Description — Device summary information, such as brand or model name/number (such as
Intel 82801HBM/HEM
) - Driver — The kernel driver or module name (such as
tulip.o
oriwl3945
) - Device ID — The hexadecimal number corresponding to the device installed in the system.
- Vendor ID — The hexadecimal number corresponding to the vendor of the device installed in the system.
7.4.6. Activation Keys —
rhnreg_ks
. Refer to Section 4.5, “Registering with Activation Keys” for instructions on use.
Note
7.4.6.1. Managing Activation Keys
- Select Systems => Activation Keys from the top and left navigation bars.
- Click the create new key link at the top-right corner.
Warning
In addition to the fields listed below, RHN Satellite customers may also populate the Key field itself. This user-defined string of characters can then be supplied withrhnreg_ks
to register client systems with the Satellite. Do not insert commas in the key. All other characters are accepted. Commas are problematic since they are the separator used when including two or more activation keys at once. Refer to Section 7.4.6.2, “Using Multiple Activation Keys at Once — ” for details. - Provide the following information:
- Description — User-defined description to identify the generated activation key.
- Usage Limit — The maximum number of registered systems that can be registered to the activation key at any one time. Leave blank for unlimited use. Deleting a system profile reduces the usage count by one and registering a system profile with the key increases the usage count by one.
- Base Channel — The primary channel for the key. Selecting nothing will enable you to select from all child channels, although systems can be subscribed to only those that are applicable.
- Add-on Entitlements — The supplemental entitlements for the key, which includes Monitoring, Provisioning, Virtualization, and Virtualization Platform. All systems will be given these entitlements with the key.
- Universal default — Whether or not this key should be considered the primary activation key for your organization.
Click.
Figure 7.6. Activation Keys
7.4.6.2. Using Multiple Activation Keys at Once —
- base software channels — registration fails
- entitlements — registration fails
- enable config flag — configuration management is set
rhnreg_ks
or in a kickstart profile within the Post tab of the Kickstart Details page. Refer to Section 4.5, “Registering with Activation Keys” and Section 7.4.9.3, “Create a New Kickstart Profile”, respectively, for instructions.
7.4.7. Stored Profiles —
7.4.8. Custom System Info —
asset
key within the Custom System Info page.
Asset
and Precise location of each system
, and click the . The key will then show up in the custom info keys list.
7.4.8.1. rhn-custom-info
rhn-custom-info
that performs the same actions at a shell prompt, for administrators who may not have access to the web interface.
rhn-custom-info
is as follows:
rhn-custom-info options key1 value1
rhn-custom-info --username=admin --password=f00b4rb4z --server-url=satellite.example.com --list-values
rhn-custom-info -h
.
7.4.9. Kickstart —
Important
/var/www/html/pub/
on the Proxy. RHN Satellites already have a tree for each Red Hat distribution and therefore do not require separate trees. Even if the system connects through an RHN Proxy Server to get to the Satellite, these trees will be available for kickstart. Refer to Section 7.4.9.6, “Kickstart ⇒ Distributions —
” for instructions on setting up installation trees.
Figure 7.7. Kickstart Overview
7.4.9.1. Introduction to Kickstart
7.4.9.1.1. Kickstart Explained
- After being placed on the network and turned on, the machine's PXE logic broadcasts its MAC address and a request to be discovered.
- If a static IP address is not being used, the DHCP server recognizes the discovery request and extends an offer of network information needed for the new machine to boot. This includes an IP address, the default gateway to be used, the netmask of the network, the IP address of the TFTP or HTTP server holding the bootloader program, and the full path and file name of that program (relative to the server's root).
- The machine applies the networking information and initiates a session with the server to request the bootloader program.
- The bootloader, once loaded, searches for its configuration file on the server from which it was itself loaded. This file dictates which kernel and kernel options, such as the initial RAM disk (initrd) image, should be executed on the booting machine. Assuming the bootloader program is SYSLINUX, this file is located in the
pxelinux.cfg
directory on the server and named the hexadecimal equivalent of the new machine's IP address. For example, a bootloader configuration file for Red Hat Enterprise Linux AS 2.1 should contain:port 0 prompt 0 timeout 1 default My_Label label My_Label kernel vmlinuz append ks=http://myrhnsatellite/ initrd=initrd.img network apic
- The machine accepts and uncompresses the init image and kernel, boots the kernel, and initiates a kickstart installation with the options supplied in the bootloader configuration file, including the server containing the kickstart configuration file.
- This kickstart configuration file in turn directs the machine to the location of the installation files.
- The new machine is built based upon the parameters established within the kickstart configuration file.
7.4.9.1.2. Kickstart Prerequisites
- A DHCP server is not required for kickstarting, but it can make things easier. If you are using static IP addresses, you should select static IP while developing your kickstart profile.
- An FTP server can be used in place of hosting the kickstart distribution trees via HTTP.
- If conducting a bare metal kickstart, you should 1)Configure DHCP to assign required networking parameters and the bootloader program location. 2)Specify within the bootloader configuration file the kernel to be used and appropriate kernel options.
7.4.9.1.3. Building Bootable Kickstart ISOs
/isolinux
from the first CD-ROM of the target distribution. Then edit the isolinux.cfg
file to default to 'ks'. Change the 'ks' section to the following template:
label ks kernel vmlinuz append text ks={url} initrd=initrd.img lang= devfs=nomount ramdisk_size=16438 \ {ksdevice}
http://my.sat.server/kickstart/ks/mode/ip_range
ksdevice=eth0
isolinux.cfg
further for your needs, such as by adding multiple kickstart options, different boot messages, shorter timeout periods, etc.
mkisofs -o file.iso -b isolinux.bin -c boot.cat -no-emul-boot -boot-load-size 4 \ -boot-info-table -R -J -v -T isolinux/
isolinux/
is the relative path to the directory containing the isolinux files from the distribution CD, while file.iso
is the output ISO file, which is placed into the current directory.
7.4.9.1.4. Integrating Kickstart with PXE
Note
7.4.9.2. Kickstart Profiles
Figure 7.8. Kickstart Profiles
7.4.9.3. Create a New Kickstart Profile
- On the first line, enter a kickstart profile label. This label cannot contain spaces, so use dashes (-) or underscores (_) as separators.
- Select a Base Channel for this profile, which consists of packages based on a specific architecture and Red Hat Enterprise Linux release, such as Red Hat Enterprise Linux (v.5 for 32-bit x86).
- Select a kickstartable tree for this profile. The kickstartable tree drop-down menu is only populated if one or more distributions have been created for the selected base channel.
- Select the Virtualization Type from the drop-down menu. For more information about virtualization, refer to Chapter 10, Virtualization.
Note
If you do not intend to use the kickstart profile to create virtual guest systems, you can leave the drop-down at the default KVM Virtualized Guest choice. - On the second page, select (or enter) the URL of the kickstart tree.
- On the third page, select a root password for the system. Be sure to follow the password recommendations from the Password Security section of the Red Hat Enterprise Linux Security Guide, available at http://www.redhat.com/docs/manuals/enterprise/.
pyOpenSSL
, rhnlib
, libxml2-python
, and spacewalk-koan
and associated packages.
- Make sure that the rhn-tools child software channel for the kickstart profile's base channel is available to your organization. If it is not, you must request entitlements for the rhn-tools software channel from the Satellite administrator.
- Make sure that the rhn-tools child channel for this kickstart profile's base channel is available to your RHN Satellite. If it is not, contact the Satellite administrator and request a
satellite-sync
of the rhn-tools. - Make sure that the
rhn-kickstart
and associated packages corresponding to this kickstart are available in the kickstart rhn-tools child channel. If it is not, you must make them available for this kickstart profile to function properly.
7.4.9.3.1. Kickstart Details ⇒ Details —
Figure 7.9. Kickstart Details
- Rename the profile
- Change the operating system it installs by clicking (Change)
- Change the Virtualization Type
Note
Changing the Virtualization Type may require changes to the kickstart profile bootloader and partition options, potentially overwriting user customizations. Consult the Partitioning tab to verify any new or changed settings. - Change the amount of Virtual Memory (in Megabytes of RAM) allocated to virtual guests kickstarted with this profile
- Change the number of Virtual CPUs for each virtual guest
- Change the the Virtual Storage Path from the default in
/var/lib/xen/
- Change the amount of Virtual Disk Space (in Gigabytes) alloted to each virtual guest
- Change the Virtual Bridge for networking of the virtual guest
- Deactivate the profile so that it cannot be used to schedule a kickstart by removing the Active checkmark
- Check whether to enable logging for custom
%post
scripts to the/root/ks-post.log
file - Check whether to enable logging for custom
%pre
scripts to the/root/ks-pre.log
file - Check whether to preserve the
ks.cfg
file and all%include
fragments to the/root/
directory of all systems kickstarted with this profile. - Select whether this profile is the default for all of your organization's kickstarts by checking or unchecking the box.
- Add any Kernel Options in the corresponding text box.
- Add any Post Kernel Options in the corresponding text box.
- Enter comments that are useful to you in distinguishing this profile from others
7.4.9.3.2. Kickstart Details ⇒ Operating System —
- Change the base channel
- Select from the available base channels, such as Red Hat Enterprise Linux v.5 for 32-bit x86. Satellite administrators can see a list of all base channels that are currently synced to the Satellite.
- Child Channels
- Subscribe to any available child channels of the base channel, such as the rhn-tools* channel.
- Available Trees
- Use the drop-down menu to choose the available trees that are associated with the base channel.
- File Location
- The exact location from which the kickstart tree is mounted. This value is determined when the profile is created. You can view it on this page but you cannot change it.
7.4.9.3.3. Kickstart Details ⇒ Variables
IPADDR=192.168.0.28 GATEWAY=192.168.0.1
network
portion of a kickstart file looks like the following:
network --bootproto=static --device=eth0 --onboot=on --ip=$IPADDR --gateway=$GATEWAY
$IPADDR
will be 192.168.0.28
, and the $GATEWAY
will be 192.168.0.1
Note
7.4.9.3.4. Kickstart Details ⇒ Advanced Options —
7.4.9.3.5. Kickstart Details ⇒ Bare Metal Kickstart —
7.4.9.3.6. System Details ⇒ Details —
Figure 7.10. System Details
- Select from DHCP and static IP, depending on your network
- Choose the level of SELinux that is configured on kickstarted systems
- Enable configuration management or remote command execution on kickstarted systems
- Change the root password associated with this profile
7.4.9.3.7. System Details ⇒ Locale —
7.4.9.3.8. System Details ⇒ Partitioning —
partition /boot --fstype=ext3 --size=200 partition swap --size=2000 partition pv.01 --size=1000 --grow volgroup myvg pv.01 logvol / --vgname=myvg --name=rootvol --size=1000 --grow
7.4.9.3.9. System Details ⇒ File Preservation —
7.4.9.3.10. System Details ⇒ GPG and SSL —
Note
7.4.9.3.11. System Details ⇒ Troubleshooting —
- Bootloader
- For some headless systems, it is better to select the non-graphic LILO bootloader.
- Kernel Parameters
- Enter kernel parameters here that may help to narrow down the source of hardware issues.
7.4.9.3.12. Software ⇒ Package Groups —
Figure 7.11. Software
@office
or @admin-tools
you would like to install on the kickstarted system in the large text box on this page. If you would like to know what package groups are available, and what packages they contain, refer to the RedHat/base/
file of your kickstart tree. Satellite customers will most likely locate this file here: /var/www/satellite/rhn/kickstart/<kickstart label>/RedHat/base/comps.xml
.
7.4.9.3.13. Software ⇒ Package Profiles —
7.4.9.3.14. Activation Keys —
Figure 7.12. Activation Keys
7.4.9.3.15. Scripts —
Figure 7.13. Scripts
- Click the add new kickstart script link in the upper right
- Enter the path to the scripting language used to create the script, such as /usr/bin/perl
- Enter the full script in the large text box
- Indicate whether this script is to be executed in the %pre or %post section of the kickstart process
- Indicate whether this script is to run outside of the chroot environment. Refer to the Post-installation Script section of the Red Hat Enterprise Linux System Administration Guide for further explanation of the
nochroot
option
Note
/tmp/part-include
. Then you can call for that file by including the following line within the Partition Details field of the System Details ⇒ Partitioning tab:
%include /tmp/part-include
7.4.9.3.16. Kickstart File —
Figure 7.14. Kickstart File
7.4.9.4. Kickstart ⇒ Bare Metal —
7.4.9.5. Kickstart ⇒ GPG and SSL Keys —
Important
7.4.9.6. Kickstart ⇒ Distributions —
Note
Important
satellite-sync
are made available automatically and do not require the creation of a separate installation tree. These trees are available to client systems that kickstart through the Satellite. While you may be able to access the files from a non-kickstarting client, this functionality is not supported and may be removed at any time in the future.
my-orgs-rhel-as-5
. In the Tree Path field, paste the path or URL to the base of the installation tree. (You can test this by appending "README" to the URL in a Web browser, pressing Enter, and ensuring that the distribution's readme file appears.)
Red Hat Enterprise Linux (v. 5 for 32-bit x86)
and Red Hat Enterprise Linux 5
, respectively. When finished, click the button.
7.4.9.6.1. Kickstart ⇒ Distributions ⇒ Variables
IPADDR=192.168.0.28 GATEWAY=192.168.0.1
network
portion of a kickstart file looks like the following:
network --bootproto=static --device=eth0 --onboot=on --ip=$IPADDR --gateway=$GATEWAY
$IPADDR
will be 192.168.0.28
, and the $GATEWAY
will be 192.168.0.1
Note
7.4.9.7. Kickstart ⇒ File Preservation —
Important
/dev/hda1
and /dev/sda1
are not supported. Finally, only file and directory names may be entered. No regular expression wildcards can be included.