Category Archives: openshift

Rabbitmq Server cluster docker images for openshift origin platform

Build rabbitmq cluster docker images for openshift origin platform.
Down load docker file tarball rabbitmq.tar, and cd rabbitmq, run

docker build -t rabbitmq . 

after build process is done, tag the images built with rabbitmq:v002

docker images

docker tag image-id rabbitmq:v002

and then deploy a rabbitmq-server cluster in openshift origin platform. we should create a serviceaccount rabbitmq, and add it with anyuid scc.

oc create serviceaccount rabbitmq
oc adm policy add-scc-to-user anyuid -z rabbitmq

deploy it

oc create -f rabbitmq.yaml

Openshift origin multi-node installation guide

in this tutorial, i will describe how to deploy an openshift multi-node cluster manually.
before we start, let’s clarify some basic requirements and deployment topology.

one master node, virtual box vm, 2 cores + 2G mem + 20G disk
two nodes, virtual box vm, 2 cores + 2G mem + 20G disk

master hostname: master.openshift.shaunos.com ip address: 192.168.2.49
node1 hostname: node1.openshift.shaunos.com ip address: 192.168.2.50
node2 hostname: node2.openshift.shaunos.com ip address: 192.168.2.56

All three vms with centos 7.2(1511) minimal installation are on the same subnet, static ip address.

for openshift oauth, i use anypassword auth plugin
for openshift network, i use sdn muilti-tenant plugin

Okay, let’s start

Continue reading