]> git.proxmox.com Git - pve-docs.git/commitdiff
add datacenter.cfg.5
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 23 Mar 2016 06:32:27 +0000 (07:32 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 23 Mar 2016 06:32:27 +0000 (07:32 +0100)
Makefile
datacenter.cfg.5-opts.adoc [new file with mode: 0644]
datacenter.cfg.adoc [new file with mode: 0644]
index.adoc
pve-admin-guide.adoc

index 719ac07c442732587b28f83ed9d7d2ac95baadd4..fb2ca100e73ddb6e53a27364945a29a49145ad21 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -17,6 +17,8 @@ SYSADMIN_SOURCES=                     \
        sysadmin.adoc
 
 PVE_ADMIN_GUIDE_SOURCES=               \
        sysadmin.adoc
 
 PVE_ADMIN_GUIDE_SOURCES=               \
+       datacenter.cfg.adoc             \
+       datacenter.cfg.5-opts.adoc      \
        ${SYSADMIN_SOURCES}             \
        pve-admin-guide.adoc            \
        pve-intro.adoc                  \
        ${SYSADMIN_SOURCES}             \
        pve-admin-guide.adoc            \
        pve-intro.adoc                  \
@@ -38,6 +40,7 @@ PVE_ADMIN_GUIDE_SOURCES=              \
 
 ADOC_STDARG= -a icons -a data-uri -a "date=$(shell date)"
 ADOC_MAN1_HTML_ARGS=-a "manvolnum=1" ${ADOC_STDARG} -a "revnumber=${RELEASE}"
 
 ADOC_STDARG= -a icons -a data-uri -a "date=$(shell date)"
 ADOC_MAN1_HTML_ARGS=-a "manvolnum=1" ${ADOC_STDARG} -a "revnumber=${RELEASE}"
+ADOC_MAN5_HTML_ARGS=-a "manvolnum=5" ${ADOC_STDARG} -a "revnumber=${RELEASE}"
 ADOC_MAN8_HTML_ARGS=-a "manvolnum=8" ${ADOC_STDARG} -a "revnumber=${RELEASE}"
 
 BROWSER?=xdg-open
 ADOC_MAN8_HTML_ARGS=-a "manvolnum=8" ${ADOC_STDARG} -a "revnumber=${RELEASE}"
 
 BROWSER?=xdg-open
@@ -51,7 +54,7 @@ BROWSER?=xdg-open
 
 %.1: %.adoc %.1-synopsis.adoc docinfo.xml
        a2x -a docinfo1 -a "manvolnum=1" -a "manversion=Release ${RELEASE}" -f manpage $*.adoc
 
 %.1: %.adoc %.1-synopsis.adoc docinfo.xml
        a2x -a docinfo1 -a "manvolnum=1" -a "manversion=Release ${RELEASE}" -f manpage $*.adoc
-       test -z "$${NOVIEW}" && man -l $@ 
+       test -z "$${NOVIEW}" && man -l $@
 
 %.1.html: %.adoc %.1-synopsis.adoc docinfo.xml
        asciidoc ${ADOC_MAN1_HTML_ARGS} -o $@ $*.adoc
 
 %.1.html: %.adoc %.1-synopsis.adoc docinfo.xml
        asciidoc ${ADOC_MAN1_HTML_ARGS} -o $@ $*.adoc
@@ -64,23 +67,35 @@ BROWSER?=xdg-open
 
 %.8: %.adoc %.8-synopsis.adoc docinfo.xml
        a2x -a docinfo1 -a "manvolnum=8" -a "manversion=Release ${RELEASE}" -f manpage $*.adoc
 
 %.8: %.adoc %.8-synopsis.adoc docinfo.xml
        a2x -a docinfo1 -a "manvolnum=8" -a "manversion=Release ${RELEASE}" -f manpage $*.adoc
-       test -z "$${NOVIEW}" && man -l $@ 
+       test -z "$${NOVIEW}" && man -l $@
 
 %.8.html: %.adoc %.8-synopsis.adoc docinfo.xml
        asciidoc ${ADOC_MAN8_HTML_ARGS} -o $@ $*.adoc
        test -z "$${NOVIEW}" && $(BROWSER) $@ &
 
 
 %.8.html: %.adoc %.8-synopsis.adoc docinfo.xml
        asciidoc ${ADOC_MAN8_HTML_ARGS} -o $@ $*.adoc
        test -z "$${NOVIEW}" && $(BROWSER) $@ &
 
+datacenter.cfg.5-opts.adoc:
+       ./gen-datacenter-cfg-opts-adoc.pl >$@.tmp
+       mv $@.tmp $@
+
+%.5: %.adoc %.5-opts.adoc docinfo.xml
+       a2x -a docinfo1 -a "manvolnum=5" -a "manversion=Release ${RELEASE}" -f manpage $*.adoc
+       test -z "$${NOVIEW}" && man -l $@
+
+%.5.html: %.adoc %.5-opts.adoc docinfo.xml
+       asciidoc ${ADOC_MAN5_HTML_ARGS} -o $@ $*.adoc
+       test -z "$${NOVIEW}" && $(BROWSER) $@ &
+
 
 all: pve-admin-guide.html
 
 index.html: index.adoc ${PVE_ADMIN_GUIDE_SOURCES}
        $(MAKE) NOVIEW=1 pve-admin-guide.pdf pve-admin-guide.html pve-admin-guide.epub
 
 all: pve-admin-guide.html
 
 index.html: index.adoc ${PVE_ADMIN_GUIDE_SOURCES}
        $(MAKE) NOVIEW=1 pve-admin-guide.pdf pve-admin-guide.html pve-admin-guide.epub
-       $(MAKE) NOVIEW=1 qm.1.html pct.1.html pveam.1.html pvesm.1.html pveum.1.html vzdump.1.html pve-firewall.8.html ha-manager.1.html
-       asciidoc -a "date=$(shell date)" -a "revnumber=${RELEASE}" index.adoc 
+       $(MAKE) NOVIEW=1 qm.1.html pct.1.html pveam.1.html pvesm.1.html pveum.1.html vzdump.1.html pve-firewall.8.html ha-manager.1.html datacenter.cfg.5.html
+       asciidoc -a "date=$(shell date)" -a "revnumber=${RELEASE}" index.adoc
        $(BROWSER) index.html &
 
 pve-admin-guide.html: ${PVE_ADMIN_GUIDE_SOURCES}
        $(BROWSER) index.html &
 
 pve-admin-guide.html: ${PVE_ADMIN_GUIDE_SOURCES}
-       asciidoc -a "revnumber=${RELEASE}" -a "date=$(shell date)" pve-admin-guide.adoc 
+       asciidoc -a "revnumber=${RELEASE}" -a "date=$(shell date)" pve-admin-guide.adoc
        test -z "$${NOVIEW}" && $(BROWSER) $@ &
 
 pve-admin-guide.pdf: ${PVE_ADMIN_GUIDE_SOURCES} docinfo.xml pve-admin-guide-docinfo.xml
        test -z "$${NOVIEW}" && $(BROWSER) $@ &
 
 pve-admin-guide.pdf: ${PVE_ADMIN_GUIDE_SOURCES} docinfo.xml pve-admin-guide-docinfo.xml
@@ -92,6 +107,9 @@ pve-admin-guide.epub: ${PVE_ADMIN_GUIDE_SOURCES}
        a2x -f epub pve-admin-guide.adoc
        test -z "$${NOVIEW}" && $(BROWSER) $@ &
 
        a2x -f epub pve-admin-guide.adoc
        test -z "$${NOVIEW}" && $(BROWSER) $@ &
 
+update: clean
+       rm -f *.5-opts.adoc .1-synopsis.adoc .8-synopsis.adoc
+       make all
 
 clean:
 
 clean:
-       rm -rf *~ *.html *.pdf *.epub *.1 *.8
+       rm -rf *~ *.html *.pdf *.epub *.tmp *.1 *.5 *.8
diff --git a/datacenter.cfg.5-opts.adoc b/datacenter.cfg.5-opts.adoc
new file mode 100644 (file)
index 0000000..2ef3011
--- /dev/null
@@ -0,0 +1,39 @@
+`console:` `(applet | html5 | vv)` ::
+
+Select the default Console viewer. You can either use the builtin java
+applet (VNC), an external virt-viewer comtatible application (SPICE), or an
+HTML5 based viewer (noVNC).
+
+`email_from:` `string` ::
+
+Specify email address to send notification from (default is root@$hostname)
+
+`fencing:` `(both | hardware | watchdog)` (default=`watchdog`)::
+
+Set the fencing mode of the HA cluster. Hardware mode needs a valid
+configuration of fence devices in /etc/pve/ha/fence.cfg. With both all two
+modes are used.  NOTE: 'hardware' and 'both' are EXPERIMENTAL & WIP
+
+`http_proxy:` `http://.*` ::
+
+Specify external http proxy which is used for downloads (example:
+'http://username:password@host:port/')
+
+`keyboard:` `(da | de | de-ch | en-gb | en-us | es | fi | fr | fr-be | fr-ca | fr-ch | hu | is | it | ja | lt | mk | nl | no | pl | pt | pt-br | sl | sv | tr)` ::
+
+Default keybord layout for vnc server.
+
+`language:` `(de | en)` ::
+
+Default GUI language.
+
+`max_workers:` `integer (1 - N)` ::
+
+Defines how many workers (per node) are maximal started  on actions like
+'stopall VMs' or task from the ha-manager.
+
+`migration_unsecure:` `boolean` ::
+
+Migration is secure using SSH tunnel by default. For secure private
+networks you can disable it to speed up migration.
+
diff --git a/datacenter.cfg.adoc b/datacenter.cfg.adoc
new file mode 100644 (file)
index 0000000..8028376
--- /dev/null
@@ -0,0 +1,51 @@
+ifdef::manvolnum[]
+PVE({manvolnum})
+================
+include::attributes.txt[]
+
+NAME
+----
+
+datacenter.cfg - Proxmox VE Datacenter Configuration
+
+
+SYNOPSYS
+--------
+
+'/etc/pve/datacenter.cfg'
+
+
+DESCRIPTION
+-----------
+endif::manvolnum[]
+
+ifndef::manvolnum[]
+Datacenter Configuration
+========================
+include::attributes.txt[]
+endif::manvolnum[]
+
+The file '/etc/pve/datacenter.cfg' is a configuration file for
+{pve}. It contains cluster wide default values used by all nodes.
+
+File Format
+-----------
+
+The file uses a simple colon separated key/value format. Each line has
+the following format:
+
+ OPTION: value
+
+Blank lines in the file are ignored, and lines starting with a '#'
+character are treated as comments and are also ignored.
+
+
+Options
+-------
+
+include::datacenter.cfg.5-opts.adoc[]
+
+
+ifdef::manvolnum[]
+include::pve-copyright.adoc[]
+endif::manvolnum[]
index 8a2484b0fc52beb67d31f4503c00773354373210..8d5c06ecb9bfc52f0fea1e684d64826077856755 100644 (file)
@@ -29,6 +29,7 @@ include::attributes.txt[]
 | vzdump       | link:vzdump.1.html[vzdump.1]
 | ha-manager   | link:ha-manager.1.html[ha-manager.1]
 | pve-firewall | link:pve-firewall.8.html[pve-firewall.8]
 | vzdump       | link:vzdump.1.html[vzdump.1]
 | ha-manager   | link:ha-manager.1.html[ha-manager.1]
 | pve-firewall | link:pve-firewall.8.html[pve-firewall.8]
+| '/etc/pve/datacenter.cfg' | link:datacenter.cfg.5.html[datacenter.cfg.5]
 |===========================================================
 
 
 |===========================================================
 
 
index bd30eb4df1dd6229a5a5e0baa905cbf4006ad67f..b95629530b8c6897df8b509aa6c709074088a7cf 100644 (file)
@@ -103,6 +103,16 @@ include::ha-manager.1-synopsis.adoc[]
 
 :leveloffset: 0
 
 
 :leveloffset: 0
 
+[appendix]
+Configuration Files
+-------------------
+
+:leveloffset: 2
+include::test.adoc[]
+
+:leveloffset: 0
+
+
 include::pve-bibliography.adoc[]
 
 :leveloffset: 1
 include::pve-bibliography.adoc[]
 
 :leveloffset: 1