Install Blue Planet core and platform on a multi-host cluster

Follow these steps to install and turn up the Blue Planet and core and platform solutions on multiple hosts in a high-availability (HA) cluster.

Note
The username and password for all images is root / redhat or bpadmin / bpadminpw.

Configure SSH keys

Blue Planet provides an SSH keys script that enable password-free communication with hosts.

  1. On one host, configure SSH keys with the setup-ssh-keys script. When prompted, answer yes, and then when requested, enter the root password, redhat.

    # bp2-site setup-ssh-keys
  2. Verify that you have configured SSH as password-free.

    # bpssh hostname
    host-1 ec: 0
        test1.cyanoptics.com
    host-2 ec: 0
        test2.cyanoptics.com
    host-3 ec: 0
        test3.cyanoptics.com
    #

Set the site IP address

Note
The IP address shown in this step is an example. To perform this step, you must have an IP address that is on the same subnet of each individual host and is likely different than the value shown here.

Set the site IP address using the bpssh set-site-ip command. Setting the IP address on each allows you to use a web browser to log in to the Blue Planet platform.

#  bpssh set-site-ip 10.0.3.250/24
host-1 ec: 0
Set site ip to 10.0.3.250/24
host-2 ec: 0
Set site ip to 10.0.3.250/24
host-3 ec: 0
Set site ip to 10.0.3.250/24
#

Install the Blue Planet core platform

Follow these steps to install the Blue Planet core platform. . Verify that no configuration differences exist across the hosts.

$ sudo bp2-site diff-site-config

+ . Verify ILAN connectivity.

sudo bp2-site check-ilan
....
+
. Use `bp2-site-install` to install the BP core platform.
+
....
$ sudo bp2-site install --list
$ sudo bp2-site install --version <bp core platform release_#>

Getting available swarmmanager_1 images from the registry. This may take a few seconds.
Available images:
    0. (u'dockerreg.cyanoptics.com/bpcp/swarm:0.1.1-0.4.0-1858.cd213b9', u'ed87b16494295d655594d4e0320b65bd6f96d5f666fccc4e0f1541007df68812')
Select a number: 0

Enter the default value of `0`, and repeat for each prompt.
....
+
. Verify the installation. If you do not get an `OK` response, contact your Ciena customer support rep.
....
$ sudo bp2-site check-platform
....


[[activate-solution]]
=== Activate BP Platform and Orchestrate solutions

Follow the steps to activate these solutions.

. Enter the `docker images` command with the `grep` option to view Blue Planet Platform and Orchestrate versions. Note the version numbers.
+
....
# docker images | grep solution-orchestrate
dockerreg.cyanoptics.com/cyan/solution-orchestrate          16.10.2-71                 c64addaae091   5 weeks ago     1.126 MB

# docker images | grep solution-platform
dockerreg.cyanoptics.com/cyan/solution-platform             16.10.07                   1018a4cefc3e   11 weeks ago    1.115 MB
....
+
This example displays `16.10.2-71` for BP Orchestrate and `16.10.07` for BP Platform.
+
. Open BP Solution Manager by entering the `solman` command. The Solution Manager prompt is `(cmd)`.
+
....
# solman
(cmd)
....
+
. Deploy the BP Platform solution with the command shown in this example and the version number that you noted.
+
....
(cmd) api solutions dockerreg.cyanoptics.com.cyan.platform:16.10.07 deploy post
....
+
. Scale the platform to match the number of instances in the multi-host cluster. In this example, it's 3.
+
....
(cmd) solution_scale dockerreg.cyanoptics.com.cyan.platform:16.10.07 3
....
+
WARNING: If you do NOT enter the `solution_scale` command, the system defaults to a one-node cluster. In a cluster of one, only one instance of `haproxy` and  one instance of the `natd` processes run at any one time. If you lose the host with the running process for `haproxy`, you also lose the cluster.
+
. Deploy the HA version of BP Orchestrate. Use the version number that you noted.
+
....
(Cmd) api solutions dockerreg.cyanoptics.com.cyan.orchestrate:ha-16.10.2-71 deploy post
....
+
. Confirm deployment of BP Platform and Orchestrate solutions. Because there are three hosts in the cluster, Solution Manager displays three Docker container instances each for the BP Platform and Orchestrate solutions.
+
....
(Cmd) sps
....
+
The output displays three instances each of the Platform and Orchestrate solutions.
. Exit the Solution Manager CLI.

  (Cmd) exit

You have completed the installation of the BP Core platform, the Platform solution, and the Orchestrate solution. You can now do one or more of the following:

* Open a web browser and enter the host IP address, \https://<site_IP>, to view the Blue Planet Platform solution. The default login username/password is admin/adminpw.
+
image::./resources/images/bp-login-1.png[]
+
* Complete the optional procedures listed in this guide:
** <<ha-proxy,Add HAproxy with SSL certificates>>
** <<dns-name,Update DNS  nameservers for Docker containers>>
** <<bpdr-io,Connect to the Ciena bpdr.io software registry>>
* Install additional solutions like Blue Planet Resource Adapters (RAs).

results matching ""

    No results matching ""