Any one would know, what "powermig transition" would do? I looked the EMC® PowerPath® Family - CLI and System Messages Reference Guide, but could not find anything about the 'transition' argument for powermig command. I need to do some update in the rc.shutdown script for the AIX server and found an existing script as follows and trying to understand, what it does. Below, I have pasted lines from rc.shutdown, which I am trying to understand.
#! /bin/ksh lsdev -Cl powerpath0 | grep Available > /dev/null if [ $? -eq 0 -a -x /usr/sbin/powermig ]; then /usr/sbin/powermig transition -noprompt 2>/dev/null; fi
Thanks for your response. My intent is simple here. I needed to update the rc.shutdown file to stop some IBM WebSphere applications before the server shuts down. However, I found those existing lines in the rc.shutdown file. Nobody, in my team could answer the purpose of those lines in the rc.shutdown file. I googled, but could not find the real purpose of 'transition' when it's used with 'powermig' command.
It would be great, if you can point me any document/url that explains the purpose of '/usr/sbin/powermig transition -noprompt'.
Thank you very much again, your feedback at least gave me some idea. It would be good, if you were able to high light more on the usage of 'powermig transtion'. In any case, you already helped me here.
It's a non-user command that is used at shutdown and startup. At shutdown, it first recovers any migration in needsRecovery, then checks for device faults and performs the necessary transitions if any, then disallows all I/O to migration devices, then sets a flag that says the shutdown was successful.
Brion2
154 Posts
344
0
Posted January 14th, 2010 11:00
Hi. This is an internal PowerPath Migration Enabler command. It shouldn't be used. What is your intent?
Thanks.