User Tools

Site Tools


notes:proxmox

This is an old revision of the document!


Debian repositories

Proxmox Virtualization Environment

Proxmox has a very good guide on installation of the PVE over the standard Debian bookworm, available here: https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_12_Bookworm . Or, the installation from their distributed ISO can be made.

This is the package source file that also includes CEPH repo, which is ommited from the guide above:

/etc/apt/sources.list.d/pve-install-repo.list
deb [arch=amd64] http://download.proxmox.com/debian/pve bookworm pve-no-subscription
deb http://download.proxmox.com/debian/ceph-quincy bookworm no-subscription

Either way, it installs ceph.list and pve-enterprise.list into /etc/apt/sources.list.d/, which require subscription and will make the future runs of apt update fail. You need either to configure a subscription and disable the sources in pve-install-repo.list, or if going without subscription is desired, disable the sources in ceph.list and pve-enterprise.list.

Proxmox Backup Server

Proxmox has extensive documentation about it, available at https://pbs.proxmox.com/docs/

If there is other Promxox product installed on the same host, you don't need to install keys again. Else, run the following to add a Proxmox repository signing key:

wget https://enterprise.proxmox.com/debian/proxmox-release-bookworm.gpg -O /etc/apt/trusted.gpg.d/proxmox-release-bookworm.gpg

The PVE and PBS has the client included; you don't need to do anything to use a client.

Server

To have access to the server packages you may start with the following repo:

/etc/apt/sources.list.d/pbs-install-repo.list
deb http://download.proxmox.com/debian/pbs bookworm pbs-no-subscription

Then, update definitions and install the server package, either proxmox-backup (generally, do this) or proxmox-backup-server (it's enough if installing on PVE host, but using the general way doesn't hurt either):

apt update
apt install proxmox-backup

It will install the file /etc/apt/sources.list.d/pbs-enterprise.list which references subscription repository. That'll make the future runs of apt update fail. If you have a subscription, configure it and disable the source in the pbs-install-repo.list. If going without subscription is desired, disable the repo in this file instead.

Client

The client is available for Debian bookworm, bullseye and buster releases. Use the following source:

/etc/apt/sources.list.d/pbs-client.list
deb http://download.proxmox.com/debian/pbs-client bookworm main

Then, update definitions and install the proxmox-backup-client package:

apt update
apt install proxmox-backup-client

HP Software Delivery Repository — Management Component Pack

On the HPE servers it's recommended to add their SDR MCP repository to access the useful tools to administer and monitor the hardware: https://downloads.linux.hpe.com/SDR/project/mcp/

Don't use the procedure described by HP to add the keys into the keyring with `apt-key`. It's deprecated in Debian. Modern scheme is to put keys as separate files into /etc/apt/trusted.gpg.d, either as PEM-encoded .asc files or GnuPG-encoded .gpg bundles. It's enough to only download the last HPE key file into the mentioned directory and rename it to have correct suffix:

curl https://downloads.linux.hpe.com/SDR/hpePublicKey2048_key1.pub -o /etc/apt/trusted.gpg.d/hpePublicKey2048_key1.asc

(wget could be used instead of curl)

For the time of writing, there is support for

  • bookworm: 12.80 (2023-09-05)
  • buster, bullseye: 12.20 (2021-10-04), 12.30 (2021-12-06), 12.40 (2022-06-03)

The example configuration looks like the following:

/etc/apt/sources.list.d/hp-sdr-mcp.list
deb http://downloads.linux.hpe.com/SDR/repo/mcp bookworm/12.80 non-free

Afterwards, it's advisable to install the most useful packages, which are:

  • ssacli — a command-line interface to configure HP SmartArray RAID controllers and HBAs. It replaces hpssacli and hpacucli packages and the usage is the same (it's the same program, renamed with rebranding)
  • hponcfg — a program to retrieve a configuration from iLO and upload it back. Although some configuration can be done using standard IPMI tools like ipmiutil, other things can only be configured using this proprietary tool
apt update
apt install ssacli hponcfg

Also, it's might be useful to have this repository on some modern Dell and Supermicro hardware, because it distributes a `storcli` tool:

apt update
apt install storcli

HW RAID

On Dell and Supermicro servers we generally have the LSI/Avago/Broadcom MegaRAID card (rebranded into PERC in Dell). To administer and monitor it from the OS, we need the `megacli` and `storcli` tools. Some servers use Adaptec cards.

The `storcli` package is available in HP SDR MCP repository (see above), other essential tools are available in the HWRAID repo at https://hwraid.le-vert.net/ , namely `megacli`.

This repository recommends the deprecated way ot adding of a signing key into the system with apt-key. Instead, you need to download the key file and save it as .asc file into /etc/apt/trusted.gpg.d directory:

wget -O /etc/apt/trusted.gpg.d/hwraid.le-vert.net.asc https://hwraid.le-vert.net/debian/hwraid.le-vert.net.gpg.key

(curl could be used instead of wget)

Repository supports bookworm, bullseye and buster releases. The example source file:

/etc/apt/sources.list.d/hwraid.list
deb http://hwraid.le-vert.net/debian bookworm main 

Then, update the descriptions and install the needed tools:

apt update
apt install megacli
notes/proxmox.1712040832.txt.gz · Last modified: by Nikita Kipriyanov