Posts

Showing posts with the label VMWare

Proxmox-NUT Homelab HOWTO : Step 0 : The Proxmox-NUT HomeLab HowTo: Introduction

Image
Step 0: The Proxmox-NUT HomeLab HowTo: Introduction The series includes this article, a 7-part video series, and a VMWare archive. In this HowTo, I cover the following steps: Configure a VM on VMWare Workstation Pro to install Proxmox on it; Install a Windows Server 2022 VM as a VM in Proxmox; Install the NUT (Network UPS Tools) UPS Software. I also configure Proxmox, Windows Server 2022, and NUT to use a Gmail SMTP relay. This will be used by Proxmox and Windows server to send emails when they start and stop. Proxmox and NUT will provide additional status information. Windows Server is configured to start automatically when Proxmox starts and will shut down cleanly without manual intervention when Proxmox is shutdown or rebooted. Every stage is tested out to verify that everything is working as expected. Any limitations are highlighted. A snapshot of the VM state after every Step is taken. You can download the entire archive and run it on your own hardware. If you decide yo

Proxmox-NUT Homelab HOWTO - Step 2: Setup email using gmail.smtp.com as relay / Test Email from shell and Proxmox GUI / Test Proxmox startup / shutdown notification

Image
Step 2: Setup email using gmail.smtp.com as relay / Test Email from shell and Proxmox GUI / Test Proxmox startup / shutdown notification We will set up Gmail as a relay within Debian (the OS on which Proxmox runs). We will look at the options within Proxmox that allow us to configure email communication on this SMTP. We will also configure Debian so that whenever it starts and stops it alerts us with an email. Generate a Gmail app password setup   Log into Gmail, click on the cog and click on "Manage Google Account". In the search bar, type "App Passwords". Enter a name that describes where the password is used. This step is very important because this name is the only way to remember where this app password is being used. If you have many app passwords, you can easily recognise which password is used where. Furthermore, if you decide to disengage an SMTP relay all you have to do is delete the app associated with that service. Copy the generated password into

Proxmox-NUT Homelab HOWTO - Step 5 : Install NUT UPS Solution / Configure NUT for Email Alerts and System Shutdown / Test

Image
Step 5: Install NUT UPS Solution / Configure NUT for Email Alerts and System Shutdown / Test NUT will be installed on Debian (Proxmox) and will be linked to a single APC UPS. When there is a power failure, NUT will send an email. Its status will change from Online ( OL ) to On Battery ( OB ). When either the remain battery percentage charge goes below a certain value (85% in this example) or the remaining run time goes below a certain amount (15 minutes in this example), the UPS status will change from OB to Low Battery ( LB ). When the status becomes LB , NUT will send out an email and start shutting down Debian. As part of the Proxmox shutdown process it will shut down all guests running with it and then shut down itself. After that the OS shuts down. If the LB condition does not trigger within 5 minutes the UPS will shut down Proxmox. This is discussed further below. NUT manages other UPS status such as whether it is discharging and if the battery needs replacing. These set

Proxmox-NUT Homelab HOWTO - Step 99: Conclusion and going forward

Image
Step 99: Conclusion and going forward We've reached the end of this How-To, and I hope you found it informative and helpful. Feel free to download the VM with its snapshots to experiment and expand upon what's been covered. For instance, if you crack the email shutdown mechanism, want to explore Proxmox backups, or demonstrate ACPI usage on Linux, you can start from a suitable snapshot. To make it easier for others, please take a snapshot of your work on a specific topic. If you share the enhanced VM, I'll distribute it to others. We're also looking for someone to temporarily share 50GB of fast server space. Let me know if you can help. Thank you for following along. Please consider sharing, liking, and subscribing to support our work. Take Care   Video     Links YouTube     https://www.youtube.com/@chribonn   Blog     https://www.AlanBonnici.com      Medium     https://medium.com/@chribonn      Mastodon     @chribonn@twit.social      Telegram     https://t.me/TT_M

Proxmox-NUT Homelab HOWTO - Step 1 : Install Proxmox / Adjust to no-subscription environment / Update Proxmox

Image
Step 1: Install Proxmox / Adjust to no-subscription environment / Update Proxmox   Setting up the VMWare Environment It is not recommended to install a hypervisor on top of another hypervisor. This HowTo does this to be able to share images that can run on computers without requiring a dedicated Proxmox machine. If you don’t already have it, you can download VMware Workstation Pro (or VMware Fusion Pro for Mac) from the official website: https://blogs.vmware.com/workstation/2024/05/vmware-workstation-pro-now-available-free-for-personal-use.html . Open VMWare and setup the VM to host Proxmox: Create a Custom VM and set the boot drive as the Proxmox ISO. Base the VM on Debian Configure it with 2 processors each with 2 cores, 16G RAM and 80G HD.  Check the box Virtualize Intel-x/EPT or AMD-C/RVI. For all other settings accept defaults. If you intend to extend this VM with additional functionality you may need to allocate more HD storage. If the installation crashes on Windo