Skip to content

Commit

Permalink
Don't provision analytics services to connect to local Collector
Browse files Browse the repository at this point in the history
o Provision discovery ip address in contrail-query-engine.conf and
contrail-topology.conf

o Presently, contrail-query-engine and contrail-analytics-api services
are provisioned to connect to local collector. Don't provision the
collector list for analytics services so that they subscribe for the
collector service with the discovery server.

Change-Id: Ifa5909404d068c781d9de3b22618cb3bc141f4d6
Partial-Bug: #1528770
  • Loading branch information
Sundaresan Rajangam committed Jan 27, 2016
1 parent 20da68f commit 01f6791
Showing 1 changed file with 4 additions and 2 deletions.
Expand Up @@ -36,7 +36,6 @@

contrail_analytics_api_config {
'DEFAULTS/host_ip' : value => $host_control_ip;
'DEFAULTS/collectors' : value => "$host_control_ip:8086";
'DEFAULTS/cassandra_server_list': value => "$cassandra_server_list";
'DEFAULTS/rest_api_port' : value => $rest_api_port_to_use;
'DEFAULTS/http_server_port' : value => '8090';
Expand All @@ -57,12 +56,13 @@
contrail_query_engine_config {
'DEFAULT/hostip' : value => $host_control_ip;
'DEFAULT/cassandra_server_list' : value => "$cassandra_server_list";
'DEFAULT/collectors' : value => '127.0.0.1:8086';
'DEFAULT/log_local' : value => '1';
'DEFAULT/log_level' : value => 'SYS_NOTICE';
'DEFAULT/log_file' : value => '/var/log/contrail/contrail-query-engine.log';
'REDIS/port' : value => '6379';
'REDIS/server' : value => '127.0.0.1';
'DISCOVERY/server' : value => $config_ip_to_use;
'DISCOVERY/port' : value => '5998';
}

contrail_collector_config {
Expand Down Expand Up @@ -119,6 +119,8 @@
'DEFAULTS/log_level' : value => 'SYS_NOTICE';
'DEFAULTS/log_file' : value => '/var/log/contrail/contrail-topology.log';
'DEFAULTS/scan_frequency' : value => $topology_scan_frequency;
'DISCOVERY/disc_server_ip' : value => $config_ip_to_use;
'DISCOVERY/disc_server_port' : value => '5998';
}

$contrail_snmp_collector_ini_command ="/usr/bin/contrail-snmp-collector --conf_file /etc/contrail/contrail-snmp-collector.conf --conf_file /etc/contrail/contrail-keystone-auth.conf"
Expand Down

0 comments on commit 01f6791

Please sign in to comment.