« Atelier SysRes SE4 2025/2026 E7 » : différence entre les versions
Aller à la navigation
Aller à la recherche
| Ligne 22 : | Ligne 22 : | ||
</syntaxhighlight> | </syntaxhighlight> | ||
dans le fichier <code>/etc/xen/SE4.C2</code>: | Les ajouter dans le fichier <code>/etc/xen/SE4.C2</code>: | ||
<syntaxhighlight> | <syntaxhighlight> | ||
'phy:/dev/virtual/SE4.C2-home,xvda3,w', | 'phy:/dev/virtual/SE4.C2-home,xvda3,w', | ||
'phy:/dev/virtual/SE4.C2-var,xvdb1,w', | 'phy:/dev/virtual/SE4.C2-var,xvdb1,w', | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Version actuelle datée du 20 janvier 2026 à 15:56
TEPELI Ibrahim
Création du pont:
Dans capbreton, dans /etc/network/interfaces on renseigne notre pont pontclio
auto pontclio
iface pontclio inet manual
bridge_ports none
up ip link set $IFACE up
down ip link set $IFACE downCréation des VM:
Pour créer nos VM avec xen:
xen-create-image --hostname=SE4.C2 --dir=/usr/local/xen --dist=excalibur --size=10GB --memory=1024M --bridge=pontclio --dhcpEnsuite créer les partitions var et home:
lvcreate -L10G -nSE4.C2.home virtual
lvcreate -L10G -nSE4.C2.var virtualLes ajouter dans le fichier /etc/xen/SE4.C2:
'phy:/dev/virtual/SE4.C2-home,xvda3,w',
'phy:/dev/virtual/SE4.C2-var,xvdb1,w',