fix deployment and document root ssh authorization
authorDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 28 Aug 2017 06:13:35 +0000 (08:13 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 28 Aug 2017 06:13:35 +0000 (08:13 +0200)
README.md
t/1-init-cluster.sh

index 1ddcfcc..2f8df14 100644 (file)
--- a/README.md
+++ b/README.md
@@ -11,8 +11,9 @@ Hardware configuration is 3 nodes:
 10.200.1.61 edozvola-db-01
 10.200.1.62 edozvola-db-02
 
-Deployment script ./t/1-init-cluster.sh assumes that machine from which it's run is 10.200.1.1 which is added
-in pg_hba.conf as authorized to be able to deploy cluster.
+Deployment script ./t/1-init-cluster.sh assumes that management machine from which it's run is 10.200.1.1
+which is added in pg_hba.conf as authorized to be able to deploy cluster. It also assumes that management machine
+has ssh access to nodes of clustetr using ssh keys or you will need to type passwords multiple times.
 
 You can run cluster creation it with:
 
index cff74af..18fa820 100755 (executable)
@@ -14,6 +14,7 @@ psql -c "create user replication with password 'replication123' login replicatio
 __STEP_2__
 
 scp /tmp/1.sh /tmp/2.sh root@10.200.1.61:/tmp/
+scp /tmp/1.sh /tmp/2.sh root@10.200.1.62:/tmp/
 ssh root@10.200.1.61 sh -xe /tmp/1.sh
 
 ssh root@10.200.1.62 sh -xe /tmp/1.sh