]> git.proxmox.com Git - pve-docs.git/blobdiff - pvenode.adoc
pbs: fix password and encryption key file location
[pve-docs.git] / pvenode.adoc
index 6badd8d8e0ae967a2d0fe833fb6333e517d146bf..bace13c3d038544814303c1e22ffe8a07e4c12d7 100644 (file)
@@ -16,11 +16,12 @@ include::pvenode.1-synopsis.adoc[]
 DESCRIPTION
 -----------
 endif::manvolnum[]
-
 ifndef::manvolnum[]
 Proxmox Node Management
-=======================
+-----------------------
+ifdef::wiki[]
 :pve-toplevel:
+endif::wiki[]
 endif::manvolnum[]
 
 The {PVE} node management tool (`pvenode`) allows to control node specific
@@ -29,13 +30,20 @@ settings and resources.
 Currently `pvenode` allows to set a node's description and to manage
 the node's SSL certificates used for the API and the web GUI through `pveproxy`.
 
-EXAMPLES
---------
+ifdef::manvolnum[]
+include::output-format.adoc[]
+
+Examples
+~~~~~~~~
+
+.Install an externally provided certificate
+
 `pvenode cert set certificate.crt certificate.key -force`
 
-Install an externally provided certificate. Both files need to be PEM encoded.
-`certificate.key` contains the private key and `certificate.crt` contains the
-whole certificate chain.
+Both files need to be PEM encoded. `certificate.key` contains the private key
+and `certificate.crt` contains the whole certificate chain.
+
+.Setup ACME account and order a certificate for local node.
 
 -----
 pvenode acme account register default mail@example.invalid
@@ -44,7 +52,36 @@ pvenode acme cert order
 systemctl restart pveproxy
 -----
 
-Setup ACME account and order a certificate for local node.
+endif::manvolnum[]
+
+Wake-on-LAN
+~~~~~~~~~~~
+Wake-on-LAN (WoL) allows to switch on a sleeping computer in the network by
+sending a magic packet. At least one NIC must support this feature and the
+respective option needs to be enabled in the computers firmware (BIOS/UEFI)
+configuration. The option name can vary from 'Enable Wake-on-Lan' to
+'Power On By PCIE Device', check your motherboards vendor manual, if unsure.
+`ethtool` can be used to check the WoL configuration of `<interface>` by
+running:
+
+----
+ethtool <interface> | grep Wake-on
+----
+
+`pvenode` allows to wake sleeping members of a cluster via WoL using the
+command:
+
+----
+pvenode wakeonlan <node>
+----
+
+This broadcasts the WoL magic packet on UDP port 9, containing the MAC address
+of `<node>` obtained from the `wakeonlan` property. The node specific
+`wakeonlan` property can be set by the following command:
+
+----
+pvenode config set -wakeonlan XX:XX:XX:XX:XX:XX
+----
 
 // TODO: extend and improve chapter!