Ce contenu n'est pas disponible dans la langue sélectionnée.
Chapter 9. Manually Installing and Configuring Node Hosts
Prerequisites:
Warning
9.1. Configuring Node Host Entitlements Copier lienLien copié sur presse-papiers!
Channel Name | Purpose | Required | Provided By |
---|---|---|---|
Red Hat OpenShift Enterprise 2.2 Application Node (for RHSM), or
Red Hat OpenShift Enterprise 2.2 Node (for RHN Classic).
| Base channel for OpenShift Enterprise 2.2 node hosts. | Yes. | "OpenShift Enterprise" subscription. |
Red Hat Software Collections 1. | Provides access to the latest versions of programming languages, database servers, and related packages. | Yes. | "OpenShift Enterprise" subscription. |
Red Hat OpenShift Enterprise 2.2 JBoss EAP add-on. | Provides the JBoss EAP premium xPaaS cartridge. | Only to support the JBoss EAP cartridge. | "JBoss Enterprise Application Platform for OpenShift Enterprise" subscription. |
JBoss Enterprise Application Platform. | Provides JBoss EAP. | Only to support the JBoss EAP cartridge. | "JBoss Enterprise Application Platform for OpenShift Enterprise" subscription. |
Red Hat OpenShift Enterprise 2.2 JBoss Fuse add-on. | Provides the JBoss Fuse premium xPaaS cartridge (available starting in OpenShift Enterprise 2.1.7). | Only to support the JBoss Fuse cartridge. | "JBoss Fuse for xPaaS" subscription. |
Red Hat OpenShift Enterprise 2.2 JBoss A-MQ add-on. | Provides the JBoss A-MQ premium xPaaS cartridge (available starting in OpenShift Enterprise 2.1.7). | Only to support the JBoss A-MQ cartridge. | "JBoss A-MQ for xPaaS" subscription. |
JBoss Enterprise Web Server 2. | Provides Tomcat 6 and Tomcat 7. | Only to support the JBoss EWS (Tomcat 6 and 7) standard cartridges. | "OpenShift Enterprise" subscription. |
Red Hat OpenShift Enterprise Client Tools 2.2. | Provides access to the OpenShift Enterprise 2.2 client tools. | Only if client tools are used on the node host. | "OpenShift Enterprise" subscription. |
9.1.1. Using Red Hat Subscription Management on Node Hosts Copier lienLien copié sur presse-papiers!
Procedure 9.1. To Configure Node Host Subscriptions Using Red Hat Subscription Management:
- Use the
subscription-manager register
command to register your Red Hat Enterprise Linux system.Example 9.1. Registering the System
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Use the
subscription-manager list --available
command and locate any desired OpenShift Enterprise subscription pool IDs in the output of available subscriptions on your account.Example 9.2. Finding Subscription Pool IDs
Copy to Clipboard Copied! Toggle word wrap Toggle overflow The "OpenShift Enterprise" subscription is the only subscription required for basic node operation. Additional subscriptions, detailed in Section 9.1, “Configuring Node Host Entitlements”, are optional and only required based on your planned usage of OpenShift Enterprise. For example, locate the pool ID for the "JBoss Enterprise Application Platform for OpenShift Enterprise" subscription if you plan to install the JBoss EAP premium xPaaS cartridge. - Attach the desired subscription(s). Replace
pool-id
in the following command with your relevantPool Id
value(s) from the previous step:subscription-manager attach --pool pool-id --pool pool-id
# subscription-manager attach --pool pool-id --pool pool-idsubscription-manager attach --pool pool-id --pool pool-idsubscription-manager attach --pool pool-id --pool pool-idsubscription-manager attach --pool pool-id --pool pool-id
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Enable the
Red Hat OpenShift Enterprise 2.2 Application Node
channel:subscription-manager repos --enable rhel-6-server-ose-2.2-node-rpms
# subscription-manager repos --enable rhel-6-server-ose-2.2-node-rpms
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Verify that the
yum repolist
command lists the enabled channel(s).Example 9.3. Verifying the Enabled Node Channel
yum repolist
# yum repolist repo id repo name rhel-server-6-ose-2.2-node-rpms Red Hat OpenShift Enterprise 2.2 Application Node (RPMs)
Copy to Clipboard Copied! Toggle word wrap Toggle overflow OpenShift Enterprise node hosts require a customizedyum
configuration to install correctly. For continued steps to correctly configureyum
, see Section 9.2, “Configuring Yum on Node Hosts”.
9.1.2. Using Red Hat Network Classic on Node Hosts Copier lienLien copié sur presse-papiers!
Note
Procedure 9.2. To Configure Node Host Subscriptions Using Red Hat Network Classic:
- Use the
rhnreg_ks
command to register your Red Hat Enterprise Linux system. Replaceusername
andpassword
in the following command with your Red Hat Network account credentials:rhnreg_ks --username username --password password
# rhnreg_ks --username username --password passwordrhnreg_ks --username username --password passwordrhnreg_ks --username username --password passwordrhnreg_ks --username username --password password
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Enable the
Red Hat OpenShift Enterprise 2.2 Node
channel:rhn-channel -a -c rhel-x86_64-server-6-ose-2.2-node
# rhn-channel -a -c rhel-x86_64-server-6-ose-2.2-node
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Verify that the
yum repolist
command lists the enabled channel(s).Example 9.4. Verifying the Enabled Node Channel
yum repolist
# yum repolist repo id repo name rhel-x86_64-server-6-ose-2.2-node Red Hat OpenShift Enterprise 2.2 Node - x86_64
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
yum
configuration to install correctly. For continued steps to correctly configure yum
, see Section 9.2, “Configuring Yum on Node Hosts”.