EasyManuals Logo
Home>Cisco>Network Router>ASR 5000 Series

Cisco ASR 5000 Series Installation And Administration Guide

Cisco ASR 5000 Series
95 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #37 background imageLoading...
Page #37 background image
Veritas Cluster Installation and Management
Monitoring Veritas Cluster
Cisco ASR 5000 Series External Storage Server Installation and Administration Guide
OL-22979-03
37
Monitoring Veritas Cluster
To monitor the status of the Veritas cluster:
Step 1 Create the following script under /export/home/scripts to monitor the status of the cluster.
#!/bin/sh
## script to monitor the status of Veritas... if both nodes are offline, force to
start
## the number one (1) node.
## put this in crontab as:
## 0,15,30,45 * * * * /export/home/scripts/keep_vcs_active.sh
2>>/var/adm/messages
VCS=' [VCS] == '
CHECK_VCS=`hastatus -sum|grep -c ONLINE`
DATE=`date "+%m/%d/%Y %T"`
echo $DATE $VCS "Checking for Veritas started..." >> /var/adm/messages
if [ ${CHECK_VCS} -eq 0 ]
then
DATE=`date "+%m/%d/%Y %T"`
echo $DATE $VCS "Both nodes are offline... Making first node active" >>
/var/adm/messages
hagrp -clear LAPP >> /var/adm/messages
hagrp -online LAPP -sys less3
DATE=`date "+%m/%d/%Y %T"`
echo $DATE $VCS "First node activated. " >> /var/adm/messages
else
DATE=`date "+%m/%d/%Y %T"`
echo $DATE $VCS "Veritas is running normally." >> /var/adm/messages
fi
Step 2 Change the permission of the script to make it executable.
# chmod 755 /export/home/scripts/keep_vcs_active.sh

Table of Contents

Other manuals for Cisco ASR 5000 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco ASR 5000 Series and is the answer not in the manual?

Cisco ASR 5000 Series Specifications

General IconGeneral
BrandCisco
ModelASR 5000 Series
CategoryNetwork Router
LanguageEnglish

Related product manuals