Open greenx opened 11 years ago
Damn, I already found the answer to my question :) HostList need to write only the necessary components. But I've been thinking ... we obtained in two places indicate the desired node. In pgsql - nodelist and then clone.
Damn, I already found the answer to my question :) HostList need to write only the necessary components.
Yes !
But I've been thinking ... we obtained in two places indicate the desired node. In pgsql - nodelist and then clone.
Which nodelist ? In corosync.conf ? It indicate all nodes which participate in cluster. RA needs only hostname which participate in streaming replication to control slaves.
No, fisrt in primitive node_list and second, when the call "ms msPostgres pgsql"
Sorry, I mistook.
HostList is /etc/hosts ? Pgsql RA doesn't always need HostList. It needs node_list to control slaves.
If you use recent pacemaker 1.1.x and set hostname in /etc/hosts or corosync.conf, it may cause discrepancy, because recent pacemaker gets node name from them if exists. But pgsql RA always gets node name using "uname -n".
FYI, RA can't get node names from setting of msPostgres.
Hi, again!
I continue experiments with cluster on two node + quorum node. Today I build next schema:
or
Everything looks right.
Even a .... crn_resource display resources without status "stopped"
....except that the attribute is still set.