What is this function will return? Does it can be replaced via uname -n ?
2013/12/8 Takatoshi MATSUO <[email protected]> > 2013/12/8 Andrey Rogovsky <[email protected]>: > > 1. Yes > > 2. No > > 3. I have 3 nodes > > 4. Have this errors: > > Dec 7 17:35:28 a lrmd: [2452]: info: RA output: (pgsql:0:monitor:stderr) > > /usr/lib/ocf/resource.d//heartbeat/pgsql: 1749: /usr/lib/ocf > > /resource.d//heartbeat/pgsql: > > Dec 7 17:35:28 a lrmd: [2452]: info: RA output: (pgsql:0:monitor:stderr) > > ocf_local_nodename: not found > > Your resource-agents package doesn't have ocf_local_nodename function. > This functions is implemented with this patch. > > https://github.com/ClusterLabs/resource-agents/commit/abc1c3f6464f6e5e7a1e41cd7c9b8179896c1903 > > How about using this commit? > > https://github.com/ClusterLabs/resource-agents/blob/a6f4ddf76cb4bbc1b3df4c9b6632a6351b63c19e/heartbeat/pgsql > > > I fixed wiki for Fedora19. > > http://clusterlabs.org/wiki/PgSQL_Replicated_Cluster#Replacement_of_pgsql_RA_.28both_nodes.29 > > But I'm afraid I don't know it works under Debian 7. > > > Dec 7 17:35:28 a lrmd: [2452]: info: RA output: (pgsql:0:monitor:stderr) > > Dec 7 17:35:28 a pgsql[25791]: INFO: Master does not exist. > > Dec 7 17:35:28 a pgsql[25791]: INFO: My data status=. > > Dec 7 17:35:28 a lrmd: [2452]: info: RA output: (pgsql:0:monitor:stderr) > > Could not map uname=-n to a UUID: The object/attribute does > > not exist > > Dec 7 17:35:28 a pgsql[25791]: WARNING: Can't get a.mydomain.com xlog > > location. > > Dec 7 17:35:28 a pgsql[25791]: WARNING: Can't get b.mydomain.com xlog > > location. > > Dec 7 17:35:28 a pgsql[25791]: WARNING: Can't get c.mydomain.com xlog > > location. > > Dec 7 17:35:32 a lrmd: [2452]: info: RA output: (pgsql:0:monitor:stderr) > > /usr/lib/ocf/resource.d//heartbeat/pgsql: 1749: /usr/lib/ocf > > /resource.d//heartbeat/pgsql: > > Dec 7 17:35:32 a lrmd: [2452]: info: RA output: (pgsql:0:monitor:stderr) > > ocf_local_nodename: not found > > Dec 7 17:35:32 a lrmd: [2452]: info: RA output: (pgsql:0:monitor:stderr) > > Dec 7 17:35:33 a pgsql[25934]: INFO: Master does not exist. > > Dec 7 17:35:33 a pgsql[25934]: INFO: My data status=. > > Dec 7 17:35:33 a lrmd: [2452]: info: RA output: (pgsql:0:monitor:stderr) > > Could not map uname=-n to a UUID: The object/attribute does > > not exist > > Dec 7 17:35:33 a pgsql[25934]: WARNING: Can't get a.mydomain.com xlog > > location. > > Dec 7 17:35:33 a pgsql[25934]: WARNING: Can't get b.mydomain.com xlog > > location. > > Dec 7 17:35:33 a pgsql[25934]: WARNING: Can't get c.mydomain.com xlog > > location. > > Dec 7 17:35:37 a lrmd: [2452]: info: RA output: (pgsql:0:monitor:stderr) > > /usr/lib/ocf/resource.d//heartbeat/pgsql: 1749: /usr/lib/ocf > > /resource.d//heartbeat/pgsql: > > Dec 7 17:35:37 a lrmd: [2452]: info: RA output: (pgsql:0:monitor:stderr) > > ocf_local_nodename: not found > > Dec 7 17:35:37 a lrmd: [2452]: info: RA output: (pgsql:0:monitor:stderr) > > Dec 7 17:35:37 a pgsql[26080]: INFO: Master does not exist. > > Dec 7 17:35:37 a pgsql[26080]: INFO: My data status=. > > Dec 7 17:35:37 a lrmd: [2452]: info: RA output: (pgsql:0:monitor:stderr) > > Could not map uname=-n to a UUID: The object/attribute does > > not exist > > > > > > > > > > 2013/12/8 Takehiro Matsushima <[email protected]> > > > >> Hi. > >> > >> May I confirm if you've been tried? > >> > >> 1. Is Streaming Replication OK without Pacemaker? > >> (Master/SyncSlave/AsyncSlave) > >> > >> 2. Can a node promote to Master state without another nodes? > >> 3. and how is the two nodes configuration? > >> > >> 4. corosync's log and postgresql's log have no hints? > >> > >> I'm sorry if you done. > >> > >> Regards, > >> Takehiro Matsushima > >> _______________________________________________ > >> Linux-HA mailing list > >> [email protected] > >> http://lists.linux-ha.org/mailman/listinfo/linux-ha > >> See also: http://linux-ha.org/ReportingProblems > >> > > _______________________________________________ > > Linux-HA mailing list > > [email protected] > > http://lists.linux-ha.org/mailman/listinfo/linux-ha > > See also: http://linux-ha.org/ReportingProblems > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems > _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
