Tag Archives: openshift

openshift origin multi-master manually deployment part-1

i have deployed an openshift origin muliti-master cluster successfully on centos and suse enterprise server.
Since the deployment is done manually, i will describe it in detail as possibly as i can.

first, take a whole view of architecture,
we have three master nodes, all of them are in active state. the number of nodes is according to your cluster size. we do not need a lb node, so no haproxy is needed. we setup a VIP floating in three master nodes. for this architecture, no loadbanlance muchinasm is provided, but it is okay for high availibilty. If you realy need a loadbanlance, it is easy to deploy one after the whole cluster is up.

next, for deployment environment.
three master nodes, based on centos minimal installation, with static ip address.
hostname: ip address
master1.openshift.qyos.com 192.168.2.206
master2.openshift.qyos.com 192.168.2.207
master3.openshift.qyos.com 192.168.2.208
node1.openshift.qyos.com 192.168.2.209
VIP 192.168.2.205

i will break this deployment into four parts.
part1: deploy named, keepalived, and docker
part2: deploy master service
part3: deploy etcd cluster with ssl enabled
part4: deploy node service
part5: deploy router and docker registry service

okay, let’s start.
Continue reading

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