pgpool2.git / summary / log / commit / refs

commit    52f3e7204875cc5ee0063628412eb047f384f209
Author:   Tatsuo Ishii <ishii at sraoss.co.jp>
Date:     Mon Apr 11 22:55:44 2011 +0000

    Add description about parameters for recovery_1st_stage_command and
    recovery_2nd_stage_command. It's shame that the description
    had been missing from day 0.


doc/pgpool-en.html | 27 +++++++++++++++++++++++---- doc/pgpool-ja.html | 26 +++++++++++++++++++++++--- 2 files changed, 46 insertions(+), 7 deletions(-) diff --git a/doc/pgpool-en.html b/doc/pgpool-en.html index 93207ad60..4f600cc10 100644 --- a/doc/pgpool-en.html +++ b/doc/pgpool-en.html @@ -7,7 +7,7 @@ </head> <!-- hhmts start --> -Last modified: Fri Feb 18 11:34:12 JST 2011 +Last modified: Mon Apr 11 17:08:40 JST 2011 <!-- hhmts end --> <body bgcolor="#ffffff"> @@ -1219,10 +1219,19 @@ It can be changed without restarting. This parameter specifies a command to be run at the first stage of online recovery. The command file must be put in the database cluster directory for security reasons. - For example, if recovery_1st_stage_command = 'sync-command', then pgpool-II executes $PGDATA/sync-command. - +</p> +<p> +recovery_1st_stage_command will receive 3 parameters as follows: +</p> +<ol> +<li>path to master(primary) database cluster</li> +<li>PostgreSQL host name to be recovered</li> +<li>path to database cluster to be recovered</li> +</ol> +</p> +<p> Note that pgpool-II <b>accepts</b> connections and queries while recovery_1st_stage command is executed. You can retrieve and update data during this stage. @@ -1240,7 +1249,17 @@ for security reasons. For example, if recovery_2nd_stage_command = 'sync-command', then pgpool-II executes $PGDATA/sync-command. - +</p> +<p> +recovery_2nd_stage_command will receive 3 parameters as follows: +</p> +<ol> +<li>path to master(primary) database cluster</li> +<li>PostgreSQL host name to be recovered</li> +<li>path to database cluster to be recovered</li> +</ol> +</p> +<p> Note that pgpool-II <b>does not accept</b> connections and queries while recovery_2nd_stage_command is running. Thus if a client stays connected for a long time, the recovery command won't be executed. pgpool-II waits until all diff --git a/doc/pgpool-ja.html b/doc/pgpool-ja.html index bab54ea60..4bb3e457d 100644 --- a/doc/pgpool-ja.html +++ b/doc/pgpool-ja.html @@ -8,7 +8,7 @@ <body> <!-- hhmts start --> -Last modified: Sun Jan 30 09:23:45 JST 2011 +Last modified: Mon Apr 11 17:24:54 JST 2011 <!-- hhmts end --> <body bgcolor="#ffffff"> @@ -1146,7 +1146,17 @@ replicate_select$B!"(Bload_balance_mode$B!"(BSELECT$BLd9g$o$;$,L@<(E*$J%H%i $BNc$($P!"(Brecovery_1st_stage_command = 'sync-command' $B$H@_Dj$7$F$"$k>l(B $B9g!"(B$PGDATA/sync-command $B$r5/F0$7$h$&$H$7$^$9!#(B - +</p> +<p> +recovery_1st_stage_command $B$O<!$N(B3$B$D$N0z?t$r<u$1$H$j$^$9!#(B +</p> +<ol> +<li>$B%^%9%?(B($B%W%i%$%^%j(B)$B%G!<%?%Y!<%9%/%i%9%?$X$N%Q%9(B</li> +<li>$B%j%+%P%jBP>]$N(BPostgreSQL$B$N%[%9%HL>(B</li> +<li>$B%j%+%P%jBP>]$N%G!<%?%Y!<%9%/%i%9%?$X$N%Q%9(B</li> +</ol> +</p> +<p> recovery_1st_stage_command $B$r<B9T$7$F$$$k4V$O(B pgpool $B$G$O%/%i%$%"%s(B $B%H$+$i$N@\B3$r(B<b>$B@)8B$7$^$;$s(B</b>$B!#;2>H$d99?7$r9T$&$3$H$,$G$-$^$9!#(B </p> @@ -1163,7 +1173,17 @@ replicate_select$B!"(Bload_balance_mode$B!"(BSELECT$BLd9g$o$;$,L@<(E*$J%H%i $BNc$($P!"(Brecovery_2nd_stage_command = 'sync-command' $B$H@_Dj$7$F$"$k>l(B $B9g!"(B$PGDATA/sync-command $B$r5/F0$7$h$&$H$7$^$9!#(B - +</p> +<p> +recovery_2nd_stage_command $B$O<!$N(B3$B$D$N0z?t$r<u$1$H$j$^$9!#(B +</p> +<ol> +<li>$B%^%9%?(B($B%W%i%$%^%j(B)$B%G!<%?%Y!<%9%/%i%9%?$X$N%Q%9(B</li> +<li>$B%j%+%P%jBP>]$N(BPostgreSQL$B$N%[%9%HL>(B</li> +<li>$B%j%+%P%jBP>]$N%G!<%?%Y!<%9%/%i%9%?$X$N%Q%9(B</li> +</ol> +</p> +<p> recovery_2nd_stage_command $B$r<B9T$7$F$$$k4V$O(B pgpool $B$G$O%/%i%$%"%s(B $B%H$+$i@\B3!";2>H!"99?7=hM}$r0l@Z(B<b>$B<u$1IU$1$^$;$s(B</b>$B!#$^$?!"%P%C%A(B $B=hM}$J$I$K$h$C$F@\B3$7$F$$$k%/%i%$%"%s%H$,D9;~4VB8:_$7$F$$$k>l9g$K$O(B [parent: e310050b8e5f]