|
| 1 | +# Proxmox |
| 2 | + |
| 3 | +## Overview |
| 4 | + |
| 5 | +A desktop tower with [Proxmox](https://www.proxmox.com/en/) installed on it was deployed to: |
| 6 | + |
| 7 | +* Be a future home for all LXD containers on the c220 so the c220 can eventually be retired |
| 8 | +* Host future projects that need a VM at the shop |
| 9 | +* Host 4 x 12TB drives to serve media to the shop LAN |
| 10 | + |
| 11 | +All Proxmox admin is done through the web GUI at [https://proxmox.synshop.net](https://proxmox.synshop.net), which is reverse proxied through the Caddy server to have a valid TLS cert. The baremetal IP is `10.0.40.16`, but of course the proxmox.synshop.net domain resolves to Caddy at `.29`. |
| 12 | + |
| 13 | +To log into the server, be on the VPN or at the shop, go the [URL](https://proxmox.synshop.net) and use the `proxmox` credentials from the shop password database. |
| 14 | + |
| 15 | +## Install & Hardware |
| 16 | + |
| 17 | +Proxmox was installed with these 7 drives: |
| 18 | + |
| 19 | +* 256GB Apple branded 2.5" SATA SSD: boot drive for prox mox (`/dev/sdc`) . Shows as `local-lvm` or `pve` in Proxmox |
| 20 | +* 256GB NVMe SSD: data volume for all active VMS (`/dev/nvme0n1`). Shows as `local` or `vmdata` in Proxmox. |
| 21 | +* 3TB SATA: Backup drive for all Proxmox data, VMs etc. (`/dev/sde`). Shows as `backups` in Proxmox. |
| 22 | +* 4 x 12TB SATA: TBD use for NAS/Media sharing (`/dev/sda`, `/dev/sdb`, `/dev/sdd` and `/dev/sdf` ). |
| 23 | + |
| 24 | +Here's the output of `lsblk`: |
| 25 | + |
| 26 | +```shell |
| 27 | +root@proxmox:~# lsblk |
| 28 | +NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS |
| 29 | +sda 8:0 0 10.9T 0 disk /mnt/nas/ZTN19LH8 |
| 30 | +sdb 8:16 0 10.9T 0 disk /mnt/nas/ZTN1AT71 |
| 31 | +sdc 8:32 0 233.8G 0 disk |
| 32 | +├─sdc1 8:33 0 1007K 0 part |
| 33 | +├─sdc2 8:34 0 1G 0 part /boot/efi |
| 34 | +└─sdc3 8:35 0 232.8G 0 part |
| 35 | + ├─pve-swap 252:0 0 8G 0 lvm [SWAP] |
| 36 | + ├─pve-root 252:1 0 68.2G 0 lvm / |
| 37 | + ├─pve-data_tmeta 252:2 0 1.4G 0 lvm |
| 38 | + │ └─pve-data-tpool 252:6 0 137.8G 0 lvm |
| 39 | + │ ├─pve-data 252:7 0 137.8G 1 lvm |
| 40 | + │ └─pve-vz 252:8 0 230G 0 lvm /mnt/nvme |
| 41 | + └─pve-data_tdata 252:3 0 137.8G 0 lvm |
| 42 | + └─pve-data-tpool 252:6 0 137.8G 0 lvm |
| 43 | + ├─pve-data 252:7 0 137.8G 1 lvm |
| 44 | + └─pve-vz 252:8 0 230G 0 lvm /mnt/nvme |
| 45 | +sdd 8:48 0 10.9T 0 disk /mnt/nas/ZTN1CWZL |
| 46 | +sde 8:64 1 2.7T 0 disk |
| 47 | +└─sde1 8:65 1 2.7T 0 part /mnt/pve/backups |
| 48 | +sdf 8:80 1 10.9T 0 disk /mnt/nas/ZRT122RV |
| 49 | +nvme0n1 259:0 0 232.9G 0 disk |
| 50 | +└─nvme0n1p1 259:1 0 232.9G 0 part |
| 51 | + ├─vmdata-vm--100--disk--0 252:4 0 32G 0 lvm |
| 52 | + └─vmdata-vm--101--disk--0 252:5 0 30G 0 lvm |
| 53 | +``` |
| 54 | + |
| 55 | +Within Proxmox, you can see the drives this way: |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | +## Downloading a new ISO |
| 61 | + |
| 62 | +To add a new ISO so that you can create a VM with it later: |
| 63 | + |
| 64 | +1. Navigate to `local` storage on left |
| 65 | +2. Click `ISO Images` in middle |
| 66 | +3. click `Upload` button at top |
| 67 | +4. Enter ISO URL and click `Download` |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | +## Creating a new VM |
| 72 | + |
| 73 | +1. On the left, Click "Datacenter" and then "Proxmox" |
| 74 | +2. In the upper right click "Create VM" |
| 75 | +3. On the `General` screen leave `Node` and `VM ID` with the default value. Enter a descriptive, but short name in `Name`. |
| 76 | +4. Check the `Advanced` check box near the bottom and check `Start at boot` box to ensure the VM is booted when ever the system reboots. |
| 77 | +5. Click `Next` |
| 78 | +6. On the `OS` screen, if you're installing from an ISO, for `Storage` choose `local` and choose the ISO in the `ISO image` drop down. |
| 79 | +7. Leave all other fields with default values and click `Next` |
| 80 | +8. On the `System` screen, leave all fields with default values and click `Next` |
| 81 | +9. On the `Disks` screen, choose `vmdata` for `Storage` which uses the "256GB NVMe SSD" device for very fast data. |
| 82 | +10. If you need more or less storage than `32`, update the `Disk Size (GiB)` as needed. |
| 83 | +11. Leave all other fields with default values and click `Next` |
| 84 | +12. On the `CPU` screen, choose `2` for `cores` and leave all the rest default and click `Next` |
| 85 | +13. On the `Memory` screen, add more or less RAM than `2GB` as needed. Leave all the rest default and click `Next` |
| 86 | +14. On the `Network` screen, leave all fields with default values and click `Next` (be sure to set a static IP in the VM after it boots) |
| 87 | +15. On the `Confirm` screen, review all data and click `Finish` |
| 88 | +16. Click on the right side of the screen where your new VM shows up as `NUMBER (Name)` eg `102 (truenas)` |
| 89 | +17. Click `Console` and choose `Start now` |
| 90 | + |
| 91 | + |
| 92 | +## NAS Drives |
| 93 | + |
| 94 | + |
0 commit comments