Diskussion:Server/Proxmox Virtual Environment

Aus Wiki StuRa HTW Dresden
Zur Navigation springen Zur Suche springen

Docker[Bearbeiten]

Es ist absehbar, dass die üblichen "blöden" Anfragen wegen wikipedia:de:Docker (Software) kommen.

Im "Notfall" kann sich hoffentlich auf die Schnelle RancherOS als Server/Proxmox#Virtualisierung bedient werden: https://rancher.com/docs/os/v1.x/en/installation/workstation/boot-from-iso/

Server/Proxmox#Containerisierung für Docker[Bearbeiten]

Done!

Server/Proxmox#Virtualisierung RancherOS[Bearbeiten]

?

Verschlüsslung (ZFS)[Bearbeiten]

https://gist.github.com/yvesh/ae77a68414484c8c79da03c4a4f6fd55?permalink_comment_id=4233326#gistcomment-4233326

Deaktivieren aller Dienste von PVE[Bearbeiten]

bekannte Dienste von PVE[Bearbeiten]

https://pve.proxmox.com/wiki/Service_daemons

pauschales Deinstallieren möglichst aller Pakete von PVE[Bearbeiten]

um anhand vom erneuten Installieren vom allgemeinen Paket von PVE zu erkennen welche Dienste von PVE aktiviert werden
apt -y purge proxmox-ve
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libpve-access-control libpve-cluster-api-perl libpve-guest-common-perl libpve-storage-perl librados2-perl numactl proxmox-archive-keyring proxmox-backup-client proxmox-backup-file-restore proxmox-backup-restore-image
  proxmox-mini-journalreader proxmox-offline-mirror-docs proxmox-offline-mirror-helper proxmox-websocket-tunnel proxmox-widget-toolkit pve-cluster pve-container pve-docs pve-edk2-firmware pve-firewall pve-ha-manager pve-i18n
  pve-kernel-helper pve-lxc-syscalld pve-manager pve-qemu-kvm pve-xtermjs qemu-server spiceterm
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  proxmox-ve*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.

W: (pve-apt-hook) !! WARNING !!
W: (pve-apt-hook) You are attempting to remove the meta-package 'proxmox-ve'!
W: (pve-apt-hook) 
W: (pve-apt-hook) If you really want to permanently remove 'proxmox-ve' from your system, run the following command
W: (pve-apt-hook) 	touch '/please-remove-proxmox-ve'
W: (pve-apt-hook) run apt purge proxmox-ve to remove the meta-package
W: (pve-apt-hook) and repeat your apt invocation.
W: (pve-apt-hook) 
W: (pve-apt-hook) If you are unsure why 'proxmox-ve' would be removed, please verify
W: (pve-apt-hook) 	- your APT repository settings
W: (pve-apt-hook) 	- that you are using 'apt full-upgrade' to upgrade your system
E: Sub-process /usr/share/proxmox-ve/pve-apt-hook returned an error code (1)
E: Failure running script /usr/share/proxmox-ve/pve-apt-hook
touch /please-remove-proxmox-ve
apt -y purge proxmox-ve
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libpve-access-control libpve-cluster-api-perl libpve-guest-common-perl libpve-storage-perl librados2-perl numactl proxmox-archive-keyring proxmox-backup-client proxmox-backup-file-restore proxmox-backup-restore-image
  proxmox-mini-journalreader proxmox-offline-mirror-docs proxmox-offline-mirror-helper proxmox-websocket-tunnel proxmox-widget-toolkit pve-cluster pve-container pve-docs pve-edk2-firmware pve-firewall pve-ha-manager pve-i18n
  pve-kernel-helper pve-lxc-syscalld pve-manager pve-qemu-kvm pve-xtermjs qemu-server spiceterm
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  proxmox-ve*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.

apt -y autoremove
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  libpve-access-control libpve-cluster-api-perl libpve-guest-common-perl libpve-storage-perl librados2-perl numactl proxmox-archive-keyring proxmox-backup-client proxmox-backup-file-restore proxmox-backup-restore-image
  proxmox-mini-journalreader proxmox-offline-mirror-docs proxmox-offline-mirror-helper proxmox-websocket-tunnel proxmox-widget-toolkit pve-cluster pve-container pve-docs pve-edk2-firmware pve-firewall pve-ha-manager pve-i18n
  pve-kernel-helper pve-lxc-syscalld pve-manager pve-qemu-kvm pve-xtermjs qemu-server spiceterm
0 upgraded, 0 newly installed, 29 to remove and 0 not upgraded.

Processing triggers for initramfs-tools (0.140) ...
update-initramfs: Generating /boot/initrd.img-5.15.60-1-pve
/etc/initramfs/post-update.d//proxmox-boot-sync: 10: /usr/sbin/proxmox-boot-tool: not found
run-parts: /etc/initramfs/post-update.d//proxmox-boot-sync exited with return code 127
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
apt -y purge proxmox-*

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  proxmox-archive-keyring*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.

Setting up initramfs-tools (0.140) ...
update-initramfs: deferring update (trigger activated)
(Reading database ... 41570 files and directories currently installed.)
Purging configuration files for proxmox-archive-keyring (2.1) ...
Processing triggers for initramfs-tools (0.140) ...
update-initramfs: Generating /boot/initrd.img-5.15.60-1-pve
/etc/initramfs/post-update.d//proxmox-boot-sync: 10: /usr/sbin/proxmox-boot-tool: not found
run-parts: /etc/initramfs/post-update.d//proxmox-boot-sync exited with return code 127
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
apt -y purge pve-*
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done

The following packages will be REMOVED:
  pve-cluster* pve-container* pve-firewall* pve-firmware* pve-ha-manager* pve-kernel-5.15* pve-kernel-5.15.60-1-pve* pve-kernel-helper* pve-lxc-syscalld* pve-manager* pve-qemu-kvm*
0 upgraded, 0 newly installed, 11 to remove and 0 not upgraded.
1 not fully installed or removed.

Removing pve-kernel-5.15 (7.2-11) ...
Removing pve-firmware (3.5-3) ...
Removing pve-kernel-5.15.60-1-pve (5.15.60-1) ...
Examining /etc/kernel/postrm.d.
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 5.15.60-1-pve /boot/vmlinuz-5.15.60-1-pve
update-initramfs: Deleting /boot/initrd.img-5.15.60-1-pve
run-parts: executing /etc/kernel/postrm.d/proxmox-auto-removal 5.15.60-1-pve /boot/vmlinuz-5.15.60-1-pve
/etc/kernel/postrm.d/proxmox-auto-removal: 4: .: cannot open /usr/share/pve-kernel-helper/scripts/functions: No such file
run-parts: /etc/kernel/postrm.d/proxmox-auto-removal exited with return code 2
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/pve-kernel-5.15.60-1-pve.postrm line 14.
dpkg: error processing package pve-kernel-5.15.60-1-pve (--remove):
 installed pve-kernel-5.15.60-1-pve package post-removal script subprocess returned error exit status 1
dpkg: too many errors, stopping
Errors were encountered while processing:
 pve-kernel-5.15.60-1-pve
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)

apt -y install proxmox-ve

Setting up pve-kernel-helper (7.2-12) ...
Created symlink /etc/systemd/system/multi-user.target.wants/proxmox-boot-cleanup.service → /lib/systemd/system/proxmox-boot-cleanup.service.

Setting up pve-cluster (7.2-2) ...
Created symlink /etc/systemd/system/multi-user.target.wants/pve-cluster.service → /lib/systemd/system/pve-cluster.service.

Setting up pve-lxc-syscalld (1.2.2-1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/pve-lxc-syscalld.service → /lib/systemd/system/pve-lxc-syscalld.service.

Setting up pve-firewall (4.2-6) ...
Created symlink /etc/systemd/system/multi-user.target.wants/pvefw-logger.service → /lib/systemd/system/pvefw-logger.service.
Created symlink /etc/systemd/system/multi-user.target.wants/pve-firewall.service → /lib/systemd/system/pve-firewall.service.

Setting up pve-ha-manager (3.4.0) ...
watchdog-mux.service is a disabled or a static unit, not starting it.
Created symlink /etc/systemd/system/multi-user.target.wants/pve-ha-lrm.service → /lib/systemd/system/pve-ha-lrm.service.
Created symlink /etc/systemd/system/multi-user.target.wants/pve-ha-crm.service → /lib/systemd/system/pve-ha-crm.service.

Setting up qemu-server (7.2-4) ...
Created symlink /etc/systemd/system/multi-user.target.wants/qmeventd.service → /lib/systemd/system/qmeventd.service.

Setting up pve-manager (7.2-11) ...
update successful
Created symlink /etc/systemd/system/multi-user.target.wants/pvedaemon.service → /lib/systemd/system/pvedaemon.service.
Created symlink /etc/systemd/system/multi-user.target.wants/pveproxy.service → /lib/systemd/system/pveproxy.service.
Created symlink /etc/systemd/system/multi-user.target.wants/spiceproxy.service → /lib/systemd/system/spiceproxy.service.
Created symlink /etc/systemd/system/multi-user.target.wants/pvestatd.service → /lib/systemd/system/pvestatd.service.
Created symlink /etc/systemd/system/getty.target.wants/pvebanner.service → /lib/systemd/system/pvebanner.service.
Created symlink /etc/systemd/system/multi-user.target.wants/pvescheduler.service → /lib/systemd/system/pvescheduler.service.
Created symlink /etc/systemd/system/timers.target.wants/pve-daily-update.timer → /lib/systemd/system/pve-daily-update.timer.
Created symlink /etc/systemd/system/sysinit.target.wants/pvenetcommit.service → /lib/systemd/system/pvenetcommit.service.
Created symlink /etc/systemd/system/pve-manager.service → /lib/systemd/system/pve-guests.service.
Created symlink /etc/systemd/system/multi-user.target.wants/pve-guests.service → /lib/systemd/system/pve-guests.service.

Setting up proxmox-ve (7.2-1) ...


Deaktivieren der Dienste, die durch das Paket pve-ha-manager aktiviert werden

systemctl disable pve-ha-lrm.service pve-ha-crm.service qmeventd.service
Removed /etc/systemd/system/multi-user.target.wants/pve-ha-lrm.service.
Removed /etc/systemd/system/multi-user.target.wants/pve-ha-crm.service.
Removed /etc/systemd/system/multi-user.target.wants/qmeventd.service.

Deaktivieren der Dienste, die durch das Paket pve-manager aktiviert werden

systemctl disable pvedaemon.service pveproxy.service spiceproxy.service pvestatd.service pvebanner.service pvescheduler.service pve-daily-update.timer pvenetcommit.service pve-guests.service
Removed /etc/systemd/system/sysinit.target.wants/pvenetcommit.service.
Removed /etc/systemd/system/timers.target.wants/pve-daily-update.timer.
Removed /etc/systemd/system/getty.target.wants/pvebanner.service.
Removed /etc/systemd/system/multi-user.target.wants/pvedaemon.service.
Removed /etc/systemd/system/multi-user.target.wants/pveproxy.service.
Removed /etc/systemd/system/multi-user.target.wants/spiceproxy.service.
Removed /etc/systemd/system/multi-user.target.wants/pvescheduler.service.
Removed /etc/systemd/system/multi-user.target.wants/pvestatd.service.
Removed /etc/systemd/system/multi-user.target.wants/pve-guests.service.
Removed /etc/systemd/system/pve-manager.service.

was ist mit

  • corosync.service

?

Proxmox als Desktop[Bearbeiten]

Installation als Arbeitsplatz[Bearbeiten]

am Beispiel KDE
Installieren vom Paket tasksel, ein Programm für das Installieren von grundsätzlichen Paketen als TUI
apt -y install tasksel

Starten vom Programm tasksel für das Installieren von grundsätzlichen Paketen als TUI
tasksel

oder
Installieren vom Paket task-kde-desktop, für die Arbeitsoberfläche KDE mit allen standardmäßigen Abhängigkeiten
apt -y install task-kde-desktop

deproxmoxing (bei Erhalt von der Einrichtung der Geräte für Massenspeicher)[Bearbeiten]

proxmoxing a (current) debian setup https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_11_Bullseye

deproxmoxing a pve to a default debian (but with a stable zfs support of proxmox)