logo       

Re: Best practice for bringing up clustered DBs: msg#00057

Subject: Re: Best practice for bringing up clustered DBs
Hi,

I think that following site is some help for you.
I know it is too old, but it still effective in setup of rsync.
http://pgcluster.projects.postgresql.org/1_3/recovery.html

Regards,
------------------
At.Mitani


> I've been using pgcluster in my development environment lightly for
> about a month now, and really enjoying the functionality of it. Great
> work.
>
> Unless I've totally missed the boat, I've not found much documentation
> on using pgcluster, but was able to manage getting it up and running
> from the INSTALL_PGCLUSTER text file included.
>
> My question is basically this:
>
> Once all the configuration files are setup for pgreplicate and
> cluster, what is the best way to be bringing the databases up for the
> first time. From my experience, it seems that I want to do something
> like:
>
> ./bin/pgreplicate -D /usr/local/pgsql/data
>
> ./bin/pg_ctl start -D /usr/local/pgsql/data (Master DB?)
>
> ./bin/psql < my_db_dump.txt
>
> Then, on the other clustered DBs, to do something like:
>
> ./bin/pg_ctl start -D /usr/local/pgsql/data -o "-U"
>
> I've not had any luck with -R so far, and -r actually returns an error
> for me. Perhaps I'm not using those flags in the correct scenarios?
> (If someone would like to expand upon when to use -r, -R, and -U,
> that'd be very helpful.)
>
> Any additional information for "first time" clustered DB start up, or
> database recovery would be grand. I do plan on writing some basic
> documentation for pgcluster in the near future once I have a bit more
> experience with it. So hopefully your answers won't be all for not :)
>
> Thanks!
>
> --
> Leif Madsen.
> http://www.leifmadsen.com
> http://www.oreilly.com/catalog/asterisk
> _______________________________________________
> Pgcluster-general mailing list
> Pgcluster-general@xxxxxxxxxxxxx
> http://pgfoundry.org/mailman/listinfo/pgcluster-general
>



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
boot-loaders.gr...    php.pear.genera...    debugging.valgr...    kde.redhat.user...    text.xml.xsl.ge...    culture.languag...    hardware.microc...    java.servicemix...    redhat.release....    web.zope.plone....    user-groups.lin...    opendarwin.webk...    video.mjpeg.use...    sysutils.bcfg2....    encryption.gpg....    lx-office.devel...    xfree86.forum/2...    mail.mutt.devel...    acpi.devel/2003...    qnx.openqnx.dev...    network.irc.irs...    freebsd.devel.m...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe