Prerequisites

Prerequisites

Before you start installing the StackLight LMA components, complete the following steps:

  1. Configure StackLight LMA for installation.

    The configuration of StackLight LMA for installation is defined in the Reclass model. See stacklight-salt-model as an example of the Reclass model to install StackLight LMA on Mirantis Cloud Platform. Three levels of the Reclass models are currently collocated on the Salt Master node under the /srv/salt/reclass/classes directory:

    • The service level model is imported directly from the metadata/service directory of all MCP formulas. The Reclass parameters that are defined at the service level are the most generic parameters and should not be modified in practice.

    • The system level model, which is currently defined in the user Reclass model, imports the service level models and defines additional parameters. The parameters defined in the system level model relate to the system-wide configuration of StackLight LMA, such as the IP address and port number of the Elasticsearch server.

    • The cluster level model defines the configuration of StackLight LMA for a particular deployment. A user Reclass model to install OpenStack with StackLight LMA must be created. This is where you typically customize your deployment.

  2. Deploy Docker Swarm master:

    salt -C 'I@docker:host' state.sls docker.host
    salt -C 'I@docker:swarm:role:master' state.sls docker.swarm
    
  3. Deploy Docker Swarm workers:

    salt -C 'I@docker:swarm:role:manager' state.sls  docker.swarm -b 1
    
  4. Deploy Keepalived:

    salt -C 'I@keepalived:cluster' state.sls keepalived -b 1
    
  5. Deploy NGINX proxy:

    salt -C 'I@nginx:server' state.sls nginx
    
  6. Verify that you have Internet access to download several external packages that are not included in the standard Ubuntu distribution. If there is no Internet access, these repositories must be mirrored on MCP.