Commit 81edd0c3 authored by Edita Kizinevic's avatar Edita Kizinevic
Browse files

Add serverurls

parent d318aaa8
......@@ -162,7 +162,13 @@ check_proxies() {
if ($2 && ! $ever_succeeded) || ! $2; then
proxy_IP=`echo $proxy | sed "s/$hostname/$IP_address/g"`
echo "Query $proxy started:" `date`
echo 'select 1 from dual' | FRONTIER_LOG_LEVEL=warning FRONTIER_SERVER="$proxy_IP(serverurl=http://cmsfrontier.cern.ch:8000/FrontierProd)(failovertoserver=no)" FRONTIER_ID=$FRONTIER_ID fn-req > $output
echo 'select 1 from dual' | FRONTIER_LOG_LEVEL=warning FRONTIER_SERVER="$proxy_IP
(serverurl=http://cmsfrontier.cern.ch:8000/FrontierProd)
(serverurl=http://cmsfrontier1.cern.ch:8000/FrontierProd)
(serverurl=http://cmsfrontier2.cern.ch:8000/FrontierProd)
(serverurl=http://cmsfrontier3.cern.ch:8000/FrontierProd)
(serverurl=http://cmsfrontier4.cern.ch:8000/FrontierProd)
(failovertoserver=no)" FRONTIER_ID=$FRONTIER_ID fn-req > $output
if grep -q " 1 NUMBER" $output ; then
echo "$proxy_IP is OK"
ever_succeeded=true
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment