Unsolved
This post is more than 5 years old
4 Posts
0
3745
January 13th, 2010 18:00
Help
I am new here,
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
Any help would be appreciated.
Thanks.
No Events found!
Brion2
154 Posts
0
January 14th, 2010 11:00
Hi. This is an internal PowerPath Migration Enabler command. It shouldn't be used. What is your intent?
Thanks.
psky
4 Posts
0
January 14th, 2010 17:00
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'.
Thanks again.
Brion2
154 Posts
0
January 15th, 2010 06:00
Hi. There is no external document for this because it was not intended for use by customers. Are you an EMC employee?
psky
4 Posts
0
January 15th, 2010 09:00
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.
No, I am not EMC employee.
Thanks
Brion2
154 Posts
0
January 15th, 2010 10:00
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.
psky
4 Posts
0
January 15th, 2010 13:00
Thank you very much Brion. I really appreciate your time and effort.