This post is more than 5 years old
12 Posts
0
78821
PowerEdge VRTX CMC PowerShell WSMAN documentation/examples
Hi All,
I know it's early days for the VRTX, but I'm trying to automate the setup of the chassis via PowerShell and WSMAN and I'm struggling to find any information regarding the Resource URI's for the system.
Could anyone point me in the direction of any documentation that might list the URI which would enable me to manage the settings for the iDracs on the blades, creating virtual disks and mapping them to blades?
Either that or some example commands would be even better!
Thanks in advance,
Steve
StevybSC
12 Posts
0
September 6th, 2013 15:00
DELL-Chris H
Moderator
Moderator
•
8.8K 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
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?