Show TOC

Installing Replication Agent for SAP HANA Container as a Windows Service Using the GUILocate this document in the navigation structure

Use the Replication Agent for SAP HANA Control Center GUI to install a container as a Windows service.

Procedure

  1. On a Windows machine, navigate to Start of the navigation path Start Next navigation step All Programs Next navigation step Accessories End of the navigation path.
  2. Right-click on the Command Prompt and select the Run as Administrator menu item.
  3. Enter the Replication Agent for SAP HANA Control Center GUI startup script batch file name:
    HANARAXCC.cmd
  4. Once the Replication Agent for SAP HANA Control Center GUI starts:
    1. Right-click on the RAXContainer under the Known Agents in the Agent Servers pane.
    2. Select the Install Server RAXContainer As a Windows Service menu item.

    where RAXContainer is the name of your Replication Agent for SAP HANA server.

    The Install Server RAXContainer As a Windows Service menu item is disabled, when the:
    • Container is installed as a Windows service
    • User does not have the administrative privileges
  5. After a successful installation, a dialog is displayed indicating the Windows service was created. Click OK.

    Replication Agent for SAP HANA creates an <yourcontainername>.ini file in the instances\config directory.

    This .ini file contains the configuration information required by the Windows service to start the container.

    A sample .ini file:
    [JavaOptions]
    jvmDLL=C:\test\rah\Shared\SAPJRE-7_1_011_64BIT\bin\server\jvm.dll
    mainClass=com/sap/rahana/util/winservice/Service
    exePath=C:\Users\I825357\Documents\rsngdev\gitrepo\rah\hanarax\native\
    bin\amd64\ContainerService.exe
    classPath=.\libs\container\container-1.0-SNAPSHOT.jar;.\libs\container\
    common-1.0-SNAPSHOT.jar;.\bin\hana_runtime-1.0.jar;.\bin\hana_runtime.jar;.
    \libs\cryptoj.jar;.\libs\cryptojce.jar;.\libs\cryptocommoon.jar;.
    \libs\jcip-annotations.jar;.\libs\jconn4.jar;.
    \libs\jTDS3.jar;C:\git\hanarax\libs\ngdbc.jar;.
    \libs\container\spring\spring-beans-3.2.5.RELEASE.jar;.
    \libs\container\spring\spring-core-3.2.5.RELEASE.jar;.
    \libs\container\derby\derby.jar;.\libs\container\derby\derbynet.jar;.
    \libs\container\sysam\sylapi.jar;.\libs\container\csi\commons-pool-1.6.jar;.
    \libs\container\csi\csi-core.jar;.\libs\container\csi\csi-ldap.jar;.
    \libs\container\csi\csi-nativeos.jar;.\libs\container\xbean-spring-3.6.jar;.
    \libs\container\commons-logging-1.1.jar;.\libs\container\xercesImpl.jar;.
    \libs\container\xml-apis.jar;.\libs\container\commons-lang-2.6.jar
    javaHeap=-Xmx2g -Xms2g -XX:MaxPermSize=512m
    numberOfOptions=8
    jvmoption1=-XX:+UseConcMarkSweepGC
    jvmoption2=-XX:+CMSIncrementalMode
    jvmoption3=-XX:+CMSIncrementalPacing
    jvmoption4=-XX:MaxTenuringThreshold=30
    jvmoption5=-XX:+CMSClassUnloadingEnabled
    jvmoption6=-Djava.security.policy=.\config\java.policy
    jvmoption7=-Dlog.directory=.\logs
    jvmoption8=-Djava.util.logging.manager=com.sybase.rs.container.logger.BridgedLogManager
    [HRAXOptions]
    containerName=RAXContainer
    workingDirectory=C:\Users\I825357\Documents\rsngdev\gitrepo\rah\hanarax
    serviceLog=C:\Users\I825357\Documents\rsngdev\gitrepo\rah\hanarax\instances\RAXContainer\logs\WindowsService.log
    ##################################################################
    ## Enable this to see Debugging Messages
    ## debug=true
    ## Enable this to pause the Service allowing the attaching of a debugger (in ms)
    ## startDelay=15000
    #################################################################