简体   繁体   English

在配置Zenoss开发人员的上下文中,“服务”是什么?

[英]What is “serviced” in the context of configuring Zenoss dev?

I am following Zenoss Development Environment Guide to configure Zenoss. 我正在遵循《 Zenoss开发环境指南》来配置Zenoss。 When I get to the part about mounting z directory into container, I cannot find the file mentioned - I've tried "find" and it's just not there. 当我涉及将z目录安装到容器中的部分时,我找不到提到的文件-我尝试了“查找”,但它不存在。 I can't find anything on Google on how to add serviced to the environment, I think partly because searches bring the root word "service" rather than "serviced". 我想在Google上找不到有关如何向环境添加服务的任何信息,部分原因是搜索带来的根词是“服务”而不是“服务”。 Does anyone know what serviced is and how to install it or its substitute for the purpose of the task? 有谁知道服务的内容以及如何安装该服务或其替代品来完成任务? Please, see quote below. 请参阅下面的报价。 Thanks much. 非常感谢。

... ...

Mount “/z” Into All Containers Now we can configure serviced to automatically share (bind mount) the host's /z directory into every container it starts. 将“ / z”挂载到所有容器中现在,我们可以配置服务以自动将主机的/ z目录共享(绑定挂载)到它启动的每个容器中。 This will let us use the same files on the host and in containers using the exact same path. 这将使我们使用完全相同的路径在主机和容器中使用相同的文件。

Edit /lib/systemd/system/serviced.service. 编辑/lib/systemd/system/serviced.service。 Add a mount argument to the end of the ExecStart line so that it looks like this: 在ExecStart行的末尾添加一个mount参数,使其看起来像这样:

ExecStart=/opt/serviced/bin/serviced --mount *,/z,/z ExecStart = / opt / serviced / bin / serviced --mount *,/ z,/ z

... ...

Serviced is command line Docker orchestration tool developed for Zenoss 5. Full name is Control Center . 提供服务的是为Zenoss 5开发的命令行Docker编排工具。全名是Control Center Read Zenoss 5 installation guide , there is included what do you need for serviced (control center) installation. 阅读Zenoss 5安装指南 ,其中包括进行服务式(控制中心)安装所需要的内容。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM