# 5 - Installation de vcenter

#### **À quoi sert vCenter ?**

vCenter permet aux administrateurs informatiques de gérer plusieurs serveurs physiques et leurs machines virtuelles depuis une interface unique.

Ses principales fonctions :

- Gestion des hôtes ESXi : administrer plusieurs serveurs physiques.
- Gestion des machines virtuelles (VM) : créer, démarrer, arrêter et configurer des VM.
- vMotion : déplacer une machine virtuelle d’un hôte ESXi à un autre sans interruption de service, sous certaines conditions.
- Haute disponibilité (HA) : redémarrer automatiquement les VM sur un autre hôte en cas de panne, si l’environnement est configuré pour cela.
- Gestion des ressources : répartir les ressources CPU et mémoire entre les machines virtuelles.

####  **Prérequis** 

**Prérequis du poste hôte :**

- 500 Go de disque
- 32 Go de RAM
- Virtualisation activée dans le BIOS
- 2 VM ESXi

**Prérequis à télécharger :**

- VMware Workstation
- ISO : `VMware-VCSA-all-8.0.3.iso`

#### **Installation de vcenter**

1. Monter l'ISO sur votre PC et lancer l'installer [![image.png](https://book.techoops.fr/uploads/images/gallery/2026-10/scaled-1680-/JqNimage.png)](https://book.techoops.fr/uploads/images/gallery/2026-10/JqNimage.png)
    
    [![image.png](https://book.techoops.fr/uploads/images/gallery/2026-10/scaled-1680-/5m2image.png)](https://book.techoops.fr/uploads/images/gallery/2026-10/5m2image.png)
    
    [![image.png](https://book.techoops.fr/uploads/images/gallery/2026-10/scaled-1680-/2A2image.png)](https://book.techoops.fr/uploads/images/gallery/2026-10/2A2image.png)
    
    [![image.png](https://book.techoops.fr/uploads/images/gallery/2026-10/scaled-1680-/EZnimage.png)](https://book.techoops.fr/uploads/images/gallery/2026-10/EZnimage.png)
    
    [![image.png](https://book.techoops.fr/uploads/images/gallery/2026-10/scaled-1680-/mhXimage.png)](https://book.techoops.fr/uploads/images/gallery/2026-10/mhXimage.png)
    
    [![image.png](https://book.techoops.fr/uploads/images/gallery/2026-10/scaled-1680-/hS1image.png)](https://book.techoops.fr/uploads/images/gallery/2026-10/hS1image.png)
    
    [![image.png](https://book.techoops.fr/uploads/images/gallery/2026-10/scaled-1680-/isDimage.png)](https://book.techoops.fr/uploads/images/gallery/2026-10/isDimage.png)
    
    [![image.png](https://book.techoops.fr/uploads/images/gallery/2026-10/scaled-1680-/uZOimage.png)](https://book.techoops.fr/uploads/images/gallery/2026-10/uZOimage.png)
    
    [![image.png](https://book.techoops.fr/uploads/images/gallery/2026-10/scaled-1680-/ZQPimage.png)](https://book.techoops.fr/uploads/images/gallery/2026-10/ZQPimage.png)
    
    [![image.png](https://book.techoops.fr/uploads/images/gallery/2026-10/scaled-1680-/d9simage.png)](https://book.techoops.fr/uploads/images/gallery/2026-10/d9simage.png)
    
    [![image.png](https://book.techoops.fr/uploads/images/gallery/2026-10/scaled-1680-/LuBimage.png)](https://book.techoops.fr/uploads/images/gallery/2026-10/LuBimage.png)
    
    [![image.png](https://book.techoops.fr/uploads/images/gallery/2026-10/scaled-1680-/uvTimage.png)](https://book.techoops.fr/uploads/images/gallery/2026-10/uvTimage.png)
2. Attendre le déploiement du Vcenter --&gt; stage 1.   
    On peut se rendre sur esx 01 et voire l'avancement   
    [![image.png](https://book.techoops.fr/uploads/images/gallery/2026-10/scaled-1680-/jCcimage.png)](https://book.techoops.fr/uploads/images/gallery/2026-10/jCcimage.png)
    
    [![image.png](https://book.techoops.fr/uploads/images/gallery/2026-10/scaled-1680-/C8oimage.png)](https://book.techoops.fr/uploads/images/gallery/2026-10/C8oimage.png)
    
    [![image.png](https://book.techoops.fr/uploads/images/gallery/2026-10/scaled-1680-/jtKimage.png)](https://book.techoops.fr/uploads/images/gallery/2026-10/jtKimage.png)
    
    [![image.png](https://book.techoops.fr/uploads/images/gallery/2026-10/scaled-1680-/XuEimage.png)](https://book.techoops.fr/uploads/images/gallery/2026-10/XuEimage.png)
    
    [![image.png](https://book.techoops.fr/uploads/images/gallery/2026-10/scaled-1680-/QGEimage.png)](https://book.techoops.fr/uploads/images/gallery/2026-10/QGEimage.png)
    
    [![image.png](https://book.techoops.fr/uploads/images/gallery/2026-10/scaled-1680-/b4Oimage.png)](https://book.techoops.fr/uploads/images/gallery/2026-10/b4Oimage.png)
    
    [![image.png](https://book.techoops.fr/uploads/images/gallery/2026-10/scaled-1680-/TGMimage.png)](https://book.techoops.fr/uploads/images/gallery/2026-10/TGMimage.png)
3. N'ayant pas mis de DNS en place, il va falloir "feinter" la Vm en ajoutant dans son resolver DNS une redirection vers lui même. 
    1. Se connecter en SSH au vcenter  
        ```powershell
        C:\Users\kvega_admin>ssh root@192.168.156.134
        The authenticity of host '192.168.156.134 (192.168.156.134)' can't be established.
        ED25519 key fingerprint is SHA256:tUfMhjBr37ke3jgYK62akt7TF7XDucgxm1pza9FzLcs.
        This key is not known by any other names.
        Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
        Warning: Permanently added '192.168.156.134' (ED25519) to the list of known hosts.
        
        VMware vCenter Server Appliance 8.0.3.00000
        
        (root@192.168.156.134) Password:
        Connected to service
        
            * List APIs: "help api list"
            * List Plugins: "help pi list"
            * Launch BASH: "shell"
        
        Command> shell
        ```
    2. Ajouter l'IP manuellement:  
        ```bash
        root@vct-front-01 [ ~ ]# cat >> /etc/dnsmasq.conf <<'EOF'
        address=/vct-front-01.myges.lan/192.168.156.134
        ptr-record=134.156.168.192.in-addr.arpa,vct-front-01.myges.lan
        EOF
        root@vct-front-01 [ ~ ]# systemctl restart dnsmasq
        ```
4. Attendre la fin du step 2  
    [![image.png](https://book.techoops.fr/uploads/images/gallery/2026-10/scaled-1680-/2xYimage.png)](https://book.techoops.fr/uploads/images/gallery/2026-10/2xYimage.png)
5. Ajouter dans le fichier de DNS (windows) l'entrée associée au vcenter 
    1. Ouvrir un navigateur en administrateur  
        ```powershell
        $hostsFile = "$env:SystemRoot\System32\drivers\etc\hosts"
        $entry     = "192.168.156.134`tvct-front-01.myges.lan`tvct-front-01"
        
        if (-not (Select-String -Path $hostsFile -Pattern 'vct-front-01' -Quiet)) {
            Add-Content -Path $hostsFile -Value "`r`n$entry" -Encoding ASCII
            Write-Host "Entrée ajoutée." -ForegroundColor Green
        } else {
            Write-Host "Une entrée vct-front-01 existe déjà :" -ForegroundColor Yellow
            Select-String -Path $hostsFile -Pattern 'vct-front-01'
        }
        
        ipconfig /flushdns | Out-Null
        Resolve-DnsName vct-front-01.myges.lan -Type A
        ```
6. Allez sur [https://vct-front-01.myges.lan](https://vct-front-01.myges.lan/?workflow=installer)  
    [![image.png](https://book.techoops.fr/uploads/images/gallery/2026-10/scaled-1680-/rrvimage.png)](https://book.techoops.fr/uploads/images/gallery/2026-10/rrvimage.png)

#### **Ajout des ESX au vcenter**

1. Créer un centre de donnée  
    [![image.png](https://book.techoops.fr/uploads/images/gallery/2026-10/scaled-1680-/E4mimage.png)](https://book.techoops.fr/uploads/images/gallery/2026-10/E4mimage.png)
    
    [![image.png](https://book.techoops.fr/uploads/images/gallery/2026-10/scaled-1680-/6d9image.png)](https://book.techoops.fr/uploads/images/gallery/2026-10/6d9image.png)
2. Ajouter les ESX sur le centre de donnée  
    [![image.png](https://book.techoops.fr/uploads/images/gallery/2026-10/scaled-1680-/rFzimage.png)](https://book.techoops.fr/uploads/images/gallery/2026-10/rFzimage.png)
    
    [![image.png](https://book.techoops.fr/uploads/images/gallery/2026-10/scaled-1680-/pDqimage.png)](https://book.techoops.fr/uploads/images/gallery/2026-10/pDqimage.png)
    
    [![image.png](https://book.techoops.fr/uploads/images/gallery/2026-10/scaled-1680-/5QZimage.png)](https://book.techoops.fr/uploads/images/gallery/2026-10/5QZimage.png)
    
    [![image.png](https://book.techoops.fr/uploads/images/gallery/2026-10/scaled-1680-/uu0image.png)](https://book.techoops.fr/uploads/images/gallery/2026-10/uu0image.png)
    
    [![image.png](https://book.techoops.fr/uploads/images/gallery/2026-10/scaled-1680-/Gztimage.png)](https://book.techoops.fr/uploads/images/gallery/2026-10/Gztimage.png)
    
    [![image.png](https://book.techoops.fr/uploads/images/gallery/2026-10/scaled-1680-/2aVimage.png)](https://book.techoops.fr/uploads/images/gallery/2026-10/2aVimage.png)
    
    [![image.png](https://book.techoops.fr/uploads/images/gallery/2026-10/scaled-1680-/1zYimage.png)](https://book.techoops.fr/uploads/images/gallery/2026-10/1zYimage.png)
    
    [![image.png](https://book.techoops.fr/uploads/images/gallery/2026-10/scaled-1680-/pupimage.png)](https://book.techoops.fr/uploads/images/gallery/2026-10/pupimage.png)
    
    [![image.png](https://book.techoops.fr/uploads/images/gallery/2026-10/scaled-1680-/uTRimage.png)](https://book.techoops.fr/uploads/images/gallery/2026-10/uTRimage.png)
3. Une fois avoir ajouté tout les hôtes voici comment doit se trouver le cluster  
    [![image.png](https://book.techoops.fr/uploads/images/gallery/2026-10/scaled-1680-/oGZimage.png)](https://book.techoops.fr/uploads/images/gallery/2026-10/oGZimage.png)