Solstice Enterprise Manager 4.1 Managing Your Network Doc Set ContentsPreviousNextIndex


Chapter 2

Getting Started With Solstice EM

The Solstice Enterprise ManagerTM (Solstice EM) Network Tools window is the launchpad from which you start all Solstice EM management tools for monitoring your network components. By default, Network Tools is displayed when you start Solstice EM.

This chapter comprises the following topics:

2.1 Overview

Network Tools provides access to the Solstice EM tools you will use most often for configuring, updating, and managing your network. You can, however, add and remove other Solstice EM and custom-developed network management tools to meet your specific needs.

By default, the core tools described in the following table can be started from the Network Tools window.

TABLE 2-1   Core Solstice EM Tools 
Tool Name Description
Network Views
Monitor and control network and system components.
Alarms
Create and monitor event alarms for Solstice EM managed resources.
Network Discovery
Discover the physical and logical resources on your network.
Event Logs
Create Data Collection Entry objects.
Data Collections
Create Data Collection Entry objects.
Administration
Provide access to the following administrative tools:

  • MIS Connections - Set up communication between local and remote MIS servers.

  • MIS Parameters - Configure system parameters for protocol adapters, MIS-to-protocol adapters, access control, and Alarm Manager.

  • Database Backup/Restore - Create and restore backup copies of the MIS.

  • Security - Control user access to applications and managed objects.

  • Request Controllers - Define, start, and stop agents to monitor network resources.

  • Network View Import/Export - Export and import topology information to and from an ASCII file.

  • Automatic Management - Configure the MIS to launch and stop event requests automatically.

  • Design Advanced Requests - Create query requests for monitoring managed objects on your network.

    Load Data Definitions - Convert data definitions, such as SNM schema and MIB files, to GDMO format and load the data definitions into the MIS.
  • Documentation
    Access the complete Solstice EM documentation suite.


    2.1.1 Related Files

    2.1.2 Related Tasks

    2.2 Setting Up the Solstice EM Environment

    Before starting and using Solstice EM, you may need to set certain environment variables that are used by the system. An easy way to set all the environment variables is to run the emenv script.

    You can also start Network Tools and connect to a remote MIS by setting the $EM_SERVER environment variable to the name of the remote host where the MIS is running. Then at the command line, enter the em command with no options.


    Note – Environment variables cannot be set from Network Tools. If your third party or custom-developed application requires certain environment variable settings, you can set these from a script and then start Network Tools from that script.

    If you will be running any of the Solstice EM executables that reside in the /opt/SUWNconn/em/bin directory individually, you should run the emenv script first.

    At a system prompt, execute the following command:

    2.3 Starting Solstice EM

    All Solstice EM tools rely on a connection with the kernel--called the Management Information Server or MIS--for their data. All Solstice EM tools can connect to a MIS on a local or remote machine. When reading the descriptions of the tools in this manual, keep these facts in mind:

    If you invoke an application without the -host option and with the EM_SERVER variable not set, the application attempts to connect to a MIS on the local machine.

    Users need a connection access right to connect to a MIS. The connection access rights are stored in the user profiles in the MIS. The MIS checks the user's privileges to determine whether or not to grant or deny the connection. The em_login daemon on the MIS server is the UNIX process that listens to all MIS connection requests for password authentication. The user's password is verified when starting any Solstice EM tool. Users are not prompted to enter their login password under the following conditions:

     

    To Use Solstice EM


    Note – Throughout this guide, C-shell syntax is used for specifying the environment variable. Use the syntax appropriate for your shell.

    1. Type the following command at a system prompt:

    em [-hostremote_MIS_machine]

    For example: em -host zircon

    2. If prompted, type your user name and password.

    The Network Tools window is displayed.

    3. Click any tool icon to start the tool and perform any network management operation.

    If Security was enabled either during installation, or when configuring Solstice EM for deployment in your company, and you are not logged in as root, you may have restricted access to some of the tools and managed objects, depending on your access privileges controlling access to the Solstice EM tools.

    4. Click File->Exit when you have finished working with Solstice EM.

    See Also:

    2.4 Starting Individual Tools

    In most cases, you start the Solstice EM tools from the Network Tool window. However, there may be circumstances--such as executing scripts--when you want to start individual Solstice EM tools. The following table lists the executable tools you may want to start individually.

    TABLE 2-2   Core Solstice EM Tools Executables
    Tool Name Description
    Alarms
    em_alarmmgr
    Database Backup/Restore
    em_dbbackup and em_dbrestore
    Data Collections
    em_datacollector
    Design Advanced Requests
    em_reqedit
    Network Discovery
    em_discover
    Event Logs
    em_logmgr
    MIS Connections
    em_mismgr
    Network View Import/Export
    em_imex
    Network Views
    em_viewer
    Load Data Definitions
    em_loaddefs
    Security (command)
    em_accessmgr (command) and em_accesscmd (utility)
    Database Backup/Restore
    em_dbbackup and em_dbrestore


    Other Solstice EM executables can be found in the /etc/SUNWconn/em/bin directory.

     

    To Start Individual Tools

    1. Execute the following command at a system prompt:

    em [-host remote_MIS_machine] toolexecutable
    where toolexecutable is one of the executables listed in Table 2-1 on page  2-2.
    For example: em -host zircon em_viewer will start Solstice EM, connect to the MIS on the zircon server and start the Network Views tool.

    2. If prompted, enter your user name and password.

    2.5 Reconnecting to the MIS

    If Network Tools fails to connect to the MIS, or the connection breaks, the tool icons in the Network Tools window are unavailable.

    If you previously established a successful connection under access control, you will not be asked for user ID and password when reconnecting to the MIS.

     

    To Reconnect to the MIS

    See Also: For information about remote MIS connections:

    2.6 Accessing Online Documentation

    The Solstice EM documentation is available as HTML documents and can be viewed in a browser. The online documentation is shipped on the product CD-ROM and can be found in /opt/SUNWconn/em/docs. Each book has its own subdirectory. Display the index.html file in a browser to gain access to the entire Solstice EM documentation set.

    Depending on your Solstice EM installation, the online Solstice EM documentation may or may not be accessible from Network Tools. If the Solstice EM documentation set is not accessible from the Network Tools window, you can add an icon to the Network Tools window and gain access to the documentation set.

     

    To Access Online Documentation

     

    To Add Access to Online Documentation

    1. In the Network Tools window, click File->Customize to display the Network Tools Customize dialog.

    2. In Path To Executable, type the path name of your browser.

    3. In Path To Icon field, type the path name for the icon graphic file.

    4. In Icon Name, type the string to be used as the icon label.

    For example, EM 3.0 Online\nDocumentation. The "\n" causes a line break so that the entry appears on two lines.

    5. Select No to specify the browser is not an Solstice EM tool.

    6. Click Add.

    The icon you added now appears in the Network Tools window.

    7. Click Save.

    Changes are saved in the em_panel.cf configuration file.

    8. To start the browser, click the icon you just added.

    9. Open the /opt/SUNWconn/em/docs/index.html file.

    2.7 Adding and Removing Tools

    Network Tools displays an icon for each tool or custom-developed application accessible from the Network Tools window. You can use the Network Tools Customize dialog to add, modify, or delete icons and tools from Network Tools.

    Solstice EM does not check the validity of your entries in the Network Tools Customize dialog. Errors are detected when you attempt to start a tool.

    If you are adding custom-developed tools to Network Tools, you must first add the tool under Solstice EM control using the createApplication command of the em_accesscmd utility. See The em_accesscmd Utility for more information about the command.

     

    To Add Tools to the Network Tools Window

    1. In the Network Tools window, click File->Customize to display the Network Tools Customize dialog.

    2. In Number Of Columns, specify the number of icon columns you want displayed in the Network Tools window.

    3. In Path To Executable, type the path name for the executable.

    For example, $EM_HOME/bin/em/em_viewer -host EM_MIS

    4. In Path To Icon field, type the path name for the icon graphic file.

    For example, /opt/SUWNconn/em/glyphs/em_viewer.pm. By default, Solstice EM glyph files are located in /opt/SUNWconn/em/glyphs.

    5. In Icon Name, enter the string to be used as the icon label.

    For example, Network Views. To create a multi-line entry, add "\n" where you want the line to break. For example: Network \nViews.

    6. Specify (Yes/No) whether the tool is a Solstice EM tool.

    7. In Solstice EM Tool Name, enter the connection name that the tool uses to connect to the MIS.

    The Solstice EM tool name is often the same as the executable used to run the tool. For example, the Solstice EM tool name for Network Views is em_viewer, which is also the name of the executable. If you do not know a tool's name, use the Security tool to look up the tool names by selecting View->Privilege Components->Applications List.

    8. Click Add.

    The icon you added appears in the Network Tools window.

    9. Click Save.

    Changes are saved in the .em_panel.cf configuration file. If you are logged in as root, the .em_panel.cf configuration file is put in the root directory "/". In other cases, the configuration file is placed in the user's home directory. The original configuration file is installed as /opt/SUNWconn/em/config/em_panel.cf (without the initial dot.)
     

    To Remove Tools From the Network Tools Window

    1. In the Network Tools window, click File->Customize to open the Network Tools Customize dialog.

    2. In the Applications list box, select the tool to be removed.

    The fields in the Application Information area should now reflect the information for your selection.

    3. Click Delete.

    4. (Optional) Click Save to open a standard Select File dialog.

    5. Type the path and file name where you want to save the modified configuration.

    The default file is ~/.em_panel.cf.

    2.8 Modifying Tool Configurations

    From time to time, it may be necessary to change the configuration settings of the tools accessible from the Network Tools window. Tools may be moved to other systems, replaced by other tools, and so on.

     

    To Modify Tool Configurations

    1. In the Network Tools window, click File->Customize to display the Network Tools Customize dialog.

    2. In the Applications list box, select the tool and application name.

    3. Type your modifications.

    4. Click Change and then click Save.

    The default configuration file is ~/.em_panel.cf.

    5. Click OK.

    See Also: Network Tools Customize Dialog for more information on the dialog options.

    2.9 Reference

    Reference information is provided for the following:

    2.9.1 Command-Line Options

    Reference information is provided for the following:

    2.9.1.1 Options for the em Command

    The em command invokes the executable script for starting Solstice EM and displaying the Network Tools window. The em command executes the emenv.sh script to set up the correct environment before running the em_panel executable.

    TABLE 2-3   Options for the em Command 
    Options Description
    -help
    Displays a list of the options with descriptions for the em command.
    -host <hostname>
    Specifies the name of a remote MIS Server


    2.9.1.2 System Variables Used by Solstice EM

    The following table describes the system environment variables and how they are used by Solstice EM.

    TABLE 2-4   System Environment Variables  
    Environment Variable Name Default Setting Description
    DISPLAY
    localhost:0
    Set to your local machine when displaying an application from a remote machine. (Is not set by the emenv.sh script.)
    LD_LIBRARY_PATH
    /opt/SUNWconn/em/lib
    Shared object library path. (Is set by the emenv.sh script.)
    OPENWINHOME
    /usr/openwin
    Directory where Open Windows is located. (Is set by the emenv.sh script. For CDE, /usr/dt is used.)
    PATH
    ${EM_HOME}/bin:${EM_HOME}/etc:${EM_DB_HOME}/bi n:${PATH}
    Search path for executable files. (Is set by the emenv.sh script.)
    XFILESEARCHPATH
    /opt/SUNWconn/em/config/%N is postpended.
    Search path for X files. (Is set by the emenv.sh script.)


    2.9.1.3 Solstice EM Environment Variables

    The following table describes the Solstice EM environment variables.

    TABLE 2-5   Solstice EM Environment Variables 
    Environment Variable Name Default Setting Description
    EM_HOME
    /opt/SUNWconn/em
    Used by the tools to identify where the SUNWemapp package is installed. (Is set by the emenv.sh script.)
    EM_CMIP_MPA_DEFAULT_HOST
    localhost
    Used by the MIS to identify the machine where the default CMIP MPA is located. (Is not set by the emenv.sh script.)
    EM_CMIP_MPA_DEFAULT_PORT
    5557
    Used by the MIS to identify the port number used by the default CMIP MPA. (Is not set by the emenv.sh script.)
    EM_MAPPATH
    $EM_HOME/mapdata
    Used by the Viewer to determine where vector map info is located. (Is not set by the emenv.sh script.)
    EM_MIS_DEFAULT_HOST
    localhost
    Used by the CMIP MPA to identify the name of the machine where the MIS is located. (Is not set by the emenv.sh script.)
    EM_MIS_DEFAULT_PORT
    5557
    Used by the CMIP MPA to identify the port number the MIS is using to communicate with it. (Is not set by the emenv.sh script.)
    EM_MIS_HOME
    /opt/SUNWconn/em
    Used by the MIS to identify where the SUNWemmis package is installed. (Is set by the emenv.sh script.)
    EM_MIS_PORT
    5555
    Used to specify the TCP/IP port number the MIS uses to communicate with tools. (Is not set by the emenv.sh script.)
    EM_RUNTIME
    /var/opt/SUNWconn/em
    Used by the MIS to identify where the runtime environment is installed. (Is set by the emenv.sh script.)
    EM_SERVER
    localhost
    Used by the tools to identify the name of the machine where the MIS is running. (Is not set by the emenv.sh script.)
    GRAPHER_PATHNAME
    /opt/SUNWconn/em/bin/em_grapher
    The path to the grapher for tools that use the Grapher API. (Is set by the emenv.sh script.)


    2.9.2 Windows and Dialogs

    Reference information is included for:

    2.9.2.1 The Network Tools Window

    When you invoke Network Tools, the main window displays as shown in FIGURE 2-1. Initially, Network Tools provides access only to the core Solstice EM tools you use for configuring and managing your network components. You can, however, add and remove other Solstice EM and third-party Solstice EM applications to and from Network Tools.

    Click any of the Network Tools icons in the window to launch the corresponding Solstice EM tool.

    FIGURE 2-1   Network Tools Window

    Click Administration to display the Administration window from which you start the Solstice EM administrative tools.

    FIGURE 2-2   Administration Window

    The following table describes the menu bar and menu items on the Network Tools window.

    TABLE 2-6   Network Tools Menu 



    File
    Customize
    Displays the Network Tools Customize dialog to add and remove tools and application to and from Network Tools.
    See Network Tools Customize Dialog for more information.
    Exit
    Exits the Network tool while keeping the tools and applications that were started from the Network tool running.
    Actions
    Reconnect
    After successfully connecting to the MIS, the menu item is greyed out. The option changes to Reconnect when the connection to the MIS is broken. If Network Tools successfully connected to the MIS, the menu item is greyed out. When reconnecting, you will not be prompted for your user ID and password if Network Tools previously connected successfully under security control.
    Help


    Displays the online help.


    See Also: For tasks that use the Network Tools window:

    2.9.2.2 Network Tools Customize Dialog

    The Network Tools Customize dialog enables you to specify the tools that can be started from the Network Tools window.

    Use this dialog to add and remove tools and to specify or update the path and file names for the executables and the graphic files for the icons of Network Tools.

    FIGURE 2-3 illustrates the Customize dialog and the following table provides more information about configuration options.

    FIGURE 2-3   Network Tools Customize Dialog

    TABLE 2-7   Network Tools Customize Options  
    Options Description
    Applications
    Lists the tools and applications that can be started from Network Tools.
    To view information about a tool, select it's name from this list.
    Number of Columns

    Specifies the number of columns in which to display the icons.

    Path to Executable

    Specifies the complete path name for the executable, including any arguments.

    Path to Icon

    Specifies the complete path name for the icon graphic to display for this tool.

    Icon Name


    Specifies the text string to use as the button label. For multi-line labels, use the characters \n to force a line break.


    EM Tool (Yes) (No)


    Specifies whether or not the tool is a Solstice EM tool.


    EM Tool Name


    Specifies the name of the executable of the tool that is used to connect to the MIS. It must be the same as the name you specified when setting up access control with the createApplication command of the em_accesscmd utility. If the name is incorrect and the tool is under access control, the icon is unavailable when a user without superuser status starts Network Tools. If a super user or root starts Network Tools, the field is ignored, the icon is available and the tool can be started.


    Clear
    Clears all data entry fields.
    Load button
    Enables to load a Network Tools configuration file previously saved using the Save button.


    Settings in this Network Tools Customize dialog are saved to the following configuration files:

    See Also: For tasks that use the Network Tools Customize dialog:


    Sun Microsystems, Inc.
    Copyright information. All rights reserved.
    Doc Set  |   Contents   |   Previous   |   Next   |   Index