From dc7e5786991cea92de14289a1469ce0bddf5db29 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Thu, 10 Dec 2009 03:36:08 +0100 Subject: Document the failover feature in manpages Fixes: #309 --- server/man/include/failover.xml | 41 +++++++++++++++++++++++++++++++++++++++++ server/man/sssd-ipa.5.xml | 8 +++++++- server/man/sssd-krb5.5.xml | 8 +++++++- server/man/sssd-ldap.5.xml | 8 ++++++-- 4 files changed, 61 insertions(+), 4 deletions(-) create mode 100644 server/man/include/failover.xml (limited to 'server') diff --git a/server/man/include/failover.xml b/server/man/include/failover.xml new file mode 100644 index 000000000..7c37bb403 --- /dev/null +++ b/server/man/include/failover.xml @@ -0,0 +1,41 @@ + + FAILOVER + + The failover feature allows back ends to automatically switch to + a different server if the primary server fails. + + + Failover Syntax + + The list of servers is given as a comma-separated list; any + number of spaces is allowed around the comma. The servers are + listed in order of preference. The list can contain any number + of servers. + + + + The Failover Mechanism + + The failover mechanism distinguishes between a machine and a + service. The back end first tries to resolve the hostname of a + given machine; if this resolution attempt fails, the machine is + considered offline. No further attempts are made to connect + to this machine for any other service. If the resolution + attempt succeeds, the back end tries to connect to a service + on this machine. If the service connection attempt fails, + then only this particular service is considered offline and + the back end automatically switches over to the next service. + The machine is still considered online and might still be tried + for another service. + + + Further connection attempts are made to machines or services + marked as offline after a specified period of time; this is + currently hard coded to 30 seconds. + + + If there are no more servers to try, the back end as a whole + switches to offline mode for a certain period of time. + + + diff --git a/server/man/sssd-ipa.5.xml b/server/man/sssd-ipa.5.xml index f0fbf639b..d1ba1c526 100644 --- a/server/man/sssd-ipa.5.xml +++ b/server/man/sssd-ipa.5.xml @@ -76,7 +76,11 @@ ipa_server (string) - The name of the IPA server. + The list of IP addresses or hostnames of the + IPA servers to which SSSD should connect in + the order of preference. For more information + on failover and server redundancy, see the + FAILOVER section. This is optional if autodiscovery is enabled. @@ -114,6 +118,8 @@ + + EXAMPLE diff --git a/server/man/sssd-krb5.5.xml b/server/man/sssd-krb5.5.xml index 1ca283142..e73e106ab 100644 --- a/server/man/sssd-krb5.5.xml +++ b/server/man/sssd-krb5.5.xml @@ -65,7 +65,11 @@ krb5_kdcip (string) - Specifies the IP address of the Kerberos server. + Specifies the list of IP addresses or hostnames + of the Kerberos servers to which SSSD should + connect in the order of preference. For more + information on failover and server redundancy, + see the FAILOVER section. @@ -207,6 +211,8 @@ + + EXAMPLE diff --git a/server/man/sssd-ldap.5.xml b/server/man/sssd-ldap.5.xml index 9172fa257..dc146ea25 100644 --- a/server/man/sssd-ldap.5.xml +++ b/server/man/sssd-ldap.5.xml @@ -59,8 +59,10 @@ ldap_uri (string) - Specifies the URI of the LDAP server to which - SSSD should connect. + Specifies the list of URIs of the LDAP servers to which + SSSD should connect in the order of preference. For more + information on failover and server redundancy, see the + FAILOVER section. Default: ldap://localhost @@ -620,6 +622,8 @@ + + EXAMPLE -- cgit