Here's the scenario:
- One shard disk (Gluster)
- Multiple Postgres servers
Requirements:
- Use the shared disk to store the database files
- Use a configuration which provide maximum efficiency
Findings so far,
It's possible to use a shared disk to store the data as this document says. But it also says that "Another issue is that the standby server should never access the shared storage while the primary server is running". That means all of servers (except the master one) are left unused which is almost unacceptable for us.
Since we are using shared disk there should be no replication. It's been found on this document that some configurations (Raw and Master/Slave modes) are good enough. But the other problem is that they might cause the above issue.
Problems:
- There are a lot of documentation on the web which made me confused about their requirements and features. Is my understanding correct?
- If so, is there any possibility to achieve this design (with pgpool or anyother tools)
- If so, would you please name the tools and or the keywords so I can find more information.
Note (for those who are interested in closing questions as many as they can)- It happened before to me. Some say I'm looking for opinion based answers. In fact I'm not. What I'm looking is the name of technology or some sort of keywords, no matter what. So that by using them I can search for more information. It sometimes happens that you need to know some keywords for search and finding the information.
Thanks in advance.