OpenShift: Difference between revisions
Content added Content deleted
Line 26: | Line 26: | ||
* Add the IP address, hostname and FQDN of each node to /etc/hosts for each host |
* Add the IP address, hostname and FQDN of each node to /etc/hosts for each host |
||
10.1.10.27 opshmaster |
10.1.10.27 opshmaster Openshift01 |
||
10.1.10.28 opshnode1 |
10.1.10.28 opshnode1 Openshift02 |
||
10.1.10.29 opshnode2 |
10.1.10.29 opshnode2 Openshift03 |
||
* Run ssh-keygen, accept the default location of the key and do not set a password for the key. |
* Run ssh-keygen, accept the default location of the key and do not set a password for the key. |
||
* Run the following bash script: |
* Run the following bash script: |
||
for host in |
for host in Openshift01 \ |
||
Openshift02 \ |
|||
Openshift03; \ |
|||
do ssh-copy-id -i ~/.ssh/id_rsa.pub $host; \ |
do ssh-copy-id -i ~/.ssh/id_rsa.pub $host; \ |
||
done |
done |