Installation on Linux

This section provides you with instructions for installing the following agents of Management and Monitoring Services on Linux servers: Server Management Agent and Advance Trending Agent.

You can install Management and Monitoring Services' agents on Linux servers using the Linux installation script on the ZENworks 6.5 Server Management Program CD. The installation script is used to install on a single Linux server.

This section provides basic instructions on installing the Management and Monitoring Services' agents on Linux servers. Before you begin this process, you should thoroughly understand and plan your implementation.

You can use the Management and Monitoring Services installation script to install the following agents on a single Linux server:

All the examples provided in the installation steps are case sensitive. Ensure that you copy the values as written in the installation steps.

After you install Management and Monitoring Services' agents on Linux, you must configure the SNMP service on your Linux machine. For more information, see Configuring the SNMP Service on Linux.

At the Linux server where you want to install Management and Monitoring Services' agents:

  1. Log in as root.

  2. Place the ZENworks 6.5 Server Management Program CD in the CD drive.

    If auto-mount does not occur, mount the CD drive manually.

  3. Review the Readme for any last-minute information concerning installation.

    The product Readme is located in the \document\en directory on the Program CD.

  4. If you are running X Windows, open an XTerm window on the Linux server console.

  5. In the server prompt, change to the directory where the Management and Monitoring Services installation script is located:

    cd /device_directory/ZfS/SvrMgmt/mms/Linux

    where device_directory represents the mount point for the CD device and platform is Linux.

    The installation script is named:

    MMS_Linux_Install.pl

    NOTE:  The font used for the examples in this step is used throughout this section for case-sensitive text that must be typed exactly as provided in the example.

  6. To run the Management and Monitoring Services installation script, enter:

    ./MMS_Linux_Install.pl

  7. The Welcome page displays; press Enter to display the next page.

  8. Press Enter to display the license agreement, press the Spacebar to scroll through the license agreement, type y, then press Enter to accept the license agreement.

  9. Type one of the numbers, separated by a space or a comma, to specify what you want to install:

    1 Linux Management Agent
    2 Advanced Trending Agent
    3 Both

    For example, type 3, then press Enter.

    The Linux Management Agent, Advanced Trending Agent, or both are installed based on the option you select.

  10. To confirm your selection, type y, then press Enter.

    The installation script uses the Red Hat Package Manager (RPM) to install the program files. Installation progress displays on the page.

  11. If you selected to install the Advanced Trending Agent in Step 9, at the end of installation, specify the IP address of the server and the community string where the traps need to be sent, then type q to quit. You can also add multiple trap targets.

    You can manually add the Trap Targets by editing the snmpd.conf file that is used by the snmpd master agent. In order for you to manage alarms from ConsoleOne, you must specify the IP address of the destination machine that will be your site server. You can also specify multiple IP addresses. For more information, see "Management and Monitoring Services" in the Novell ZENworks 6.5 Server Management Administration Guide

    For Linux Management Agent, you need to manually edit the configuration file. For more information, see the Novell ZENworks 6.5 Server Management Administration Guide.

  12. Press Enter to continue.

  13. Review the log file to determine the success or failure status of the installation.

    The installation script logs all the actions in the /var/opt/novell/zenworks/log/zfs-mms-install.log file. Open this log file to verify if Management and Monitoring Services is installed successfully on the Linux server.

    You can also refer to Installation Error Messages to troubleshoot specific errors.

  14. If the installation was successful, repeat these steps for each Linux server.

    After you have installed the Management and Monitoring Services' agents on your Linux server, the installation script automatically starts the Linux Management Agent and the Advanced Trending Agent. However, you can manually start or stop the agents. For more information, see Starting the Agents on Linux Servers or Stopping the Agents on Linux Servers.

    IMPORTANT:  Make sure that the line "rocommunity public 127.0.0.1" exists in /etc/snmp/snmpd.conf and it is not commented before you start the SNMP Daemon.


Configuring the SNMP Service on Linux

To access the Management and Monitoring Services' agents on the Linux machine, you must configure the SNMP Service on your Linux machine.

The SNMP service on Linux uses the settings that are read from the snmpd.conf file located in the /etc/snmp/ directory. To change the settings of the service, you can directly edit the configuration file. For the service to pick up the configuration changes, restart the SNMP service after you modify the snmpd.conf file.

To configure the SNMP service on Linux and to allow access to the OIDs required by Management and Monitoring Services' agents, you must add the following lines to the snmpd.conf file. For more information on the settings, see man snmpd.conf.

To provide read-only access to all the OIDs in the MIB tree for the local host and the site server, add the following lines in the snmpd.conf file:

rocommunity <read_community> localhost .1
rocommunity <read_community> <site_server_IP address> .1

To provide write access for the site server, add the following lines in the snmpd.conf file:

view mmsWriteView included .1.3.6.1.4.1.23.2.102
view mmsWriteView included .1.3.6.1.2.1.16.18
com2sec mmsWriteUser <site_server_IP address> <write_community>
group mmsWriteGroup v1 mmsWriteUser
group mmsWriteGroup v2 mmsWriteUser
access mmsWriteGroup "" any noauth exact none mmsWriteView none

NOTE:  You must specify the <read_community> in the NXPCON for NetExplorerTM to discover this on the Linux machine.

For the views to display, you must specify the <read_community> and the <write_community> in the SNMP Properties tab in the Property Page.