Configuring Mapping Between Hostnames and IP Addresses
Scenarios
During the SAP installation, installation programs use hostnames for communication. Therefore, you must configure the mapping between hostnames and IP addresses.
Procedure
- Log in to the jump host. Ensure that user root and the key file are used for authentication. Then, use SSH to switch to the node on which the SAP HANA is to be installed.
- Run the following command to open the hosts file:
vi /etc/hosts
- Write the hostnames and IP addresses of all SAP nodes into the hosts file.
- In the following format, IP-Address is the IP address of the server/client plane for the SAP node.
- Both Full-Qualified-Hostname and Short-Hostname are the node name, for example, hana001.
The format is IP-Address Full-Qualified-Hostname Short-Hostname.
In an SAP system, you must write the mapping between all SAP node IP addresses and node names into the hosts file.
Last Article: Configuring the Switching Between the Jump Host and Other Nodes
Next Article: Modifying OS Configurations
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.