In our disaster recovery procedure, we will activate a stand-by database located to another host than the production servers. In order not to change the hostname/IP address, we are thinking on the following processes:
What I usually do it set up the hostname different
from the hostname as known by SAP.
a) primary = unix01
b) failover = unix02 Hostname as known to SAP = unix03 (in all profiles, etc.)
That way, nothing within SAP has to be reconfigured once you failover.
Users will be told to contact unix03 which will be associated with either the primary or failover depending on the situation.
Be sure to check out the SAP parameters (for the main profile):
gw/alternative_hostnames = unix01,unix02,unix03
SAPLOCALHOST = unix03
SAPLOCALHOSTFULL = unix03
In the sidadm home directory you will need
since the alias is configured to look for the physical hostname.
Keep in mind that if you ever do an upgrade, you will also need startsap_unix03_01, and stopsap_unix03_01 since the upgrade program is configured to start and stop the system in this way. Hope this helps!
This was first published in May 2002