Run the FCS Synchronization Server on Windows
To run the FCS Synchronization Server on Windows:
FCS Startup Script Sample Code (Windows)
The following is sample code for the ENOFCSSyncServer script on Windows. You will need to change the variables in the sample code to match your setup/environment:
CSR\OS\code\bin\ENOFCSSyncServer.bat -user EV6ADM -password EV6PASSWD -maxRetries 5 -maxSyncRunnerThreads 10 -rulesCheckSecondElapse 10 -ruleFiles E:\PATH_TO_RULES_FILE\rules.xml
A dedicated logger (name: FCS.FCSSyncDaemon) must be configured in the logback.xml file in order to enable FCS Sync Server logs.
Example with a logpath “/tmp/” and logSize “50MB”:
<appender name="ROLLING-FCSSyncDaemon" class="ch.qos.logback.core.rolling.RollingFileAppender"> <file>/tmp/fcssyncd0.out</file> <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"> <fileNamePattern>/tmp/fcssyncd%i.out</fileNamePattern> <minIndex>1</minIndex> <maxIndex>2</maxIndex> </rollingPolicy> <triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"> <maxFileSize>50MB</maxFileSize> </triggeringPolicy> <encoder> <pattern> [%d{yyyy-MM-dd HH:mm:ss.SSS,GMT} GMT - %logger{64} - [%thread] - %-5level]: %msg%n </pattern> </encoder> </appender> <logger name=" FCS.FCSSyncDaemon " level="INFO" additivity="false"> <appender-ref ref="ROLLING-FCSSyncDaemon" /> </logger>
To avoid mismatches with other processes such as Tomee, use a dedicated logback.xml file for the FCS Sync Server:
Copy the original logback.xml file and rename it as fcssyncserver_logback.xml for example.
Before launching the bat ENOFCSSyncServer.(bat/sh), set the variable below in order to provide logback code infrastructure where to find the configuration file:
Windows example: set
MXMRUN_JAVAOPTS=-Dlogback.configurationFile=logback_conf_file_path\fcssyncserver_logback.xml
Unix example: export
MXMRUN_JAVAOPTS=-Dlogback.configurationFile=logback_conf_file_path/fcssyncserver_logback.xml