H3C IMC Probe Installation Guide-7.1-5PW109

01-Text

Chapters Download  (120.11 KB)

01-Text
Title Size Download
01-Text 120.11 KB

Use the IMC probe to collect logs for the following service components:

·     NTA/UBA

·     APM

This document describes in detail the installation procedure of the IMC probe.


Installation preparations

Hardware requirements

Install the IMC probe on an independent server. Table 1 lists the basic server hardware requirements to run the IMC probe.

Table 1 Server hardware requirements

Item

Requirement

CPU

Type: Intel x86

Frequency: 3.0 GHz

Number of processors: 1 or 2

NOTE:

To process traffic less than 300 Mbps, use one single-core CPU. To process traffic greater than 300 Mbps, use two single-core CPUs or one dual-core CPU.

Memory

2 GB

Hard disk drive

80 GB

Network adapter card

Type: Built-in Gigabit NIC

Number of cards: 2

 

 

NOTE:

For greater stability, H3C recommends installing the IMC probe on a physical sever.

 

Software requirements

The IMC probe supports the following operating systems:

·     Red Hat Enterprise Linux Server 5.0 (32-bit).

·     Red Hat Enterprise Linux Server 5.5 (32-bit).

·     Red Hat Enterprise Linux Server 6.1 (64-bit).

·     Red Hat Enterprise Linux Server 6.4 (64-bit).

The IMC probe supports Red Hat Enterprise Linux Server 5.0 and 5.5, and it cannot run if the Linux kernel is Physical Address Extension (PAE)-enabled. PAE is enabled by default when Red Hat Enterprise Linux 5.5 is installed on a host that has 4 GB or more memory. Before installing a probe, disable the PAE feature. For more information about the PAE feature, see documents related to Red Hat Enterprise Linux Server.

Installation environment verification

Before installing the IMC probe, verify that all requirements listed in Table 2 are met.

Table 2 Installation environment checklist

Item

Requirement

Hardware

Verify that the hardware requirements stated in the contract are met. The requirements include CPU, memory size, and hard disk size.

Software

Verify that the software requirements stated in the contract are met. The IMC probe version must be correct and the operating system must be one of the following:

·     Red Hat Enterprise Linux Server 5.0 (32-bit).

·     Red Hat Enterprise Linux Server 5.5 (32-bit).

·     Red Hat Enterprise Linux Server 6.1 (64-bit).

·     Red Hat Enterprise Linux Server 6.4 (64-bit).

 

Installation

Preparing for installation

CAUTION

CAUTION:

Before installing the probe, make sure you have root permission and are authorized to execute the installation program.

 

Before installing the IMC probe, perform the following tasks:

1.     Decompress the downloaded installation package in the Red Hat Linux operating system.

2.     Go to the install directory in the IMC probe installation package.

# cd install/

This directory contains the installation script probe_installer.sh.

Installing the IMC probe

1.     Run chmod +x ./probe_installer.sh, which grants the execution permission to the probe_installer.sh script.

2.     Run probe_installer.sh.

3.     Specify the installation path.

You can specify an absolute path, or press Enter to use the default path /usr/local/ for installation.

Figure 1 Specifying a directory to install the IMC probe

 

4.     Specify a monitoring network adapter card (enter the name of a network adapter card of the server where the IMC probe is to be installed).

Figure 2 Specifying a monitor network adapter card

 

 

NOTE:

·     The monitoring network adapter card is used to receive mirrored traffic from the network devices.

·     You can use the ifconfig command to obtain the names of the network adapter cards.

 

5.     Add another network adapter card. If you decline to add additional network adapter cards, enter n.

Figure 3 Specifying another monitor network adapter card or not

 

6.     Enable or disable the IMC probe to monitor IPv6 traffic.

To disable the IMC probe from monitoring IPv6 traffic, enter n.

Figure 4 Disabling the IMC probe from monitoring IPv6 traffic

 

7.     Set a password for the IMC probe:

a.     Type y.

b.     Enter and confirm a password.

Figure 5 Setting a password for the IMC probe

 

 

NOTE:

With a password configured, you are asked to enter the password when adding a new IMC probe. If you do not want to use a password, enter n when you see the message Do you want to set a password for probe.

 

When the installation is complete, restart the server.

Figure 6 Installation complete

 

 

NOTE:

·     You must restart the server before the IMC probe can work normally. The IMC probe runs automatically after the server is restarted. You can use the ps -ax | grep probe command to confirm that the probe process is running.

·     If errors occur during installing the Red Hat Enterprise Linux Server 6.4 server, see "3 FAQ" for solutions.

 

Uninstallation

1.     Delete the unba directory under the directory where the IMC probe is installed.

# cd /usr/local/unba

# rm -rf *

2.     Delete the /opt/unba_data directory.

# rm -rf /opt/unba_data

3.     Delete the /data directory.

# unlink /data

4.     Delete the probe services.

# chkconfig --del probed

5.     Delete the /etc/probed file.

# cd /etc/init.d

# rm -rf probed

6.     Open the /etc/probe file with the vi command and delete information about the probe.

# vi /etc/profile

7.     Restart the server after removing the IMC probe.


How can I launch the IMC probe manually after the installation?

To launch the IMC probe manually, perform the following operations:

1.     Enter the unba directory under the directory where the IMC probe is installed.

2.     Enter the bin subdirectory.

3.     Execute the ./monitor command.

How can I manually stop the IMC probe?

To manually stop the IMC probe, perform the following operations:

1.     Enter the unba directory under the directory where the IMC probe is installed.

2.     Enter the bin subdirectory.

3.     Execute the ./monitor stop command.

How can I solve the prbkern.ko error during the installation of the IMC probe in the Red Hat Enterprise Linux Server 6.4 server?

Figure 7 shows the error.

Figure 7 Failing to install the IMC probe

 

The error results from the lack of software packages required for installing the IMC probe.

To resolve the problem, use one of the following solutions:

Solution 1

1.     Re-install the operating system (see Red Hat Enterprise Linux Server 6.4 Installation Guide).

2.     Customize the software settings.

3.     Install the IMC probe on the server.

Solution 2

1.     Identify whether all the required software packages are installed in the operating system by using the following commands:

?     rpm –qa—Checks all installed software.

?     rpm –q—Checks a specific rpm file.

The required software packages are:

?     libgomp-4.4.7-3.el6

?     kernel-headers-2.6.32-358.el6

?     glibc-headers-2.12-1.107.el6

?     glibc-devel-2.12-1.107.el6

?     gcc-4.4.7-3.el6

?     kernel-devel-2.6.32-358.el6

2.     If any software package is not installed, insert the operating system installation disk into the CD-ROM driver, copy the software package from the server working folder to your local server, and use the rpm -ihv xxx.rpm command to install the package.

3.     Install the IMC probe.