Graphical User Interface
========================

Proxmox Datacenter Management offers an integrated, web-based interface to manage the server.
This means that you can carry out all administration tasks through your web browser, and that you
don't have to worry about installing extra management tools. The web interface also provides a
built-in console, so if you prefer the command line or need some extra control, you have this
option.

The web interface can be accessed via https://youripaddress:8443.
The default login is `root`, and the password is either the one specified during the installation
process or the password of the root user, in case of installation on top of Debian.

.. note:: Most of the descriptions below will focus on the user interface set to "English", which
   uses the left-to-right text direction. If you use a language with a text direction from
   right-to-left, then some elements will appear on the right when the description says "left" and
   vice versa.


Features
--------

* Modern management interface for Proxmox Datacenter Manager
* Customizable Views.
* Management of remotes, resources, users, permissions, etc.
* Secure HTML5 console
* Support for multiple authentication sources
* Support for multiple languages
* Based on Yew, a modern Rust framework for creating multi-threaded, front-end web apps with
  WebAssembly.

Login
-----

.. image:: images/screenshots/login-window.png
  :target: _images/login-window.png
  :align: right
  :alt: Proxmox Datacenter Manager login window

When you connect to the web interface, you will first see the login window.  Proxmox Datacenter
Manager supports various languages and authentication back ends (*Realms*), both of which can be
selected here.

.. note:: For convenience, you can save the username on the client side, by selecting the "Save User
   name" checkbox at the bottom of the window.

User Interface Overview
-----------------------

The Proxmox Datacenter Manager graphical interface can be roughly split into three different section:

* **Header**: On the left the header shows the current version information. In the middle a search
  bar is found that helps you find different remotes and resources. While on the right you can
  toggle the dark mode of the theme, go to the user documentation, open a list of tasks and open a
  menu to configure the theme and language that is used as well as log out.
* **Sidebar**: Below the header on the left the sidebar contains the main menu with the different
  menu options listed.
* **Main Panel**: The biggest part of the interface is taken up by the main panel. Its content will
  change depending on the menu selected in the sidebar. To start, the dashboard will be shown.

.. _resource_search:

Search
------

The search bar in the header finds remotes and resources across all remotes. The search field of
the "Resources" widget on dashboards and views uses the same syntax.

A search consists of terms separated by spaces. A plain term matches the name or ID of a resource
or remote. A term of the form ``category:value`` matches one property instead:

* ``type``: the resource type, ``remote``, ``node``, ``qemu``, ``lxc``, ``storage``, ``network``
  or ``datastore``
* ``name`` and ``id``: the name or ID
* ``status``: the status, for example ``running``, ``stopped`` or ``online``. A datastore is
  ``online``, ``under-maintenance``, ``not-mounted`` or in ``error``.
* ``remote``: the name of the remote
* ``remote-type``: ``pve`` or ``pbs``
* ``node``: the Proxmox VE node a resource is on, or the name of a node itself. Resources of a
  Proxmox Backup Server have no node.
* ``tag``: a tag of a guest
* ``pool``: the pool of a guest
* ``template``: whether a guest is a template, ``1`` or ``0``
* ``lock``: the config lock of a guest, for example ``backup`` or ``migrate``
* ``ha``: the HA state of a guest, for example ``started`` or ``error``, or of a Proxmox VE node,
  for example ``maintenance``
* ``network-type``: the type of an SDN entity, ``zone`` or ``fabric``
* ``property``: a property of a datastore, ``removable``, ``high-usage`` or ``s3``
* ``view``: only show the resources of the view with exactly this ID, see below

Categories match values in three ways:

* **Prefix**: ``type``, ``network-type``, ``status``, ``lock``, and ``ha``
* **Exact**: ``template``, ``remote-type``, and ``property``
* **Substring**: ``name``, ``id``, ``remote``, ``node``, ``tag``, ``pool``, and plain terms

Matching is case-insensitive for both category names and values, except for the ID of a view.

Terms prefixed with ``+`` must all match. Of the other terms, at least one must match. For example,
``+tag:prod +status:running`` finds the running guests with the ``prod`` tag, while
``tag:prod status:running`` finds the guests that have the tag or are running. A ``view`` term is an
exception: it always limits the results to that view, with or without the ``+`` prefix, and a
search can only select one view.

Sidebar
-------

In the sidebar, on the left side of the page, you can see various items relating
to specific management activities.

Dashboard
^^^^^^^^^

.. image:: images/screenshots/global-overview-dashboard.png
  :target: _images/global-overview-dashboard.png
  :align: right
  :alt: Proxmox Datacenter Manager Dashboard

The dashboard gives an overview of all configured remotes and resources. Including whether remotes
and their resources are up and running. Allowing you to tell at a glimpse how many VMs and CTs are
running or stopped across your data center and the state of all configured datastores. Information
on running tasks, CPU and memory usage, software defined networking (SDN) zones, pending updates of
the remotes and the subscription status is shown as well.

Views
^^^^^

.. image:: images/screenshots/custom-view.png
  :target: _images/custom-view.png
  :align: right
  :alt: A view with a custom selection of widgets and layout

:ref:`views` essentially allow you to create a custom dashboard. You can create a new view by copying an
existing view or creating it as an empty view. Then a set of filters can be applied to a view, so it
will only include information on specific resources or remotes. After creating a new view, select it
from the sidebar to see what it looks like. From there you can also adjust its layout and widgets.

Notes
^^^^^

In the notes section you can keep track of information that might be useful to other administrators
or yourself in the future. To format the notes, :ref:`Markdown <markdown-primer>` can be used. Notes
are shared across all data center users that have been granted access to them.

Configuration
^^^^^^^^^^^^^

To configure your Proxmox Datacenter Manager, navigate to the "Configuration" menu. It allows you to
change the time and timezone, the DNS server and its network interfaces. A second tab makes the
WebAuthn Two Factor Authentication (TFA) settings available. The "Options" tab contains settings
like the HTTP proxy, the metric collection interval and how long task history is kept, see
:ref:`node_options`. There are also several sub-menus:

* **Access Control**: Manage users, API tokens, TFA settings, token and user permissions as well as
  authentication realms. Under **User Management**, users with audit access but without
  ``Access.Modify`` on ``/access/users`` see the user list in read-only mode.
* **Certificates**: Set up custom TLS or automated ACME certificates.
* **Subscription**: To get proper support and access to the enterprise repository for your Proxmox
  Datacenter Manager, you can use this menu to check the subscription status.

Subscription Registry
^^^^^^^^^^^^^^^^^^^^^

Manage a central pool of Proxmox VE and Proxmox Backup Server subscription keys and assign them to
remote nodes. This entry requires the ``System.Audit`` privilege on ``/system``.

Administration
^^^^^^^^^^^^^^

The administration menu can be used to get an overview of the Proxmox Datacenter Manager node
itself. Through the sub-menu "Shell" you can access the host's shell. Several tabs allow you to
manage different aspects of the node, such as:

* **Node Status**: See the CPU utilization, memory usage and other metrics of the Proxmox Datacenter
  Manager. Here you can also access package versions and the system report of your host, as well as
  reboot or turn off the host.
* **Updates**: Manage and install updates. If **Node Status** is hidden because the user lacks
  ``System.Audit`` on ``/system/status``, a **Package Versions** button is shown here instead.
* **Repositories**: Add, enable and inspect update repositories.
* **Update History**: View past APT package transactions and their terminal logs.
* **System Log**: Access the host's system log.
* **Access Log**: View the requests to the API and statistics about them.
* **Tasks**: An overview of all tasks of the host.

SDN
^^^

This menu provides an overview of all SDN zones across all configured Proxmox VE remotes. The EVPN
menu can be used to set up EVPN zones across multiple remotes via a single interface. More detailed
information on how to use Proxmox Datacenter Manager's SDN integration can be found in the
:ref:`sdn-integration` section.

.. image:: images/screenshots/all-remotes-updates.png
  :target: _images/all-remotes-updates.png
  :align: right
  :alt: The Update tab shows all updates on all remotes

Ceph
^^^^

This menu collects the Ceph clusters of all connected hyper-converged Proxmox VE
remotes for monitoring and the common maintenance actions. See the :ref:`ceph`
section for details.

Guests
^^^^^^

This menu provides a single cross-remote list of all QEMU and LXC guests, with
text filtering, sorting, per-guest and bulk actions, and snapshot
management. See the :ref:`guests` section for details.

Remotes
^^^^^^^

Remotes allows you to configure new remotes as well as manage existing one. The "Remotes" menu
itself provides different tabs to provide a unified view of your entire data center:

.. image:: images/screenshots/all-remotes-firewall.png
  :target: _images/all-remotes-firewall.png
  :align: right
  :alt: The Firewall tab shows all firewall rules and options across a data center

* **Configuration**: Shows a list of configured remotes with their connection status and version,
  see :ref:`remote_status`. It also allows configuring new remotes.
* **Tasks**: An overview of all tasks across the entire data center that can be filtered. Refreshing
  the remote task cache requires ``Resource.Modify`` on ``/resource/{remote}``.
* **Updates**: Allows managing updates and package versions for all remotes. Viewing the cached
  update summary, repository status, update history, and cached package versions requires
  ``Resource.Audit``; **Refresh all** requires ``Resource.Modify`` on at least one remote and skips
  remotes without it. Viewing live available updates, refreshing a node's APT database, and reading
  changelogs of pending updates require ``Resource.Modify`` on
  ``/resource/{remote}/node/{node}/system``. For collapsed multi-node remotes, tooltips on the
  status icons summarize how many nodes have pending updates or failed checks.
* **Firewall**: Shows a list of configured firewall rules and settings for each Proxmox VE remote
  cluster, its nodes, and guests.
* **Automated Installations**: Manage automated installer runs, prepared answer files, and installer
  authentication tokens, see :ref:`automated_installations`. This tab requires ``System.Audit`` on
  ``/system/auto-installation``.

All configured remotes are also listed here in the sidebar, including disabled remotes (marked with
a disabled icon). Each enabled remote provides a split panel that contains the most important
information for that remote in an easy to navigate interface.

.. image:: images/screenshots/remote-node-overview.png
  :target: _images/remote-node-overview.png
  :align: right
  :alt: An overview of a Proxmox VE remote

For Proxmox VE remotes, the left side shows the remote overview and the tree of nodes, guests, and
storage resources, while the right side shows the detail tabs for the selected entry. If loading the
remote fails, a **Check Certificate** button lets users with ``Resource.Audit`` on the remote
inspect its presented TLS certificate. The tree filter uses the same ``category:value`` syntax as
:ref:`resource_search`, with all entered terms required to match. The **Datacenter** root row and
each online node row offer a **Bulk Actions** menu to start, shut down, hibernate, or migrate guests
in that scope (disabled on offline nodes; see :ref:`guests`).

For nodes, the detail tabs cover metrics (**Overview**), editable **Notes**, **Tasks**, **Updates**,
**Update History**, and a **Shell** tab. The **Shell** tab opens the node's shell and requires
``Sys.Console`` on ``/resource/{remote}/node/{node}`` and Proxmox VE 9.1 or newer on the node. With
the same requirements, **Open Shell** on the node rows of the tree opens the shell in its own
browser window, which stays open when navigating away.
Editing node notes requires ``Resource.Modify`` on ``/resource/{remote}/node/{node}`` and is also
available via ``proxmox-datacenter-manager-client pve node config`` and ``pve node set``. The
**Tasks** tab lists the tasks that ran on the node. The header of a node panel offers buttons to
reboot and shut down the node (see :ref:`remote_node_power`).

For guests, the detail tabs include **Overview**, **Notes**, **Config**, **Tasks** (see
:ref:`guest_tasks`), **Snapshots**, and **Console**. Managing snapshots (create, edit description,
rollback, and delete) requires ``Resource.Manage`` on ``/resource/{remote}/guest/{vmid}``; creating,
rolling back, and deleting snapshots are disabled for templates. The **Console** tab requires
``Sys.Console`` on ``/resource/{remote}/guest/{vmid}`` and Proxmox VE 9.1 or newer, and is omitted
for templates. For QEMU virtual machines, its toolbar switches between **noVNC** (default) and
**xterm.js**, and the browser remembers the choice; LXC containers open **xterm.js** directly.

.. image:: images/screenshots/remote-node-shell.png
  :target: _images/remote-node-shell.png
  :align: right
  :alt: A Proxmox VE remote with its shell tab open

Proxmox Backup Server remotes show an overview of the remote and all its datastores on the left,
with **Open Web UI** and **Open Shell** buttons in the header (**Open Shell** requires
``Sys.Console`` on ``/resource/{remote}/node/localhost``). On connection or status errors, a
**Check Certificate** button lets users with ``Resource.Audit`` on the remote inspect its TLS
certificate. Each datastore icon shows whether the datastore is available, in maintenance mode, not
mounted, or in an error state (a datastore error also marks the remote with a warning on the
``map`` widget).

On the right, selecting the node shows **Overview**, **Tasks**, **Updates** (requires
``Resource.Modify`` on ``/resource/{remote}/node/localhost/system``), and **Update History**, with
**Reboot** and **Shutdown** buttons in the header (see :ref:`remote_node_power`).

Selecting a datastore shows its **Overview** tab with current usage, estimated time until full, any
error, the status of the last completed garbage collection, and usage and disk I/O graphs. The
**Content** tab shows the namespaces of the datastore as a tree, each with its backup groups and
the namespaces below it, the snapshots of each group and the files of each snapshot. As in Proxmox
Backup Server, it shows the time, size, encryption, comment, and verification state of the backups;
groups and namespaces sum up the verification state of their snapshots, a namespace only of the
snapshots directly in it. A namespace lists its snapshots when it is first expanded; collapsing and
expanding a namespace that failed to load tries again. The filter matches names, owners, and
comments in the namespaces that were expanded. The tab is disabled while the datastore is in
``offline`` maintenance mode.
