Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
@@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=Start/Stop MAK RTI for TDS
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStart=/opt/NGS/makRti4.5-conf/ctc_mak_rti_systemd start
|
||||
ExecStop=/opt/NGS/makRti4.5-conf/ctc_mak_rti_systemd stop
|
||||
ExecReload=/opt/NGS/makRti4.5-conf/ctc_mak_rti_systemd restart
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
#!/bin/sh
|
||||
|
||||
. /etc/rc.status
|
||||
|
||||
# Reset status of this service
|
||||
rc_reset
|
||||
bin_dir=/opt/NGS/makRti4.5/bin/
|
||||
conf_dir=/opt/NGS/makRti4.5-conf/
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
export RTI_ASSISTANT_DISABLE=1
|
||||
${bin_dir}/rtiexec -R ${conf_dir}/rid.mtl &
|
||||
# ${bin_dir}/rtiForwarder -R ${conf_dir}/rid.mtl -t 192.168.133.147 -T 4001 -A 229.7.7.7 -P 4000 -N 192.168.133.147 -M -D 5050 &
|
||||
${bin_dir}/rtiForwarder -R ${conf_dir}/rid.mtl -t 192.168.99.100 -T 4001 -A 229.7.7.7 -P 4000 -N 192.168.99.100 -M -D 5050 &
|
||||
;;
|
||||
stop)
|
||||
ps -ef | grep rtiForwarder | awk '$0 !~ /grep/ {system("kill "$2)}'
|
||||
ps -ef | grep rtiexec | awk '$0 !~ /grep/ {system("kill "$2)}'
|
||||
;;
|
||||
restart)
|
||||
## Stop the service and regardless of whether it was
|
||||
## running or not, start it again.
|
||||
$0 stop
|
||||
$0 start
|
||||
|
||||
# Remember status and be quiet
|
||||
rc_status
|
||||
;;
|
||||
*)
|
||||
echo "Usage: $0 {start|stop|restart|}"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
rc_exit
|
||||
|
||||
|
||||
+161
@@ -0,0 +1,161 @@
|
||||
;; RID File generated with MAK RTI version: 4.5 HLA 1.3
|
||||
;; Compiler: GNU C++ version 4.8.5 20150623 (Red Hat 4.8.5-11)
|
||||
|
||||
(setqb RTI_IOPeriod 0.1)
|
||||
(setqb RTI_addressDelay 1)
|
||||
(setqb RTI_autoProvideDelay -1)
|
||||
(setqb RTI_discoveryMsgBundlingDelay 0)
|
||||
(setqb RTI_execMcastDiscoveryDelay 1)
|
||||
(setqb RTI_federateHeartbeatInterval 10)
|
||||
(setqb RTI_federateTimeoutInterval 25)
|
||||
(setqb RTI_flushTimeoutInterval 3)
|
||||
(setqb RTI_forwardingDelay 3)
|
||||
(setqb RTI_lrcMcastDiscoveryDelay 3)
|
||||
(setqb RTI_peerForwarderReconnectDelay 3)
|
||||
(setqb RTI_receiveTolerance 0)
|
||||
(setqb RTI_responseInterval 3)
|
||||
(setqb RTI_sharedMemoryMgrMaxWait 0)
|
||||
(setqb RTI_tickWaitPeriod 0)
|
||||
(setqb RTI_transmitDelay 0)
|
||||
(setqb RTI_transmitRate 0)
|
||||
(setqb RTI_IOQueueIndicator 0)
|
||||
(setqb RTI_allProvideUpdateRequestsDelayed 0)
|
||||
(setqb RTI_attributeRelevanceAdvisorySwitch 0)
|
||||
(setqb RTI_attributeScopeAdvisorySwitch 0)
|
||||
(setqb RTI_autoProvideSwitch 0)
|
||||
(setqb RTI_automaticNameReserveEnabled 0)
|
||||
(setqb RTI_bestEffortSendRetries 50)
|
||||
(setqb RTI_bestEffortSendRetryWaitUsec 50)
|
||||
(setqb RTI_catchFedAmbExceptions 1)
|
||||
(setqb RTI_checkFlag 0)
|
||||
(setqb RTI_configureConnectionWithRid 1)
|
||||
(setqb RTI_conveyOnlyAvailableDimensions 0)
|
||||
(setqb RTI_conveyProducingFederateSwitch 1)
|
||||
(setqb RTI_conveyRegionDesignatorSwitch 0)
|
||||
(setqb RTI_crcCheckFedFile 0)
|
||||
(setqb RTI_dataDistMgmt 1)
|
||||
(setqb RTI_ddmFixedGrid 0)
|
||||
(setqb RTI_delaySubscriptionEvaluationSwitch 0)
|
||||
(setqb RTI_deleteOrphans 1)
|
||||
(setqb RTI_detachNotifyLevelFromStdOut 2)
|
||||
(setqb RTI_disableUnlicensedForTwo 0)
|
||||
(setqb RTI_distributeFedFile 1)
|
||||
(setqb RTI_distributeFedFileAsynchronously 0)
|
||||
(setqb RTI_distributedForwarderPort 5000)
|
||||
(setqb RTI_distributedUdpForwarderMode 0)
|
||||
(setqb RTI_dualTransmitFirstInteractionRegions 0)
|
||||
(setqb RTI_dumpFed 0)
|
||||
(setqb RTI_dumpRid 1)
|
||||
(setqb RTI_enableBestEffortSendRetry 1)
|
||||
(setqb RTI_enableCheckVersion 1)
|
||||
(setqb RTI_enableFederateHeartbeat 0)
|
||||
(setqb RTI_enableFedexMsgRouting 1)
|
||||
(setqb RTI_enableFomBackwardsCompatibility 0)
|
||||
(setqb RTI_enableHlaObjectNamePrefix 0)
|
||||
(setqb RTI_enableLRCNetworkStatisticsMonitoring 1)
|
||||
(setqb RTI_enableMessageThrottling 0)
|
||||
(setqb RTI_enableNameReservation 1)
|
||||
(setqb RTI_enableNetworkTesting 1)
|
||||
(setqb RTI_enablePacketBundling 1)
|
||||
(setqb RTI_enableSaveRestoreWhenUsingRtiexec 1)
|
||||
(setqb RTI_enableSharedMemoryExecEventLog 0)
|
||||
(setqb RTI_enableTcpCompression 0)
|
||||
(setqb RTI_enableTcpSmartForwarding 0)
|
||||
(setqb RTI_enableUdpCompression 0)
|
||||
(setqb RTI_enableUdpSmartForwarding 0)
|
||||
(setqb RTI_enableUpdateRateReduction 0)
|
||||
(setqb RTI_enableWarningsForDisabledServices 1)
|
||||
(setqb RTI_exceptionReportingSwitch 0)
|
||||
(setqb RTI_extend13and1516interop 1)
|
||||
(setqb RTI_federateReconnectPause 5)
|
||||
(setqb RTI_fomDataTransportTypeControl 0)
|
||||
(setqb RTI_fomModuleMerging 1)
|
||||
(setqb RTI_fomModuleSorting 1)
|
||||
(setqb RTI_forceFullCompliance 0)
|
||||
(setqb RTI_forceUnlicensedForTwo 0)
|
||||
(setqb RTI_fullFedFileDistribution 0)
|
||||
(setqb RTI_interactionRelevanceAdvisorySwitch 1)
|
||||
(setqb RTI_internalMsgReliableWhenUsingRtiexec 1)
|
||||
(setqb RTI_internalMsgSmartForwardingWhenUsingRtiexec 1)
|
||||
(setqb RTI_lrcMinidumperLevel 0)
|
||||
(setqb RTI_maxForwarderQueue -1)
|
||||
(setqb RTI_maxIOCount 50000)
|
||||
(setqb RTI_maxIOQueue 500000)
|
||||
(setqb RTI_maxNumFederates 511)
|
||||
(setqb RTI_maxUdpPacketSize 15000)
|
||||
(setqb RTI_mcastDiscoveryEnabled 0)
|
||||
(setqb RTI_mcastDiscoveryPort 6001)
|
||||
(setqb RTI_mcastDiscoveryTries 3)
|
||||
(setqb RTI_mcastTtl 2)
|
||||
(setqb RTI_momEvokeCallbackObserverEnabled 0)
|
||||
(setqb RTI_momExceptionLogging 0)
|
||||
(setqb RTI_momFederateUpdateInterval 0)
|
||||
(setqb RTI_momServiceAvailable 0)
|
||||
(setqb RTI_momVerboseLevel 0)
|
||||
(setqb RTI_nextEventRequestAndRetractServiceEnabled 1)
|
||||
(setqb RTI_notifyLevel 4)
|
||||
(setqb RTI_objectClassRelevanceAdvisorySwitch 1)
|
||||
(setqb RTI_packetBundlingSize 1400)
|
||||
(setqb RTI_peerForwarderReconnectNumberOfTries 3)
|
||||
(setqb RTI_preferLocalFomModules 0)
|
||||
(setqb RTI_preferRidToFedSwitchTable 1)
|
||||
(setqb RTI_processUnknownUpdatesForDiscovery 1)
|
||||
(setqb RTI_processingModel 1)
|
||||
(setqb RTI_reconnectEnabled 0)
|
||||
(setqb RTI_resignResponseEnabled 0)
|
||||
(setqb RTI_reuseLogFile 0)
|
||||
(setqb RTI_reuseReleasedObjectHandles 0)
|
||||
(setqb RTI_ridConsistencyChecking 0)
|
||||
(setqb RTI_routeToAllByDefault 0)
|
||||
(setqb RTI_rtiExecPerformsLicensing 0)
|
||||
(setqb RTI_rtiExecReconnectPause 4)
|
||||
(setqb RTI_saveRestoreTimeout 120)
|
||||
(setqb RTI_saveTransientMessages 0)
|
||||
(setqb RTI_sendDiscoveredClass 1)
|
||||
(setqb RTI_serviceReportingSwitch 0)
|
||||
(setqb RTI_sharedMemoryMode 0)
|
||||
(setqb RTI_sharedMemoryQueueLength 1000)
|
||||
(setqb RTI_singleCallbackPerTick 0)
|
||||
(setqb RTI_smartForwardingLevel 0)
|
||||
(setqb RTI_socketReceiveBufferSize 2000000)
|
||||
(setqb RTI_socketSendBufferSize 2000000)
|
||||
(setqb RTI_strictFomChecking 1)
|
||||
(setqb RTI_strictHLA1516eAttributeOwnershipUnavailableCallback 1)
|
||||
(setqb RTI_strictNameReservation 0)
|
||||
(setqb RTI_tcpBufferSize 500000)
|
||||
(setqb RTI_tcpCompressionLevel 1)
|
||||
(setqb RTI_tcpNoDelay 1)
|
||||
(setqb RTI_tcpPort 4001)
|
||||
(setqb RTI_testConnectionThreshold 0)
|
||||
(setqb RTI_throwExceptionCallNotAllowedFromWithinCallback 0)
|
||||
(setqb RTI_throwExceptionForDisabledService 1)
|
||||
(setqb RTI_throwExceptionOnConcurrentAccess 0)
|
||||
(setqb RTI_tickFavorsNetwork 1)
|
||||
(setqb RTI_timeMgmt 1)
|
||||
(setqb RTI_udpCompressionLevel 1)
|
||||
(setqb RTI_udpPort 4000)
|
||||
(setqb RTI_use32BitsForValueSize 0)
|
||||
(setqb RTI_useBusyWaitForTickMinMax 0)
|
||||
(setqb RTI_useRandomNumberForFedHandle 0)
|
||||
(setqb RTI_useRtiExec 1)
|
||||
(setqb RTI_waitIOPeriodForBundling 0)
|
||||
(setqb RTI_ddmFixedGridFilename "")
|
||||
(setqb RTI_defaultFedFile "")
|
||||
(setqb RTI_defaultTimeImplementation "")
|
||||
(setqb RTI_destAddrString "229.7.7.7")
|
||||
(setqb RTI_forwarderRoutesFile "/opt/NGS/makRti4.5-conf/routes.mtl")
|
||||
(setqb RTI_implicitDdmParamsFile "")
|
||||
(setqb RTI_logFileDirectory "/shd/CTC/LOG")
|
||||
(setqb RTI_logFileName "makRti.log")
|
||||
(setqb RTI_maxChannelAddr "UseDefaultChannelAddr")
|
||||
(setqb RTI_mcastDiscoveryAddrString "229.7.7.8")
|
||||
(setqb RTI_minChannelAddr "UseDefaultChannelAddr")
|
||||
(setqb RTI_momModuleExtensionFileName "")
|
||||
(setqb RTI_networkInterfaceAddr "10.7.144.65")
|
||||
(setqb RTI_rtiExecLogFileName "rtiExec.log")
|
||||
(setqb RTI_rtiForwarderLogFileName "rtiForwarder.log")
|
||||
(setqb RTI_saveRestoreDirectory ".")
|
||||
(setqb RTI_sharedMemExecLogFileName "")
|
||||
(setqb RTI_sharedMemoryName "DtRtiSharedMessages")
|
||||
(setqb RTI_tcpForwarderAddr "10.7.144.65")
|
||||
(setqb RTI_tcpNetworkInterfaceAddr "10.7.144.65")
|
||||
@@ -0,0 +1,4 @@
|
||||
;; Always use eth0 net!
|
||||
(RTI_addForwarder "10.7.144.65" "10.7.144.65" 5000)
|
||||
(RTI_addForwarder "192.168.99.100" "10.7.144.65" 5050)
|
||||
|
||||
Reference in new issue
Block a user