- play_arrow Overview
- play_arrow Understanding Contrail Controller
-
- play_arrow Configuring Contrail
- play_arrow Configuring Virtual Networks
- Creating Projects in OpenStack for Configuring Tenants in Contrail
- Creating a Virtual Network with Juniper Networks Contrail
- Creating a Virtual Network with OpenStack Contrail
- Creating an Image for a Project in OpenStack Contrail
- Creating a Floating IP Address Pool
- Using Security Groups with Virtual Machines (Instances)
- Support for IPv6 Networks in Contrail
- Configuring EVPN and VXLAN
- Support for EVPN Route Type 5
- play_arrow Example of Deploying a Multi-Tier Web Application Using Contrail
- play_arrow Configuring Services
- play_arrow Configuring Service Chaining
- play_arrow Examples: Configuring Service Chaining
- play_arrow Adding Physical Network Functions in Service Chains
- play_arrow QoS Support in Contrail
- play_arrow BGP as a Service
- play_arrow Load Balancers
- play_arrow Optimizing Contrail
-
- play_arrow Contrail Security
- play_arrow Contrail Security
-
- play_arrow Monitoring and Troubleshooting Contrail
- play_arrow Configuring Traffic Mirroring to Monitor Network Traffic
- play_arrow Understanding Contrail Analytics
- play_arrow Configuring Contrail Analytics
- Analytics Scalability
- High Availability for Analytics
- System Log Receiver in Contrail Analytics
- Sending Flow Messages to the Contrail System Log
- Ceilometer Support in a Contrail Cloud
- User Configuration for Analytics Alarms and Log Statistics
- Alarms History
- Node Memory and CPU Information
- Role- and Resource-Based Access Control for the Contrail Analytics API
- Configuring Analytics as a Standalone Solution
- Configuring Secure Sandesh and Introspect for Contrail Analytics
- play_arrow Using Contrail Analytics to Monitor and Troubleshoot the Network
- Monitoring the System
- Debugging Processes Using the Contrail Introspect Feature
- Monitor > Infrastructure > Dashboard
- Monitor > Infrastructure > Control Nodes
- Monitor > Infrastructure > Virtual Routers
- Monitor > Infrastructure > Analytics Nodes
- Monitor > Infrastructure > Config Nodes
- Monitor > Networking
- Query > Flows
- Query > Logs
- Understanding Flow Sampling
- Example: Debugging Connectivity Using Monitoring for Troubleshooting
- play_arrow Common Support Answers
-
- play_arrow Contrail Commands and APIs
- play_arrow Contrail Commands
- play_arrow Contrail Application Programming Interfaces (APIs)
-
Using Helm Charts to Provision All-in-One Contrail with OpenStack Ocata
This is the installation procedure for using Helm charts to provision an all-in-one Contrail system with OpenStack Ocata. This is not a high availability configuration.
All-in-one systems are only used for testing or for demonstration purposes.
System Specifications
This procedure uses Helm to provision an OpenStack Ocata Contrail all-in-one cluster without high availability.
This procedure is tested with:
Operating system: Ubuntu 16.04.3 LTS
Kernel: 4.4.0-87-generic
Docker: 1.13.1-cs9
Helm: v2.7.2
Kubernetes: v1.8.3
OpenStack: Ocata
This setup was tested on a system with the following specifications:
CPU: 8
RAM: 32 GB
HDD: 120 GB
Installation Steps
Get the contrail-helm-deployer.
From Juniper Networks, download
contrail-helm-deployer-5.0.0-0.40.tgz
onto your provisioning host.Untar contrail-helm-deployer-5.0.0-0.40.tgz.
tar -zxf contrail-helm-deployer-5.0.0-0.40.tgz -C /opt/
Export required variables.
content_copy zoom_out_mapexport BASE_DIR=$(pwd) export OSH_PATH=${BASE_DIR}/openstack-helm export OSH_INFRA_PATH=${BASE_DIR}/openstack-helm-infra export CHD_PATH=${BASE_DIR}/contrail-helm-deployerExport variables
Install necessary packages and deploy Kubernetes.
Note:If you want to install a different version of Kubernetes, CNI, or Calico, edit
${OSH_INFRA_PATH}/tools/gate/devel/local-vars.yaml
to override the default values in${OSH_INFRA_PATH}/tools/gate/playbooks/vars.yaml
.content_copy zoom_out_mapcd ${OSH_PATH} ./tools/deployment/developer/common/001-install-packages-opencontrail.sh ./tools/deployment/developer/common/010-deploy-k8s.sh
Install OpenStack and the Heat client.
content_copy zoom_out_map./tools/deployment/developer/common/020-setup-client.sh
Deploy OpenStack Helm-related charts.
content_copy zoom_out_map./tools/deployment/developer/nfs/031-ingress-opencontrail.sh ./tools/deployment/developer/nfs/040-nfs-provisioner.sh ./tools/deployment/developer/nfs/050-mariadb.sh ./tools/deployment/developer/nfs/060-rabbitmq.sh ./tools/deployment/developer/nfs/070-memcached.sh ./tools/deployment/developer/nfs/080-keystone.sh ./tools/deployment/developer/nfs/100-horizon.sh ./tools/deployment/developer/nfs/120-glance.sh ./tools/deployment/developer/nfs/151-libvirt-opencontrail.sh ./tools/deployment/developer/nfs/161-compute-kit-opencontrail.sh
Deploy Contrail Helm charts.
content_copy zoom_out_mapcd $CHD_PATH make # Set the IP of your CONTROL_NODES (specify your control data ip, if you have one) export CONTROL_NODES=10.87.65.245 # set the control data network cidr list separated by comma and set the respective gateway export CONTROL_DATA_NET_LIST=10.87.65.128/25 export VROUTER_GATEWAY=10.87.65.129 kubectl label node opencontrail.org/controller=enabled --all kubectl label node opencontrail.org/vrouter-kernel=enabled --all kubectl replace -f ${CHD_PATH}/rbac/cluster-admin.yaml tee /tmp/contrail.yaml << EOF global: contrail_env: CONTROLLER_NODES: 172.17.0.1 CONTROL_NODES: ${CONTROL_NODES} LOG_LEVEL: SYS_NOTICE CLOUD_ORCHESTRATOR: openstack AAA_MODE: cloud-admin CONTROL_DATA_NET_LIST: ${CONTROL_DATA_NET_LIST} VROUTER_GATEWAY: ${VROUTER_GATEWAY} EOF helm install --name contrail ${CHD_PATH}/contrail \ --namespace=contrail --values=/tmp/contrail.yaml
Deploy Heat charts.
content_copy zoom_out_mapcd ${OSH_PATH} ./tools/deployment/developer/nfs/091-heat-opencontrail.sh