hey
thank you so much for your time and effort in doing this script.
i wish i could get a few hours with you to go over some unix as im new to it.
But as this is only a unix forum, you have been more than helpful.
The script worked fine and returned all dr hosts successful.
+ echo xirdrhp4 is...
hi
what is protocol in reference to?
i dont understand how what you have given me a solution as to hows i can pull fields from the drhosts file.
there are 4 hosts
you can rsh or ssh on to them
some of them have physical location Eg: /tools/xirdba/dr/bin/standby_delay_report.ksh
others have...
hi
you have been a great help to me.
i want to be able to loop through each of the four hosts and check rsh connection status by
searching hostname,rsh/shh or physical/virtual using the awk command from below file
cat drhosts
-------------------------
xirslo8dr rsh physical
xirmesd1-dr1 ssh...
hi
thank you for your help
however i need to cat the host names into a logfile
does the below script seem appropriate?
script=call_dr_scripts_central.ksh
dr_status=0
log_dr=/tools/xirdba/dr/bin/call_dr_scripts_central.log
touch $log_dr
for host in `cat /tools/xirdba/dr/bin/drhosts`
do
if [...
check_lagtime()
rshstatus=`rsh -n lilo /db/p2/oracle/names9208/restart_names.sh`
if $rshstatus <>0 then
errstatus=1
mailx -s "xirsol8dr" ordba@xilinx.com >> $log_dr
else if errstatus=0
echo "status to xirsol8dr successful"
this is the logic behind what im looking to do
i want to be able to...
this is what i want to get
- IF the gap >= 10 and file /tmp/<dbname>_alert does not exist
THEN
o send an email to create a new case and dispatch to aim_dba
o Create the file /tmp/dbname_alert
If /tmp/<dbname>_alert exists and the gap <=9
? Remove the file /tmp/<dbname>_alert...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.