You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: chef_postgres/README.md
+8-3Lines changed: 8 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,10 @@ This cookbook is designed to make it easy to install Postgres 9.1+ on an EC2 Ubu
2
2
3
3
The root recipes are chef_postgres::master and chef_postgres::standby. Set up the master first. This will create a pg_basebackup dump that is uploaded to S3 (partially using the server_name in the S3 path) along with the settings required for the recovery.conf file on the standby.
4
4
5
-
Once the master is set up, run chef_postgres::standby. This grabs the backup from S3 and uses this to deploy the standby.
5
+
Once the master is set up, run chef_postgres::standby. This grabs the backup from S3 and uses this to deploy the standby.
6
+
7
+
The data_device is for the data drive added to the machine. When you add this in Aws match the last letter from the device name. i.e.
8
+
Aws drop down option "/dev/sdk" Translates to "/dev/xvdk". It will always be xvd you just have to change the last letter to match. The default is listed below.
6
9
7
10
To change the default settings, pass in custom JSON. These are the defaults:
8
11
@@ -13,11 +16,13 @@ To change the default settings, pass in custom JSON. These are the defaults:
0 commit comments