Juju installation (release 0)

From OSM Public Wiki
Jump to: navigation, search

Juju server VM

This VM will receive commands from Juju client VM when doing manual testing, or directly from Rift.io Launchpad VM in OSM context. Juju charms will be deployed as containers in this VM.

1. Setup a Ubuntu 14.04 LTS VMs with 4 vcpu, 4G RAM and 40GB drive

2. Create user juju in sudo group

sudo adduser juju
usermod -a -G sudo juju

3. Configure the VM to access the management networks of openvim and openstack. This is a requirement for juju to be able to connect to the deployed VNFs.

4. Change the default lxc networks, as in the lab setup the default lxc network (10.0.3.0/24) is already being used:

sudo apt-get install systemd-services lxc

Edit /etc/default/lxc-net to change the lxc network to 10.1.3.0/24:

LXC_BRIDGE="lxcbr0" 
LXC_ADDR="10.1.3.1"
LXC_NETMASK="255.255.255.0"
LXC_NETWORK="10.1.3.0/24"
LXC_DHCP_RANGE="10.1.3.2,10.1.3.254"

More about using juju: https://github.com/juju/cheatsheet