From d7cefca723c33688544e1135d4e2bea075885b5f Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Tue, 12 May 2009 18:21:26 +1000 Subject: [PATCH] remove NATGW_PRIVATE_IFACE from the documentation since we do not need it any more. (This used to be ctdb commit c967b234f59e5998bc8f2250062f4b0d1f39d820) --- ctdb/doc/ctdbd.1 | 10 ++------- ctdb/doc/ctdbd.1.html | 17 ++++++---------- ctdb/doc/ctdbd.1.xml | 10 --------- ctdb/doc/onnode.1 | 19 +++++++++++++++-- ctdb/doc/onnode.1.html | 46 ++++++++++++++++++++++++++++++------------ 5 files changed, 58 insertions(+), 44 deletions(-) diff --git a/ctdb/doc/ctdbd.1 b/ctdb/doc/ctdbd.1 index 13e4a6b1da7..b7a89eb689e 100644 --- a/ctdb/doc/ctdbd.1 +++ b/ctdb/doc/ctdbd.1 @@ -1,11 +1,11 @@ .\" Title: ctdbd .\" Author: .\" Generator: DocBook XSL Stylesheets v1.73.2 -.\" Date: 03/25/2009 +.\" Date: 05/12/2009 .\" Manual: .\" Source: .\" -.TH "CTDBD" "1" "03/25/2009" "" "" +.TH "CTDBD" "1" "05/12/2009" "" "" .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) @@ -471,7 +471,6 @@ NAT\-GW is configured in /etc/sysconfigctdb by setting the following variables: # NATGW_PUBLIC_IP=10\.0\.0\.227/24 # NATGW_PUBLIC_IFACE=eth0 # NATGW_DEFAULT_GATEWAY=10\.0\.0\.1 -# NATGW_PRIVATE_IFACE=eth1 # NATGW_PRIVATE_NETWORK=10\.1\.1\.0/24 # NATGW_NODES=/etc/ctdb/natgw_nodes @@ -492,11 +491,6 @@ Format of this parameter is INTERFACE This is the default gateway to use on the node that is elected to host the NATGW_PUBLIC_IP\. This is the default gateway on the public network\. .PP Format of this parameter is IPADDRESS -.SS "NATGW_PRIVATE_IFACE" -.PP -This is the interface used for the interal private network\. -.PP -Format of this parameter is INTERFACE .SS "NATGW_PRIVATE_NETWORK" .PP This is the network/netmask used for the interal private network\. diff --git a/ctdb/doc/ctdbd.1.html b/ctdb/doc/ctdbd.1.html index 67814776560..ff7e37eae7a 100644 --- a/ctdb/doc/ctdbd.1.html +++ b/ctdb/doc/ctdbd.1.html @@ -490,7 +490,6 @@ CTDB_CAPABILITY_RECMASTER=no # NATGW_PUBLIC_IP=10.0.0.227/24 # NATGW_PUBLIC_IFACE=eth0 # NATGW_DEFAULT_GATEWAY=10.0.0.1 -# NATGW_PRIVATE_IFACE=eth1 # NATGW_PRIVATE_NETWORK=10.1.1.0/24 # NATGW_NODES=/etc/ctdb/natgw_nodes

NATGW_PUBLIC_IP

@@ -505,23 +504,19 @@ CTDB_CAPABILITY_RECMASTER=no assigned to. This should be an interface connected to the public network.

Format of this parameter is INTERFACE -

NATGW_DEFAULT_GATEWAY

+

NATGW_DEFAULT_GATEWAY

This is the default gateway to use on the node that is elected to host the NATGW_PUBLIC_IP. This is the default gateway on the public network.

Format of this parameter is IPADDRESS -

NATGW_PRIVATE_IFACE

- This is the interface used for the interal private network. -

- Format of this parameter is INTERFACE -

NATGW_PRIVATE_NETWORK

+

NATGW_PRIVATE_NETWORK

This is the network/netmask used for the interal private network.

Format of this parameter is IPADDRESS/NETMASK -

NATGW_NODES

+

NATGW_NODES

This is the list of all nodes that belong to the same NATGW group as this node. The default is /etc/ctdb/natgw_nodes. -

Operation

+

Operation

When the NAT-GW fiunctionality is used, one of the nodes is elected to act as a NAT router for all the other nodes in the group when they need to originate traffic to the external public network. @@ -536,10 +531,10 @@ CTDB_CAPABILITY_RECMASTER=no

This is implemented in the 11.natgw eventscript. Please see the eventscript for further information. -

SEE ALSO

+

SEE ALSO

ctdb(1), onnode(1) http://ctdb.samba.org/ -

COPYRIGHT/LICENSE


+

COPYRIGHT/LICENSE


Copyright (C) Andrew Tridgell 2007
Copyright (C) Ronnie sahlberg 2007

diff --git a/ctdb/doc/ctdbd.1.xml b/ctdb/doc/ctdbd.1.xml index f90b671bc5b..10f9ed45f4e 100644 --- a/ctdb/doc/ctdbd.1.xml +++ b/ctdb/doc/ctdbd.1.xml @@ -868,7 +868,6 @@ CTDB_CAPABILITY_RECMASTER=no # NATGW_PUBLIC_IP=10.0.0.227/24 # NATGW_PUBLIC_IFACE=eth0 # NATGW_DEFAULT_GATEWAY=10.0.0.1 -# NATGW_PRIVATE_IFACE=eth1 # NATGW_PRIVATE_NETWORK=10.1.1.0/24 # NATGW_NODES=/etc/ctdb/natgw_nodes @@ -906,15 +905,6 @@ CTDB_CAPABILITY_RECMASTER=no - NATGW_PRIVATE_IFACE - - This is the interface used for the interal private network. - - - Format of this parameter is INTERFACE - - - NATGW_PRIVATE_NETWORK This is the network/netmask used for the interal private network. diff --git a/ctdb/doc/onnode.1 b/ctdb/doc/onnode.1 index a4e601496b9..99abd80f13b 100644 --- a/ctdb/doc/onnode.1 +++ b/ctdb/doc/onnode.1 @@ -1,11 +1,11 @@ .\" Title: onnode .\" Author: .\" Generator: DocBook XSL Stylesheets v1.73.2 -.\" Date: 09/23/2008 +.\" Date: 05/12/2009 .\" Manual: .\" Source: .\" -.TH "ONNODE" "1" "09/23/2008" "" "" +.TH "ONNODE" "1" "05/12/2009" "" "" .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) @@ -41,6 +41,16 @@ con | connected All nodes that are not disconnected\. .RE .PP +lvs | lvsmaster +.RS 4 +The current LVS master\. +.RE +.PP +natgw | natgwlist +.RS 4 +The current NAT gateway\. +.RE +.PP rm | recmaster .RS 4 The current recovery master\. @@ -52,6 +62,11 @@ The current recovery master\. Execute COMMAND in the current working directory on the specified nodes\. .RE .PP +\-o +.RS 4 +Causes standard output from each node to be saved into a file with name \.\. +.RE +.PP \-p .RS 4 Run COMMAND in parallel on the specified nodes\. The default is to run COMMAND sequentially on each node\. diff --git a/ctdb/doc/onnode.1.html b/ctdb/doc/onnode.1.html index 11c80d78950..03d40557ce5 100644 --- a/ctdb/doc/onnode.1.html +++ b/ctdb/doc/onnode.1.html @@ -1,20 +1,40 @@ -onnode

Name

onnode — run commands on ctdb nodes

Synopsis

onnode [OPTION] ... NODES COMMAND ...

DESCRIPTION

+onnode

Name

onnode — run commands on ctdb nodes

Synopsis

onnode [OPTION] ... NODES COMMAND ...

DESCRIPTION

onnode is a utility to run commands on a specific node of a CTDB cluster, or on all nodes.

- The NODES option specifies which node to run a command on. You - can specify a numeric node number (from 0 to N-1) or the special - node 'all'. You can also specify lists of nodes, separated by - commas, and ranges of numeric node numbers, separated by dashes. - If nodes are specified multiple times then the command will be - executed multiple times on those nodes. The order of nodes is - significant. + The NODES option specifies which node to run a command on. You + can specify a numeric node number (from 0 to N-1) or a + descriptive node specification (see DESCRIPTIVE NODE + SPECIFICATIONS below). You can also specify lists of nodes, + separated by commas, and ranges of numeric node numbers, + separated by dashes. If nodes are specified multiple times then + the command will be executed multiple times on those nodes. The + order of nodes is significant.

The COMMAND can be any shell command. The onnode utility uses ssh or rsh to connect to the remote nodes and run the command. -

OPTIONS

-c

+

DESCRIPTIVE NODE SPECIFICATIONS

+ The following descriptive node specification can be used in + place of numeric node numbers: +

all

+ All nodes. +

ok | healthy

+ All nodes that are not disconnected, banned, disabled or + unhealthy. +

con | connected

+ All nodes that are not disconnected. +

lvs | lvsmaster

+ The current LVS master. +

natgw | natgwlist

+ The current NAT gateway. +

rm | recmaster

+ The current recovery master. +

OPTIONS

-c

Execute COMMAND in the current working directory on the specified nodes. +

-o <prefix>

+ Causes standard output from each node to be saved into a + file with name <prefix>.<ip>.

-p

Run COMMAND in parallel on the specified nodes. The default is to run COMMAND sequentially on each node. @@ -28,7 +48,7 @@ more than one node is specified.

-h, --help

Show a short usage guide. -

EXAMPLES

+

EXAMPLES

The following command would show the process ID of ctdb on all nodes

       onnode all pidof ctdbd
@@ -46,7 +66,7 @@
       directory, in parallel, on nodes 0, 2, 3 and 4.
     

       onnode -c -p 0,2-4 ./foo
-    

FILES

/etc/ctdb/nodes

+

FILES

/etc/ctdb/nodes

Contains a list of each node's IP address or hostname.

/etc/ctdb/onnode.conf

If this file exists it is sourced by onnode. The main @@ -54,9 +74,9 @@ something other than "ssh". In this case the -t option is ignored. For example, the administrator may choose to use use rsh instead of ssh. -

SEE ALSO

+

SEE ALSO

ctdbd(1), ctdb(1), http://ctdb.samba.org/ -

COPYRIGHT/LICENSE


+

COPYRIGHT/LICENSE


Copyright (C) Andrew Tridgell 2007
Copyright (C) Ronnie sahlberg 2007
Copyright (C) Martin Schwenke 2008
-- 2.34.1