Changing Hostname of SAP System
Changing Hostname of SAP System
You need to change (amongst other things) profile c:\windows\system32\drivers\etc\hosts registry keys (for SAP + Oracle) users (OPS$) shares (SAPMNT etc.) Oracle database
See Note 8307 - Changing host name on R/3 host: What do you do?: http://... Solution !!! Changing the name of a host server in a production R/3 System !!! ! !! is not automatically supported by SAP. !!! !!! Should you wish to change the host name of a server in a test !!! !!! system, you should do so only with the a ssistance of an SAP !!! !!! consultant. !!! This note must be seen as a "frame". Because development in this area is continu ing, SAP can never guarantee completeness of this note !! Be aware, that a DB reconfiguration might be necessary. On Windows NT the change of the hostname requires the installation of a new SAP license !! http://... Please refer to note 8307 for step by step procedure. and here is my personal document i have prepared after successfull execution of this activity. SAP profile ( Instance, Start and Default profile) will be changed, Registry entry ( if you are using NT), TNSNAMES and Listner file, TPPARAM file etc. 1. Stop the SAP and Oracle 2. Chnage the Host name and IP address cysoft4 cytest 3. Change the Profile parameter ( <drive> \usr\sap\SID\SYS\profile ) name ( Start and instance profile) and change the inside where the old host name. 4. Change the envirinment variable ( SAPLOCALHOST) 5. Go to registry and find the old host name and change with new host name HK CURRENTUSER / ENVIROMENT HKEYLOCALMACHINE / software / sap / dev / environment HKEYLOCALMACHINE / system / controlset001 services / sapdev_00 6. Change the tnsnames and listener ( <drive> \oahome\netw rk\admin) 7. Change the TPPARAM file and open all the files in \usr\sap\trans\bin and change the old hostname with new hostname 8. Goto Oracle enterprise manager and change the OS user ID and SAP service user ID Please check Services after changing all these. Start all the service which
are required to start. Start the oracle first and then SAP. - All connected external systems must know the new server name (e. g. Fax, Archi ving, BI/BW, CRM, Portal, XI, backup software, SMTP-Server...) - All RFCs of connected systems must be changed accordingly to reflect the new h ostname settings - DNS settings must be changed (if they use DNS) - Entries in saplogon.ini (SAPlogon) must reflect the new server name - If the server is a member of an Active Directory Domain additional steps have to be done (theres a document on the MS site I cant find yet unfortunately) Go through both and perform the same.