SAProuter Installation
- Create the subdirectory SAProuter in the directory /usr/sap/.
- Download the latest version from service.sap.com.
- Copy programs 'saprouter' and 'niping' into the directory /usr/sap/saprouter.
- Add the following lines to the file /users/<SID>adm/startsap_<hostname>_<instance number> before the lines '#Start OS-Collector
daemon'.
---------------------------------------------------------------
#
# Start saprouter
#
SRDIR=/usr/sap/saprouter
if [ -f $SRDIR/saprouter ];then
echo "/nStarting saprouter Daemon " tee -a $LOGFILE
echo " " tee -a $LOGFILE
$SRDIR/saprouter -r -W 30000 -R $SRDIR/saprouttab /
tee -a $LOGFILE &
fi
-----------------------------------------------------------------
This entry automatically starts the SAProuter during the system start and it ensures that the SAProuter is always started. Since the SAProuter should continue to run after R/3 is shut down no respective entry is included in the Stopsap Script. If you boot the R/3 several times, the system displays error messages when the SAProuter is started. You can ignore these error messages. The entry of the SAProuter in the Startup Script is a recommendation.
- However, you can also start the SAProuter manually using saprouter -r
The corresponding routing table must be maintained in
/usr/sap/saprouter/saprouttab.
If you do not want an authorization check use the line 'P * * *'.
来源:http://www.sapsecurityonline.com/oss/saprouter_install.htm