Show Table of Contents
10.5.5. 对部署扫描器 Marker 文件的引用
Marker 文件
Marker 文件是部署扫描器子系统的一部分。这些文件标记独立服务器的 deployment 目录里的应用程序的状态。Marker 文件具有和应用程序相同的名称,其后缀则表示部署的状态。下表定义了每个 marker 文件的类型及响应。
例 10.8. Marker 文件示例
下面的例子展示了用于成功部署的
testapplication.war 应用程序的实例的 marker 文件。
testapplication.war.deployed表 10.1. Marker 文件类型定义
| 文件名后缀 | 来源 | 描述 |
|---|---|---|
.dodeploy | 用户生成 | 表示内容应该部署到 runtime 或从 runtime 卸载。 |
.skipdeploy | 用户生成 | 禁用应用程序的自动部署。用作禁止展开内容的自动部署的临时方法,阻止不完整的内容进入应用环境。它可以用于压缩的内容,扫描器会检测压缩内容的进度并等待完成。 |
.isdeploying | 系统生成 | 表示部署的初始化。当部署过程完成时,Marker 文件将被删除。 |
.deployed | 系统生成 | 表示内容已经被部署。如果文件被删除,这些内容将被卸载。 |
.failed | 系统生成 | 表示部署失败。Marker 文件包含关于失败原因的信息。如果 Marker 文件被删除,这些内容将再次对于自动部署可见。 |
.isundeploying | 系统生成 | 表示对删除 .deployed 文件的响应。完成后其内容将被卸载且 marker 文件将被自动删除。 |
.undeployed | 系统生成 | 表示内容已被卸载。Marker 文件的删除对内容重部署没有影响。 |
.pending | 系统生成 | 表示部署说明将被发送到有检测的问题还未解决的服务器。这个 marker 文件充当全局部署 road-block。当这个条件存在时,扫描器不会指引服务器部署或卸载任何其他内容。 |

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.