Friday, March 7, 2008

Having more fun with situations

After you successfully deploy your infrastructure (i.e., your HUB TEMS, RTEMS, TEPS, ) you might want to turn off all the default situations. This is especially true if you are converting from a DM classic environment. I have created a simple script to turn RunOnStart=NO for all situations. You might want to backup all your situations before you do this (see Having fun with situations).

Example:

#!/bin/sh

tacmd listsit -n -d "," | \
while read line ; do
sitname=`echo "$line" | awk -F"," '{print $2}'`
tacmd editsit -s $sitname -p RunOnStart=NO
done

No comments: