7.2 Installation on Linux

This section provides you with instructions for installing 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:

You install Management and Monitoring Services’ agents individually on each Linux server using the Linux installation script on the Novell ZENworks 7 Server Management with Support Pack 1 Program CD. All examples provided in the installation steps are case sensitive. Make sure that you copy the values as written in the installation steps.

Perform the following tasks in order:

  1. Section 7.2.1, Installing the Management and Monitoring Services Agents

  2. Section 7.2.2, Configuring the SNMP Service on Linux

7.2.1 Installing the Management and Monitoring Services Agents

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

  1. Log in as root.

  2. Place the Novell ZENworks 7 Server Management with Support Pack 1 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
    

    The Welcome page is displayed.

  7. 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.

  8. 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.

  9. 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.

  10. If you selected to install the Advanced Trending Agent in Step 8 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 is your site server. You can also specify multiple IP addresses. For more information, see Management and Monitoring Services in the Novell ZENworks 7 Server Management Administration Guide.

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

  11. Press Enter to continue the installation.

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

    The installation script logs all 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 Section H.0, Installation Error Messages to troubleshoot specific errors.

  13. If the installation was successful, repeat Step 1 through Step 12 for each Linux server.

  14. After you have installed the Management and Monitoring Services’ agents on your Linux server, you need to restart the SNMP daemon and the agents on each server. 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 the /etc/snmp/snmpd.conf file and that it is not commented out before you start the SNMP daemon.

  15. Continue with Section 7.2.2, Configuring the SNMP Service on Linux.

7.2.2 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 provide read-only access to all of the OIDs in the MIB tree required 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

For help on the settings, enter man snmpd.conf.

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 NetExplorer™ 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.