Web Services Management (WSMAN) Linux Client Installation & Setup

Web Services Management (WSMAN) Linux Client Installation & Setup


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

RHEL 6.x


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:

Install & Configure OpenWSMAN / wsmancli
Figure1: Install & Configure OpenWSMAN / wsmancli

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:
libwsman1<ver#>.i386.rpm
wsmancli<ver#>.i386.rpm

3. Install the packages:
rpm –ivh libwsman1<ver#>.rpm
rpm –ivh wsmancli<ver#>.rpm

Check Functionality

1. From a command line run:
wsman -?
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:
touch /usr/bin/Dummy
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.


Article ID: SLN311056

Last Date Modified: 08/14/2018 10:06 AM


Rate this article

Accurate
Useful
Easy to understand
Was this article helpful?
Yes No
Send us feedback
Comments cannot contain these special characters: <>()\
Sorry, our feedback system is currently down. Please try again later.

Thank you for your feedback.