Just a follow-up as I'm sorted now. Most of the Resource URI can be found here: http://en.community.dell.com/techcenter/systems-management/w/wiki/1906.dcim-library-profile.aspx Most useful one while starting is the "DCIM Chassis System Info Profile 1.0" PDF. This URI will give you base chassis information such as powerstate, DNS settings, Inventory info etc: http://schemas.dell.com/wbem/wscim/1/cim-schema/2/DCIM_ModularChassisView This URI will give you blade information such as Slot #, Host Name, iDRAC IP details etc: http://schemas.dell.com/wbem/wscim/1/cim-schema/2/DCIM_BladeServerView Sling this into PowerShell so you can view the information as an object and you're good to go! $ChassisInfo=Get-CimInstance -CimSession $session -ResourceUri "http://schemas.dell.com/wbem/wscim/1/cim-schema/2/DCIM_ModularChassisView" -namespace root/dell/cmc
Using racadm is a fall back option for me yes, but I'd really like to be able to do this via PowerShell natively rather than calling out to an executable.
StevybSC
12 Posts
0
September 6th, 2013 15:00
DELL-Chris H
Moderator
•
9.7K Posts
0
August 15th, 2013 14:00
StevybSC,
The URI for the drac interface is https:// ip of drac. You can then use the Remote console to perform those steps
The URI for the OpenManage Mgmt software is https://ip of server:1311
This link is a pdf with powershell commands for the drac. www.google.com/url
Let me know if this helps
StevybSC
12 Posts
0
August 16th, 2013 05:00
Hi Chris,
Thanks for the quick reply, but I think you've misunderstood me.
I know how to access the various web consoles, but that's not the URI I was after.
I've seen that PDF before and it's a start and I understand the methods etc for doing it as explained in there.
For example:
$IPAddress="192.168.0.20"
$Username="root"
$Password=ConvertTo-SecureString "calvin" -AsPlainText -Force
$Credentials = New-Object -typename System.Management.Automation.PSCredential -argumentlist $Username, $Password
$cimop=New-CimSessionOption -SkipCACheck -SkipCNCheck -SkipRevocationCheck -Encoding Utf8 -UseSsl
$session=New-CimSession -Authentication Basic -Credential $Credentials -ComputerName $IPAddress -Port 443 -SessionOption $cimop
$query="select * from DCIM_iDRACCardEnumeration WHERE GroupID='Users.1'"
$queryDialect="
$resourceUri="
Get-CimInstance -Query $query -CimSession $session -Namespace root/dcim -QueryDialect $queryDialect -ResourceUri $resourceUri
That PowerShell script would show me the various attributes within the namespace for the iDRACCardEnumeration such as the SNMP settings, local account access etc. because of the specified ResourceUri
$resourceUri="
What I don't know how to get or find are the specific ones for the VRTX chassis CMC and even more specifically if there isn't a complete reference list, the URI's for storage management and controlling the initial settings for the iDracs for the blades in the relevant slots.
I hope this makes it a little clearer?
Thanks in advance,
Steve
DELL-Jeff M
2 Intern
•
793 Posts
0
August 20th, 2013 17:00
How about using racadm instead of WS-MAN? Once the CMC has an IP address you can use remote racadm commands to do pretty much anything you need.
StevybSC
12 Posts
0
August 23rd, 2013 04:00
StevybSC
12 Posts
0
September 6th, 2013 15:00
jhboricuamn
26 Posts
0
December 9th, 2014 11:00
Hi STEVYBSC,
Would you be willing to share some examples of your scripts to configure/report on the VRTX chassis?