User Tools

Site Tools


computing:proxmux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
computing:proxmux [2023/06/19 16:07] oemb1905computing:proxmux [2023/12/24 11:26] (current) – removed oemb1905
Line 1: Line 1:
-------------------------------------------- 
-  * **proxmux**  
-  * **Jonathan Haack** 
-  * **Haack's Networking** 
-  * **webmaster@haacksnetworking.org** 
  
-------------------------------------------- 
- 
-//proxmux//       
- 
-------------------------------------------- 
- 
-Been testing proxmux on home back up server. The server is my old production SuperMicro, which is now used for offsite backups in the home office. I have two 6TB drives in a zfs mirror for vm spinning (no spare), and the other 6x 6TBs are in 3 two-way mirrors for actual production backups. I am using the Debian underbelly with the 3 two-way mirrors to run my normal rsnapshot version control scripts, etc., while I use one pool for testing proxmux functionality. So far everything is working fine, and it's fun to use. Until I am offering advanced business / small enterprise support though, there's not really a need for the tools. But/and, that's not the purpose - the purpose is testing for now for a later date. The first thing I tested was how to bring in an existing virtual machine. To do that, create a machine in the GUI with no OS, and a trivial small HD size. Make sure the other resources match what you need for the VM. Then, run these commands on the command line within the proxmux host: 
- 
-  qm importdisk 500 hub.jonathanhaack.com.qcow2 <dataset> 
-  qm set 500 --scsi0 vms:vm-500-disk-0 
-   
-These commands bring in the image block by block, and then re-assign the virtual disk that VM 500 uses to the image you just brought in, instead of the placeholder image you created in the GUI during the step prior. In order to export a VM at the command line, execute: 
- 
-  vzdump <vmID> 
-   
-This will create a VM in .vma format. To convert it to a raw disk, use the python tool [[https://github.com/jancc/vma-extractor/blob/master/vma.py|vma.py]]. Example syntax is: 
- 
-  python3 vma.py vzdump-qemu-101-2023_06_18-12_17_40.vma /mnt/backups/vma 
-   
-You can also use vma extract as follows: 
- 
-  vma extract vzdump-qemu-101-2023_06_18-12_17_40.vma /mnt/backups/vma-extract 
- 
-In order to see where the virtual machine's zdevs are, run the following: 
- 
-  zfs list 
-   
-To delete one (be careful), use the following 
- 
-  zfs destroy pool/dataset 
- 
- 
- --- //[[jonathan@haacksnetworking.org|oemb1905]] 2023/06/19 10:06// 
computing/proxmux.1687190859.txt.gz · Last modified: 2023/06/19 16:07 by oemb1905