Download or clone the repository to your target host.
Adjust these settings to fit your needs.
File: osslm-ansible-resource-manager/alm-ansible-rm-docker-compose.yml
property | default | comment |
---|---|---|
networks.default.ipam.config.subnet |
172.28.0.0/16 | docker network, modify if clashes with existing subnet configs |
services.alm-osm-rm.ports |
8080 | swagger API port |
services.alm-osm-rm.environment.LOG_LEVEL |
DEBUG | log level. Supported values: INFO, ERROR, WARNING, DEBUG |
services.alm-osm-rm.environment.extra_hosts.kafka |
192.168.63.179 | IP address of your ALM kafka/zookeeper instance |
File: osslm-ansible-resource-manager/ansible-adaptor/config.yml
property | default | comment |
---|---|---|
`driver.supportedFeatures.AsynchronousTransitionResponses | false | set to true if you want to support async mode |
cd into the AlmAnsibleRMD directory
docker-compose -f alm-ansible-rm-docker-compose.yml build
docker-compose -f alm-ansible-rm-docker-compose.yml up -d
You can modify the port the RM is listening in the docker-compose file (see pre-install config section above).
you can access the swagger API using: http://yourserverip:8080/api/v1.0/resource-manager/ui/#/
- launch the swagger API page and
- expand the "Driver janitor" section
- create required folders in the var_alm_ansible_rm/driver folder:
- keys: to hold openstack key files
- clouds: for your clouds.yaml file
- library: for your 3rd party ansible modules
- run the "Create database tables" operation
This creates the alm_ansible keyspace and all required tables in the db. A sample location 'world' is inserted for the hello-world example.