When installing AppFormix control plane services on a platform host, the Ansible playbooks fetch third-party dependencies, such as Mongo and Redis, from repositories on the Internet. In some environments, the AppFormix platform host might not be able to open connections to external hosts. The AppFormix software can be installed in those environments by loading the dependencies prior to executing the Ansible playbook.
Installation of AppFormix Agent does not require fetching any dependencies. The following steps apply only to an AppFormix platform host.
The following steps require a host that has Docker installed and can pull images from the Internet (specifically, from Docker Hub).
- On a host (for example,
host1) that has Internet access, pull Mongo and Redis images, and save them to a file:
host1$ docker pull mongo:3.2.17 host1$ docker pull redis:3.0.4 host1$ docker save mongo:3.2.17 redis:3.0.4 | gzip > mongo_redis.tar.gz
mongo_redis.tar.gzto the AppFormix platform host.
- On the AppFormix platform host, load the Docker images.
appformix01$ docker load -i mongo_redis.tar.gz
With the dependencies loaded, proceed with the installation of AppFormix by executing the Ansible playbook appropriate for the environment.