Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP Servicecontrol Manager 3.0 User's Guide > Chapter 3 Getting Started with SCM

Getting Started Administering SCM

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

Get started administering SCM by familiarizing yourself with how to add a tool. To administer SCM, you must be a trusted user.

This procedure walks you through adding a custom tool and executing the tool from the command line interface and the graphical user interface.

Procedure 3-2 To get started administering SCM:

  1. Log on to the central management server (CMS) as a trusted user.

  2. Create a XML tool definition file for a new command tool.

    1. Open a text editor and paste the following tool definition file example into the file.

      <?xml version="1.0" encoding="UTF-8" ?>
      <tool-list>
      <ssa-command-tool name="Test Find tmp">
      <category>General Tools</category>
      <description>Find all the tmp directory and files</description>
      <comment> Example Tool </comment>
      <include-filter type="os">
      <node-filter name="OSName" operator="eq" value="HPUX"/>
      </include-filter>
      <include-filter type="os">
      <node-filter name="OSName" operator="eq" value="LINUX"/>
      </include-filter>
      <ssa-block>
      <command command-type="stdout" log="true">
                 find / -name tmp</command>
      </ssa-block>
      </ssa-command-tool>
    2. Replace tmp with mx.

      There are three instances that need to be changed.

  3. Save the tool definition file as testtool.xml.

  4. Copy the tool definition file to:

    /var/opt/mx/tools

  5. Add the tool to SCM:

    mxtool -a -f testtool.xml

  6. Execute the tool to test it:

    mxexec -t "Test Find mx" -n node

    where node is the hostname of an authorized target node.

  7. Log on to the SCM graphical user interface.

    1. Open a Web browser on any network client that is connected to your company intranet.

    2. Access the log on screen by navigating to:

      https://hostname:50000/

      where hostname is the hostname of the CMS.

    3. Enter your User name and Password.

    4. Click Log On.

  8. Select an HP-UX or Linux node with the DTF protocol.

    1. From the Nodes tab menu, select All Nodes to load the nodes list in the workspace.

    2. Select or clear the check boxes beside the nodes as necessary.

    The Tools tab menu replaces the Nodes tab menu after you select a node.

  9. Run the tool from the graphical user interface.

    1. From the Tools tab menu, expand General Tools and select Test Find mx.

      The tool launch page displays in the workspace.

    2. Click Execute on the tool launch page.

      The View Task Results screen displays in the workspace.

    3. Verify the Status is Complete, and view the results on the Stdout tab.

      If the Status is Error, view the error information on the Stderr tab.

  10. Remove the tool from SCM:

    mxtool -r -f testtool.xml

NOTE: For additional information about XML tool definition files including examples of different tool types, see the reference section in the SCM online help.

Additional Information. For more information about administering SCM, see the SCM online help. Topics available in the online help including:

  • adding authorizations

  • adding and editing nodes or node groups

  • adding and editing users

  • adding and editing roles

  • adding and removing tools

  • managing and configuring the SCM audit log

  • maintaining the SCM repository

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2002-2003 Hewlett-Packard Development Company, L.P.