Installation ETH 10G
This commit is contained in:
parent
5669afdbc9
commit
78a5b0f5f2
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue