Building Scalable PHP Web Applications Using the Cloud by Bartlett Jonathan

Building Scalable PHP Web Applications Using the Cloud by Bartlett Jonathan

Author:Bartlett, Jonathan [Bartlett, Jonathan]
Language: eng
Format: azw3, epub
ISBN: 9781484252123
Publisher: Apress
Published: 2019-11-26T16:00:00+00:00


After this concludes successfully, you need to tell PostgreSQL that this server is to be used as a hot standby.

This is done by telling the server to go into “continuous recovery mode” on startup. To do this, we create the file /var/lib/pgsql/data/recovery.conf with the following contents (the last two lines should both be typed on the same line):standby_mode = 'on'

primary_conninfo = 'host=DB.MASTER.PRIVATE.IP port=5432

user=replicator password=mypassword'

Once this is all in place, you need to exit back to the root user like this:exit



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.