PVE

Aus C3D2
(Weitergeleitet von Proxmox)
Zur Navigation springen Zur Suche springen

beim C3D2



Vorlage:anachronistisch
Achtung!
Anachronistisch!
Dieser Artikel enthält keine relevanten Informationen zu den aktuellen Verhältnissen. Ferner handelt es sich um einen archivierten Artikel.


obsolete

Benutzung

im Allgemeinen

Proxmox Cluster

Proxmox System

Bei jedem Node gibt es einen Reiter System.

Bei Reiter System (nicht darunterliegenden Reiter) werden alle üblichen Dienste angezeigt, die Proxmox üblicher Weise benutzt.

Proxmox Ceph

Proxmox Ceph Monitor

mon

Es braucht für ein Cluster für Ceph mindestens 3 Monitore für Ceph.[1]

Proxmox Ceph Manager

mgr

Proxmox Ceph Object Storage Daemon

OSD

Proxmox Ceph Controlled Replication Under Scalable Hashing

CRUSH

Proxmox Ceph CephFS

Proxmox Ceph Meta Data Server

MDS

Ceph Dashboard

Neben der durch Proxmox bereitgestellten Oberfläche zur Darstellung und Verwaltung für Ceph, kann es auch noch die "native" Oberfläche (als web user interface) für Ceph geben. Standardmäßig ist das Ceph Dashboard nicht installiert und nicht aktiviert.

https://docs.ceph.com/en/latest/mgr/dashboard/

apt install ceph-mgr-dashboard
ceph dashboard ac-user-show
Error ENOTSUP: Module 'dashboard' is not enabled (required by command 'dashboard ac-user-show'): use `ceph mgr module enable dashboard` to enable it
ceph dashboard ac-role-show
Error ENOTSUP: Module 'dashboard' is not enabled (required by command 'dashboard ac-user-show'): use `ceph mgr module enable dashboard` to enable it

https://docs.ceph.com/en/latest/mgr/dashboard/#enabling

ceph mgr module enable dashboard

https://docs.ceph.com/en/latest/mgr/dashboard/#ssl-tls-support

ceph dashboard create-self-signed-cert
ceph dashboard ac-user-show
ceph dashboard ac-user-create <account-to-use> <password-for-read-only> read-only
ceph dashboard ac-user-create <account-to-administrate> <password-for-full-permissions> administrator
ceph dashboard ac-user-show

https://docs.ceph.com/en/latest/mgr/dashboard/#host-name-and-port

http://localhost:8080
https://localhost:8443

Ceph Dashboard Siehe auch

Proxmox Storage

Proxmox Storage Content

Proxmox Storage Content Disk image

Proxmox Storage Content ISO image

Proxmox Storage Content Container template

Proxmox Storage Content VZDump backup file

Proxmox Storage Content Container

Proxmox Storage Content Snippets

Proxmox Storage Type

Proxmox Storage Type Directory

Proxmox Storage Type LVM

Proxmox Storage Type LVM-thin

Proxmox Storage Type CephFS

Proxmox Storage Type RDB

Proxmox Storage Type ZFS

Hosting

Proxmox CT

aka Containerisierung

Proxmox CT Vorlagen

Grundsätzlich wird bei Proxmox nach folgenden Arten von Vorlagen für Container unterschieden:

  • Betriebssystem
    system
  • TurnKey Linux
    turnkeylinux
  • Mail (proxmox-mailgateway)
    mail
  • weitere ("unmanaged")

Proxmox CT Probleme

Proxmox CT NixOS

Standardmäßig wird durch Proxmox keine Vorlage für Container mit NixOS angeboten. Im C3D2 nutzen wir aber heftig NixOS, auch für Container im PVE.

Proxmox CT NixOS Vorlage
Proxmox CT NixOS Erstellung Vorlage

nach https://nixos.wiki/wiki/Proxmox_Linux_Container

2020-09-05
am Beispiel der aktuellen Version 20.03
Beziehen der Vorlage für einen Container mit NixOS
mit der letzten erfolgreich gebauten Version der letzten Version (der Veröffentlichung)

zur Website von Hydra von NixOS gehen

zur Seite der aktuellen Version release-20.03 gehen

zum Tab Jobs gehen

zu containerTarball.x86_64-linux gehen

zum Tab Links gehen

zu Latest successful build gehen

zu nixos-system-x86_64-linux.tar.xz gehen, um die Datei herunterzuladen


(optionales) Wechseln in Verzeichnis für temporäre Daten

cd /tmp/

Herunterladen der zuvor ermittelten Datei (aktuelles erfolgreich gebautes gepacktes Abbild für einen Container)

-c Pauschales weiteres Herunterladen der Datei, auch wenn zuvor das Herunterladen abgebrochen wäre.
wget -c https://hydra.nixos.org/build/126460185/download
oder
wget -c https://hydra.nixos.org/build/126460185/download/1/nixos-system-x86_64-linux.tar.xz

(optionales) Umbenennen der heruntergeladenen Datei (für die nachfolgende Anleitung vereinfachende Bezeichnung)

mv nixos-system-x86_64-linux.tar.xz download

(optionales) Aufgeben vom Typ der heruntergeladenen Datei

-b Auf die Ausgabe des Namens der Datei soll verzichtet werden und ausschließlich der Typ der Datei soll ausgegeben werden.
file -b download
XZ compressed data

(optionales) Umbenennen der heruntergeladenen Datei (für die nachfolgende Anleitung vereinfachende Bezeichnung)

mv download nixos-20.03-default_126460185_amd64.tar.xz
Ablegen der Vorlage für einen Container mit NixOS

Nach dem Beziehen der Vorlage für einen Container mit NixOS muss die Vorlage an einem Ort abgelegt sein, der als #Proxmox Storage Content Container template verwendet wird.

Proxmox CT NixOS Erstellung
Siehe auch
Intern:Server/cluster01#Proxmox CT NixOS Erstellung
Proxmox CT NixOS Benutzung
Proxmox CT NixOS Shell in der normalen Umgebung bekommen

tl;dr
. /etc/profile

sh-4.4#
whoami
sh: whoami: command not found
sh-4.4#
sh-4.4#
history

   42  history 
sh-4.4#
. /etc/profile
[root@proxmox-ct-nixos:/root]# 
[root@proxmox-ct-nixos:/root]# 
whoami
root
[root@proxmox-ct-nixos:/root]# 

Proxmox VM

aka Virtualisierung

Siehe auch