Web Services for Management (WSMAN) Linux Client Installation & Setup
WSMAN enables you to access information about the server and change it remotely and securely. Client systems communicate withServers theserver'siDRAC to obtain this data.BothWindowsandLinuxclientscouldbeused. 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:.ForWindowsclientsetup,seethisarticle.
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:
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:
http://download.opensuse.org/repositories/Openwsman
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
4. From a command line run:
wsman -?
If the wsman help instructions are displayed, it is installed properly.
5. 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
Check Functionality
Run the following command to verify basic functionality:
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
*Substitute the IP shown above with the IP address of your iDRAC.
This article was written by Manali Kesarkar, Jim Slaughter, and Steve Fagan