Megatest

Update of "lxd_test_cluster"
Login
Overview

Artifact ID: 71af31c7dbb275f15249fb0ef86b914e9382bffc
Page Name:lxd_test_cluster
Date: 2017-03-23 19:05:15
Original User: bjbarcla
Mimetype:text/x-markdown
Parent: b0a0ba07791522b06f3f1ae41e7d87e18c54750f (diff)
Next 9eb2c2d23f8e9095269ed89f2f41c425dcad6843
Content

Setup lxd cluster for megatest

I setup 3 container "boxes" - pablo, ruby, ash

install lxd - loosely followed this

put containers on home LAN- followed this procedure

host# mkdir /lxd-shared

host# chown 100000:100000 /lxd-shared

host# chmod 777 /lxd-shared

host# xc remote add images images.linuxcontainers.org

host# lxc launch images:ubuntu/xenial/amd64 ruby

host# lxc launch images:ubuntu/xenial/amd64 pablo

host# lxc launch images:ubuntu/xenial/amd64 ash

setup shared space across containers, mounted from host fs

mkdir /lxd-shared

Setup containers

setup ssh host keys across mtuser

host# lxc exec container1 /bin/bash

container1# su - mtuser

% ssh-keygen

pick a container and setup X / vnc

container# apt-install vnc4server xfce4

container# su -c mtuser

% vncpasswd

mtuser% vncserver -geometry 1366x746 -depth 24

fix consternating issue breaking tab completion working in any term:

start a vnc session (so iup works)

from home network, use vnc client to connect to container:1