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

FusionInsight HD 6.5.0 Administrator 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).
Disabling HTTP Port 8080

Disabling HTTP Port 8080

Scenario

The HTTP protocol interface is reserved in Tomcat to facilitate access. If a user accesses FusionInsight Manager using an HTTP network address, the user is redirected to the HTTPS network address. To disable the HTTP network address, perform the following operation.

Impact on the System

During the operation, Tomcat on the active management node needs to be restarted. During the restart, FusionInsight Manager is temporarily interrupted. You do not need to restart Tomcat on the standby management node.

Prerequisites

Prepare a valid storage location for backing up related files for restoring the HTTP configuration.

Procedure

  1. Use PuTTY to log in to the active management node using the active management IP address as user omm.
  2. Run the following command to go to the related directory:

    cd ${BIGDATA_HOME}/om-server/tomcat/conf

  3. Back up the Tomcat configuration file server.xml, run the following command to modify the Tomcat configuration file as prompted, and save the file and exit. The configuration file will be automatically synchronized to the standby management node.

    vi server.xml

    Delete the following configuration items from the configuration file:

    <Connector port="8080" address="10.1.0.1"  
    protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="28443" sslProtocol="TLS"  
    sslEnabledProtocols="xxxxxx" xpoweredBy="false"  
    server="FusionInsight" maxHttpHeaderSize="8192" maxPostSize="10240"/>

  4. Run the following command to configure permissions for the server.xml file:

    chown omm:wheel server.xml

    chmod 600 server.xml

  5. Run the following command to go to the related directory:

    cd ${BIGDATA_HOME}/om-server/tomcat/bin

  6. Run the following command to stop Tomcat:

    sh shutdown.sh

  7. Run the following command to start Tomcat:

    sh startup.sh

    The command is run successfully if the following information is displayed. Tomcat automatically performs initialization after startup.

    Tomcat started.

  8. After the HTTP network address is disabled, you need to use the complete https address https://WebService floating IP address of FusionInsight Manager system:28443/web to log in to FusionInsight Manager.

    NOTE:

    To enable HTTP port 8080, use the file backed up in Step 3 to restore the HTTP configuration so that http://WebService floating IP address of FusionInsight Manager system:8080/web can be used to log in FusionInsight Manager. Other steps are the same as those for disabling HTTP port 8080.

Download
Updated: 2019-05-17

Document ID: EDOC1100074522

Views: 5951

Downloads: 12

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