Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

ON THIS PAGE

Install Contrail Service Orchestration

 

Deploy CSO

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.
    root@host:~/# tar –xvzf cso<version>.tar.gz

    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.

      Example output for CSO deployment on ESXi hypervisor—

      root@host:~/Contrail_Service_Orchestration_6.1.0./ deploy.sh
  4. Deploy microservices.

    ./python.sh micro_services/deploy_micro_services.py

  5. Apply NAT rules. To review the details of the ports, see Ports to Open on CSO VMs.
    1. Run ./get_vm_details.sh script to find the IP addresses of each component.

      root@startupserver1:~/Contrail_Service_Orchestration_6.1.0# ./get_vm_details.sh
    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

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