Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

Latest commit

 

History

History
executable file
·
48 lines (36 loc) · 1.8 KB

installation.md

File metadata and controls

executable file
·
48 lines (36 loc) · 1.8 KB

Installation

Get the code

Download or clone the repository to your target host.

Pre-Install Configuration

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

Run

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).

Access

you can access the swagger API using: http://yourserverip:8080/api/v1.0/resource-manager/ui/#/

Post-install Configuration

  1. launch the swagger API page and
  2. expand the "Driver janitor" section
  3. create required folders in the var_alm_ansible_rm/driver folder:
  4. keys: to hold openstack key files
  5. clouds: for your clouds.yaml file
  6. library: for your 3rd party ansible modules

Create the Database Schema

  1. 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.