Documentation Restructure
All checks were successful
Automatic Documentation Deployment / Sync Docs to https://kb.bunny-lab.io (push) Successful in 5s
All checks were successful
Automatic Documentation Deployment / Sync Docs to https://kb.bunny-lab.io (push) Successful in 5s
This commit is contained in:
12
workflows/platforms/virtualization/proxmox/common-tasks.md
Normal file
12
workflows/platforms/virtualization/proxmox/common-tasks.md
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
tags:
|
||||
- Proxmox
|
||||
---
|
||||
|
||||
**Purpose**: The purpose of this document is to outline common tasks that you may need to run in your cluster to perform various tasks.
|
||||
|
||||
## Delete Node from Cluster
|
||||
Sometimes you may need to delete a node from the cluster if you have re-built it or had issues and needed to destroy it. In these instances, you would run the following command (assuming you have a 3-node quorum in your cluster).
|
||||
```
|
||||
pvecm delnode promox-node-01
|
||||
```
|
||||
@@ -0,0 +1,20 @@
|
||||
---
|
||||
tags:
|
||||
- Proxmox
|
||||
---
|
||||
|
||||
## Purpose
|
||||
Sometimes in some very specific situations, you will find that an LVM / VG just won't come online in ProxmoxVE. If this happens, you can run the following commands (and replace the placeholder location) to manually bring the storage online.
|
||||
|
||||
```sh
|
||||
lvchange -an local-vm-storage/local-vm-storage
|
||||
lvchange -an local-vm-storage/local-vm-storage_tmeta
|
||||
lvchange -an local-vm-storage/local-vm-storage_tdata
|
||||
vgchange -ay local-vm-storage
|
||||
```
|
||||
|
||||
!!! info "Be Patient"
|
||||
It can take some time for everything to come online.
|
||||
|
||||
!!! success
|
||||
If you see something like this: `6 logical volume(s) in volume group "local-vm-storage" now active`, then you successfully brought the volume online.
|
||||
@@ -0,0 +1,43 @@
|
||||
---
|
||||
tags:
|
||||
- Proxmox
|
||||
---
|
||||
|
||||
## Purpose
|
||||
There are a few steps you have to take when upgrading ProxmoxVE from 8.4.1+ to 9.0+. The process is fairly straightforward, so just follow the instructions seen below.
|
||||
|
||||
!!! info "GuestVM Assumptions"
|
||||
It is assumed that if you are running a ProxmoxVE cluster, you will migrate all GuestVMs to another cluster node. If this is a standalone ProxmoxVE server, you will shut down all GuestVMs safely before proceeding.
|
||||
|
||||
!!! warning "Perform `pve8to9` Readiness Check"
|
||||
It's critical that you run the `pve8to9` command to ensure that your ProxmoxVE server meets all of the requirements and doesn't have any failures or potentially server-breaking warnings. If the `pve8to9` command is unknown, then run `apt update && apt dist-upgrade` in the shell then try again. Warnings should be addressed ad-hoc, but *CPU Microcode warnings can be safely ignored*.
|
||||
|
||||
**Example pve8to9 Summary Output**:
|
||||
```sh
|
||||
= SUMMARY =
|
||||
|
||||
TOTAL: 48
|
||||
PASSED: 39
|
||||
SKIPPED: 8
|
||||
WARNINGS: 1
|
||||
FAILURES: 0
|
||||
```
|
||||
|
||||
### Update Repositories from `bookworm` to `trixie`
|
||||
```sh
|
||||
sed -i 's/bookworm/trixie/g' /etc/apt/sources.list
|
||||
sed -i 's/bookworm/trixie/g' /etc/apt/sources.list.d/pve-install-repo.list
|
||||
apt update
|
||||
```
|
||||
|
||||
### Upgrade to ProxmoxVE 9.0
|
||||
!!! warning "Run Upgrade Commands in iLO/iDRAC/IPMI"
|
||||
At this point, its very likely that if you are using SSH, it may unexpectedly have the session terminated, so you absolutely want to use a local or remote console to the server to run the commands below, both to ensure you maintain access to the console, as well as to see if any issues arise during POST after the reboot.
|
||||
|
||||
```sh
|
||||
apt dist-upgrade -y
|
||||
reboot
|
||||
```
|
||||
|
||||
!!! note "Disable `pve-enterprise` Repository"
|
||||
At this point, the ProxmoxVE server should be running on v9.0+, you will want to disable the `pve-enterprise` repository as it will goof up future updates if you don't disable it.
|
||||
Reference in New Issue
Block a user