Installation steps of the SAPRouter as Windows NT Service

Setting up the SAProuter as a Windows NT service.

If the Saprouter has already been entered as a service with srvany.exe, the definition of the service from the registry (path: HKLM -> System
-> CurrentControlSet -> Services -> SAPRouter) should first be removed and then the machine should be rebooted.

With the following command you can newly define the service from the command line:
'ntscmgr install SAProuter -b <path>saprouter.exe -p "service -r
<parameter>" '

Replace <path> with the corresponding path to saprouter.exe and <parameter> with any parameters required. It is important that all parameters be in a character string delimited by ".

As of version 25 (3.0E) a route permission table file (SAPROUTTAB) must be specified for the Saprouter. When you want to specify the SAProuttab you consequently must also enter '-R <path>saprouttab' as a <parameter> and create a corresponding SAPROUTTAB (see Note 30289). An installation command could thus be as follows:

ntscmgr install SAPRouter -b c:saproutersaprouter.exe -p "service -r -R c:saprouterSAPROUTTAB"

If no path to SAPROUTTAB is specified, the SAPROUTTAB must be in a directory which is contained in the PATH variable of the NT system environment, thus for example the SYSTEM32 directory of the Windows NT installation. If the SAPROUTTAB should be in a special directory, this path to SAPROUTTAB must be specified.

Proceed as follows after the installation to maintain the general attributes of the service:
  • Go to 'Control Panel -> Services: SAPRouter -> Button: Startup', set the startup type to 'Automatic' and enter a user. The SAPRouter should NOT run under the system account.
     
  • To avoid the error message 'The description for Event ID (0) ...' in the NT Eventviewer you must make the following entries in the Registry. Under:
    HKEY_LOCAL_MACHINE -> SYSTEM -> CurrentControlSet -> Services -> Eventlog -> Application
    enter the following key:      SAPRouter

    Under this, define the two following values:

    EventMessageFile   (REG_SZ)    : <local_path>sapevents.dll
    TypesSupported    (REG_DWORD) :  0x7

    All required files (ntscmgr.exe, saprouter.exe, sapevents.dll) can be found in your usrsap<SID>sysexerun directory.

SAPRouter on a firewall computer:
------------------------------------------------

The NTSCMGR utility creates the SAPRouter Service with predefined dependencies from NT Workstation Service and NT Server Service. If the SAPRouter is to be installed on a firewall and if the Server Service is to be stopped, the dependencies of the SAPRouter need to be adjusted. To do so, open the registry editor (REGEDT32.EXE) and switch to the following subkey:
    HKLMSystemCurrentControlSetServicesSAPRouter
Double-click the parameter DependOnService on the right hand side of the window and delete the entry 'LanmanServer' from the displayed list. Exit the registry editor and restart SAPRouter Service.

2 comments:

Unknown said...

HI,
Thanks for giving installation steps of the sap routers in windows .It's very useful to us and providing online training on sap hana with real time experts
sap hana online training

Laptop said...

Makasih ya infonya bermanfaat.

Boleh dong kunjungan balik ke blog saya,
ditunggu di sini ya : https://slashdot.org/submission/13323430/pt-agres-info-teknologi---toko-komputer-online