Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
{ "lCode": "en_US", "lName": "English", "folder": "en_US" }
English
 

Run the Playbooks

date_range 29-Apr-19

Refer to section “Install Contrail and Kolla requirements” and section “Deploying contrail and Kolla containers” in Installing Contrail with OpenStack and Kolla Ansible and execute the ansible-playbook.

Following are examples listing the Contrail play-book invocation from the contrail-ansible-deployer directory:

  • Configure Contrail OpenStack instances:

    content_copy zoom_out_map
    ansible-playbook -i inventory/ -e config_file=/path/instances.yaml -e
     orchestrator=openstack playbooks/configure_instances.yml (-vvv for debug)
  • Install OpenStack:

    content_copy zoom_out_map
    ansible-playbook -i inventory/ -e config_file=/path/instances.yaml 
     playbooks/install_openstack.yml
  • Install Contrail:

    content_copy zoom_out_map
    ansible-playbook -i inventory/ -e config_file=/path/instances.yaml -e
     orchestrator=openstack playbooks/install_contrail.yml

Source the /etc/kolla/kolla-toolbox/admin-openrc.sh file from the OpenStack controller node (/etc/kolla/kolla-toolbox/ admin-openrc.sh) to the AppFormix-Controller to authenticate the OpenStack adapter to access admin privileges over controller services. If the OpenStack control node is different from the base host, either Secure Copy Protocol (SCP) the file over and source it (for example, execute source /path/admin-openrc.sh) or manually export the environment enumerated in /etc/kolla/kolla-toolbox/ admin-openrc.sh by invoking export OS_USERNAME=admin etc. and the remainder as listed in admin-openrc.sh

Also at this point, obtain a list of IP addresses to include in the compute section of AppFormix in the instances.yaml file. Refer to Compute monitoring: Listing IP addresses to monitor in the computesection of AppFormix in the instances.yaml file.

Refer to Installing AppFormix for OpenStack and validate target configuration requirements and inventory parameters for AppFormix Controller and Agent. In place of -i inventory/use -i /absolute-file-path/instances.yaml.

Following is an example listing the AppFormix playbook invocation from the AppFormix-2.18.x directory where appformix_openstack.yml is located:

  • Install AppFormix:

    content_copy zoom_out_map
    ansible-playbook -i /path/instances.yaml appformix_openstack.yml (-vvv for debug)
footer-navigation