标签:remote StackStorm runner PID ActionRunner stackstorm action local
ActionRunner ActionRunner是Action的执行环境, Action Runner实际上就是一系列的工作进程,ActionRunner根据StackStorm调度来进行执行Action,可以通过命令查询到进程: # st2ctl status ##### st2 components status ##### st2actionrunner PID: 36192 st2actionrunner PID: 36194 st2api PID: 39436 st2api PID: 39443 st2stream PID: 36236 st2auth PID: 36243 st2workflowengine PID: 36294 st2scheduler PID: 36301 ActionRunner StackStorm支持不同类型的执行方式,比如Shell脚本,Python脚本或者HTTP调用等等,这些是以插件的形式存在的,StackStorm内置了基本的一些Action Runner,如下表所示。除了StackStorm的内置类型ActionRunner,当然也可以自定义ActionRunner。 local-shell-cmd This is the local runner. This runner executes a Linux command on the same host where StackStorm components are running. local-shell-script This is the local runner. Actions are implemented as scripts. They are executed on the same hosts where StackStorm components are running. remote-shell-cmd This is a remote runner. This runner executes a Linux command on one or more remote hosts provided by the user. remote-shell-script This is a remote runner. Actions are implemented as scripts. They run on one or more remote hosts provided by the user. python-script This is a Python runner. Actions are implemented as Python classes with arun method. They run locally on the same machine where StackStorm components are running. http-request HTTP client which performs HTTP requests for running HTTP actions. action-chain This runner supports executing simple linear work-flows. mistral-v2 Those runners are built on top of the Mistral OpenStack project and support executing complex work-flows. cloudslang This runner is built on top of the CloudSlang project and supports executing complex workflows. inquirer This runner provides the core logic of the :doc:Inquiries </inquiries> feature.
标签:remote,StackStorm,runner,PID,ActionRunner,stackstorm,action,local 来源: https://www.cnblogs.com/skyzy/p/16586797.html
本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享; 2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关; 3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关; 4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除; 5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。