You are here:参考手册>FME服务器配置文件>processmonitorconfigengines.txt.
processmonitorconfigengines.txt.
################################ #进程监视器配置文件参数。 ################################ ################ 警告 ############### #强烈建议不要做任何 #对这些配置的更改,因为可能发生意外结果。 #对这些配置的任何更改都仅如下所示 #源自安全软件或安全技术的文档亚搏在线 # 支持。对此文件所做的任何更改都不会生效,除非 #node_overwrite设置为true。 ################ 警告 ############### # # The Process Monitor program is started from the command line and takes one argument. # This argument is the pathname of the configuration parameter file. # #配置参数用于设置各种操作特性 流程监视器的#。从此文件中读取这些参数的值 #启动过程监视器时。此配置参数文件是一个 # ASCII text file containing one parameter assignment on each line. Each # assignment consists of a parameter name followed by an equal-sign followed # by the parameter's value. # #例如,行: # #node_admin_port = 7500 # #分配“node_admin_port”参数值为“7500”的值。 # # The Process Monitor is case-sensitive to parameter names. Blank lines and lines #从“#”字符开头被视为注释并被忽略。 # #对此文件中的任何参数值的更改将仅生效 #后续重启进程监视器。 # #必须在配置文件中存在以下参数并确切地命名 # as shown: # #-------------------------------------- # Log File #-------------------------------------- # #log_config_path - 包含日志文件配置的文件夹路径。 # #log_file_name - 消息日志文件的路径名。 # #-------------------------------------- # Engine Failover #-------------------------------------- # # FAILOVER_ENGINE_AUTOCONNECT - If true, then Engines will switch to active core when a failover occurs. If false, #然后引擎不会切换到新的活跃core when a failover occurs. If failover #在核心配置中未启用#,则没有引擎切换。 # #-------------------------------------- #节点管理 #-------------------------------------- # #dode_admin_port - 用于侦听请求的TCP / IP端口号 # #node_name - 此FME服务器节点用于标识本身的名称。如果没有分配值,则节点需要 # the host name of the system on which it is running. # #node_description - 此FME服务器节点用于描述自己的字符串。如果没有分配任何值,则节点 #描述是空字符串。 # #node_host - 运行它的系统的主机名。 # #node_engine_admin_port - 用于管理引擎流程的引擎管理端口。 # #node_overwrite - 如果“true”然后在此文件中指定的进程配置将始终覆盖这些配置 #已在数据库中指定。如果“假”或丢失,则流程配置将会 # only be added when the node hasn't already been added part of deployment. # #FME引擎可以从节点添加或删除。新的发动机过程配置由 #引擎模板,它指定start,stop和params命令。 # #template_start_engine = #template_stop_engine = # TEMPLATE_PARAMS_ENGINE= # #以防止重复,处理配置可以参考引擎模板启动命令 #宏将参数包装!人物。 # # For example: #start_engine_engine1 =!template_start_engine! #stop_engine_engine1 =!template_stop_engine! #params._ENGINE_Engine1=!TEMPLATE_PARAMS_ENGINE! # #流程配置 #-------------------- # #下一个参数是定义进程监视器应该的实际命令的参数 # start in a separate process and monitor. The format for these command parameters is: # #start_ _ = #stop_ _ = #params.__=[log=]|[attempts=]|[norestart=]|[wait=]|[continual=] # #hows 具有以下语法之一: # #引擎 - FME引擎流程 #系统 - FME系统流程 # #是是进程的唯一名称。 # #以下是一个示例start命令: # # START_ENGINE_Engine1=/FMEServer/Server/fme/fme.exe REGISTER_SOCKET JIM 7070 # #当过程监视器遇到此参数时,它开始新的FME引擎进程,运行 # command string in the process and monitors the process for termination. #if /当进程终止时,进程监视器创建另一个进程并重新运行相同的命令 #再次字符串。过程监视器继续此行为,直到它达到重启尝试限制。 # # Optional START Parameters: # #“-engine_host_name”指定引擎启动的主机名。这用于对分布式系统的引擎进行组。 # On single Engine host environments, this can be "localhost" otherwise it should be the Engine host name. # # # STOP # # Each process START command can have an optional STOP parameter defining a #自定义停止命令将运行以关闭流程。 # For example: # #start_system_core = ... #stop_system_core = ... # #params. # # Each process START command can also have an optional parameters. Parameters are delimited by |. # For example: # #params_system_core = log = true |尝试= 20 |等待= 0 |持续= 60 # # Optional Parameters: # # "log" # #如果“true”命令生成的进程输出将记录到消息日志文件。如果“假”, #ITS进程输出未记录到日志文件。如果缺少,系统进程将默认为“假” # while ENGINE processes will default to "true". # #记录进程输出时,每个输出行将被命令的字符串前缀。 # This helps to identify which process command generated each output line. # # # For example the following would explicitly enable process output logging for this ENGINE configuration #和此过程中生成的轮廓将被“Engine1”为前缀: # # START_ENGINE_Engine1=/FMEServer/Server/fme/fme.exe REGISTER_SOCKET JIM 7070 #params_engine_engine1 = log = true # # "norestart" # #当后者时,通过监视过程返回到进程监视器的状态值 #终止。如果启动命令字符串指定此参数的值,则 #如果监视过程终止并返回指定的状态值 #Process Monitor,后者不会重新启动终止的进程。如果 #此参数不存在,或者存在但终止过程 #返回与指定值不同的状态值,进程监视器 #将重新启动终止的进程。如果存在此参数值,但指定了一个 # invalid integer value, the Process Monitor ignores any return values from the process. # #“尝试” # #进程监视器将尝试启动要监视的进程的次数。如果是最大值 # value is reached the Process Monitor will give up attempting to start the process. If this flag # is absent or is present and specifies a value <= 0, the process will have no limit to the number of #次它重新启动。如果存在此后缀标志并指定无效的整数值 # the default start attempt limit value of 20 is used. # #以下是使用“norestart”参数的示例启动命令行(指定返回状态值为27), #“log”参数和上面描述的“尝试”参数: # # START_ENGINE_Engine1=/FMEServer/Server/fme/fme REGISTER_SOCKET JIM 7070 #params_engine_engine1 = log = true | norestart = 27 |尝试= 20 # #“持续” # #在尝试启动要监视的过程之前,进程监视器将等待的秒数。 #如果此后缀标志存在并指定值> = 0,则将连续重新启动该过程 # a delay of seconds between restart attempts. If this suffix flag is absent or is present and specifies # a value <= -1, the process will not be continually restarted. Note: The delay to seconds will start at #1秒并随着每个延迟增加1秒,直到它达到它的延迟 #继续延迟秒。 # # "wait" # # For each process the Process Monitor interprets the wait period specified by # the "wait" parameter in one of two ways: # #1)监控端口指令存在 # #如果过程启动命令行中存在-Monitor_Port指令, # the wait period represents the maximum number of seconds the Process Monitor #将等待被监视的进程发出信号(通过监视器端口)它具有它的 #成功开始。 # # If the signal is received before the wait period expires, the Process Monitor #立即继续开始下一个进程。 # #如果在等待周期到期时尚未收到信号,则 #Process Monitor停止在该点等待并继续开始下一个 # process. # #如果到达其启动尝试限制后,此过程无法启动 # (as specified by the "attempts" suffix flag), the Process Monitor # immediately proceeds to start the next process, even if the wait period #尚未过期。 # # To cause the Process Monitor to wait indefinitely for the start signal, specify # a WAIT value of zero. # # # 2) Monitor Port Directive is Absent # # If the -MONITOR_PORT directive is absent from the process START command line, # the wait period represents the number of seconds the Process Monitor waits before # continuing on to start the next process. # #如果到达其启动尝试限制后,此过程无法启动 # (as specified by the "attempts" suffix flag), the Process Monitor # immediately proceeds to start the next process, even if the wait period #尚未过期。 # #指定零的Owut值会导致过程监视器立即开始 # the next process without waiting. # # #在上述两个案例1)和2)中,如果为a指定了“等待”参数 #进程,过程监视器使用零的默认时间值(以秒为单位)。 # # Processes that support the optional "MONITOR_PORT" directive" can include the # following in their START command: # #-Monitor_Port # #此指令指定流程监视器侦听的TCP / IP端口 #启动从过程中完成了邮件。成功启动完成过程 #应连接到此端口并发送消息字符串“启动”。不会发生进一步的沟通。 # #如果指令指定值零,则自由端口号是动态的 #由过程监视器在运行时确定。这是通常的案例。如果指定值 # non-zero and positive then that literal port number is used. # # If the process does not implement the monitor port capability then the # directive should be omitted from the command string. # #---------------------------------------------------------------------- ################ 警告 ############### #强烈建议不要做任何 #对这些配置的更改,因为可能发生意外结果。 #对这些配置的任何更改都仅如下所示 #源自安全软件或安全技术的文档亚搏在线 # 支持。对此文件所做的任何更改都不会生效,除非 #node_overwrite设置为true。 ################ 警告 ############### FME_INCLUDE_FILE={SAFE{serverDir}}/fmeCommonConfig.txt #---------------------------------------------------------------------- # Log File #---------------------------------------------------------------------- log_config_path =亚搏在线 {safe {serverdir}} / config / logger /引擎 log_file_name =亚搏在线 {safe {logprefix}} fmeprocessmonitorengine.log #---------------------------------------------------------------------- #故障转移 #---------------------------------------------------------------------- failover_engine_autoconnect = true #---------------------------------------------------------------------- # 行政 #---------------------------------------------------------------------- node_admin_port =亚搏在线 {safe {processmonitoradminportengine}} node_name =亚搏在线 {safe {mexinghostname}} node_description = fme服务器运行{safe {mexing亚搏在线hostname}} node_host =亚搏在线 {safe {bementhostname}} NODE_ENGINE_ADMIN_PORT={SAFE{processMonitorAdminPortEngine}} # ENGINE process configuration template template_start_engine =“亚搏在线{safe {fmeexec}}”{safe {engineregistermode}} {safe {serviceRegistrameport}} {safe {connectionrequestport}} {safe {connectionrequestport}} {safe {securitycluster}} {safe {serverycluster}} {safe {serverdir}} / fmeengineConfig。txt“-engine_host_name {s亚搏在线afe {mexinghostname}} template_stop_engine =. TEMPLATE_PARAMS_ENGINE=log=true|attempts=20|continual=60|wait=0|norestart=2 # Start FME Engine 1 start_engine_ 亚搏在线{safe {lemberhostname}} _引擎1 =!template_start_engine! # Start FME Engine 2 start_engine_ 亚搏在线{safe {bementhostname}} _ empanse2 =!template_start_engine!