Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

16904

February 23rd, 2015 07:00

OME 2.0.1 and racadm commands

I've tried to use RACADM to perform custom tasks and started with a simple one like 'serveraction powerstatus' and output the result to a text file.

Well that is not that easy. I only got the certificate warning in the text file. After some troubleshooting with procmon.exe I saw, that is calling the expected racdm with the correct parameters, but it is using IP. Great. Why should I care about certificates?

So I tried it manually. and used '>' to pipe the text to a file. and I was surprised once more. The file did not contain the power status.

Can you please fix the piping and the IP address stuff? It's not possible to troubleshoot if basic things like this don't work.

I also tried a more sophisticated one :'serveraction graceshutdown'. This shows up correctly in procmon, but it does not do anything. Manually executing the same command line (copy paste from procmon to cmd) works! I'm running it on W2012R2 and I do have UAC on.

 

Any idea?

 

1 Rookie

 • 

14 Posts

February 24th, 2015 05:00

I have racadm 8.0.2.1331 from Oct 2014 on my OME server. I double checked the file, and indeed, it has the text in it but far, far to the right, starting at character 154. i.e. not in the default window when opening notepad. Looking at it in a different editor shows, that RACADM does not create windows conform CR/LF. it just writes '0D' instead of '0D' / '0A'.

So I looked at the result in OME once more. This revealed, that the value is actually there as well, but far down and outside default scroll range. As OME has so many scroll bars I did not notice one more.

I'd appreciate if RACADM could behave like a widows application and if OME would remove multiple empty lines and replace with a single empty one for display.

Thanks.

2 Intern

 • 

2.8K Posts

February 23rd, 2015 08:00

when I run this I get the cert error but it is just a warning.  The power result is still there:

>>

(idrac-6HHP9Z1) Security Alert: Certificate is invalid - Certificate is not signed by Trusted Third Party

Continuing execution. Use -S option for racadm to stop execution on certificate-related errors.

  

Server power status: ON

<<

2 Intern

 • 

2.8K Posts

February 24th, 2015 11:00

That's for updating this thread.  

I'll pass your comments and requests along to the right team.

Best regards,

Rob

No Events found!

Top