Connect a datacenter
Datacenters connects a cluster to the platform and shows its hosts and storages live. Once connected, the datacenter can receive virtual datacenters, virtual networks and VMs.
To connect, you give a user and its password on one node: root, or another user prepared as in Use a user other than root. The platform signs in with them, checks what the user can run and the cluster, installs its own SSH key on every node and saves the datacenter. The password is used only for this and is not saved.
Prerequisites
- A group with the
datacenter:managepermission at platform scope. The key is critical and only exists for the platform team: a tenant administrator never gets it. - A Proxmox VE cluster (or a single node) that the platform reaches over SSH, port 22, on the address you type and on the cluster address of every other node.
- A user of the cluster and its password. root works with nothing else to set up; the user does not need to be root, see Use a user other than root.
- In the cluster, the router template: the virtual router image, already converted to a template. Every virtual network gets a router cloned from it.
- On every node, the vSwitch core bridge: the bridge that carries the VLANs of the virtual networks.
- On every node, SSH TCP forwarding allowed (
AllowTcpForwarding yesin/etc/ssh/sshd_config, the default on Debian and Proxmox), for root too: the web console of the virtual machines goes through the platform SSH connection to the node.
Connect
In the Platform Console, open Datacenters and click Connect datacenter.


- In Cluster Access, type the Node address (IP or host name of any node), the Username (
root, or the user you prepared) and the Password, and click Check connection. The platform signs in and reads the cluster without saving anything: the nodes, the templates, the bridges and the VLANs already in use. The rest of the form opens with what it found. Change access goes back to fix the address or the password.

- In Datacenter, type the Name and the VLAN range, two numbers from 1 to 4094 such as
100-200. The platform uses those VLANs for the virtual networks of this datacenter, so ask whoever runs the datacenter network: they must pass on the vSwitch core bridge and not be used by anything else. Below the field the form lists the VLANs already in use in the cluster, and refuses a range with any of them. A Lan-to-Lan cannot use a VLAN inside this range. - In Virtual Router, choose the Router template from the templates of the cluster, keep the Router template version at
1.0.0unless the template already has router updates applied, type the Router username and the Router password set inside the template image, and choose the vSwitch core bridge from the bridges every online node has. - Click Connect. It takes a few seconds: the platform checks the template, the bridge and the VLAN range again, installs its key and confirms that every node accepts it. When it ends, the page of the new datacenter opens.
A node that is offline in the cluster does not stop the connection: it is left out, the message says which one, and you register it on the Hosts tab once it is back.
Nothing is saved when a step fails. The message says what failed, and the form keeps what you typed:
| Message | What to do |
|---|---|
| The node refused the username or password | Check the username and the password of that node. |
| Could not reach the address over SSH | Check the address and that port 22 is open to the platform. |
| It is not a Proxmox VE node | The address is of another machine. Type the address of a Proxmox node. |
| The router template was not found, or is not a template | Check the VMID, and convert the router VM to a template in Proxmox. |
| VLANs of the range are already in use in the cluster | A VM, a container or a node interface uses those VLANs. Choose a range without them. |
| The bridge only lets some VLANs through | The bridge is VLAN aware and the range is outside its VLAN list. Choose a range inside it, or widen the list on the bridge. |
| The bridge does not exist on a node | Create the bridge on that node, with the same name as on the others. |
| A node did not accept the platform SSH key, or could not be reached with it | The platform reaches the other nodes on their cluster address. Open port 22 from the platform to that address. |
| A datacenter with that name already exists, or a node is already connected | Use another name. A node belongs to only one datacenter. |
| On a node, the user cannot run a command without a password, is not in the group www-data, or its shell is not bash | The page lists, per node, what is missing, with the command or the sudoers line that fixes it. Prepare the user as in Use a user other than root and click Check connection again. |
| A node refused the user or the password, saying every node needs the same password | A user other than root must exist on every node with the same password. |
| On a node, the SSH server does not allow TCP forwarding | Set AllowTcpForwarding yes in /etc/ssh/sshd_config on that node, run systemctl reload ssh and click Check connection again. |
Use a user other than root
root works with nothing else to set up. To let the platform sign in with another user (for example conductor), prepare on every node of the cluster:
- The same user with the same password. Outside root each node keeps its own SSH keys, so the platform signs in to each node with the password to install its key.
- The
bashshell:chsh -s /bin/bash conductor. - The
www-datagroup, which reads the VM configurations:usermod -aG www-data conductor. sudoinstalled, allowing the commands below without a password, in a file/etc/sudoers.d/conductor:
Cmnd_Alias CONDUCTOR_PVE = /usr/sbin/qm, /usr/sbin/qmrestore, /usr/bin/pvesh, /usr/sbin/pvesm, \
/usr/sbin/ha-manager, /usr/bin/vzdump, /usr/bin/proxmox-file-restore
Cmnd_Alias CONDUCTOR_NET = /usr/bin/cp /etc/network/interfaces /etc/network/interfaces.bak, \
/usr/bin/mv /etc/network/interfaces.bak /etc/network/interfaces, \
/usr/bin/tee /etc/network/interfaces, /usr/bin/tee -a /etc/network/interfaces, \
/usr/sbin/ifreload -a, /usr/bin/ovs-vsctl --if-exists del-port *
Cmnd_Alias CONDUCTOR_DISK = /usr/sbin/smartctl --scan-open --json, /usr/sbin/smartctl --json -i -H -A -d *
Cmnd_Alias CONDUCTOR_MISC = /usr/bin/kill
conductor ALL=(root) NOPASSWD: CONDUCTOR_PVE, CONDUCTOR_NET, CONDUCTOR_DISK, CONDUCTOR_MISC
Defaults:conductor env_keep += "PBS_FINGERPRINT PBS_PASSWORD"
| Command | What the platform uses it for |
|---|---|
/usr/sbin/qm | virtual machines and routers |
/usr/sbin/qmrestore | restoring a backup |
/usr/bin/pvesh | reading the cluster |
/usr/sbin/pvesm | deleting a backup |
/usr/sbin/ha-manager | high availability |
/usr/bin/vzdump | backup |
/usr/bin/proxmox-file-restore | files of a backup |
cp and mv of /etc/network/interfaces, /usr/bin/tee /etc/network/interfaces (and -a), /usr/sbin/ifreload -a, /usr/bin/ovs-vsctl | vSwitch, Customer Gateway and LAN to LAN |
/usr/sbin/smartctl | Disks tab of the nodes |
/usr/bin/kill | canceling a clone, backup or disk migration |
The Defaults line keeps two variables that the platform gives to proxmox-file-restore, the fingerprint and the password of the backup server: sudo drops them otherwise, and the password stays out of the sudo log.
When you click Check connection and Connect, the platform checks all of this on every online node before installing its key. When something is missing, nothing is installed or saved, and the page lists, per node, what is missing and the command or the sudoers line that fixes it.
Preparing the cluster in Operating systems still needs root or unrestricted sudo.
Check access
After a change on the nodes (a new node, a sudoers file edited, or a platform update that runs a new command), open the datacenter and click Check access. The platform runs the same check through its key on every registered online node and shows, per node, what is missing, with the line to add to /etc/sudoers.d. When nothing is missing, it says All nodes give the platform user what it needs.

Edit
Open the datacenter and click Edit, or use Edit in the … menu of the list. You change the name, the VLAN range and the virtual router; the access to the cluster stays as it was connected. Leave the Router password blank to keep the current one. The template and the bridge are chosen from what the cluster has, as in the connection.
The new VLAN range must keep inside it every VLAN the datacenter already gave to a virtual network or a vSwitch, and the VLANs it adds go through the same checks as in the connection. Changing only the name or the router password works even with the cluster offline; then the template and the bridge are typed by hand.
Delete
Open the datacenter and click Delete, or use Delete in the … menu of the list, and confirm. The platform removes its SSH key from the cluster and deletes the datacenter and its registered nodes. Nothing is deleted in the cluster.
The deletion is refused while something still uses the datacenter: VDCs, a tenant link, vSwitches, standby routers, public IP ranges, storages, Object Storage servers or operating system images. The message says what to remove first.
See the datacenter
Click a datacenter in the list. The page reads the cluster each time it opens and starts on Overview. When no node answers, a tab shows the message of the platform and Try again.
Overview

The cards on top count only the nodes that are online: Nodes online (with the offline ones named below), CPU of online nodes, weighted by the cores of each node, and Memory of online nodes. Below them, Storages lists every storage of the cluster: its name in the cluster, Shared or the node of a local storage (one line per node), its tier as the Storages tab shows it and the used and total space, with the disk tiers first. A number the cluster did not return shows Not read from the cluster, never zero, and the card names what was left out of the sum.
Usage per node draws the CPU, the memory and the network traffic of each online node. Choose the time span in Period, from Last hour to Last year. An offline node shows a line that says so: turn the node on to see its usage.
Hosts and storages

Hosts lists the nodes of the cluster with their state, CPU and memory. A node without registration shows Not registered: it was offline when the datacenter was connected, or it joined the cluster later. When it is online, click Register on its row. With root, the platform checks that its key works on the node and registers it, with no password. With another user, it asks the Password of that user, checks on the node what the user can run, as when connecting, and installs its key there. An offline node shows no numbers.

Storages lists the storages of the cluster with their type, content and space used. A shared storage, such as Ceph, shows once with all its nodes. A local storage, which is a disk of each node, shows once per node.
Node disks

Node disks lists the physical disks of each node with type, size, health, life remaining and what uses them. The platform reads each node directly, so register the nodes on Hosts to see everything.
- On a server with a hardware RAID controller, the cluster sees a single disk: the volume that the controller builds. Its row shows RAID controller volume, and the Health column says In the physical disks below. The physical disks come right after it, marked Behind the RAID controller.
- Health: Healthy passed the disk's own check. Failing can stop working at any time: replace the disk (behind a RAID controller, the controller rebuilds the volume onto the new disk). Unknown: the cluster could not read it. For a disk behind a RAID controller, check it in the controller's own tool; for any other disk, check it on its node.
- Life remaining is how much of the rated wear is left on SSD and NVMe disks. A hard disk shows Not applicable (HDD), and a disk that does not report it shows Not reported.
The notices above the table say which disk is failing, which disks had no health read, which node is offline or did not answer (with Try again), and why the disks behind a controller were not read, with what to do: for a node that is not registered, register it on Hosts.
Network

Network shows, for each online node:
- Network cards: the Link (Connected with the speed, No signal, Turned off or Not read) and what the card is Connected to: the management of the node, the customer networks (the vSwitch core), or Not in use.
- Bridges: the management bridge, with the address and the gateway of the node, and the vSwitch core, with their ports. The link of a bridge comes from its network cards that are turned on: Connected when one of them has signal, No signal when none of them has, Turned off when none is on, No network card when it has none.
Below the nodes, Customer networks shows the networks of the whole cluster once, because every node carries the same ones: the number of VDC networks on this platform and of ports on the vSwitch core, plus the number of networks with no VDC on this platform when there is any; then one line per VDC network with the VDC name (a link to the VDC), the network in the cluster and its trunk VLAN. The networks with no VDC sit in a group that starts closed. The ports of the vSwitch core are grouped by what created them: Customer Gateway subnet, Direct Connect or Created outside the platform.
The notices say what to do:
- A network card of the management or of the vSwitch core with No signal: check the cable and the switch port.
- A network in the group networks with no VDC on this platform: it may be left over from a deleted VDC, or belong to another installation that uses the same cluster. Before removing it from the node, check that no VM uses it.
- An offline node, a node that did not answer, or a link that was not read, with the reason: for a node that is not registered, register it on Hosts.
Close a notice
Each notice of Node disks and Network has an X that closes it. A closed notice stays closed in this browser while it is about the same problem; a new problem, such as another disk failing, shows open. While a notice is closed, the right side of the tab description shows how many are hidden, such as 2 hidden notices · Show: click it to see them all again.
Set the tier of the storages
Customers choose a tier for each disk (Performance, Standard or Archive), never a storage. A storage without a tier shows No tier and receives no customer disk. A VDC offers only the tiers that have a storage in its datacenter. The system disk of a new VM stays on the storage of the templates, the Template storage chosen in Operating systems, and is billed as Performance: that storage must be in the Performance tier, or customers of this datacenter cannot create a VM with a new system disk (they can still use an existing boot disk).

- On the Storages tab, click … on the row of the storage.
- Choose Performance, Standard or Archive. Remove tier takes the storage out of the tiers.
The Tier column says why a storage cannot take a tier, and the row has no … menu:
- Enable Disk image in Proxmox: the content of the storage does not include Disk image. In Proxmox, open Datacenter > Storage, select the storage, click Edit and add Disk image to Content (labels of the Proxmox interface in English).
- Missing on pve02: create it with the same name. The storage does not exist on that node of the cluster. A new disk is created on the node where the VM runs, and a VM can move between nodes, so a local storage must exist on all of them, with the same name. Create it on that node (for ZFS or LVM, the pool or volume group must exist on the node; the Nodes field of the storage only limits where it is used, it does not create it), or use a shared storage.
- Backup, set up separately (or S3, set up separately): backup and S3 storages are set up elsewhere, with their own credentials.
When no storage of the datacenter can change its tier, the tab says so above the list.
A tier can have more than one storage. A new volume disk goes to the storage of its tier with the most free space at that moment, among those that the cluster shows as available and that fit the disk. When none fits, the customer sees a message that says so. The system disk does not follow this rule: it stays on the template storage and only needs to fit there.
A storage with disks keeps its tier: the Disks column shows how many it has, and the row has no … menu. Changing it would change the quota and the billing of those disks.
A storage that is not shared shows once per node, and the tier counts for all its rows.