Software and Systems How-To's, Tutorials, Demos, Notes

How To Install Openshift Origin 3 nodes using Ansible

Pre-Requisites You should have added your hosts to DNS You have a wildcard dns entry Prepare Hosts Install base software yum -y install wget git net-tools bind-utils yum-utils iptables-services bridge-utils bash-completion kexec-tools sos psacct NetworkManager Update to the latest packages and reboot yum update systemctl reboo... Read more

How to Setup Local Storage on OpenShift Cluster

Assumptions 1 This is just a POC and not for production use. You have an openshift cluster with N nodes. You can create loop back devices Create the disk image files, setup loop back devices, mount them, and change the SELinux context. for i in `seq 0 49` do dd if=/dev/zero of=/var/lib/origin/loop/loop$i.img bs=100M count=10 loset... Read more

How to Install OpenShift Enterprise in one node Using Ansible for Development Purposes

Assumptions: RHEL 7.4 operating System running as a VM in virtual box. Login to developers.redhat.com. Create an account if you don’t have one. Download RHEL 7.4 from here Create a Host-Only Network in VirtualBox Navigate to VirtualBox->Preferences A dialog box will appear Add a host-only network and set it’s IP addre... Read more

How to Install OpenShift Origin in one node Using Ansible for Development Purposes

Assumptions: CentOS operating System running as a VM in virtual box. Download CentOS from here: http://mirror.vodien.com/centos/7/isos/x86_64/CentOS-7-x86_64-Everything-1708.iso Create a Host-Only Network in VirtualBox Navigate to VirtualBox->Preferences A dialog box will appear Add a host-only network and set it’s IP... Read more

Using External Jenkins

Assumptions You have an existing Jenkins installation that is hosted outside of OpenShift. You have read the Using CICD Pipeline Part 2 and are interested to know how the same setup can be run using an external hosted jenkins. Install the Jenkins Pipeline Plugin Login as admin to jenkins Go to Manage Jenkins->Manage Plugins->Av... Read more