mirror of
https://git.proxmox.com/git/pmg-docs
synced 2025-10-04 08:32:42 +00:00
cluster.conf.adoc: new manual page
This commit is contained in:
parent
e051eef829
commit
0802e594f3
24
cluster.conf.5-opts.adoc
Normal file
24
cluster.conf.5-opts.adoc
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
`cid`: `<integer> (1 - N)` ::
|
||||||
|
|
||||||
|
Cluster Node ID.
|
||||||
|
|
||||||
|
`hostrsapubkey`: `<string>` ::
|
||||||
|
|
||||||
|
Public SSH RSA key for the host.
|
||||||
|
|
||||||
|
`ip`: `<string>` ::
|
||||||
|
|
||||||
|
IP address.
|
||||||
|
|
||||||
|
`maxcid`: `<integer> (1 - N)` ::
|
||||||
|
|
||||||
|
Maximum used cluster node ID (used internally, do not modify).
|
||||||
|
|
||||||
|
`name`: `<string>` ::
|
||||||
|
|
||||||
|
Node name.
|
||||||
|
|
||||||
|
`rootrsapubkey`: `<string>` ::
|
||||||
|
|
||||||
|
Public SSH RSA key for the root user.
|
||||||
|
|
62
cluster.conf.adoc
Normal file
62
cluster.conf.adoc
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
[[pmg_cluster_configuration_file]]
|
||||||
|
ifdef::manvolnum[]
|
||||||
|
cluster.conf(5)
|
||||||
|
===============
|
||||||
|
:pmg-toplevel:
|
||||||
|
|
||||||
|
NAME
|
||||||
|
----
|
||||||
|
|
||||||
|
cluster.conf - Proxmox Mail Gateway Cluster Configuration
|
||||||
|
|
||||||
|
|
||||||
|
SYNOPSIS
|
||||||
|
--------
|
||||||
|
|
||||||
|
`/etc/pmg/cluster.conf`
|
||||||
|
|
||||||
|
|
||||||
|
DESCRIPTION
|
||||||
|
-----------
|
||||||
|
endif::manvolnum[]
|
||||||
|
ifndef::manvolnum[]
|
||||||
|
Cluster Configuration
|
||||||
|
=====================
|
||||||
|
endif::manvolnum[]
|
||||||
|
ifdef::wiki[]
|
||||||
|
:title: Manual: cluster.conf
|
||||||
|
:pmg-toplevel:
|
||||||
|
endif::wiki[]
|
||||||
|
|
||||||
|
The file `/etc/pmg/cluster.conf` contains the cluster configuration.
|
||||||
|
|
||||||
|
|
||||||
|
File Format
|
||||||
|
-----------
|
||||||
|
|
||||||
|
The file is divided into several section. There is one 'master' and
|
||||||
|
several 'node' sections.
|
||||||
|
|
||||||
|
----
|
||||||
|
master: <cid>
|
||||||
|
OPTION value
|
||||||
|
...
|
||||||
|
|
||||||
|
node: <cid>
|
||||||
|
OPTION value
|
||||||
|
...
|
||||||
|
----
|
||||||
|
|
||||||
|
Blank lines in the file separates sections, and lines starting with a `#`
|
||||||
|
character are treated as comments and are also ignored.
|
||||||
|
|
||||||
|
|
||||||
|
Options
|
||||||
|
-------
|
||||||
|
|
||||||
|
include::cluster.conf.5-opts.adoc[]
|
||||||
|
|
||||||
|
|
||||||
|
ifdef::manvolnum[]
|
||||||
|
include::pmg-copyright.adoc[]
|
||||||
|
endif::manvolnum[]
|
18
gen-cluster.conf.5-opts.pl
Executable file
18
gen-cluster.conf.5-opts.pl
Executable file
@ -0,0 +1,18 @@
|
|||||||
|
#!/usr/bin/perl
|
||||||
|
|
||||||
|
use lib '.';
|
||||||
|
use strict;
|
||||||
|
use warnings;
|
||||||
|
use PVE::RESTHandler;
|
||||||
|
|
||||||
|
use Data::Dumper;
|
||||||
|
|
||||||
|
use PMG::ClusterConfig;
|
||||||
|
|
||||||
|
my $schema = PMG::ClusterConfig::Base->createSchema(1);
|
||||||
|
my $properties = $schema->{properties};
|
||||||
|
|
||||||
|
|
||||||
|
print PVE::RESTHandler::dump_properties($properties);
|
||||||
|
|
||||||
|
exit(0);
|
@ -143,6 +143,8 @@ Configuration Files
|
|||||||
|
|
||||||
include::pmg.conf.adoc[]
|
include::pmg.conf.adoc[]
|
||||||
|
|
||||||
|
include::cluster.conf.adoc[]
|
||||||
|
|
||||||
:leveloffset: 0
|
:leveloffset: 0
|
||||||
|
|
||||||
:leveloffset: 1
|
:leveloffset: 1
|
||||||
|
Loading…
Reference in New Issue
Block a user