WS-MAN enables you to access information about the server and change it remotely and securely. Client systems can communicate with the PowerEdge Server's iDRAC to obtain this data. The question we often stumble upon is how to set up and configure client machines for establishing such communication. The following steps are required for successful Windows client (WinRM) setup. For Linux client setup, see this article .
Install & Configure WinRM
Step 1: Determining WinRM version:
- Windows must be running WinRM version 2.0. This is native to Windows 7 and Windows Server 2008 R2.
- You can determine the winrm version installed on your system by running: winrm id
- The Version number is shown in the command output after "Stack:"
- If you do not have version 2.0, follow the instructions in the article below.
For more information about how to install WinRM 2.0 as a part of the Windows Management Framework Core package, see article 968929 in the Microsoft® Knowledge Base.
- Run the following in a cmd window as administrator:
winrm quickconfig (it will indicate if already setup, otherwise select "y" each time as prompted)
Step 2: Configuring WinRM settings:
Run the following: winrm get winrm/config
And make sure the following settings are returned:
MaxEnvelopeSizekb = 150
MaxTimeoutms = 60000
MaxBatchItems = 50
NetworkDelayms = 60000
Basic = true (this is Under Client > Auth)
Leave all other settings at their default values. If you need to change any of the above use the corresponding commands below:
winrm set winrm/config @{MaxEnvelopeSizekb="150"}
winrm set winrm/config @{MaxTimeoutms="60000"}
winrm set winrm/config @{MaxBatchItems="50"}
winrm set winrm/config/client @{NetworkDelayms="60000"}
winrm set winrm/config/Client/Auth @{Basic="true"}
Step 3: Check Functionality
Run the following command from your client system to verify communication with the iDRAC:
winrm e cimv2/root/dcim/DCIM_ComputerSystem -u:root -p:calvin -r:https://10.210.112.54/wsman -SkipCNcheck -SkipCAcheck -encoding:utf-8 -a:basic
NOTE: In the above command, substitute the IP address shown above with the IP address of your iDRAC. The above command also uses the default iDRAC username "root" and default password "calvin". Substitute these values with your iDRAC username and password.
If the class DCIM_ComputerSystem enumerates successfully, setup is complete.
Related Articles
Web Services Management (WSMAN) Linux Client Installation
& Setup
WSMAN - Windows / Linux Command Conversion
How to Build and Execute WSMAN Method Commands
This article was written by Manali Kesarkar, Jim Slaughter, Steve Fagan, and Scott King.