Piste: • theforeman
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
|
pages_it:provisioning:theforeman [2017/09/07 14:18] ebelhomme [Mirror a Yum repository] |
pages_it:provisioning:theforeman [2017/09/08 07:20] (Version actuelle) ebelhomme [The Foreman installation with Katello support] |
||
|---|---|---|---|
| Ligne 11: | Ligne 11: | ||
| More readings : | More readings : | ||
| + | * https:// | ||
| + | * https:// | ||
| * https:// | * https:// | ||
| * https:// | * https:// | ||
| Ligne 17: | Ligne 19: | ||
| === Software === | === Software === | ||
| + | |||
| Foreman/ | Foreman/ | ||
| === Hardware === | === Hardware === | ||
| + | |||
| 12GB are highly recommended. | 12GB are highly recommended. | ||
| Ligne 27: | Ligne 31: | ||
| === Storage === | === Storage === | ||
| - | ^ mountpoint | + | |
| Red Hat strongly recommends to use **LVM** for partitioning, | Red Hat strongly recommends to use **LVM** for partitioning, | ||
| + | ^ mountpoint | ||
| | / | 10GB | base system | | / | 10GB | base system | ||
| | / | | / | ||
| Ligne 273: | Ligne 278: | ||
| On the Menu bar, click on // | On the Menu bar, click on // | ||
| < | < | ||
| - | {{ : | + | {{ : |
| </ | </ | ||
| ---- | ---- | ||
| Ligne 279: | Ligne 284: | ||
| Click on //**Create New View**// Button | Click on //**Create New View**// Button | ||
| < | < | ||
| - | {{ : | + | {{ : |
| </ | </ | ||
| ---- | ---- | ||
| Ligne 289: | Ligne 294: | ||
| Then click on // | Then click on // | ||
| < | < | ||
| - | {{ : | + | {{ : |
| </ | </ | ||
| ---- | ---- | ||
| Ligne 299: | Ligne 304: | ||
| Finally, click on //**Add Repositories**// | Finally, click on //**Add Repositories**// | ||
| < | < | ||
| - | {{ : | + | {{ : |
| </ | </ | ||
| ---- | ---- | ||
| Ligne 305: | Ligne 310: | ||
| go on the // | go on the // | ||
| < | < | ||
| - | {{ : | + | {{ : |
| </ | </ | ||
| ---- | ---- | ||
| Ligne 311: | Ligne 316: | ||
| Fill the // | Fill the // | ||
| < | < | ||
| - | {{ : | + | {{ : |
| </ | </ | ||
| ---- | ---- | ||
| Ligne 319: | Ligne 324: | ||
| When the publshing procedure is completed, you can click on the // | When the publshing procedure is completed, you can click on the // | ||
| < | < | ||
| - | {{ : | + | {{ : |
| </ | </ | ||
| ---- | ---- | ||
| Ligne 325: | Ligne 330: | ||
| Select the right //library// by clicking on the checkbox, then click on //**Promote Version**// | Select the right //library// by clicking on the checkbox, then click on //**Promote Version**// | ||
| < | < | ||
| - | {{ : | + | {{ : |
| </ | </ | ||
| ---- | ---- | ||
| Ligne 331: | Ligne 336: | ||
| === Activation keys === | === Activation keys === | ||
| + | <columns - -> | ||
| + | On the Menu bar, click on // | ||
| + | < | ||
| + | {{ : | ||
| + | </ | ||
| + | ---- | ||
| + | <columns - -> | ||
| + | Click on //**Create Activation Key**// Button | ||
| + | < | ||
| + | {{ : | ||
| + | </ | ||
| + | ---- | ||
| + | <columns - -> | ||
| + | Fill the form with the following informations : | ||
| + | * **Name** : The name of the activation key, | ||
| + | * **Unlimited Hosts** : check the box if you don't need to restrict the ammount of clients registered, | ||
| + | * **Description** : put a descriptive text, | ||
| + | * **Environment** : select the desired environments. | ||
| + | |||
| + | Then click on // | ||
| + | < | ||
| + | {{ : | ||
| + | </ | ||
| + | ---- | ||
| + | <columns - -> | ||
| + | Once the key is created, it can be used to register client hosts to this system by using the following command : | ||
| + | < | ||
| + | subscription-manager register --org=" | ||
| + | </ | ||
| + | < | ||
| + | {{ : | ||
| + | </ | ||
| + | ---- | ||
| ==== Configure client host ==== | ==== Configure client host ==== | ||
| - | | + | === Prerequisites === |
| + | |||
| + | The target system must have the required package installed prior registration : | ||
| + | | ||
| + | * **katello-ca-consumer-katello.xxx** must by downloaded from the Katello server itself. | ||
| + | |||
| + | In the following example, the Foreman/ | ||
| <code shell> | <code shell> | ||
| yum install -y subscription-manager | yum install -y subscription-manager | ||
| Ligne 339: | Ligne 383: | ||
| </ | </ | ||
| - | * register | + | === Client registration === |
| + | |||
| + | In order to register | ||
| + | * the **oraganization** name, in our example, the organization name is // | ||
| + | * the **activation key**. in our axample, | ||
| <code shell> | <code shell> | ||
| subscription-manager register --org=" | subscription-manager register --org=" | ||
| Ligne 347: | Ligne 395: | ||
| </ | </ | ||
| - | List available subscriptions | + | === List available subscriptions |
| < | < | ||
| Ligne 369: | Ligne 417: | ||
| </ | </ | ||
| - | Attach to a subscription | + | === Attach to a subscription |
| < | < | ||
| subscription-manager attach --pool=4028fa325e577a77015e5b0d989a0025 | subscription-manager attach --pool=4028fa325e577a77015e5b0d989a0025 | ||
| Successfully attached a subscription for: EPEL7 for CentOS/RHEL | Successfully attached a subscription for: EPEL7 for CentOS/RHEL | ||
| </ | </ | ||