Removing VM: Difference between revisions

From Delft Solutions
Jump to navigation Jump to search
No edit summary
 
(One intermediate revision by the same user not shown)
Line 30: Line 30:


=== Step 5 : Remove the vm on proxmox ===
=== Step 5 : Remove the vm on proxmox ===
quick note: make sure to note down the vm's id as it will be needed for step 6
*1. From your vm panel go to More > Remove, in the top right corner
*1. From your vm panel go to More > Remove, in the top right corner
[[File:Proxmox-vm-removal-location.png|200px|thumb|center|alt=Proxmox vm removal option location|Proxmox vm removal option location]]
[[File:Proxmox-vm-removal-location.png|200px|thumb|center|alt=Proxmox vm removal option location|Proxmox vm removal option location]]
Line 35: Line 37:
*2. This will open a modal, make sure to check all boxes and confirm the id of the VM you’re removing
*2. This will open a modal, make sure to check all boxes and confirm the id of the VM you’re removing
[[File:VM-removal-confirmation-prompt.png|200px|thumb|center|alt=VM removal confirmation panel|VM removal confirmation panel]]
[[File:VM-removal-confirmation-prompt.png|200px|thumb|center|alt=VM removal confirmation panel|VM removal confirmation panel]]
=== Step 6 : Purge any backup data ===
*1. Backups are stored in zombie.maxmaton.nl at the time this guide is written, because this is a third party service we can not purge the data ourselves. Ask Max to purge backup data providing him with the id of the VM you want to purge backup data for.

Latest revision as of 05:56, 10 June 2025

This guide was written with the general idea of undoing the steps from our VM Setup guide going in reverse order.

Step 1 : Disable the host on Zabbix

This avoids having to create a maintenance period for the next step. This can be done 2 ways:

  • 1st way : In Zabbix > Configuration > Hosts find the VM you want to disable, in the “status” column you should see “Enabled”, click “Enabled” to disable the VM you’ll get a confirmation prompt.
 
disabling host confirmation prompt
  • 2nd way : In Zabbix > Configuration > Hosts, find the VM you want to disable, click its name, a configuration panel appears, uncheck the “Enabled” checkbox
 
configuration panel

Step 2 : Remove VM from HA group

In Proxmox

  • 1. From your VM panel go to More > Manage HA in the top right corner
 
location of the "Manage HA" option
  • 2. Set Request State to “stopped”
 
HA config panel

Step 3 : Undo IPA enrollment

This step can only be performed by the First Responder

  • 1. Select the desired hostname and click delete
 
IPA hosts panel
  • 2. This will open a modal, make sure to check the option to remove all A, AAAA, SSHFP and PTR records
 
Host removal confirmation prompt

Step 4 : Remove all references

Remove any reference of your VM from our DNS repo

Step 5 : Remove the vm on proxmox

quick note: make sure to note down the vm's id as it will be needed for step 6

  • 1. From your vm panel go to More > Remove, in the top right corner
 
Proxmox vm removal option location
  • 2. This will open a modal, make sure to check all boxes and confirm the id of the VM you’re removing
 
VM removal confirmation panel

Step 6 : Purge any backup data

  • 1. Backups are stored in zombie.maxmaton.nl at the time this guide is written, because this is a third party service we can not purge the data ourselves. Ask Max to purge backup data providing him with the id of the VM you want to purge backup data for.