I am currently testing the CL6.0.1 upgrade (fromCL 5.4.1) and some scripts that we use are having issues with the setsite command. Code below. In 5.4.1 we pretty much run this script any where and it executes but in our 6.0.1 we get
/usr/local/bin/statusall_test: line 24: setsite: command not found
HCI root is /pwim/cis6.0/integrator
HCI master site is gsh_global
No HCI site
Environment var 'HCISITEDIR' missing
Environment var 'HCISITEDIR' missing
No site is set.
And this happens for all of them with the setsite. i have tried replacing the setsite witht the actual path /pwim/cis6.0/integrator/kshlib/setsite but no luck. If we do a manual setsite into a site and run the script then it run, but only for that one site but thats not what we want. Anyone point me in the right direction with any ideas? We are going from Unix to LinuxRedHat.
Thanks.
####################################################
# SCRIPT: /usr/local/bin/statusall_test #
# PURPOSE: Shows status of connections, processes #
# and lock mgr/monitor daemon for all #
# production sites. #
####################################################
clear
echo
echo "Checking Status for site:"
echo
setsite test050
showroot
echo
hciconnstatus
hciprocstatus
hcisitectl
sleep 3
clear
echo
echo "Checking Status for site:"
echo
setsite test100
showroot
echo
hciconnstatus
hciprocstatus
hcisitectl
sleep 5
clear
echo
echo "Checking Status for site:"
echo
setsite test200
showroot
echo
hciconnstatus
hciprocstatus
hcisitectl
sleep 5
clear
echo
echo "Checking Status for site:"
echo
setsite test250
showroot
echo
hciconnstatus
hciprocstatus
hcisitectl
sleep 5