Hi Experts,

1) Will below ipmitool cmd would hang (and never return/timeout/fail) at
any part of time (may be in ILOM hang case)?

"ipmitool sunoem led get LOCATE"

2) I am executing ilom cmd in my java code and I am seeing exitCode as 1.
What is return value '1' means?

        try
        {
            // cmd = ipmitool sunoem led get LOCATE
            Process p = Runtime.getRuntime().exec(cmd);
            ExecCmdStream errSt = new ExecCmdStream(p.getErrorStream(),
"ERROR",
                                                    System.err);
            IlomRetCmdStream opSt = new
IlomRetCmdStream(p.getInputStream(),
                                                         type, retObj);
            errSt.start();
            opSt.start();
            int exitCode = p.waitFor();   // returning 1
            if ( exitCode != 0 )
            {
                String args[] = { command, Integer.toString(exitCode) };
                throw new Exception(ErrorMsgID.BMC_ILOM_ERROR, args);
            }
            errSt.join();
            opSt.join();
            exceptionString = opSt.exceptionString;
        }

3) Can we reproduce the ILOM hang?

I appreciate your help.

Thanks,
Nandisha
------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel

Reply via email to