~ggouzi/obinstall/obinstall

« back to all changes in this revision

Viewing changes to demos/landscape/README

  • Committer: MMorana
  • Date: 2016-03-24 01:18:40 UTC
  • Revision ID: mass@ubuntu.com-20160324011840-blxydmf7ca4ggle0
Splitting out demos from install

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Landscape Installer Demo
2
 
 
3
 
Prerequisites: 
4
 
 
5
 
At least 5 physical nodes with a second disk.
6
 
You will therefore need extra USB flash drives (pref 64GB) on nodes without a second disk already (nodes 1-4).
7
 
 
8
 
At least 1 node with 2 NICs, all management services will be installed here, including Neutron and Juju bootstrap.
9
 
 This should be on node00vmX.maas.
10
 
 This virtual machine must have at least 20GB of space available.
11
 
 
12
 
At least 1 MAAS node with the MAAS tag "landscape", this can be node00vm1ob#, but if issues are encountered, it can be any of the physical nodes
13
 
 
14
 
You will need to create a file: "repo-file" in this directory with the URL of the Landscape repository.
15
 
You will need to create a file: "license-file" in this directory with a valid license or trial license to use Landscape.
16
 
 
17
 
Instruction explanations: 
18
 
https://docs.google.com/a/canonical.com/document/d/1LF1xbsdVrCIVIzPyFXaJlnKc0wkANR7q1fkq3SNcyss
19
 
 
20
 
Verify the pastebin in it for october  2014 it is:
21
 
https://pastebin.canonical.com/117457/
22
 
 
23
 
Overview:
24
 
 
25
 
First an initial Juju environment will be used to deploy Landscape itself onto the OB.
26
 
Once Landscape is installed, register the MAAS into Landscape. This is done by selecting the MAAS tab on the sub-menu (far right), the entering the MAAS URL, and key, which is the api key found in the account creds for the admin user in MAAS.
27
 
Then use the Openstack Installer Page to install the rest of the cloud onto a new Juju environment managed by Landscape. Only use 10 nodes total, with one being a vm for the network.
28
 
Once installed, find the details to connect to the Openstack Dashboard from Landscape.
29
 
Log in and start using the cloud.
30
 
 
31
 
Method:
32
 
 
33
 
1) Bootstrap the first Juju environment and install Juju-gui.
34
 
2) Deploy Landscape on node9.maas.
35
 
3) Connect to Landscape Web UI and create initial admin user.
36
 
4) Register the MAAS server into Landscape.
37
 
5) Use the Landscape Cloud Installer to deploy a new Juju environment with Openstack.
38
 
6) When completed, get the login credentials from Landscape.
39
 
7) Log into the Openstack Dashboard to deploy instances.
40
 
 
41
 
Commands:
42
 
 
43
 
Use the normal bootstrap in ~/Examples/00-bootstrap.sh - bootstraps Juju and installs the GUI.
44
 
cd ~/Examples/landscape
45
 
./00-prepare-demo.sh - makes sure the landscape tag is on node9.maas.
46
 
./01-deploy.sh - Deploys the Landscape Bundle
47
 
More demo actions here, such as deploying a cloud.
48
 
Then destroying the cloud.
49
 
./99-cleanup.sh - Destroys the Landscape Juju environment.
50
 
 
51
 
Troubleshooting:
52
 
 
53
 
To troubleshoot the Landscape Juju environment
54
 
1) Connect to the landscape instance
55
 
 juju ssh landscape/0
56
 
2) sudo to the Landscape user, setting JUJU_HOME
57
 
 sudo -u landscape JUJU_HOME=/var/lib/landscape/juju-homes/XXX/ bash 
58
 
Where XXX is the Juju environment number (find it from the Juju tab in Landscape UI)
59
 
3) Use juju commands as normal
60
 
 juju stat
61
 
 juju debug-log
62