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 08

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).
Changing the eSight Server Time

Changing the eSight Server Time

The server time is closely related to NE data collection, scheduled task handling, and database information backup. Therefore, the accuracy of the server time is important to the proper running of the system. After installing the server, you need to verify the server time.

Prerequisites

The database and eSight have been stopped. For details about how to stop eSight, see Common eSight Operations. For details about how to stop the database, see related documents of the database.

During server time change, eSight must be stopped. Therefore, performance data and alarm data of the managed NEs cannot be processed and may be lost.

Procedure

  • Windows operating system

    The operations on the Windows operating system vary depending on the version installed or the graphical user interface (GUI) style. The following uses Windows Server 2008 as an example to describe how to change the eSight server time. For details, see the Windows online help.

    1. Log in to the eSight server as the Administrator user.
      NOTE:

      You need to log in to the server as the SWMaster user if the Windows operating system is hardened.

    2. Click the time control at the lower right corner on the desktop. In the displayed window, click Change date and time settings.
    3. In the Date and Time dialog box, click Change date and time and Change time zone on the Date and Time tab page, and set the time zone, date, and time of the system.
    4. Start eSight.

      For details about how to start eSight, see Common eSight Operations.

  • SUSE Linux operating system
    1. Log in to the eSight server as the root user.
      NOTE:
      • Remotely log in to the server as the ossuser user and switch to the root user if the SUSE Linux operating system is hardened.
      • In a high availability system, the operations must be performed on both the active and standby servers.
    2. Correct the time zone for the server operating system.

      Run the following command to view the time zone used by the operating system:

      # date -R

      The following information is displayed, indicating that the current time zone is GMT+8.

      Thu, 29 May 2014 11:15:59 +0800

      If the displayed time zone is inconsistent with the actual time zone, perform the following steps to correct it:

      1. Run the following command to open the YaST2 Control Center page:

        # yast

      2. Choose System > Date and Time, and press Enter.
      3. In the Region area on the Clock and Time Zone page, select a continent or an ocean and press Tab. In the Time Zone area, select a country or region.
      4. Press Tab. Select the Other Settings check box and press Enter. Select Manually on the page that is displayed, press Tab, and set Current Time and Current Date.
      5. Press F10 to save the settings and return to the Clock and Time Zone page.
      6. Press F10 to return to the YaST2 Control Center page.
      7. Press F9 to close the YaST2 Control Center page.
    3. Correct the time for the server operating system.
      1. Run the following command to view the current operating system time:

        # date

        The eSight server time is displayed.

        Thu Apr 14 15:42:39 CST 2011
      2. Run the following command to set the system time:

        For example, run the following command to set the system time to 2011-4-14 15:49:30:

        # date -s "2011-4-14 15:49:30"

        The new setting is as follows:

        Thu Apr 14 15:49:30 CST 2011
    4. Run the following commands to restart the server:

      # sync;sync;sync;sync;sync

      # reboot

    5. Start eSight.

      For details about how to start eSight, see Common eSight Operations.

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

      In a high availability system, the operations must be performed on both the active and standby servers.

    2. Correct the time zone for the server operating system.

      Run the following command to view the time zone used by the operating system:

      # date -R

      The following information is displayed, indicating that the current time zone is GMT+8.

      Thu, 29 May 2014 11:15:59 +0800

      If the displayed time zone is inconsistent with the actual time zone, perform the following steps to correct it:

      1. Run the following command to query and record the correct time zone as prompted. In this section, Asia/Beijing is used as an example.
        # timedatectl list-timezones
        NOTE:

        Press J to scroll down, K to scroll up, and Ctrl+C to exit.

        [root@eSightServer ~]# timedatectl list-timezones
        Africa/Abidjan
        Africa/Accra
        Africa/Addis_Ababa
        Africa/Algiers
        Africa/Asmara
        Africa/Bamako
      2. Run the following command to back up the old time zone:

        # mv /etc/localtime /etc/localtime.bak

      3. Run the following command to create a soft connection /etc/localtime that points to the Beijing file in the "Asia" directory:

        # timedatectl set-timezone Asia/Beijing

      4. Run the following command to check whether the time zone used by the operating system is correct:

        # timedatectl

    3. Correct the time for the server operating system.
      1. Run the following command to view the current operating system time:

        # date

        The eSight server time is displayed.

        Thu Apr 14 15:42:39 CST 2011
      2. Run the following command to set the system time:

        For example, run the following command to set the system time to 2011-4-14 15:49:30:

        # date -s "2011-4-14 15:49:30"

        The new setting is as follows:

        Thu Apr 14 15:49:30 CST 2011
    4. Run the following commands to restart the server:

      # sync;sync;sync;sync;sync

      # reboot

    5. Start eSight.

      For details about how to start eSight, see Common eSight Operations.

Translation
Download
Updated: 2019-08-03

Document ID: EDOC1100044373

Views: 26704

Downloads: 84

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