Manager Installation Failure Due to Absence of Local Domain Name in the /etc/hosts File

3

An error occurs during Manager installation.Possible Causes
:The local domain name 127.0.0.1 localhost of the management node is not configured in the /etc/hosts file.
Procedure:1.Log in to a server where the Manager is to be installed as user root on the local PC. When the Manager two-node cluster is installed, log in to the standby management node and repeat the following operations.
2.Open the hosts file:vi /etc/hosts
3.Check whether the file contains 127.0.0.1 localhost. If no, press Insert to enter the editing mode and add 127.0.0.1 localhost to this file. If yes, go to 4.
4.Press Esc to exit the editing mode, and enter :wq to save the configuration and exit.

Other related questions:
How do I delete a local management domain on the SC?
To delete a local management domain on the SC, perform the following operations: 1. Run the system-view command to enter the system view. 2. Run the local-domain command to enter the local-domain view. 3. Run the delete id id command to delete a local management domain. For details, see the HUAWEI SMC2.0 V500R002C00 SC Command Reference Guide.

How do I add a local management domain on the SC?
To add a local management domain on the SC, perform the following operations: 1. Run the system-view command to enter the system view. 2. Run the local-domain command to enter the local-domain view. 3. Run the add name name type type content content [description description] command to add a local management domain. For details, see the HUAWEI SMC2.0 V500R002C00 SC Command Reference Guide.

Firewall IP HOST configuration
The IP host configuration of the firewall is as follows: You can set the host name and corresponding IP address through the ip host command. Each host name corresponds to only one IP address. If you configure the same host name for multiple times, the IP address configured later takes effect. Set the IP address corresponding to host name www.123.com to 10.110.0.1. system-view [sysname] ip host www.123.com 10.110.0.1

How can I display local management domains on the SC?
To display local management domains on the SC, perform the following operations: 1. Run the display command to go to the display view. 2. Run the local-domain command to display all local management domains. For details, see HUAWEI SMC2.0 V500R002C00 SC Command Reference Guide.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top