anchor.diff:  psql -h pg-master-rc-dc.openshift.svc.cluster.local -U master postgres
   ....
   
  -and access the slave as follows:
  -....
  -psql -h pg-slave-rc-dc.openshift.svc.cluster.local -U master postgres
  +and access the replica as follows:
  +....
  +psql -h pg-replica-rc-dc.openshift.svc.cluster.local -U master postgres
   ....
   
   or via the pgbouncer proxy as follows:
  
positive.code: psql -h pgpool-rc -U testuser userdb -c 'show pool_nodes'
  ....
   
  === Openshift Example 4 - master-slave-rc-dc-slaves-only.json
  
  This example is similar to the previous examples but
  builds a master pod, and a single slave that can be scaled up
  using a replication controller.   The master is implemented as
  a single pod since it can not be scaled like read-only slaves.
  
  Running the example:
  
  ....
  oc create -f master-slave-rc-dc-slaves-only.json | oc create -f -
  ....
  
  Connect to the PostgreSQL instances with the following:
  
  ....
  psql -h pg-master-rc-dc.pgproject.svc.cluster.local -U testuser userdb
  psql -h pg-slave-rc-dc.pgproject.svc.cluster.local -U testuser userdb
  ....
  
  Here is an example of increasing or scaling up the Postgres 'slave' pods to 2:
  
  Here is an example of increasing or scaling up the Postgres 'slave' pods to 2:
  
  Here is an example of increasing or scaling up the Postgres 'slave' pods to 2:
  
  ....
  oc scale rc pg-slave-rc-dc-1 --replicas=2
  ....
  
  Enter the following commands to verify the PostgreSQL replication is working.
  
  ....
  psql -c 'table pg_stat_replication' -h pg-master-rc.pgproject.svc.cluster.local -U master postgres
  psql -h pg-slave-rc.pgproject.svc.cluster.local -U master postgres
  ....
  
  You can see that the slave service is load balancing between
  multiple slaves by running a command as follows, run the command
  multiple times and the ip address should alternate between
  the slaves:
  
  ....
  psql -c 'select inet_server_addr()' -h pg-slave-rc -U master postgres
  ....
  
  === Openshift Example 5 - Performing a Backup
  
negative.code: as follows from the examples/openshift directory:
  
  ....
  cd examples/openshift/master-replica
  ./run.sh
  cd ../vacuum-job
  ./run.sh
  