Latest support:
LAUNCH INSTANCES ON AWS
https://github.com/dahai0013/openshift-contrail
1- Create an VM on AWS
2- SSH to the VM ( username= ec2-user, and use the private key created)
3- ENABLE ROOT-SSH ACCESS + create a root password ( to all nodes )
sudo su
passwd
##sed -e 's/#Permi
tRootLogin yes/PermitRootLogin yes/g' -e 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config
sed -i 's/#PermitRootLogin/PermitRootLogin/g' /etc/ssh/sshd_config
sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config
service sshd restart
yum install git epel-release -y
logout
login root@.....
4- INSTALL DEPENDENCIES ( ansible-node, master-node and slave-node )
(ansible-node)#
yum install ansible pyOpenSSL python-cryptography python-lxml -y
(master-node)#
yum install kernel-devel kernel-headers -y && reboot
(slave-node)#
yum install kernel-devel kernel-headers nfs-utils socat -y && reboot
4- INSTALL OPENSHIFT
(ansible-node)#
ssh-keygen –t rsa ( passphrase: contrail123 )
ssh-copy-id root@localhost
ssh-copy-id root@<master-node>
ssh-copy-id root@<slave-node>
cd /root
git clone https://github.com/savithruml/openshift-contrail
git clone https://github.com/openshift/openshift-ansible
yes | cp /root/openshift-contrail/openshift/install-files/ose-install openshift-ansible/inventory/byo
yes | cp /root/openshift-contrail/openshift/install-files/ose-prerequisites.yml openshift-ansible/inventory/byo
Populate /root/openshift-ansible/inventory/byo/ose-install with all hosts (master & slave) information
[masters]
{master-node-internal-ip} openshift_hostname={master-node-internal-hostname}
[etcd]
{master-node-internal-ip} openshift_hostname={master-node-internal-hostname}
[nodes]
{slave-node-internal-ip} openshift_hostname={slave-node-internal-hostname}
(ansible-node)# cd /root/openshift-ansible
(ansible-node)# ansible-playbook -i inventory/byo/ose-install playbooks/byo/openshift_facts.yml
(ansible-node)# ansible-playbook -i inventory/byo/ose-install playbooks/byo/config.yml