尋找配置檔

附註圖示附註

表示此文件中的檔案和目錄位置時, <install-home> 是 Agent Controller 套件的解壓縮目錄。

Agent Controller 配置檔

管理 Agent Controller 的第一個步驟就是尋找配置檔。 Agent Controller 會在下列位置之一尋找 serviceconfig.xml

代理程式必須尋找它想要通訊的 Agent Controller 所用的相同 serviceconfig.xml 檔。 它可以選擇從稱為 -serviceconfig 的指令行選項中,讀取這個檔案的位置。 如果未指定這個選項,它會先在 TPTP_AC_HOME/config 中搜尋 serviceconfig.xml,如果找不到,便在 ../config 中,相對於它自己來進行搜尋。

其他配置檔的位置可以指定在 serviceconfig.xml 中。 依預設,請查看在 <install-home>/agents 之下的特定代理程式專用目錄來找出 agent.xml 檔, 查看 <install-home>/plugins 中的特定應用程式專用目錄來找出 config/pluginconfig.xml 檔。 請注意,pluginconfig.xml 檔必須在 /config 目錄之下。

 

相關作業
管理 Agent Controller
serviceconfig.xml
agent.xml
pluginconfig.xml


Copyright (C) 2005, 2006 Intel Corporation.