Code Monkey home page Code Monkey logo

Comments (5)

ioguix avatar ioguix commented on May 13, 2024

Hello @Netbulae,

There's various ways PAF could refuse to deal with your setup. Usually it explains what is wrong in log files so you can fix the issue on your side. See here for the various checks PAF is doing in 2.0: https://github.com/dalibo/PAF/blob/v2.0.0/script/pgsqlms#L984

However, maybe you felt in the only known incompatibility between PAF and PostgreSQL 9.6: how did you set your wal_level parameter? We accepted a pull request few days ago about wal_level = replica, see #47.

This fix will be included in the next release.

Regards,

from paf.

ioguix avatar ioguix commented on May 13, 2024

Any news on this issue? Should I close it?

from paf.

Netbulae avatar Netbulae commented on May 13, 2024

Hi, still the same issue. Trying to find anything in the log. What I can see is:

Nov 21 15:57:29 [3494] database1.test.nu pengine: warning: unpack_rsc_op_failure: Processing failed op stop for pgsqld:0 on database1: not configured (6)
Nov 21 15:57:29 [3494] database1.test.nu pengine: error: unpack_rsc_op: Preventing psql-ha from re-starting anywhere: operation stop failed 'not configured' (6)
Nov 21 15:57:29 [3494] database1.test.nu pengine: warning: unpack_rsc_op_failure: Processing failed op stop for pgsqld:0 on database1: not configured (6)
Nov 21 15:57:29 [3494] database1.test.nu pengine: error: unpack_rsc_op: Preventing psql-ha from re-starting anywhere: operation stop failed 'not configured' (6)

For now, I have both slave servers set to hot standby:
wal_level = hot_standby

from paf.

ioguix avatar ioguix commented on May 13, 2024

Hi,

Even if you set wal_level = hot_standby in postrgesql.conf, this parameter is set to replica internally.

The following command expose this incompatibility with current PAF 2.0:

$ psql -c "show wal_level"
 wal_level 
-----------
 replica

I'm afraid you either need to use current HEAD code, patch pgsqlms yourself using #47 or wait for release 2.1.

from paf.

ioguix avatar ioguix commented on May 13, 2024

I'm closing this issue as this has been fixed in #47 and will be included in next release.

Thank you for reporting. Do not hesitate to ask more questions if needed.

from paf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.