C.5. Registering a Host
Prerequisites
-
Ensure that an activation key that is associated with the appropriate content view and environment exists for the host. For more information, see Managing Activation Keys in the Content Management Guide. By default, an activation key has the
auto-attachfunction enabled. The feature is commonly used with hosts used as hypervisors. Ensure that the version of the
subscription-managerutility is 1.10 or higher. The package is available in the standard Red Hat Enterprise Linux repository.- On the Red Hat Enterprise Linux Workstation, connect to a terminal as the root user.
Register the host using Red Hat Subscription Manager:
subscription-manager register --org="My_Organization" --activationkey="MyKey"
# subscription-manager register --org="My_Organization" --activationkey="MyKey"Copy to Clipboard Copied! Toggle word wrap Toggle overflow
You can use the --environment option to override the content view and life cycle environment defined by the activation key. For example, to register a host to the content view "MyView" in a "Development" life cycle environment:
subscription-manager register --org="My_Organization" \ --environment=Development/MyView \ --activationkey="MyKey"
# subscription-manager register --org="My_Organization" \
--environment=Development/MyView \
--activationkey="MyKey"
For Red Hat Enterprise Linux 6.3 hosts, the release version defaults to Red Hat Enterprise Linux 6 Server and must point to the 6.3 repository.
- On Red Hat Satellite, select Hosts > Content Hosts.
- Select the name of the host that needs to be changed.
- In the Content Host Content section click the edit icon to the right of Release Version.
- Select "6.3" from the Release Version drop-down menu.
- Click Save.