This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
get_started_juju_deploy [2015/04/08 23:27] Narinder Gupta |
get_started_juju_deploy [2015/11/11 18:19] (current) Narinder Gupta [Openstack Details] |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | |||
====== Juju Build and Install instructions ====== | ====== Juju Build and Install instructions ====== | ||
[[juju_release| Juju Release ]] | [[juju_release| Juju Release ]] | ||
- | Single node | + | ===== Single node ===== |
----------- | ----------- | ||
Line 16: | Line 18: | ||
Hard disk: 250 GB | Hard disk: 250 GB | ||
- | download the code | + | ==== download the code ==== |
+ | |||
----------------- | ----------------- | ||
- | Scripts are hosted in Bazar branch | + | Scripts are hosted in OPNFV gerrit |
+ | |||
+ | ''$ sudo apt-get install git'' | ||
- | ''$ sudo apt-get install bzr | + | ''$ git clone http://gerrit.opnfc.org/gerrit/joid.git'' |
- | '' | + | |
- | ''$ bzr branch lp:~narindergupta/+junk/odl-deployer | ||
- | '' | ||
+ | ==== Checkout charms ==== | ||
- | Checkout charms | ||
--------------- | --------------- | ||
Line 34: | Line 36: | ||
Follow these steps to checkout code: | Follow these steps to checkout code: | ||
- | ''$ cd odl-deployer | + | ''$ cd joid/ci/odl/'' |
- | $ ./fetch-charms.sh'' | + | ''$ ./fetch-charms.sh'' |
This will checkout the relevant charms into 'src' and create any Juju symlinks | This will checkout the relevant charms into 'src' and create any Juju symlinks | ||
in 'charms'. | in 'charms'. | ||
+ | |||
+ | ===== Deploy with cloud-sh-odl on single node ===== | ||
- | Deploy with cloud-sh-odl on single node | ||
--------------------------------------- | --------------------------------------- | ||
Line 72: | Line 75: | ||
''$ cd cloud-sh-odl'' | ''$ cd cloud-sh-odl'' | ||
- | $ ./deploy.sh | + | ''$ ./deploy.sh'' |
This will deploy OpenStack and import Trusty's daily image into Glance. | This will deploy OpenStack and import Trusty's daily image into Glance. | ||
Line 90: | Line 93: | ||
The deployment can be destroyed with: | The deployment can be destroyed with: | ||
- | $ juju destroy-environment local | + | ''$ juju destroy-environment local'' |
- | Deploy with Juju Deployer for multiple node with MAAS | + | ===== Deploy with JOID for multiple node with MAAS ===== |
----------------------------------------------------- | ----------------------------------------------------- | ||
- | Pre Requisite: | + | download the code: |
- | 1. have a single node install with MAAS and configure the MAAS environment. | + | Scripts are hosted in Bazar branch |
- | 2. Have a JUJU environment connect to MAAS as per MAAS/JUJU documentation. | + | ''$ sudo apt-get install git'' |
- | 3. Run JUJU bootstrap either on a physical node or on a VM. | + | ''$ git clone http://gerrit.opnfc.org/gerrit/joid.git'' |
- | 4. Run juju deployer as below with old bundle. | + | Pre Requisite: |
- | Juju Deployer can deploy a preset configuration of charms given a yaml | + | 1. have a single node install with Ubuntu OS 14.04 LTS |
- | configuration file. There is a configuration file in 'juju-deployer/odl.yaml'. | + | |
- | $ sudo apt-get install juju-deployer | + | 2. Minimum four nodes exist and should have been preconfigured and integrated with JOID please have look into this wiki page https://wiki.opnfv.org/joid/get_started |
- | $ cd juju-deployer | + | ==== Deploy MAAS: ==== |
- | $ juju-deployer -c odl.yaml -d trusty-icehouse-odl | + | '' $ ./02-maasdeploy.sh <lab and pod name i.e. intelpod5> '' |
- | Juju Deployer will branch its own copy of the remote charms. | + | ==== Deploy OPNFV: ==== |
- | Horizon will be located on the machine 'juju status openstack-dashboard' - | + | For kilo openstack, ODL SDN, HA mode in intel pod5 |
- | http://<ip>/horizon. | + | '' $ ./deploy.sh -o kilo -s odl -t ha -l intelpod5 '' |
- | Admin credentials will be written to cloud/admin-openrc. | + | ==== Openstack Details ==== |
- | + | Details of openstack deployment can be found below: | |
- | ODL will be located on the machine 'juju status old-controller' | + | |
- | + | ||
- | http:<ip>:8181/dlux/index.html | + | |
- | + | ||
- | credentials will be admin/admin | + | |
+ | * Openstack dashboard http:<ip> | ||
+ | * Admin credentials will be admin/openstack. | ||
+ | * ODL will be located on the machine juju status old-controller | ||
+ | * http:<ip>:8181/dlux/index.html | ||
+ | * credentials will be admin/admin |