- Install the new master using the same VG name as the old master
- Turn on maintenance mode in Configuration --> Maintenance
- In the old master, go to Backup --> Database Backup --> Immediate Backup --> Start Database Backup
- Download the database backup and upload it to the folder
/var/virtualizor/dbbackups/
in the new master - Restore the database backup in the new master using the command
/usr/local/emps/bin/php /usr/local/virtualizor/scripts/db_restore.php
- Copy all of the XML files from
/etc/libvirt/qemu/
to the new master - Copy all of the OS templates from
/var/virtualizor/kvm/
to the new master - Run
lvscan
and create each LV in the new master (lvcreate --name vsvXXXXXXXXXXX -L SIZEG VGNAME
) - Turn off all of the VMs and then export each LV into a .img file using the command
dd if=/dev/VGNAME/vsvXXXXXXXXXXXXXX of=vsvXXXXXX.img bs=8M status=progress
Note that this step will require a lot of storage, I recommend attaching an external hard drive and saving the .img files in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import asyncio | |
import logging | |
import functools | |
import youtube_dl | |
from random import choice | |
from concurrent.futures import ThreadPoolExecutor | |
log = logging.getLogger(__name__) |
Use at your own risk, I do not take any responsibility if your stuff breaks. BACKUP YOUR DATA BEFORE!
To confirm this issue happens to you, look for the message Reset adapter unexpectedly
in /var/log/messages
:
Use the command cat /var/log/messages | grep "Reset adapter unexpectedly"
If no messages show up, do the command again once you notice huge packet loss, if still nothing shows up - you're having a different issue.
This guide will help you fix Ubuntu 20.04 TCP packet drops on high load with the intel e1000e driver.
Use at your own risk, I do not take any responsibility if your stuff breaks. BACKUP YOUR DATA BEFORE!
To confirm this issue happens to you, look for the message Reset adapter unexpectedly
in /var/log/dmesg
:
Use the command cat /var/log/dmesg | grep "Reset adapter unexpectedly"
If no messages show up, do the command again once you notice huge packet loss, if still nothing shows up - you're having a different issue.