WS-MAN enables you to access information about the server and change it remotely and securely. Client systems 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 Linux client (OpenWSMAN / wsmancli) setup. For Windows client setup, see this article.
Install & Configure OpenWSMAN / wsmancli
For RHEL6.x, OpenWSMAN is available on the installation media. When installing RHEL 6.x, select the "customize now" option on the software selection page. Under the "System Management" option, make sure that you select "Web-Based Enterprise Management" as shown:
RHEL 5.x and SLES10 / SLES 11
The following has been tested on RHEL 5.x 32 bit. Other Linux distributions (i.e. SLES10 & SLES11) are similar.
1. Make sure you have glibc installed on your system (run rpm –qa | grep glibc to check) as a prerequisite.
2. Go to the following website:
cd to the directory for your distribution and download:
3. Install the packages:
rpm –ivh libwsman1<ver#>.rpm rpm –ivh wsmancli<ver#>.rpm
1. From a command line run:
If the wsman help instructions are displayed, it is installed properly.
2. You will also need a dummy certificate file for the iDRAC wsman commands to work. Create an empty text file in the /usr/bin folder named Dummy as follows:
3. Run the following command from your client system to verify communication with the iDRAC:
wsman enumerate http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/root/dcim/DCIM_ComputerSystem -h 172.27.11.58 -P 443 -u root -p calvin -c Dummy -y basic -V –v
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.
Web Services Management (WS-MAN) Windows Client Setup
WSMAN - Windows / Linux Command Conversion
How to Build and Execute WSMAN Method Commands
This article was written by Manali Kesarkar, Jim Slaughter, and Steve Fagan