on 02-24-2012 6:17 AM
I've asked similar question before, but this is different enough for me to warrant another thread.
We're deploying a new SAP environment on SLES.
Currently we're deploying with a single NIC and a single IP with the AHOST record and PTR record pointing to the hostname. However, the SAP virtual name (e.g., devecc1) is a CNAME dns record to the hostname AHOST. Which means, the reverse lookup for devecc1 would return "hostname".
During the installation this will yell at you, therefore, we add the virtual name to the hosts file.
Is this the correct way to do it?
Or do you have 2 NIC's and 2 IP's.
One NIC for the hostname + ip address
One NIC for the virtualname + ip address
Or do you have 1 NIC with 2 IP's one being an Alias
One NIC for hostname + ip address
One Alias for virtualname + ip address
and if you do that, how do you ensure that SAP is listening on the correct interface?
Thank you for any help in advance.
Hello,
Please check...
124562 Hostname resolution problems (DNS timeouts)
1624061 Use of virtual TCP/IP host names
129997 Hostname and IP address lookup
regards,
John Feely
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Ben!
I believe that if you delete the CNAME entry at the DNS, and create the AHOST and PTR records for the virtual hostname as well, then it should work.
Best regards,
Isaias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Ben,
You're welcome!
Yes, you are correct.
SAP also uses reverse lookups.
Maybe it would be better if you have another IP address (a "virtual IP address") assigned to the virtual hostname. This way both the hostname and the virtual hostname will have their own AHOST and PTR records, and one will not influence at the other.
Then, at the SAP profiles, you just need to point the below parameters to the virtual hostname (wherever this would be appropriate), and you should be fine.
SAPLOCALHOST
SAPLOCALHOSTFULL
SAPGLOBALHOST
Regards,
Isaias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.