Configuring the SAP callback daemon to start at system statup from Linux command line interface
- From the Linux command line, verify that you can ping the SAP server by host name:
ping -c3 hostname
where
hostname
is the unqualified name for the SAP server, such assapsrv
.If you cannot ping the SAP server by the host name, edit the
/etc/hosts
file and add the host name and the IP address of the SAP server (for example,192.168.11.109 sapsrv
). - Start the SAP callback daemon. See Starting the SAP callback daemon on Linux.
- Create new startup script
/var/pd/sapcb.SystemName/startup.sh
for this callback daemon where SystemName is the three character SAP system name. Make sure that the/var/pd/sapcb.SystemName/startup.sh
is an executable and that it is owned by theauthorized user
and by the groupsys
. The script should contain:#!/bin/bash /usr/lpp/pd/bin/startcbd SystemName HostName InstanceID User \ Client Password Language if [ $? -eq 0 ] then exit 0 else exit 1 fi
Note: For more information, see Defining an SAP user for the OMS callback daemon or process.Specify the same values you used in Collecting information necessary to start an SAP callback daemon or process.
- Add the
/var/pd/sapcb.SystemName/startup.sh
command to the/etc/rc.iprsap.daemons
file. - To start the SAP callback daemon, see Starting the SAP callback daemon on Linux.