本文示範如何將 WebSphere Extended Deployment 5.1 版 的自主要求流程管理程式 (ARFM) 手動設定,移轉為 WebSphere Extended Deployment 6.0 版。
WebSphere Extended Deployment ARFM 可以透過名稱為 arfmMode 的 Cell 自訂內容,配置為以兩個模式之一運作。 自動(預設值)或手動。如果是 WebSphere Extended Deployment 5.1 版, 則可以透過相同名稱的節點群組自訂內容配置。
若將 ARFM 配置為以「手動」模式運作,您必須提供一些手動設定, 來配置一些特定的席次給每一個 <隨需應變的路由器、部署目標、服務類別值組等。 如果是 WebSphere Extended Deployment 5.1 版,如果有使用此手動配置, 會是在 ARFM 控制器執行所在的機器之 <WasRoot>/properties/arfm/manual/cell_name/node_group_name.xml 檔案中指定。ARFM 會在執行隨需應變路由器的其中一部機器上執行。
<ng> <dt cluster="M13"> <sc name="gold" numo="12"/> <sc name="silver"/> <proxy name="mycell/pnode1/odr" numo="4"/> <proxy name="mycell/pnode2/odr" numo="8"/> </sc> </dt> <dt node="lymph" server="alice"/> <sc name="gold" numo="15"/> </dt> </ng>
如果您的 WebSphere Extended Deployment 5.1 版配置中有這些檔案存在, 並且希望繼續在 WebSphere Extended Deployment 6.0 版配置中使用這些設定, 請在 ARFM 控制器執行所在機器的 ProfileRoot/properties/arfm/manual/ 目錄中,建立名稱為 cell_name.xml 的檔案。 這是執行隨需應變路由器的其中一部機器。
XML 檔案使用 cell 元素作為根元素,並且會包括任意數目的 dt 元素,以容納來自 WebSphere Extended Deployment 5.1 版 的所有手動設定檔案。
<cell> <dt cluster="M13"> <sc name="gold" numo="12"/> <sc name="silver"> <proxy name="mycell/pnode1/odr" numo="4"/> <proxy name="mycell/pnode2/odr" numo="8"/> </sc> </dt> <dt node="lymph" server="alice"> <sc name="gold" numo="15"/> </dt> <!-- 加上來自其他 WebSphere Extended Deployment 5.1 版 手動設定檔案的 dt 元素與次元素。 --> </cell>