Re: Warm standby Service doesn't startup

From: "Al-Salami, Adel" <saa(at)klinkhammer(dot)com>
To: Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Warm standby Service doesn't startup
Date: 2011-09-06 13:25:54
Message-ID: A325334B2DF7DC4690FF38CB11BC3AFB22EFFD117F@w2k8n202
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Thanks alot.

-----Ursprüngliche Nachricht-----
Von: pgsql-admin-owner(at)postgresql(dot)org [mailto:pgsql-admin-owner(at)postgresql(dot)org] Im Auftrag von Devrim GÜNDÜZ
Gesendet: Dienstag, 6. September 2011 14:40
An: Al-Salami, Adel
Cc: pgsql-admin(at)postgresql(dot)org
Betreff: Re: [ADMIN] Warm standby Service doesn't startup

On Tue, 2011-09-06 at 14:12 +0200, Al-Salami, Adel wrote:
> I have created a warm standby successfully, everything work fine also
> the applying of the archive from primary, my problem is that the
> Service under windows 2008r2 doesn't start if the standby is running
> (I get a start service timeout).
> If I use the pg_ctl start -D D:\<my data> it will succeed however the
> windows service wont start.
> Using the net start to the start the service will hang and the log
> file keeps on writing;
>
> 2011-09-06 13:52:57 CEST FATAL: the database system is starting up
>
> Is it normal that the Warm Standby doesn't let the service to start
> under windows?
> Am not sure to go live with this standby as I cannot start the
> service.

*Warm* standby servers don't accept connections / queries, so the message above is quite ok. If you move to PostgreSQL 9.0+, there is "hot standby" option, which lets you run read-only queries on standby server.

Regards,
--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr http://www.gunduz.org Twitter: http://twitter.com/devrimgunduz

A. Klinkhammer Förderanlagen Kreative Lager- und Produktionslogistik GmbH
Sitz der Gesellschaft: Nürnberg • Registergericht: Amtsgericht Nürnberg, HRB 15958
Geschäftsführer: Frank Klinkhammer, Gerald Schulz
USt ID: DE 198 660 907 • Steuer Nr.: 241/115/83087

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Gnanakumar 2011-09-06 14:16:17 What are all the reasons/possibilities of failure to free-up disk space occupied by TEMPORARY table?
Previous Message Devrim GÜNDÜZ 2011-09-06 12:40:17 Re: Warm standby Service doesn't startup