Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
elearning:workbooks:hdp:l103 [2020/09/17 08:46] – admin | elearning:workbooks:hdp:l103 [2020/09/21 06:11] (Version actuelle) – admin | ||
---|---|---|---|
Ligne 5: | Ligne 5: | ||
Dernière mise-à-jour : ~~LASTMOD~~ | Dernière mise-à-jour : ~~LASTMOD~~ | ||
- | ======BDF101 - Ajouter un Hôte à un Cluster HDP Existant====== | + | ======BDF101 - Ajouter un Hôte et des Services |
=====Contenu du Module===== | =====Contenu du Module===== | ||
- | * **BDF101 - Ajouter un Hôte à un Cluster HDP Existant** | + | * **BDF101 - Ajouter un Hôte et des Services |
* Contenu du Module | * Contenu du Module | ||
* LAB #1 - Préparer l' | * LAB #1 - Préparer l' | ||
* LAB #2 - Configurer l' | * LAB #2 - Configurer l' | ||
* LAB #3 - Ajouter l' | * LAB #3 - Ajouter l' | ||
+ | * 3.1 - Accéder à la Console d' | ||
+ | * 3.2 - Ajouter l' | ||
+ | * Install Options | ||
+ | * Confirm Hosts | ||
+ | * Assign Slaves and Clients | ||
+ | * Configurations | ||
+ | * Review | ||
+ | * Install, Start and Test | ||
+ | * Summary | ||
+ | * LAB #4 - Ajouter les Services DataNode et NodeManager au worker4 | ||
+ | * 4.1 - Le Service DataNode | ||
+ | * 4.2 - Le Service NodeManager | ||
=====LAB #1 - Préparer l' | =====LAB #1 - Préparer l' | ||
Ligne 108: | Ligne 119: | ||
</ | </ | ||
- | Fermez le terminal figé et ouvrez un nouveau terminal. | + | Fermez le terminal figé et ouvrez un nouveau terminal. |
< | < | ||
Ligne 359: | Ligne 370: | ||
</ | </ | ||
- | Démarrez le service ambari-agent | + | Arrêtez la VM CentOS_7_8 |
< | < | ||
+ | [root@worker4 ~]# shutdown -h now | ||
+ | Connection to 192.168.56.8 closed by remote host. | ||
+ | Connection to 192.168.56.8 closed. | ||
+ | </ | ||
+ | |||
+ | =====LAB #3 - Ajouter l' | ||
+ | |||
+ | Démarrez la VM **CentOS_7_8** : | ||
+ | |||
+ | < | ||
+ | desktop@serverXX: | ||
+ | Waiting for VM " | ||
+ | VM " | ||
+ | </ | ||
+ | |||
+ | Connectez-vous à la VM en utilisant l' | ||
+ | |||
+ | < | ||
+ | desktop@serverXX: | ||
+ | trainee@192.168.56.8' | ||
+ | Last login: Thu Sep 17 11:12:31 2020 from 192.168.56.1 | ||
+ | </ | ||
+ | |||
+ | Vérifiez que le service ambari-client est en cours d' | ||
+ | |||
+ | < | ||
+ | [trainee@worker4 ~]$ su - | ||
+ | Password: fenestros | ||
+ | Last login: Thu Sep 17 11:12:36 CEST 2020 on pts/0 | ||
[root@worker4 ~]# systemctl status ambari-agent | [root@worker4 ~]# systemctl status ambari-agent | ||
● ambari-agent.service - LSB: ambari-agent daemon | ● ambari-agent.service - LSB: ambari-agent daemon | ||
| | ||
- | | + | |
Docs: man: | Docs: man: | ||
- | [root@worker4 ~]# systemctl enable ambari-agent | + | Process: |
- | ambari-agent.service is not a native service, redirecting to / | + | |
- | Executing / | + | |
- | [root@worker4 ~]# systemctl start ambari-agent | + | |
- | [root@worker4 ~]# systemctl status ambari-agent | + | |
- | ● ambari-agent.service - LSB: ambari-agent daemon | + | |
- | | + | |
- | | + | |
- | Docs: man: | + | |
- | | + | |
| | ||
- | | + | |
- | | + | |
- | Sep 17 08:08:17 worker4.ittraining.loc ambari-agent[1603]: Checking ambari-common dir... | + | Sep 17 11:20:32 worker4.ittraining.loc ambari-agent[873]: Checking ambari-common dir... |
- | Sep 17 08:08:17 worker4.ittraining.loc ambari-agent[1603]: Starting ambari-agent | + | Sep 17 11:20:32 worker4.ittraining.loc ambari-agent[873]: Starting ambari-agent |
- | Sep 17 08:08:19 worker4.ittraining.loc ambari-agent[1603]: Verifying ambari-agent process status... | + | Sep 17 11:20:34 worker4.ittraining.loc ambari-agent[873]: Verifying ambari-agent process status... |
- | Sep 17 08:08:19 worker4.ittraining.loc ambari-agent[1603]: tput: No value for $TERM and no -T specified | + | Sep 17 11:20:34 worker4.ittraining.loc ambari-agent[873]: tput: No value for $TERM and no -T specified |
- | Sep 17 08:08:19 worker4.ittraining.loc ambari-agent[1603]: Ambari Agent successfully started | + | Sep 17 11:20:34 worker4.ittraining.loc ambari-agent[873]: Ambari Agent successfully started |
- | Sep 17 08:08:19 worker4.ittraining.loc ambari-agent[1603]: tput: No value for $TERM and no -T specified | + | Sep 17 11:20:34 worker4.ittraining.loc ambari-agent[873]: tput: No value for $TERM and no -T specified |
- | Sep 17 08:08:19 worker4.ittraining.loc ambari-agent[1603]: Agent PID at: / | + | Sep 17 11:20:34 worker4.ittraining.loc ambari-agent[873]: Agent PID at: / |
- | Sep 17 08:08:19 worker4.ittraining.loc ambari-agent[1603]: Agent out at: / | + | Sep 17 11:20:34 worker4.ittraining.loc ambari-agent[873]: Agent out at: / |
- | Sep 17 08:08:19 worker4.ittraining.loc ambari-agent[1603]: Agent log at: / | + | Sep 17 11:20:34 worker4.ittraining.loc ambari-agent[873]: Agent log at: / |
- | Sep 17 08:08:19 worker4.ittraining.loc systemd[1]: Started LSB: ambari-agent daemon. | + | Sep 17 11:20:34 worker4.ittraining.loc systemd[1]: Started LSB: ambari-agent daemon. |
- | </ | + | |
- | + | ||
- | Redémarrez la VM CentOS_7_8 : | + | |
- | + | ||
- | < | + | |
- | [root@worker4 ~]# shutdown -r now | + | |
- | Connection to 192.168.56.8 closed by remote host. | + | |
- | Connection to 192.168.56.8 closed. | + | |
</ | </ | ||
=====LAB #3 - Ajouter l' | =====LAB #3 - Ajouter l' | ||
- | ====Accéder à la Console d' | + | ====3.1 - Accéder à la Console d' |
Connectez-vous au serverXX en utilisant le client **X2Go** : | Connectez-vous au serverXX en utilisant le client **X2Go** : | ||
Ligne 416: | Ligne 439: | ||
{{ : | {{ : | ||
+ | |||
+ | ====3.2 - Ajouter l' | ||
Cliquez sur le lien **Hosts** : | Cliquez sur le lien **Hosts** : | ||
Ligne 425: | Ligne 450: | ||
{{ : | {{ : | ||
- | ====Install Options==== | + | ===Install Options=== |
Entrez le nom de worker4.ittraining.loc dans l' | Entrez le nom de worker4.ittraining.loc dans l' | ||
Ligne 431: | Ligne 456: | ||
{{ : | {{ : | ||
- | Choisissez l' | + | Choisissez l' |
{{ : | {{ : | ||
- | ====Confirm Hosts==== | + | ===Confirm Hosts=== |
- | Cliquez | + | Cliquez sur le bouton **REGISTER AND CONFIRM** : |
{{ : | {{ : | ||
Ligne 445: | Ligne 470: | ||
{{ : | {{ : | ||
- | L' | + | L' |
{{ : | {{ : | ||
- | ====Assign Slaves and Clients==== | + | ===Assign Slaves and Clients=== |
L' | L' | ||
Ligne 455: | Ligne 480: | ||
{{ : | {{ : | ||
+ | ===Configurations=== | ||
+ | |||
+ | L' | ||
{{ : | {{ : | ||
+ | |||
+ | ===Review=== | ||
+ | |||
+ | L’assistant vous propose maintenant un résumé de vos choix. Cliquez sur le bouton **DEPLOY** : | ||
{{ : | {{ : | ||
+ | |||
+ | ===Install, Start and Test=== | ||
+ | |||
+ | Le déploiement peut prendre jusqu' | ||
{{ : | {{ : | ||
+ | |||
+ | A l'issu du déploiement, | ||
{{ : | {{ : | ||
+ | |||
+ | ===Summary=== | ||
+ | |||
+ | L’assistant vous propose maintenant un sommaire. Cliquez sur le bouton **COMPLETE** : | ||
{{ : | {{ : | ||
- | {{ : | + | Vous arrivez sur la liste des hôtes dans la console de gestion : |
+ | |||
+ | {{ : | ||
+ | |||
+ | =====LAB #4 - Ajouter les Services DataNode et NodeManager au worker4===== | ||
+ | |||
+ | ====4.1 - Le Service DataNode==== | ||
+ | |||
+ | Cliquez sur le lien **worker4.ittraining.loc** : | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Cliquez sur le bouton **ADD** et choisissez **DataNode** dans la liste proposée : | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Dans la boîte de dialogue qui apparaît, cliquez sur le bouton **CONFIRM ADD** : | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Attendez que le service ait été ajouté et cliquez sur le bouton **OK** : | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Pour démarrer le service, cliquez sur les trois points horizontaux puis sur **Start** de la ligne du service **DataNode** : | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Cliquez sur le bouton **OK** dans la boîte de dialogue de confirmation : | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Attendez que le service ait été démarré puis cliquez sur le bouton **OK** : | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Retournez au **Dashboard** et notez que le nombre de **DataNodes Live** est passé à **4** : | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | ====4.2 - Le Service Node Manager==== | ||
+ | |||
+ | Cliquez sur le lien **Hosts** : | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Cliquez sur le lien **worker4.ittraining.loc** : | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Cliquez sur le bouton **ADD** et choisissez **NodeManager** dans la liste proposée : | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Dans la boîte de dialogue qui apparaît, cliquez sur le bouton **CONFIRM ADD** : | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Attendez que le service ait été ajouté et cliquez sur le bouton **OK** : | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Pour démarrer le service, cliquez sur les trois points horizontaux puis sur **Start** de la ligne du service **NodeManager** : | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Cliquez sur le bouton **OK** dans la boîte de dialogue de confirmation : | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Attendez que le service ait été démarré puis cliquez sur le bouton **OK** : | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Retournez au **Dashboard** et notez que le nombre de **NodeManagers Live** est passé à **4** : | ||
+ | |||
+ | {{ : | ||
+ | |||
----- | ----- | ||
< | < |