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
external-header-nav
keyboard_arrow_up
close
keyboard_arrow_left
Contrail Feature Guide
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Configuring Analytics as a Standalone Solution

date_range 16-Oct-23

Starting with Contrail 4.0, it is possible to configure Contrail Analytics as a standalone solution.

Overview: Contrail Analytics as a Standalone Solution

Starting with Contrail 4.0 (containerized Contrail), Contrail Analytics can be configured as a standalone solution.

The following services are necessary for a standalone solution:

  • config

  • webui

  • analytics

  • analyticsdb

A standalone Contrail Analytics solution consists of the following containers:

  • controller container with only config and webui services enabled

  • analytics container

  • analyticsdb container

Configuration Examples for Standalone

The following are examples of default inventory file configurations for the controller container for standalone Contrail analytics.

Examples: Inventory File Controller Components

The following are example analytics standalone solution inventory file configurations for Contrail controller container components.

Single Node Cluster

content_copy zoom_out_map
[contrail-controllers]
10.xx.32.10             controller_components=['config','webui']

[contrail-analyticsdb]
10.xx.32.10

[contrail-analytics]
10.xx.32.10

Multi-Node Cluster

content_copy zoom_out_map
[contrail-controllers]
10.xx.32.10             controller_components=['config','webui']
10.xx.32.11             controller_components=['config','webui']
10.xx.32.12             controller_components=['config','webui']

[contrail-analyticsdb]
10.xx.32.10
10.xx.32.11
10.xx.32.12

[contrail-analytics]
10.xx.32.10
10.xx.32.11
10.xx.32.12

JSON Configuration Examples

The following are example JSON file configurations for (server.json) for Contrail analytics standalone solution.

Example: JSON Single Node Cluster

content_copy zoom_out_map
{                                                                
    "cluster_id": "cluster1",                                    
    "domain": "sm-domain.com",                                   
    "id": "server1",                                             
    "parameters" : {                                             
        "provision": {                                           
            "contrail_4": {                                      
               "controller_components": "['config',’webui']"   
            },                  
    …
    …
}

Example: JSON Multi-Node Cluster

content_copy zoom_out_map
{                                                                
    "cluster_id": "cluster1",                                    
    "domain": "sm-domain.com",                                   
    "id": "server1",                                             
    "parameters" : {                                             
        "provision": {                                           
            "contrail_4": {                                      
               "controller_components": "['config',’webui']"   
            },                  
    …
    …
},
{                                                                
    "cluster_id": "cluster1",                                    
    "domain": "sm-domain.com",                                   
    "id": "server2",                                             
    "parameters" : {                                             
        "provision": {                                           
            "contrail_4": {                                      
               "controller_components": "['config',’webui']"   
            },                  
    …
    …
},
{                                                                
    "cluster_id": "cluster1",                                    
    "domain": "sm-domain.com",                                   
    "id": "server3",                                             
    "parameters" : {                                             
        "provision": {                                           
            "contrail_4": {                                      
               "controller_components": "['config',’webui']"   
            },                  
    …
    …
}

external-footer-nav