Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun Jan 29, 2012 7:34 pm 
Offline

Joined: Sun Jan 29, 2012 7:28 pm
Posts: 1
I have no experience with Postgres or NodeBalancer, and I was wondering if what I'm picturing in my head is possible, or if I have a fundamental misunderstanding of any of the technologies involved.

Here's what I imagine: two servers running Postgres. Both are "masters" - can receive write and read queries. Each one replicates the write queries they receive to the other server.

Our apps point their DB address to NodeBalancer, which directs the traffic to one of the two servers. If one happens to go down, NodeBalancer will only direct traffic to the remaining one.

Is this a right-headed understanding of the possibilities of Postgres and NB, or am I wrong in thinking this setup is possible?


Top
   
 Post subject:
PostPosted: Sun Jan 29, 2012 7:58 pm 
Offline
Senior Member

Joined: Mon Dec 07, 2009 6:46 am
Posts: 331
pgpool-II


Top
   
 Post subject:
PostPosted: Mon Jan 30, 2012 7:00 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
Node balancers can only balance external traffic so they won't fit into your plan.

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
 Post subject:
PostPosted: Mon Jan 30, 2012 11:54 am 
Offline
Linode Staff
User avatar

Joined: Tue Apr 15, 2003 6:24 pm
Posts: 3090
Website: http://www.linode.com/
Location: Galloway, NJ
NodeBalancers listen on IPv6 too, and local IPv6 traffic doesn't count against the transfer pool.

-Chris


Top
   
 Post subject:
PostPosted: Mon Jan 30, 2012 3:42 pm 
Offline
Senior Member

Joined: Sat May 03, 2008 4:01 pm
Posts: 569
Website: http://www.mattnordhoff.com/
Although NodeBalancers are always accessible to the public, aren't they? And you might not want *that* for your private db servers...

_________________
Matt Nordhoff (aka Peng on IRC)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group