Juju installation (release 0): Difference between revisions

From OSM Public Wiki
Jump to: navigation, search
Line 2: Line 2:
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.
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  
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  
2. Create user juju in sudo group  
Line 8: Line 8:
  usermod -a -G sudo 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.
3. Change the default lxc networks, as in the lab setup the default lxc network (10.0.3.0/24) is already being used:
 
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
  sudo apt-get install systemd-services lxc


Line 19: Line 17:
  LXC_NETWORK="10.1.3.0/24"
  LXC_NETWORK="10.1.3.0/24"
  LXC_DHCP_RANGE="10.1.3.2,10.1.3.254"
  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
More about using juju: https://github.com/juju/cheatsheet

Revision as of 16:12, 20 April 2016

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