• 8

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 191


File: /home/prodcxja/public_html/questions/application/views/question.php
Line: 191
Function: _error_handler

File: /home/prodcxja/public_html/questions/application/controllers/Questions.php
Line: 433
Function: view

File: /home/prodcxja/public_html/questions/index.php
Line: 315
Function: require_once

name Punditsdkoslkdosdkoskdo

HA Swarm cluster with docker-machine

I have a Swarm cluster which currently only has a single master. So far the whole thing has been deployed using docker-machine. I have another node that I would like to use as another master.

When I use the following command I essentially create another cluster:

docker-machine create -d generic --generic-ip-address=<master1-ip> \ --generic-ssh-key /root/.ssh/id_rsa --swarm --swarm-master \ --swarm-discovery="consul://$(docker-machine ip master0):8500" \ --engine-opt="cluster-store=consul://$(docker-machine ip master0):8500" \ --engine-opt="cluster-advertise=eth0:2376" master1

Is actually possible to create a second master with machine?

Trending Tags