Welcome to the club of those that have learned autostart sometimes gets in the way.
I have been exactly where you are once upon a time asking the same questions.
Here are a couple of the answers I came up with.
– I got away from using autostart in our production environment.
– I created a method for handling downtime that has been useful for many situations including the one you described.
Here is a URL with more detail describing my method for handling downtime:
<a href="https://usspvlclovertch2.infor.com/viewtopic.php?t=1621″ class=”bbcode_url”>https://usspvlclovertch2.infor.com/viewtopic.php?t=1621
In conjuction with no autostart and HACMP, I created a method to dynamically create a snapshot script for each site that would start each site up the way it is at the time of the snapshot.
Here is a URL that describes in more detail this method:
<a href="https://usspvlclovertch2.infor.com/viewtopic.php?t=4286″ class=”bbcode_url”>https://usspvlclovertch2.infor.com/viewtopic.php?t=4286
This allows me to go to a site and run site_shutdown.ksh and when ready run site_startup.ksh and magically the site is back the way it was when the snapshot was taken to create site_startup.ksh.
Now I no lnoger have the problem of forgetting to add sites to my HACMP scripts because the snapshot takes care of that.
Now I no longer have any of the autostart problems that get in the way when manually addressing a prodcution issue.
However, watch out becuase alerts can get in the way if they are configured to cycle an interface when a cloverleaf alert goes off.
This is also why I have a method to toggle off alerts at both the site level and thread level.
It was surprising to me there wasn’t an ergonmic way to extract messages from the recovery database in chronological order by default since that is almost always what is needed.
There is a switch that can be used to extract them in chronological order but it is easy to overlook remembering to specify.
If you type hcidbdump without any args it will list the switches and here is the one that it list for keeping the messages in chronological order:
-O time = Order by ascending date
i = inbound arrival time
o = outbound time
r = recovery time
x = xlate start time
Here is one example of listing out messages to my_file in chronological order from the recovery database going to an outbound thread called ob_rxtfc_lab:
hcidbdump -r -d ob_rxtfc_lab -O i my_file
Russ Ross
RussRoss318@gmail.com