Cisco Cisco Content Delivery System Manager Installation Guide

Page of 78
d) Stop splunk on the forwarder Fwd2
The detailed steps for Start cron sync jobs on JS2 (syncing from JS1) and SH2 (syncing from SH1) is explained here.
Step 8
Add the cron entries on the Primary JS2 to make it Secondary, and delete the entries in the Secondary JS1
a) Edit crontab for bnisplunk on the primary JS2
crontab -e
b) On Primary JS2, add the entry (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 secondary JS1
crontab –e
d) On Secondary JS1, 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 9
Add the cron entries on the Primary SH2 to make it Secondary, and delete the entries in the Secondary SH1
a) Edit crontab for bnisplunk on the original primary SH2
crontab -e
b) On Primary SH2, add the entry (enter the command in a single line) */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 secondary SH1
crontab -e
d) On Secondary SH1, delete the entry (enter the command in a single line) */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 for Stop splunk on the forwarder Fwd2 is explained here.
Step 10
Stop Splunk on Fwd2 on ESX 2
ssh bninet@bniforwarder
sudo /etc/init.d/splunkforwarder stop
Procedure to Restart the Nodes
If the VMs where the application is deployed stops unexpectedly, the nodes should be re-started in the following
order::
1
Core Services node
   Videoscape Distribution Suite Service Manager Software Installation Guide
68
OL-28652-01  
VDS-SM Installation and Configuration
Procedure to Restart the Nodes