Upgrading to ConfigMgr 2012 SP1, and using Applications?
January 28, 2013 Leave a comment
Check out my MVP colleague Kenny’s blog to learn what you need to do to get applications healthy.
Enterprise Systems Management – the good, bad, and ugly
January 28, 2013 Leave a comment
Check out my MVP colleague Kenny’s blog to learn what you need to do to get applications healthy.
December 20, 2012 3 Comments
This post describes how to capture the Dell iDRAC IP address with ConfigMgr hardware inventory, and create a right-click extension to allow you to launch the iDRAC from the ConfigMgr admin console. If your Dell PowerEdge servers include the Dell Lifcecycle Controller, carefully review the Dell Lifecycle Controller Integration for System Center Configuration Manager to determine if that integration pack fits your needs.
The Integrated Dell Remote Access Controller (iDRAC) is designed to make server administrators more productive and improve the overall availability of Dell servers. iDRAC alerts administrators to server issues, helps them perform remote server management, and reduces the need for physical access to the server.
In order to properly capture DRAC information, the following configuration is required:
ConfigMgr uses hardware inventory to capture information from the Windows registry as well as from Windows Management Instrumentation (WMI). OMSA populates the iDRAC IP information into WMI. This example modifies the hardware inventory configuration for the Default Client Settings. Review additional steps for extending hardware inventory on Microsoft TechNet.
To enable hardware inventory to capture Dell iDRAC IP information:
You have successfully enabled hardware inventory on the Dell_RemoteAccessServicePort class to capture the iDRAC IP. Servers with OMSA installed will begin sending information for this new hardware information back via hardware inventory on the defined inventory interval (by default, 7 days). You can expedite this process from the ConfigMgr control panel applet by refreshing Machine Policy action, followed by initiating a hardware inventory. This process will run for approximately five minutes. You can confirm the information has been successfully inventoried by viewing Resource Explorer.
Now that you have the data in ConfigMgr, follow these steps to launch the iDRAC for a device in the ConfigMgr admin console.
Congrats! You now have a right-click tool to easily launch the iDRAC! You can find more information about adding additional extensions (aka right-click tools) on TechNet.
Greg
PowerShell For DellLaunchiDRAC.ps1 (Hover and select ‘View Source’ to copy code)
$ComputerName = $args[0]
$SiteServer = $args[1]
$SiteNamespace = $args[2]
"Querying {0} for {1} DRAC URl" -f $SiteServer, $ComputerName
$DRACInfo = get-wmiobject -ComputerName $SiteServer -Namespace $SiteNamespace -query "select SMS_G_System_DELL_RemoteAccessServicePort.AccessInfoIPV4 from SMS_R_System inner join SMS_G_System_DELL_RemoteAccessServicePort on SMS_G_System_DELL_RemoteAccessServicePort.ResourceId = SMS_R_System.ResourceId where SMS_R_System.Name = '$Computername'"
if (($DRACInfo -ne $null) -and ($DRACInfo.AccessInfoIPv4.ToString().length -ge 5) ) {
"Address is {0}" -f $DRACInfo.AccessInfoIPV4
start $DRACInfo.AccessInfoIPV4
Start-Sleep 5
}
else {
write-host "DRAC IP not found. Ensure the following:" -foregroundcolor red
write-host "Healthy Client" -foregroundcolor red
write-host "Running on PowerEdge Server" -foregroundcolor red
write-host "OMSA is installed on server" -foregroundcolor red
write-host "ConfigMgr inventorying Remote Access Service Port" -foregroundcolor red
start-sleep 60
}
XML File for Dell.XML (Hover and select ‘View Source’ to copy code)
<ActionDescription Class="Group" DisplayName="Dell" MnemonicDisplayName="Dell" Description="Dell Actions"> <ShowOn> <string>DefaultHomeTab</string><string>ContextMenu</string> </ShowOn> <ActionGroups> <ActionDescription Class="Executable" DisplayName="Launch iDRAC" MnemonicDisplayName="Launch iDRAC" Description = "Launch iDRAC in Web Browser" RibbonDisplayType="TextAndSmallImage"> <ShowOn> <string>ContextMenu</string> <string>DefaultHomeTab</string> </ShowOn> <Executable> <FilePath>PowerShell.exe</FilePath> <Parameters>-ExecutionPolicy RemoteSigned -File C:\PowerShell\CM12RClickTools\DellLaunchiDRAC.ps1 "##SUB:Name##" "##SUB:__Server##" "##SUB:__Namespace##" </Parameters> </Executable> </ActionDescription> </ActionGroups> </ActionDescription>