Purpose of this Document:
This document demonstrates how to configure backup log collector when default log collector cluster is down. You may run into a situation where all nodes in versa analytics cluster are down and need 3rd party log collector or another Analytics cluster as a backup.
Side Note: As of current implementation, when backup log collector takes over, sessions wont fall back to Primary log collectors automatically. Manual intervention is needed to switch the sessions from backup log collector to primary log collector such as disabling the backup server itself. Please refer below highlight to disable the server.
Configuration Steps:
- Add 3rd party log collector - if there are multiple servers, like in the case of analytic cluster, add all the servers one by one on the controller under “Local Load Balancer” tab.
Field Explanations | |
Name | Any random name. It must be unique among the servers configured locally. |
Type | The protocol UDP/TCP/HTTP over which packets are exchanged between the server and controller |
IP Address | IP address of the server |
Port | The port number over which the server listens for the log. |
Routing Instance | The routing instance over which the server is reachable |
2. Create a new server pool and add the 3rd party server or cluster server under Local Load Balancer.
Field Explanations | |
Name | Any random name. It has to be unique among the servers configured locally. |
Type | The protocol UDP/TCP/HTTP over which packets are exchanged between the server and controller |
Load Balancing Algorithm | Click on the drop-down menu and select the desired algorithm |
Click on the Plus (+) button to add the 3rd server:
3. Add the 3rd party server pool as a backup pool in virtual service section.
Equivalent CLI commands of above steps:
admin@controller-tmp-cli> show configuration orgs org-services adc | display set
set orgs org-services Provider adc lb servers LEF-Collector-3rdParty-cluster-1 type any
set orgs org-services Provider adc lb servers LEF-Collector-3rdParty-cluster-1 ip-address 172.16.1.7
set orgs org-services Provider adc lb servers LEF-Collector-3rdParty-cluster-1 port 1234
set orgs org-services Provider adc lb servers LEF-Collector-3rdParty-cluster-1 state enabled
set orgs org-services Provider adc lb servers LEF-Collector-3rdParty-cluster-1 routing-instance Provider-Control-VR
set orgs org-services Provider adc lb servers LEF-Collector-analytics-cluster-1 type any
set orgs org-services Provider adc lb servers LEF-Collector-analytics-cluster-1 ip-address 172.16.1.3
set orgs org-services Provider adc lb servers LEF-Collector-analytics-cluster-1 port 1234
set orgs org-services Provider adc lb servers LEF-Collector-analytics-cluster-1 state enabled
set orgs org-services Provider adc lb servers LEF-Collector-analytics-cluster-1 routing-instance Provider-Control-VR
set orgs org-services Provider adc lb servers LEF-Collector-analytics-cluster-2 type any
set orgs org-services Provider adc lb servers LEF-Collector-analytics-cluster-2 ip-address 172.16.1.4
set orgs org-services Provider adc lb servers LEF-Collector-analytics-cluster-2 port 1234
set orgs org-services Provider adc lb servers LEF-Collector-analytics-cluster-2 state enabled
set orgs org-services Provider adc lb servers LEF-Collector-analytics-cluster-2 routing-instance Provider-Control-VR
set orgs org-services Provider adc lb server-pools 3rdParty-Pool type any
set orgs org-services Provider adc lb server-pools 3rdParty-Pool member LEF-Collector-3rdParty-cluster-1 state enabled
set orgs org-services Provider adc lb server-pools 3rdParty-Pool load-balancing-algorithm round-robin
set orgs org-services Provider adc lb server-pools VAN-Pool type any
set orgs org-services Provider adc lb server-pools VAN-Pool member LEF-Collector-analytics-cluster-1 state enabled
set orgs org-services Provider adc lb server-pools VAN-Pool member LEF-Collector-analytics-cluster-2 state enabled
set orgs org-services Provider adc lb server-pools VAN-Pool load-balancing-algorithm round-robin
set orgs org-services Provider adc lb virtual-services VAN-VIP type any
set orgs org-services Provider adc lb virtual-services VAN-VIP address 10.0.192.1
set orgs org-services Provider adc lb virtual-services VAN-VIP port 1234
set orgs org-services Provider adc lb virtual-services VAN-VIP state enabled
set orgs org-services Provider adc lb virtual-services VAN-VIP default-pool VAN-Pool
set orgs org-services Provider adc lb virtual-services VAN-VIP default-backup-pool 3rdParty-Pool
set orgs org-services Provider adc lb virtual-services VAN-VIP mac-track disabled
set orgs org-services Provider adc lb virtual-services VAN-VIP routing-instance Provider-Control-VR
(6) Verify that the 3rd server is up and running.
admin@controller-tmp-cli> show orgs org-services Provider adc server summary
ADMIN OPER
NAME TYPE ADDRESS PORT ROUTING INSTANCE STATE STATE
------------------------------------------------------------------------------------------------
LEF-Collector-analytics-cluster-1 any 172.16.1.3 1234 Provider-Control-VR enabled UP
LEF-Collector-analytics-cluster-2 any 172.16.1.4 1234 Provider-Control-VR enabled UP
LEF-Collector-3rdParty-cluster-1 any 172.16.1.7 1234 Provider-Control-VR enabled UP
admin@controller-tmp-cli> show orgs org-services Provider adc virtual-service summary
VSERVICE ADMIN OPER
NAME TYPE ADDRESS PORT ROUTING INSTANCE STATE STATE
-----------------------------------------------------------------------
VAN-VIP any 10.0.192.1 1234 Provider-Control-VR enabled UP