Installation ETH 10G

This commit is contained in:
admin666 2022-08-05 14:56:36 +02:00
parent 5669afdbc9
commit 78a5b0f5f2
5 changed files with 9 additions and 6 deletions

View File

@ -16,7 +16,9 @@ do
if [[ "$retour" =~ 'block copy still active' ]]
then
echo "-- Finishing blockjob for $vm ..."
sudo virsh blockjob $vm $path_vda --pivot --info
sudo virsh blockjob $vm $path_vda --info
sudo virsh blockjob $vm $path_vda --pivot
echo "-- BLOCKCOMMITTING $vm ..."
sudo virsh blockcommit $vm vda --active --verbose --pivot --delete 2>&1
fi
@ -30,7 +32,8 @@ do
if [[ "$retour" =~ 'block copy still active' ]]
then
echo "-- Finishing blockjob for $vm ..."
sudo virsh blockjob $vm $path_vdb --pivot --info
sudo virsh blockjob $vm $path_vdb --info
sudo virsh blockjob $vm $path_vdb --pivot
echo "-- BLOCKCOMMITTING $vm ..."
sudo virsh blockcommit $vm vda --active --verbose --pivot --delete 2>&1
fi

View File

@ -11,6 +11,6 @@ do
fi
echo MIGRATING $vm ...
sudo virsh migrate --verbose --live --persistent --undefinesource --abort-on-error $vm qemu+ssh://aunt:223/system
sudo virsh migrate --verbose --live --persistent --undefinesource --abort-on-error $vm qemu+ssh://192.169.254.3:223/system
sudo mv /var/backups/vm/mother/$vm /var/backups/vm/aunt
done

View File

@ -11,6 +11,6 @@ do
fi
echo MIGRATING $vm ...
sudo virsh migrate --verbose --live --persistent --undefinesource --abort-on-error $vm qemu+ssh://mother:222/system
sudo virsh migrate --verbose --live --persistent --undefinesource --abort-on-error $vm qemu+ssh://192.169.254.2:222/system
sudo mv /var/backups/vm/aunt/$vm /var/backups/vm/mother
done

View File

@ -9,5 +9,5 @@ then
fi
echo MIGRATING $vm ...
sudo virsh migrate --verbose --live --persistent --undefinesource --abort-on-error $vm qemu+ssh://aunt:223/system
sudo virsh migrate --verbose --live --persistent --undefinesource --abort-on-error $vm qemu+ssh://192.169.254.3:223/system
sudo mv /var/backups/vm/mother/$vm /var/backups/vm/aunt

View File

@ -9,5 +9,5 @@ then
fi
echo MIGRATING $vm ...
sudo virsh migrate --verbose --live --persistent --undefinesource --abort-on-error $vm qemu+ssh://mother:222/system
sudo virsh migrate --verbose --live --persistent --undefinesource --abort-on-error $vm qemu+ssh://192.169.254.2:222/system
sudo mv /var/backups/vm/aunt/$vm /var/backups/vm/mother