Re: Probleme Replikation aufzusetzen
"Gunnar \"Nick\" Bluth" <[email protected]> Tue, 30 Jan 2018 23:34:29 +0100
| Newsgroups | gmane.comp.db.postgresql.german |
|---|---|
| Message-ID | <[email protected]> |
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --3lyn6QaqOZ1Qa8rSdASfu7beym2qNKVsL Content-Type: multipart/mixed; boundary="3ZxJBhwTQSBV83J2AVx89gEc6xZ7oeGAi"; protected-headers="v1" From: "Gunnar \"Nick\" Bluth" <[email protected]> To: [email protected] Message-ID: <[email protected]> Subject: Re: Probleme Replikation aufzusetzen References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> --3ZxJBhwTQSBV83J2AVx89gEc6xZ7oeGAi Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: quoted-printable Am 30.01.2018 um 22:58 schrieb Thiemo Kellner: > On 01/30/18 18:10, Andreas Kretschmer wrote: >>>> Wenn "recovery.conf" zu "recovery.done" umbenannt wurde, hat >>>> "standby_mode =3D 'on'" gefehlt. >> >> oder die DB ist zum Master promoted worden... >=20 > Hoppala, die letzte Antwort ging nicht an die Liste. Hat sich wegen > unten erledigt. Was immer der Grund war, ich kann es nicht mehr > nachvollziehen. >=20 >>> Hmpf, schau mer mal. Muss erst mal noch folgendes Problem l=C3=B6sen:= >>> "database system identifier differs between the primary and standby" >> >> wie ist der standby erstellt worden? Via pg_basebackup? >=20 > Ich hatte einfach zwei leere Datenbanken gemacht und die eine in die > andere versucht zu synchronisieren. Ich habe nicht gedacht, dass die > Empf=C3=A4nger-DB ein Klon sein muss. Ohne despektierlich wirken zu wollen, hast du vor deinen Versuchen _ein wenig_ in die Doku geschaut...? Da (https://www.postgresql.org/docs/current/static/warm-standby.html) steht z.B. "Take a base backup as described in Section 25.3.2 to bootstrap the standby server." > Die Synchronisation funktioniert nun nach dem Base-Backup ein bisschen.= > D. h., das erste Kommando wird =C3=BCbertragen, aber dann klemmt es und= ich > muss das Testskript mittels ctrl-c abbrechen. Auf dieser Basis wird gar nichts davon funktionieren... Eigentlich ist das alles nicht wirklich kompliziert. Wenn du eine knappe Stunde Zeit hast (was riecht hier so komisch?): https://archive.fosdem.org/2017/schedule/event/postgresql_backup/ Tip: ab und zu mal bei www.packtpub.com reinschauen, die haben =C3=B6fter= mal die diversen PG-B=C3=BCcher als Ebooks f=C3=BCr ganz kleines Geld (3-5=E2= =82=AC) im Sale (auch das von Simon & Co.). Gru=C3=9F, --=20 Gunnar "Nick" Bluth RHCE/SCLA Mobil +49 172 8853339 Email: [email protected] _____________________________________________________________ In 1984 mainstream users were choosing VMS over UNIX. Ten years later they are choosing Windows over UNIX. What part of that message aren't you getting? - Tom Payne --3ZxJBhwTQSBV83J2AVx89gEc6xZ7oeGAi-- --3lyn6QaqOZ1Qa8rSdASfu7beym2qNKVsL Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJacPL1AAoJEBAQrmsyiTOMCP4IAJj/Cea3ArnbqLMtmxjy13Sg Ibr4liTUiGSHOxxkbv7Abb9f3OpWcEaRt9qaQ2ok9qeilMt9fWf41xnhA0wRTUnH glUrJT9KB/dRVqiw0n2a+RH8nf5cr0pgofLJya8GkE4EHLc7LV/lQaFBCHevKf4h Zx2tTxq2QLNzcadFCccHdkSNc6iIcamlt0sA9sIclA/S8dEQ4LVH8Cf2tVcFbQsW O9giF7KjFtwdFPm2Ekm0BQeGjBHCAdxKuLKKuKM7TLL1tNVfLJBIah3XI0aG9CSi e1dyzfoBVzj5432a539NFwv0spMg14+9MxlHBcgTnn8EENaSim2RRIivVK/DPL4= =4mXH -----END PGP SIGNATURE----- --3lyn6QaqOZ1Qa8rSdASfu7beym2qNKVsL--