Before you start installing the StackLight LMA components, complete the following steps:
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:
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.Deploy Docker Swarm master:
salt -C 'I@docker:host' state.sls docker.host
salt -C 'I@docker:swarm:role:master' state.sls docker.swarm
Deploy Docker Swarm workers:
salt -C 'I@docker:swarm:role:manager' state.sls docker.swarm -b 1
Deploy Keepalived:
salt -C 'I@keepalived:cluster' state.sls keepalived -b 1
Deploy NGINX proxy:
salt -C 'I@nginx:server' state.sls nginx
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.