How configure the Linux OpenWSMan sample view

book

Article ID: 178289

calendar_today

Updated On:

Products

Real-Time System Manager

Issue/Introduction

 

Resolution

Question
How do I configure the Linux OpenWSMan sample Real-Time view that is included with Real-Time Console Infrastructure?

Answer

Altiris™ Real-Time Console Infrastructure provides real-time out-of-band and in-band management infrastructure to other Altiris solutions. The real-time management technologies that Real-Time Console Infrastructure supports include WMI, ASF, Intel® AMT, DASH, IPMI, and SNMP.

Real-Time Console Infrastructure lets you add a custom view to the Resource Manager's Real-Time view. For example, you can add the sample Linux OpenWSMan view that is included with Real-Time Console Infrastructure.

To install and configure the sample Linux OpenWSMan view perform the following steps:
  1. Install WS-Management server on the Linux computer.
  2. Install the Linux OpenWSMan sample view.
  3. Configure the connection profile.
  4. Connect to the target computer using the Real-Time view.

To install WS-Management server on the Linux computer

  1. Install the CIM Server: Small Footprint CIM Broker. Example.
  2. Install the WS-Management server. Example: openswan-2.4.7-130.2.i586.rpm. Modify the /etc/openwsman/openwsman.conf file to use the basic authentication. Use the htpasswd utility that comes with the Apache server installation to create the simple_auth.passwd file.
  3. Install SBLIM-CMPI Providers. Example.
  4. Run the SFCB CIM server as sfcbd –t 10 and the Openwsman as openwsmand -d (in trace mode) to troubleshoot possible problems.

You can install SBLIM providers in the following two ways: search ready RPM or install from sources.

In you want to install from sources, here are some tips that can help you configure the providers:

  1. Get sources from SVN or download the source “tarball”
  2. Run ./configure
  3. Run make
  4. Run make install (if all OK you should have a set *.so libraries in the project’s root or .libs folder)
  5. Run ./provider-register.sh –v –t sfcb –r mof/[provider-name].register –m mof/[provider-name].mof  (for example: ./provider-register.sh –v –t sfcb –r mof/Linux_Service.register –m mof/Linux_Service.mof)
  6. Copy the *.so library files that you need from the root or .lib folder into /usr/lib/cmpi

-          Read README and INSTALL in the case if there are any problems.
-          Be ready to fix the MAKE file, for example add LINKER or COMPILER options if needed.
-          To know more about the provider-register.sh, can run it with the –h parameter. This script copies .mof and .register files into the repository folder of the SFCB CIM server, namely into the /var/lib/sfcb/stage/mof/[name-space] and /var/lib/sfcb/stage/regs folders. After that, the SFCB server is stopped and repository rebuild is running. Repository folder is /var/lib/sfcb/registration/repository. After that the SFCB server is started again.
-          The providers that are used in this sample have special mof files – [provider-name]Registration.mof (for example: Linux_ServiceRegistration.mof) -  for registration by OpenPegasus (another implementation of CIM Server). In the case of SFCB (our case) is need manual registration and copy of the libraries.
-          The names of required libraries can be found from the .registration and .mof files. CIM server can’t get data without these provider’s libraries in known directory.

To install the Linux OpenWSMan sample view

  1. In the Symantec Management Console, on the Settings menu, click All Settings.
  2. In the left pane, click Remote Management > Real-Time Console Infrastructure > Manage Custom Views.
  3. On the Manage Custom Views page, on the toolbar, click the Add symbol.
  4. In the Upload file dialog, click Browse and browse to the Linux OpenWSMan view configuration file. The file's location is c:\Program Files\Altiris\RTCI\Web\Samples\Linux-Demo.config.
  5. Click OK.

To configure the connection profile.

  1. In the Symantec Management Console, on the Settings menu, click All Settings.
  2. In the left pane, click Monitoring and Alerting > Protocol Management > Connection Profiles > Manage Connection Profiles.
  3. In the right pane, click the profile that you want to modify and click the Edit symbol.
  4. On the Define Group Settings page, expand the WS-MAN section.
  5. Turn on the WS-MAN protocol.
  6. Click the Add symbol and create a new credential with which you want to connect to the target computer.
  7. On the Define Group Settings page, in the WS-MAN section, in the drop down list, select the credentials that you added.
  8. Configure the port settings to match the openwsman daemon port (see /etc/openwsman/openwsman.conf).
  9. Click OK.

To connect to the target computer using the Real-Time view.

  1. In the Symantec Management Console, open the Resource Manager for the Linux computer that you want to manage. To open the Resource Manager, double-click on a computer resource in a filter or a report, or use the Manage > Resource menu.
  2. In the Resource Manager, on the View menu, click Real-Time.
  3. In the tree view pane, click Real-Time Consoles > Linux.