Juju installation (release 0)
From OSM Public Wiki
VM creation
- Requirements:
- ...
- ...
- ...
- Base image: ...
Installing required packages and libraries
Building and installing the module
Configuring
Previous installation procedure (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. Create a VM with Ubuntu 14.04 LTS and assign 4 vcpu, 4GB RAM and 40GB drive at least
2. Create user juju in sudo group
sudo adduser juju usermod -a -G sudo juju
3. 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"
4. 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.
More about using juju: https://github.com/juju/cheatsheet