Skip to content

Setup FailOver Canary

Nathan Meyers edited this page Jun 3, 2016 · 1 revision

How to setup the FailOver Canary Org containers

This canary uses the org RunnableFailOverTest

Step 1: Build the containers

The org has 3 repos:
https://github.com/RunnableFailOverTest/test-ws-client
https://github.com/RunnableFailOverTest/test-ws-server https://github.com/RunnableFailOverTest/node-proxy

All 3 should be created

Step 2: Wire up the containers

test-ws-client should use the FnR rule of From: test-ws-server-staging-runnable.runnable.ninja To: {{test-ws-server url}} node-proxy should have the envs ORIGIN_HOST=test-ws-client-staging-runnablefailovertest.runnableapp.com ORIGIN_PORT=80 PORT=80 Bullshit=test-ws-server-staging-runnablefailovertest.runnableapp.com

Step 3: Create AutoIsolation

Create an auto-isolation with node-proxy as the master, and test-ws-client and test-ws-server as children test-ws-client and test-ws-server should use master branch

Step 4: Create Branches

Create 2 branches for node-proxy - [branch1, branch2] - this should create 2 isolated containers with 2 children each Create 1 branch - [branch1] - test-ws-client and test-ws-server

Step 5: Manual Isolation

Manually isolate test-ws-client.branch1 with a test-ws-server.branch1

Step 5: Finishing Connections

Connect test-ws-client.master to test-ws-server.branch1

Clone this wiki locally