- Create keypair
- Create 2 instances, name them node1 and node2
- Change lvm.conf on both
- update-initramfs -u on both
- install drbd on both
- place pg.res config on both
- update-rc.d drbd disable on both
- initialize drbd on node1
- Setup LVM on node1
- Setup filesystem on node1
- install postgresql-9.5
- drop PG cluster and initialize new one on both
- rm -Rf /db/pgdata/* on node2
- update-rc.d postgresql disable on both
- create sample db on node1
-
Notifications
You must be signed in to change notification settings - Fork 0
License
teamfighter/pg-cluster
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published