Cisco Cisco Content Delivery System Manager Installation Guide

Page of 78
/opt/splunk/bin/splunk cmd python configure_search_heads.py add IDX_B
Step 9
Add the cron entries on the original Primary JS1 to make it Secondary, and delete the entries in the original secondary
JS2—the new Primary.
a) Edit crontab for bnisplunk on the original primary JS1
crontab -e
b) On original JS1, type the command (enter the command in a single line) 5 * * * * rsync -rtva --delete -e ssh bnisplunk
@<ip_new_primary_js>:/opt/splunk/etc/deployment-apps/ /opt/splunk/etc/deployment-apps
>>/opt/splunk/var/log/splunk/rsync.log 2>&1 & 
to make it Secondary.
c) Edit crontab for bnisplunk on the original secondary JS2
crontab -e
d) On the original Secondary JS2, delete the entry (enter the command in a single line) */5 * * * * rsync -rtva --delete
-e ssh bnisplunk
@<ip_primary_js>:/opt/splunk/etc/deployment-apps/ /opt/splunk/etc/deployment-apps
>>/opt/splunk/var/log/splunk/rsync.log 2>&1 & 
to make it Primary
Type the commands on a single
line.
Note
Step 10
Add the cron entries on the original Primary SH1 to make it Secondary, and delete the entries in the original Secondary
SH2—the new Primary.
a) Edit crontab for bnisplunk on the original primary SH1
crontab -e
b) On the original SH1 add the entry */5 * * * * rsync -rtva --delete -e ssh
bnisplunk@<ip_new_primary_sh>:/opt/splunk/etc/users/ /opt/splunk/etc/users
>>/opt/splunk/var/log/splunk/rsync.log 2>&1 & 
to make it secondary
c) Edit crontab for bnisplunk on the original secondary SH2
crontab -e
d) On the original Secondary SH2, delete the entry */5 * * * * rsync -rtva --delete -e ssh bnisplunk@<ip_
primary_sh>:/opt/splunk/etc/users/ /opt/splunk/etc/users >>/opt/splunk/var/log/splunk/rsync.log 2>&1 & 
to make
it Primary.
The detailed steps to Stop Splunk on the Forwarder Fwd1 is explained here.
Step 11
Stop Splunk on Fwd1 on ESX 1.
ssh bninet@bniforwarder
sudo /etc/init.d/splunkforwarder stop
Procedure for ESX 2 Failover
Step 1
Enable Splunk on Fwd1 on ESX 1.
ssh bninet@bniforwarder
Videoscape Distribution Suite Service Manager Software Installation Guide    
   OL-28652-01
65
VDS-SM Installation and Configuration
Procedure for Failure Scenarios