prodigy107
Contributor
Contributor

Dell OMSA Powershell

Hi,

On all my esx 3.5 servers the Dell OMSA is installed.

Is it possible to retrieve information from the OSMA with powershell ?

Like racadm getsysinfo on the console.

Thanks in advanced.

Jeroen

0 Kudos
5 Replies
avlieshout
VMware Employee
VMware Employee

AFAIK there are no PowerShell cmdlet for DELL OMSA. But you can always call the racadm program from powershell.

Besides that it's also possible to retrieve info using WMI on the host. See http://www.delltechcenter.com/page/Sample+PowerShell+Scripts+with+OMSA

Arnim van Lieshout Blogging: http://www.van-lieshout.com Twitter: http://www.twitter.com/avlieshout If you find this information useful, please award points for "correct" or "helpful".
0 Kudos
LucD
Leadership
Leadership

I'm not sure you can do WMI calls to ESX(i) servers.

But can't you use the CIM interface ?

Similiar to what is done in Hardware monitoring in ESX for HP HW ?


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
avlieshout
VMware Employee
VMware Employee

You've got a point there Luc. No WMI to ESX(i).

I think the CIM can work, but I also think you should need a DELL CIM Agent.

If you're on ESX full (not ESXi) you probably can use a powershell wrapper around plink.exe to use SSH on the console and retrieve info that way.

Arnim van Lieshout Blogging: http://www.van-lieshout.com Twitter: http://www.twitter.com/avlieshout If you find this information useful, please award points for "correct" or "helpful".
0 Kudos
prodigy107
Contributor
Contributor

I forgot the reason for my question.
I need to find out what the Drac ipaddress is. This information is stored with in the OMSA.
But perhaps is there a different way to get this info?

0 Kudos
LucD
Leadership
Leadership

Sorry, no Dell HW around, can't help you I'm afraid.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos