Changes between Version 6 and Version 7 of PostgreSQLFailover


Ignore:
Timestamp:
05/22/11 17:56:38 (3 years ago)
Author:
digimer
Comment:

Fixed the last copy from the old wiki to work on the new Trac syntax.

Legend:

Unmodified
Added
Removed
Modified
  • PostgreSQLFailover

    v6 v7  
    33Describe PostgreSQLFailover here. 
    44 
    5 * Install postgresql, postgresql-libs and postgresql-server 
    6 * run '/sbin/service postgresql initdb' 
    7 * create a service that looks like this: 
     5 * Install postgresql, postgresql-libs and postgresql-server 
     6 * Create a file system on a shared device for holding PostgreSQL data 
     7 * Mount the file system on /data/postgres 
     8 * run '/sbin/service postgresql initdb' 
     9 * Unmount the file system 
     10 * create a service that looks like this: 
    811 
    912{{{ 
    1013<service autostart="0" name="pgtest"> 
    1114        <ip address="192.168.122.99" monitor_link="1"/> 
     15        <fs name="data" device="/dev/sdg1" mountpoint="/data/postgres" /> 
    1216        <postgres-8 name="1" postmaster_options="/data/postgres" postmaster_user="postgres" shutdown_wait="postmaster"/> 
    1317</service>