Thank you.

> May be sed rule is incorrect?
Okay, let's try it manually.

REP_MODE_CONF=/var/lib/pgsql/tmp/rep_mode.conf
rep_mode_string="include '$REP_MODE_CONF' # added by pgsql RA"
sed "/${rep_mode_string//\//\\/}/d" /etc/postgresql/9.3/main/postgresql.conf


BTW, in your past post,

> Node Attributes:
> * Node a.mydomain.com:
>    + master-pgsql:0                   : 1000
>    + master-pgsql:1                   : 1000
>    + pgsql-data-status               : LATEST
>    + pgsql-master-baseline           : 0000000008000090
>    + pgsql-status                     : PRI
> * Node c.mydomain.com:
>    + master-pgsql:2                   : -INFINITY
>    + pgsql-data-status               : STREAMING|ASYNC
>    + pgsql-status                     : HS:async
> * Node b.mydomain.com:
>    + master-pgsql:0                   : -INFINITY
>    + master-pgsql:1                   : 100
>    + pgsql-data-status               : STREAMING|SYNC
>    + pgsql-status                     : HS:sync
>    + pgsql-xlog-loc                   : 000000000E0000C8

and
> node_list="a b c"
in pgsql primitive params.

I have two questions.

1. Can you find two "master-pgsql" lines in a.mydomain.com and
b.mydomain.com yet?
2. Does parameter of pgsql primitive "node_list" contains "a b c", not
"a.mydomain.com b.mydomain.com c.mydomain.com"?

I'm sorry to not be resolved easily.
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to