Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Install Contrail Service Orchestration

Deploy CSO

Note:

Before you start the deployment, ensure that there is Internet connectivity on all the VMs. Internet connectivity is needed to verify the ESM license.

After you have provisioned the VMs, to deploy CSO:

  1. Copy the installer package file from the central CSO server to the startupserver1 VM.

    scp cso<version>.tar.gz root@<startupserver1 IP>:/root/

  2. Log in to the startupserver1 VM as root user.

    Run the get_vm_details.sh script to find the IP address of the startupserver1 VM. Use SSH to access the VM.

  3. Expand the installer package.

    The expanded package is a directory that has the same name as the installer package and contains the installation files.


    • For KVM hypervisors:

      Run the deploy.sh script.

    • For ESXi hypervisor:

      Run the deploy.sh script. Use the interactive script to create configuration files for the environment specific topology. Select option 1 (Deploy CSO) to deploy the CSO infrastructure, Option 2 (Replace VM) is not applicable for ESXi hypervisors.

      Example output for CSO deployment on ESXi hypervisor—

  4. Confirm if you have the Ubuntu ESM license. This license is required to obtain the security updates. If you do not have the license, contact Juniper support.
  5. Deploy microservices.

    ./python.sh micro_services/deploy_micro_services.py

  6. Apply NAT rules. To review the details of the ports, see Minimum Requirements for Servers and VMs.
    1. Run ./get_vm_details.sh script to find the IP addresses of each component.

    2. Configure next hop at the gateway for VRR public IP addresses (for example—10.x.x.3 and 10.x.x.4) to point to the SRX IP address (for example—10.x.x.2).

      • Apply the following NAT configuration for any public-facing device:

        NAT configuration

      • The following configuration is applicable only if you have as SRX Series device as your firewall. Apply similar rules if you have a third-party firewall.

        Sample SRX config

  7. Load the data.

    ./python.sh micro_services/load_services_data.py

You can run the ./get_vm_details.sh script to find the IP address of each component.

It is recommended to take snapshots of the VMs for ESXi deployment.