Wednesday, 18 September 2019

What to do Changing host name on SAP R/3 host


To do Changing host name on SAP R/3 host.

Before changing host name perform in R/3:

finish all jobs and cancel already released jobs
(use transaction SM37; reason: after change of host name they have to be rescheduled with new host name)
check SM13 for any outstanding update requests and either post resp. delete them (errorneous ones)


  • stop R/3 and database
  • Actions in Operating system: UNIX host:

1. user root:

a) change host name in /etc/hosts:
CAUTION: If Yellow Pages or Name Server active change the host name in the corresponding location !

b) If old host name = system name, this must also be changed to the new host name:
check by command: uname -a
change as user root

c) Windows NT (not feasible for a domain PDC or BDC):

  • adapt network settings in the control panel
  • adapt IP name resolution resources (DNS, HOSTS file, LMHOSTS file)
  • adapt SAP service definitions in the registry
  • adapt enviroment settings for interactive session and for R/3 kernel in the registry


2. user adm on UNIX host:

a) Adapt Instance-Profiles:

  • cd /usr/sap//SYS/profile
  • check R/3 profiles: _DVEBMGS00, DEFAULT.PFL and START_DVEBMGS00


NOTE: It is assumed that instance profile maintenance is not performed with CCMS ! (see topic 6.) The following is valid for ORACLE only: For other databases please adapt accordingly.

b) User adm and ora:

  • check by "env" if variable TWO_TASK has been set
  • check profiles .cshrc and .kshrc, .dbenv.csh and .dbenv.sh


c) User adm:
change name of:

  • startsap__00 --> startsap__00
  • stopsap__00 --> stopsap__00
  • change alias for "stopsap" and "startsap" in .cshrc and .kshrc


3. Work on your front ends (most PC's):

a) update HOSTS-File
b) adapt SAPLOGON/SAPGUI configurations
c) adapt configuration of external RFC application

4. Further adaptions:
a) configuration files:

  • /usr/sap/trans/.sapconf
  • /etc/sapconf

b) environment for transport and put:
/usr/sap/trans/bin: TPPARAM
check: tp connect must be ok
/usr/sap/put/bin : TPPARAM or similar (if present).



EmoticonEmoticon

Note: only a member of this blog may post a comment.