No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

OceanStor BCManager 6.5.0 eReplication User Guide 02

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Installing OpsMonitor Agent

Installing OpsMonitor Agent

Before connecting to OpsMonitor, you need to install OpsMonitor Agent first. This section describes how to install OpsMonitor Agent.

Prerequisites

  • Listening port of the OpsMonitor Agent is 10050 and listening port of the OpsMonitor Server is 10051.
    NOTE:

    If the network firewalls have been opened, ensure that TCP port 10050 on the client host has opened so that OpsMonitor Agent and OpsMonitor Server can communicate properly.

  • Selinux has been disabled on the host operating system (OS) on which OpsMonitor Agent is to be installed.
  • DMK information has been obtained.
  • Space usage of directories /opt and /home of the client host on which OpsMonitor Agent is to be installed does not exceed 80%.

Context

Developed based on Zabbix, OpsMonitor is a distributed operation and maintenance monitoring system, composed of OpsMonitor Server and OpsMonitor Agent. It monitors host operating systems, processes, platforms, and basic services and displays the monitoring information on a Web UI.You can view monitoring data on the OpsMonitor Web UI in a centralized manner.

Data Preparation

Table 2-23 details the parameters need to be configured for installing OpsMonitor Agent.
Table 2-23  Parameter description

Category

Parameter

Description

Configuration Example

Configuration file

remote_user

User who logs in to the client node using SSH. This user can run the su command or sudo command to obtain the permission on user root.

DRManager

zabbix_server

IP address in the address box when you access the Web UI of the OpsMonitor server

172.200.80.188

Node configuration file

ansible_ssh_host

IP address of the eReplication Server node on which OpsMonitor Agent is to be installed

172.200.28.177

172.200.28.178

NOTE:
For parameters not described in Table 2-23, use their default values.

Procedure

  1. Use the administrator account to log in to DMK.

    In the address box of a browser, enter https://IP address of DMK:8443.

  2. In the displayed DMK login window, enter the user name, password, and verification code, and click Login.
  3. In the navigation tree on the left, click Deploy Guide.
  4. In Service Configuration, select the Third-party Components tab page and then click OpsMonitor-Agent.

    Set parameter values by referring to Table 2-24.

    Table 2-24  Description

    Name

    Description

    Example Value

    Select Version

    Select the version of the software package that is deployed and configured.

    x.x.x.x

    Select Action

    Select the required operation.

    Installation

    Select Region

    Select a region for this operation.

    local

    Host Repository

    Keep the default value.

    No

    Gray Deployment

    Keep the default value.

    No

  5. Click Next, select the team and added account.

    • Team: the user group for installing OpsMonitor. Generally, it is O&M Tool Development (OTD).
    • Account: Select the added account DRManager.

  6. Click the drop-down list of Configuration File, and click one item to modify the configuration file.

    Data Preparation lists the parameters to be modified. For parameters that are not involved in the table, keep the default value.

  7. Click the drop-down list of Hosts Configuration File, and click one item to configure the node configuration file.

    Import Hosts Template in the right box into the left box. Configure the eReplication server hosts where OpsMonitor agents will be installed under the host group in the left box.

    [su_host_group] and [sudo_host_group] are groups where the hosts reside.
    NOTE:
    • Hosts Configuration File contains two host groups, namely [su_host_group] and [sudo_host_group]. Configure hosts in different host groups according to the remote_user permissions of hosts.
    • The eReplication servers are configured in [su_host_group].
    agent1 ansible_ssh_host=172.200.28.177
    agent2 ansible_ssh_host=172.200.28.178

    In the preceding configuration, each host alias (such as agent1 and agent 2) must be unique. ansible_ssh_host indicates the IP address of the host where OpsMonitor Agent is to be installed.

  8. Click Execute and OK. The installation of OpsMonitor Agent starts.

    During the installation, view Execution Status. Results will be displayed after the installation. You can click Task Management in the navigation tree on the left to view the details.

Translation
Download
Updated: 2019-05-21

Document ID: EDOC1100075861

Views: 18585

Downloads: 76

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next