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).
Starting and Stopping the eSight Server (SUSE Linux Single-Node or Distributed System)

Starting and Stopping the eSight Server (SUSE Linux Single-Node or Distributed System)

This section describes how to start and stop the single-node eSight server or distributed system on Linux. The startup operations include secure power-on, database startup, and eSight service startup. The stop operations include eSight service stopping, database stopping, and secure power-off.

Powering On the Server Safely

Power on the Huawei 2288H V5 or RH5885H V3 on condition that the power supply is normal.

Prerequisites
  • Ensure that the power cables and ground cables are securely connected with correct polarity and good contact.
  • The cabinet where the server resides has been powered on.
Procedure
  1. Power on the 2288H V5 or RH5885H V3 server.
  2. Press the power buttons on the peripherals and monitor connected to a server.
  3. Wait 2 to 3 minutes. When the green indicator on the front panel of the server blinks every 1s, press the power button on the shelf of the server.

    NOTE:

    If the power button is steady on, the server has been successfully powered on. For details about Huawei server indicators, see the manual for Huawei servers or log in to the official Huawei website.

    Figure 3-3 shows the power button of the 2288H V5 server.

    Figure 3-3 2288H V5 power button

    Figure 3-4 shows the power button of the RH5885H V3 server.

    Figure 3-4 RH5885H V3 power button

Starting the Database

Before starting eSight, start the database.

Context
  • If the Oracle database is configured to start automatically, the Oracle database automatically starts with the operating system.
NOTE:

During delivery, the pre-installed Oracle database has been configured to automatically start with the operating system.

  • You do not need to manually start the MySQL database because it automatically starts with eSight.
Procedure
  1. Log in to the Oracle database server as the oracle user.
  2. Start the database.

    1. Connect to the database.

      > sqlplus / as sysdba

      The Oracle server connects to the database if the following information is displayed:

      SQL*Plus: Release 11.2.0.4.0 Production on Wed Dec 24 16:05:14 2014 
       
      Copyright (c) 1982, 2013, Oracle.  All rights reserved. 
       
       
      Connected to: 
      Oracle Database 11g Release 11.2.0.4.0 - 64bit Production     
    2. View the database status.

      SQL> select INSTANCE_NAME, STATUS from v$instance;

      The database is started if the following information is displayed:

      INSTANCE_NAME                      STATUS  
      -------------------------------- ------------------------  
      esight                                      OPEN      
    3. If the database is closed and you cannot access the database, run the following command to start the database.

      SQL> startup

      The database is started when the following information is displayed:

      ORACLE instance started. 
       
      Total System Global Area 8250933248 bytes 
      Fixed Size                  2244752 bytes 
      Variable Size            4227862384 bytes 
      Database Buffers         4009754624 bytes 
      Redo Buffers               11071488 bytes 
      Database mounted. 
      Database opened.
    4. Quit the SQL command line.

      SQL> exit

  3. Start the listener.

    1. Check the listener status.

      > lsnrctl status ESIGHTLISTENER

      The listener is started if the following information is displayed:

      LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 07-MAY-2015 03:38:13 
       
      Copyright (c) 1991, 2013, Oracle.  All rights reserved. 
       
      Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=REGISTER))) 
      STATUS of the LISTENER 
      ------------------------ 
      Alias                     ESIGHTLISTENER 
      Version                   TNSLSNR for Linux: Version 11.2.0.4.0 - Production 
      Start Date                07-MAY-2015 03:37:23 
      Uptime                    0 days 0 hr. 0 min. 49 sec 
      Trace Level               off 
      Security                  ON: Local OS Authentication 
      SNMP                      OFF 
      Listener Parameter File /opt/oracle/product/11.2.0/db_1/network/admin/listener.ora 
      Listener Log File         /opt/oracle/diag/tnslsnr/eSightServer/esightlistener/alert/log.xml 
      Listening Endpoints Summary... 
        (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=REGISTER))) 
        (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=31521))) 
      Services Summary... 
      Service "esight" has 1 instance(s). 
        Instance "esight", status UNKNOWN, has 1 handler(s) for this service... 
      The command completed successfully 
           
    2. If the listener is not started, run the following command to start the listener.

      > lsnrctl start ESIGHTLISTENER

      The listener is started if the following information is displayed:

      LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 07-MAY-2015 07:33:37 
       
      Copyright (c) 1991, 2013, Oracle.  All rights reserved. 
       
      Starting /opt/oracle/product/11.2.0/db_1/bin/tnslsnr: please wait... 
       
      TNSLSNR for Linux: Version 11.2.0.4.0 - Production 
      System parameter file is /opt/oracle/product/11.2.0/db_1/network/admin/listener.ora 
      Log messages written to /opt/oracle/diag/tnslsnr/eSightServer/esightlistener/alert/log.xml 
      Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=REGISTER))) 
      Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=31521))) 
       
      Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=REGISTER))) 
      STATUS of the LISTENER 
      ------------------------ 
      Alias                     ESIGHTLISTENER 
      Version                   TNSLSNR for Linux: Version 11.2.0.4.0 - Production 
      Start Date                07-MAY-2015 07:33:37 
      Uptime                    0 days 0 hr. 0 min. 0 sec 
      Trace Level               off 
      Security                  ON: Local OS Authentication 
      SNMP                      OFF 
      Listener Parameter File /opt/oracle/product/11.2.0/db_1/network/admin/listener.ora 
      Listener Log File         /opt/oracle/diag/tnslsnr/eSightServer/esightlistener/alert/log.xml 
      Listening Endpoints Summary... 
        (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=REGISTER))) 
        (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=31521))) 
      Services Summary... 
      Service "esight" has 1 instance(s). 
        Instance "esight", status UNKNOWN, has 1 handler(s) for this service... 
      The command completed successfully     

Starting eSight

This section describes how to start eSight.

Prerequisites

The Oracle database has been started.

Context

By default, the eSight service automatically starts with the operating system.

NOTE:

The methods for setting the eSight startup mode on the Linux operating system are as follows:

  • Run the chkconfig eSightService off 2>/dev/null command as the root user to disable eSight automatic startup.
  • Run the chkconfig eSightService on 2>/dev/null command as the root user to enable eSight automatic startup.
Procedure
  1. Start the eSight service.

    1. Log in to the eSight server as the ossuser user.
    2. Run the following commands to start the eSight service.

      > cd eSight installation directory/bin

      > ./startup.sh

      When the status of every process is RUNNING and "starting eSight system succeeded" is displayed, the eSight service has been started.

Stopping the eSight Service

This topic describes how to stop the eSight service.

Procedure
  1. Stop the eSight service.

    1. Log in to the eSight server as the ossuser user.
    2. Run the following commands to stop the eSight service.

      > cd eSight installation directory/bin

      > ./shutdown.sh

      Are you sure you want to stop the system? (Please enter y or n):     
    3. Enter Y and press Enter.

      When the status of every process is STOPPED and stopping eSight system succeeded. is displayed, the eSight service has been stopped.

  2. Optional: If the NTC is installed on a different host, manually stop the NTC service.

    1. Log in to the NTC server as the ossuser user.
    2. Run the following commands to stop the NTC service.

      > cd eSight installation directory/bin

      > ./shutdown.sh

      When the status of every process is STOPPED and stopping eSight system succeeded. is displayed, the NTC service has been stopped.

Shutting Down the Database

Before shutting down the database, stop the eSight service.

Prerequisites

The eSight service must have been stopped.

Procedure
  1. Log in to the Oracle database server as the oracle user.
  2. Stop the database.

    1. Connect to the database.

      > sqlplus / as sysdba

      The Oracle server connects to the database if the following information is displayed:

      SQL*Plus: Release 11.2.0.4.0 Production on Wed Dec 24 16:05:14 2014 
       
      Copyright (c) 1982, 2013, Oracle.  All rights reserved. 
       
       
      Connected to: 
      Oracle Database 11g Release 11.2.0.4.0 - 64bit Production     
    2. View the database status.

      SQL> select INSTANCE_NAME, STATUS from v$instance;

      The database is started if the following information is displayed:

      INSTANCE_NAME                      STATUS  
      -------------------------------- ------------------------  
      esight                                      OPEN      
    3. Run the following command to stop the Oracle database:

      SQL> shutdown immediate

      If the following information is displayed, the Oracle database is already stopped.

      Database closed. 
      Database dismounted. 
      ORACLE instance shut down.
    4. Quit the SQL command line.

      SQL> exit

  3. Start the listener.

    1. Check the listener status.

      > lsnrctl status ESIGHTLISTENER

      The listener is started if the following information is displayed:

      LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 07-MAY-2015 07:32:56 
       
      Copyright (c) 1991, 2013, Oracle.  All rights reserved. 
       
      Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=REGISTER))) 
      STATUS of the LISTENER 
      ------------------------ 
      Alias                     ESIGHTLISTENER 
      Version                   TNSLSNR for Linux: Version 11.2.0.4.0 - Production 
      Start Date                07-MAY-2015 05:36:35 
      Uptime                    0 days 1 hr. 56 min. 21 sec 
      Trace Level               off 
      Security                  ON: Local OS Authentication 
      SNMP                      OFF 
      Listener Parameter File /opt/oracle/product/11.2.0/db_1/network/admin/listener.ora 
      Listener Log File         /opt/oracle/diag/tnslsnr/eSightServer/esightlistener/alert/log.xml 
      Listening Endpoints Summary... 
        (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=REGISTER))) 
        (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.137.62.83)(PORT=31521))) 
      Services Summary... 
      Service "esight" has 1 instance(s). 
        Instance "esight", status UNKNOWN, has 1 handler(s) for this service... 
      The command completed successfully 
           
    2. Run the following command to stop the listener.

      > lsnrctl stop ESIGHTLISTENER

      If the following information is displayed, the listener is already stopped.

      LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 16-MAY-2015 17:04:10 
       
      Copyright (c) 1991, 2013, Oracle.  All rights reserved. 
       
      Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=REGISTER))) 
      The command completed successfully     

Powering Off the Server Safely

Before shutting down the server, you need to stop the eSight service process and database.

Prerequisites

Before powering off the server, ensure that:

  • The eSight service has been stopped.
  • The database has been stopped.
Procedure
  1. Log in to the eSight server as the root user.

    NOTE:

    If the Linux operating system is hardened, you need to remotely log in to the server as the ossuser user and switch to the root user.

  2. Run the following commands to shut down the operating system:

    # sync;sync;sync;sync

    # shutdown -h now

  3. Turn off the power supply of the external device and monitor of the server.
Translation
Download
Updated: 2019-06-30

Document ID: EDOC1100044373

Views: 24758

Downloads: 74

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