This guide describes the HEAT installation of A&AI
Prerequisites
The following software is needed in order to do HEAT installation of A&AI
- docker
- docker-compose
- bash
Step-by-step guide
- You would need to have root access to the vm
Code Block language bash sudo su - root
Add/Update the /etc/hosts file to add the following entry:
Code Block language bash 127.0.0.1 aai.hbase.simpledemo.onap.org
Code Block language bash cd /opt
Code Block language bash git clone http://gerrit.onap.org/r/aai/test-config
Code Block language bash cd test-config
- In deploy_vm1.sh comment out the lines 89-94 which should be an if statement checking for the /opt/message-router folder
- Create a directory called /opt/config
Code Block language bash mkdir /opt/config/
- Create a file called /opt/config/nexus_username.txt containing the text: docker
Code Block language bash echo "docker" > /opt/config/nexus_username.txt
- Create a file called /opt/config/nexus_password.txt containing the text: docker
Code Block language bash echo "docker" > /opt/config/nexus_password.txt
- Create a file called /opt/config/dmaap_topic.txt containing the text: AAI-EVENT
Code Block language bash echo "AAI-EVENT" > /opt/config/dmaap_topic.txt
- Create a file called /opt/config/nexus_docker_repo.txt containing text: nexus3.onap.org:10001
Code Block language bash echo "nexus3.onap.org:10001" > /opt/config/nexus_docker_repo.txt
- Create a file called /opt/config/docker_version.txt containing text: 1.2-STAGING-latest
Code Block language bash echo "1.2-STAGING-latest" > /opt/config/docker_version.txt
- Please note that in the previous step, docker version is currently 1.2-STAGING-latest and this will be changed later
Code Block language bash ./deploy_vm2.sh && ./deploy_vm1.sh
...