“Maas and Juju on LXD and ZFS – part 2/4”

UBUNTU JUJU

In this moment we’ll have on our physical host both LXD and ZFS environment installed, and Maas, now we can see the procedure to install Juju services. In order to install Juju and Juju Gui we need to make some steps and requirements:

Install JUJU

Create a Controller for new environment;

Deploy the Application (JUJU Gui)

1 STEP – INSTALL JUJU

on our virtual host we can launch the following command to install JUJU

2 STEP – CREATE A LXD CONTROLLER FOR JUJU

Juju needs of a controller instance to manage our models and the juju bootstrapcommand is used to create one. This command expects a name (for referencing this controller) and a cloud to use. The LXD ‘cloud’ is known as ‘localhost’ to Juju. For our LXD localhost cloud, we will make a controller called ‘lxd-controller’:

$: juju guiOpening the Juju GUI in your browser.Couldn't find a suitable web browser!Set the BROWSER environment variable to your desired browser.If it does not open, open this URL:https://10.20.81.115:17070/gui/6ac598d4-0f9d-47e9-870a-53854b2f9b6a/

then

$: juju gui --show-credentialsOpening the Juju GUI in your browser.If it does not open, open this URL:https://10.20.40.42:17070/gui/28a15508-29a9-4ad9-80b0-d846710b6214/Username: adminPassword: xxxxxxxxxCouldn't find a suitable web browser!Set the BROWSER environment variable to your desired browser.

Disclaimer: All the tutorials included on this site are performed in a lab environment to simulate a real world production scenario. As everything is done to provide the most accurate steps to date, we take no responsibility if you implement any of these steps in a production environment.