Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 3EA021337B79 for ; Sat, 25 Sep 2010 00:29:42 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 27775-09 for ; Sat, 25 Sep 2010 03:29:35 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171]) by mail.postgresql.org (Postfix) with ESMTP id 81F341336FA7 for ; Sat, 25 Sep 2010 00:29:34 -0300 (ADT) Received: from [192.168.1.6] (static-71-179-240-8.bltmmd.fios.verizon.net [71.179.240.8]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0LaHLm-1OWHyB20Ni-00lRCL; Sat, 25 Sep 2010 05:29:30 +0200 Message-ID: <4C9D6C98.804@2ndquadrant.com> Date: Fri, 24 Sep 2010 23:29:28 -0400 From: Greg Smith User-Agent: Thunderbird 2.0.0.24 (X11/20100317) MIME-Version: 1.0 To: Anibal David Acosta CC: 'Kasia Tuszynska' , pgsql-admin@postgresql.org Subject: Re: question about HA in PG 9.0 References: <232B5217AD58584C87019E8933556D110214AB147C@redmx2.esri.com> <000b01cb58d3$f1cabad0$d5603070$@edge.com.py> In-Reply-To: <000b01cb58d3$f1cabad0$d5603070$@edge.com.py> Content-Type: multipart/alternative; boundary="------------020809000103090101090301" X-Provags-ID: V02:K0:MTHtaSjKtJetBp3ngThS8rwA7MQapXiuOYJeK6rudbm 4qIgD/6DLbuaUi3d0FGKEfNOXxPwT1cQzOSGV+0Z5LUU8nLQte YKKC9a/kmka/anPSU5CyJmqtQsOZuGwynRvjg+XFIJdOfe3G4l 9stCgNAHCSYttmu7MR/E5BvJ7SSX52ubMDFCMTm2Ew6iO87A/d GCgSf55gjKLeD58Q+re9s0z67F62gyfVBgs1lEZ7/M= X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.899 tagged_above=-10 required=5 tests=BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201009/147 X-Sequence-Number: 35691 This is a multi-part message in MIME format. --------------020809000103090101090301 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Anibal David Acosta wrote: > > Windows server enterprise has the Microsoft Cluster Services. > > This enable fail-over scenario between two computers. > > So, when one of them go offline, the other is activated, this involve > many steps, including IP changing, the slave become the master IP > address . > > But you can choose between has a replication between both postgres or > maybe you can put your postgresql DATA directory to an external > storage shared between those two servers. > > If this case, when the second server become available the Cluster > service map map the DATA unit and starts the postgres service. > > So, you have everything running and working in aprox. 10 seconds. > All of the Windows Server stuff via Microsoft Cluster Services I'm aware of does its shared storage node fencing via sending specific SCSI calls (PERSISTENT RESERVE) to the storage. That probably works fine if you have a Fiber Channel array that supports that. But I don't think there's any flexibility for alternative types of deployments. As for the complexity of the setup time, while they have put a bunch of GUIs on it I've never see anything that tries to do complicated storage array arrangements work in any time that isn't measure in large multiples of hours, so "10 seconds" I'm skeptical of. -- Greg Smith, 2ndQuadrant US greg@2ndQuadrant.com Baltimore, MD PostgreSQL Training, Services and Support www.2ndQuadrant.us Author, "PostgreSQL 9.0 High Performance" Pre-ordering at: https://www.packtpub.com/postgresql-9-0-high-performance/book --------------020809000103090101090301 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Anibal David Acosta wrote:

Windows server enterprise has the Microsoft Cluster Services.

This enable fail-over scenario between two computers. 

So, when one of them go offline, the other is activated, this involve many steps, including IP changing, the slave become the master IP address .

But you can choose between has a replication between both postgres or maybe you can put your postgresql DATA directory to an external storage shared between those two servers. 

If this case, when the second server become available the Cluster service map map the DATA unit and starts the postgres service.

So, you have everything running and working in aprox. 10 seconds.


All of the Windows Server stuff via Microsoft Cluster Services I'm aware of does its shared storage node fencing via sending specific SCSI calls (PERSISTENT RESERVE) to the storage.  That probably works fine if you have a Fiber Channel array that supports that.  But I don't think there's any flexibility for alternative types of deployments.  As for the complexity of the setup time, while they have put a bunch of GUIs on it I've never see anything that tries to do complicated storage array arrangements work in any time that isn't measure in large multiples of hours, so "10 seconds" I'm skeptical of.

-- 
Greg Smith, 2ndQuadrant US greg@2ndQuadrant.com Baltimore, MD
PostgreSQL Training, Services and Support  www.2ndQuadrant.us
Author, "PostgreSQL 9.0 High Performance"    Pre-ordering at:
https://www.packtpub.com/postgresql-9-0-high-performance/book
--------------020809000103090101090301--