Caveat Emptor, and also make sure you have a backup, but you can add simple conditional logic to start_saswebappsrv() in Lev1/sas.servers.mid so it looks something like the following. Any time you are managing updates/hot fixes etc, you will want to toggle back to the original sas.servers.mid script. This would be a lot safer than the "scorched earth" approach 🙂
start_saswebappsrv()
{
if [ ! -z "$SASWEBAPPLIST" ]
then
{
for SASWEBAPPINSTANCE in $SASWEBAPPLIST;
do
if [ "$SASWEBAPPINSTANCE" = "SASServer7_1" ] || [ "$SASWEBAPPINSTANCE" = "SASServer11_1" ]; then
echo "Skipping $SASWEBAPPINSTANCE"
continue
fi
start_saswebappsrv_instance;
done
}
fi
}
... View more