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

eSight V300R010C00 Maintenance Guide 07

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).
eLTE Management

eLTE Management

This section describes the web LMT proxy and NTP server of eLTE management.

Web LMT Proxy Configuration

This command is used to configure Web LMT proxy.

Syntax
  • Windows: htproxy.bat
  • Linux: htproxy.sh
Path

eSight installation directory/AppBase/3rdparty/nginx_ewl/bin

Prerequisite

On Windows, this operation is performed by the Administrator user. On Linux, this operation is performed by the ossuser user.

Precautions

None.

Related Commands

None.

Example
  • Windows
    1. Log in to the server as the Administrator user.
      NOTE:

      Log in to the server as the SWMaster user if the Windows is hardened.

    2. Run the following command to switch the directory:

      > cd /d eSight installation directory\AppBase\3rdparty\nginx_ewl\bin

    3. Create a proxy user.

      > htproxy.bat -au username

      New password:  
      Re-type new password:       
NOTE:
  • If no command output is displayed, the proxy user is created successfully.
  • The username field indicates the name of the proxy user to be created. The name must be a string of 6 to 32 characters.
  • You can run the preceding command for several times to add multiple proxy users.
  • Linux
    1. Log in to the server as the ossuser user.
    2. Run the following command to switch the directory:

      > cd eSight installation directory/AppBase/3rdparty/nginx_ewl/bin

    3. Create a proxy user.

      > ./htproxy.sh -au username

      New password:  
      Re-type new password:       
NOTE:
  • While input the password in Linux operating system, the input traces are not displayed on the screen.
  • If no command output is displayed, the proxy user is created successfully.
  • The username field indicates the name of the proxy user to be created. The name must be a string of 6 to 32 characters.
  • You can run the preceding command for several times to add multiple proxy users.

Restarting WEB LMT Proxy

This command is used to restart the proxy server of the Web LMT.

Syntax
  • Windows: restart.bat
  • Linux: restart.sh
Path

eSight installation directory/AppBase/3rdparty/nginx_ewl/bin

Prerequisite

On Windows, this operation is performed by the Administrator user. On Linux, this operation is performed by the ossuser user.

Precautions

None.

Related Commands

None.

Example
  • Windows
    1. Log in to the server as the Administrator user.
      NOTE:

      Log in to the server as the SWMaster user if the Windows is hardened.

    2. Run the following command to switch the directory:

      > cd /d Installation directory\AppBase\3rdparty\nginx_ewl\bin

    3. Run the command restart.bat.

      After the command is successfully executed, the following information is displayed:

      restart nginx-ewl done.
  • Linux
    1. Log in to the server as the ossuser user.
    2. Run the following command to switch the directory:

      > cd Installation directory/AppBase/3rdparty/nginx_ewl/bin

    3. Run the command restart.sh.

      After the command is successfully executed, the following information is displayed:

      restart nginx-ewl done.

Configuring NTP Server (Without Security Authentication Mode)

This command is used to configure NTP server without security authentication mode.

Syntax

Linux: configNTPServer.sh

Path

eSight installation directory/AppBase/tools/ewl

Prerequisite

On Linux, this operation is performed by the root user.

Precautions

None.

Related Commands

None.

Example
  • Linux
    1. Log in to the server as the root user.
      NOTE:

      Remotely log in to the server as the ossuser and switch to the root user if the SUSE Linux is hardened.

    2. Access the tool configuration directory.

      # cd eSight installation directory/AppBase/tools/ewl

    3. Configure the NTP server.

      # ./configNTPServer.sh

      If "NTP server configured successfully." is displayed, the NTP server is configured successfully.

Configuring NTP Server (Security Authentication Mode)

This command is used to configure NTP server with security authentication mode.

Syntax

Linux: configSecNTPServer.sh

Path

eSight installation directory/AppBase/tools/ewl

Prerequisite

On Linux, this operation is performed by the root user.

Precautions

None.

Related Commands

None.

Example

Linux

  1. Log in to the server as the root user.
    NOTE:

    Remotely log in to the server as the ossuser and switch to the root user if the SUSE Linux is hardened.

  2. Access the tool configuration directory.

    # cd eSight installation directory/AppBase/tools/ewl

  3. Configure the NTP server.

    # ./configSecNTPServer.sh

    If "NTP server configured successfully." is displayed, the NTP server is configured successfully.

  4. Run the following commands to edit the /etc/ntp.keys.

    # vi /etc/ntp.keys

    Define the identifier, key type, and authentication code for an NE to synchronize time with the eSight. Write only one data item in each line in the following format.

    identifier key type key data
    NOTE:
    • An identifier refers to a positive integer ranging from 1 to 4294967295. Each line in the file must contain one unique identifier.
    • A key type is a character, which refers to the encryption algorithm for calculating NTP transactions. S refers to the DES algorithm in standard format, N refers to the DES algorithm in NTP format, A refers to the ASCII algorithm, and M refers to the MD5 algorithm.
    • For details about the key data algorithm, see "Introduction to Key Types and Key Data" in eSight Single-Node System Software Installation Guide (SUSE Linux).
  5. Save the ntp.keys file and exit the vi editor.

    After editing the file, press Esc, and then run the :wq! command to save the file and exit.

  6. Run the following commands to edit the /etc/ntp.conf file:

    # vi /etc/ntp.conf

  7. Write the key file path and key identifier to /etc/ntp.conf and delete the comment mark # in front of the key file path and key identifier.

    For example, if the key file path is /etc/ntp.keys and the key identifiers are 100 and 101, add the identifiers in the following format:

    #keys /etc/ntp.keys                      # path for keys file 
    #trustedkey 100 101                      # define trusted keys
  8. Save the ntp.conf file and exit the vi editor.

    After editing the file, press Esc, and then run the :wq! command to save the file and exit.

  9. Run the following command to start the NTP service:

    # service ntp restart

Rolling Back the NTP Server Configuration

This command is used to roll back the NTP server configuration.

Syntax

Linux: restoreNTPConfig.sh

Path

eSight installation directory/AppBase/tools/ewl

Prerequisite

On Linux, this operation is performed by the root user.

Precautions

None.

Related Commands

None.

Example

Linux

  1. Log in to the server as the root user.
    NOTE:

    Remotely log in to the server as the ossuser and switch to the root user if the SUSE Linux is hardened.

  2. Access the tool configuration directory.

    # cd eSight installation directory/AppBase/tools/ewl

  3. Roll back to the original NTP server.

    # ./restoreNTPConfig.sh

    If "restore NTP configuration successfully." is displayed, the NTP server is rolled back successfully.

Translation
Download
Updated: 2019-06-30

Document ID: EDOC1100044373

Views: 24733

Downloads: 74

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