|
Key
This line was removed.
This word was removed. This word was added.
This line was added.
|
Changes (3)
View page history... |
| h3. Running PostgreSQL in Multi-Zones Environment |
| The combination of Solaris Zones and Resource Management are very powerful and can be used effectively, especially in a hosting environment, because it offers both virtualization and resource control that allows a single machine to be shared by many users securely and with very flexible resource provisioning basesd on users needs. [Joyent | http://www.joyent.com] is a good example of a hosting company that sell their hosting services by giving each of their customers customer a Solaris Container. From the customer's perspective, it's as if the user has a machine to himself, but in reality, he only has a slice of the system. |
| , you can easily set up PostgreSQL to run in an isolated "virtual machine" |
| In this kind of hosting environment, it is quite simple to setup PostgreSQL such that every customer can run his own instance of the PostgreSQL database in the Zone assigned to him and use the shared PostgreSQL binaries installed in the shared global filesystem. |
This [blog entry| http://blogs.sun.com/robertlor/entry/virtualization_and_resource_management_in] has a step by step example demonstrating the first approach, with PostgreSQL binary installed in the global zone and using a sparse root zone to run PostgreSQL. By default, the installed PostgreSQL binary is shared with all zones. |