在 100Custom.xml 中更改服务器属性

要修改 Process Server 或 Process Center 配置,请更新服务器的 100Custom.xml 文件。 您可以在此修改组成服务器配置的元素,包括环境名称、存储库服务器信息以及 Performance Data Warehouse 通信方法。

关于此任务

虽然本主题引用了 100Custom.xml 文件,但该信息适用于您创建的所有定制配置文件(例如,110Custom.xml)。
注: updateBPMconfig 管理任务可用于更新 XML 配置文件(包括 100Custom.xml 文件),以提供用于将所有更改应用于环境的单个文件。 如果您具有定制文件的多个版本,例如,101Custom.xml102Custom.xml 等等,那么将只更新 100Custom.xml 文件。

要在 100Custom.xml 文件中更新服务器配置属性,请执行以下步骤。

过程

  1. 停止 Process Server 或 Process Center 服务器。
  2. 在文本编辑器中打开原始配置文件(例如 Process Server 的 PROFILE_HOME\config\cells\cell_name\nodes\node_name\servers\server_name\process-server\config\system\99Local.xml 或 Process Center 的 PROFILE_HOME\config\cells\cell_name\nodes\node_name\servers\server_name\process-center\config\system\99Local.xml)。
  3. 将相关部分从 99Local.xml 文件复制到 100Custom.xml 文件并进行必要的更改。
    注: 如果省略预期为布尔值类型的属性值,那么该属性值缺省为 false。 至于某些配置属性(例如,<automatic-schema-management>),如果属性已注释掉,那么其值缺省为 true
  4. 将所作更改保存在 100Custom.xml 文件中。
  5. 启动 Process Server 或 Process Center 服务器。

示例

以下示例显示了如何为服务器修改 environment-name 属性。
  1. 停止服务器。
  2. 打开 99Local.xml 文件并查找以下文本:
    <properties>
    		<common merge="mergeChildren">
    						<environment-name>My Environment</environment-name>
    				</common>
    </properties>
  3. 将该文本复制粘贴到 100Custom.xml 文件中。
  4. 更新粘贴到 100Custom.xml 文件的文本中的 environment-name 属性,如下所示:
    <properties>
    		<common merge="mergeChildren">
    						<environment-name merge="replace">My New Environment</environment-name>
    				</common>
    </properties>
  5. 保存更改并重新启动服务器。