Users Guide
Getting Started with OMI
This section describes how you start conguring the OMI. To congure the OMI, follow these steps:
1 Get the chassis ready with the packages installed.
2 Get the DellNetworking DSC module from the chassis to install in the Windows server.
a Copy the MOF le (ZIP le) to ash as flash:/DellNetworkingDSC.zip
EXEC mode
script execute omi-server-config args “get-mof”
b Copy the DellNetworkingDSC.zip to the Windows server.
NOTE: The complete schema implemented can be referred in the MOF les present in the extracted sub–
folders.
3 Congure rest server http.
4 To communicate from Windows server, congure the user with privilege level 15. Default user is admin.
5 Install the DellNetworking DSC module.
• Unzip the DellNetworkingDSC.zip le and place it in one of the paths available in $env:PSModulePath or add the folder
to the $env:PSModulePath. For additional information, see https://msdn.microsoft.com/en-us/library/dd878326(v=vs.
85).aspx.
6 In the Windows PowerShell environment, create the conguration block.
Following example uses the name MSFT_NetworkDevice_EthernetPortViewConfig.
Configuration MSFT_NetworkDevice_EthernetPortViewConfig
{
Import-DscResource -Name MSFT_NetworkDevice_EthernetPortView
Node ("<switch-address>")
{
MSFT_NetworkDevice_EthernetPortView MyPort
{
PortId = "tengig-0-1"
EnabledState = "Enabled"
}
}
}
• PortId identies the interface. This example congures tengigabitethernet 0/1.
• EnabledState identies the status of the port. In this example, “Enabled” brings up the port.
7 In PowerShell, create the Ethernet MOF using conguration block.
MSFT_NetworkDevice_EthernetPortViewConfig -OutputPath c:\EthernetPortViewMof
This conguration creates the MOF in the C:\EthernetPortViewMof directory.
8 Connect to OMI.
$cred=Get-Credential -UserName:"admin" -Message:"Admin User?"
9 Enter the credential of the user admin.
To create a CIM-Session, use the following scripts:
• $opt = New-CimSessionOption -UseSsl:$true -SkipCACheck:$true -SkipCNCheck:$true -
SkipRevocationCheck:$true
• $box1 =New-CimSession -Credential:$cred -ComputerName:<switch—address> -Port:5986 -
Authentication:basic -SessionOption:$opt
<switch-address> is the IP address or hostname of the switch.
10 Apply the conguration using the following script:
Open Management Infrastructure
61