新增、管理和移除節點
您可以新增節點、選取節點的探索通訊協定、定義節點的自訂內容、停止節點中的伺服器,以及移除節點。
開始之前
節點是由一組受管理或不受管理的伺服器組成。您可以在 WebSphere® Application Server 拓蹼中,新增受管理和未受管理的節點。 如果您在網路部署 Cell 中,新增現有 WebSphere Application Server 的新節點,就會新增一個受管理節點。 如果您在拓蹼中建立新節點來管理 Web 伺服器或 WebSphere Application Server 以外的伺服器,您所新增的是未受管理的節點。
您可以回復部署管理程式 Cell 現有的受管理節點。新增受管理節點的其中一個選項,是讓您快速回復受損的節點。這個選項與 addNode 指令的 -asExistingNode 參數類似。
如果要檢視節點和受管理節點的相關資訊,請使用「節點」頁面。 如果要存取「節點」頁面,請按一下管理主控台導覽樹狀結構中的系統管理 > 節點。
關於這項作業
您可以透過 wsadmin Scripting 工具、Java™ 應用程式設計介面 (API) 或管理主控台,來管理應用程式伺服器中的節點。 請透過管理主控台,執行下列作業來管理應用程式伺服器上的節點。
- 新增節點。
- 選取探索通訊協定。
- 定義節點的自訂內容。
- 指定節點上的伺服器的預設軟體開發套件。
- 同步化節點配置。
- 停止節點上的伺服器。
- 回復部署管理程式 Cell 現有的受管理節點。
- 移除節點。
- 檢視節點功能。
![[Windows]](../images/windows.gif)
程序
- 新增節點。
- 移至「節點」頁面,按一下新增節點。
- 在「新增節點」頁面上,選擇您要新增的受管理節點或未受管理節點,然後按下一步。
- 如果是受管理節點,請完成下列動作。
驗證應用程式伺服器是在您要新增之節點的遠端主機上執行。
驗證應用程式伺服器是在您要新增之節點的主機上執行。
- 針對位於您要新增之節點上的應用程式伺服器,指定其主機名稱、連接器類型以及埠。請執行表格所列出的下列其中一組動作:
表 1. 受管理節點動作. 執行適合您產品環境的一組動作。 如果部署管理程式位於 且您新增至 Cell 的節點位於 請完成適當的一組動作: 分散式平台或 IBM® i 平台
分散式平台或 IBM i 平台
選擇性地指定節點群組和核心群組。按一下確定。
z/OS® 系統
z/OS 系統,且與部署管理程式位於同一個 Sysplex
選擇性地指定節點群組和核心群組。按一下確定。
z/OS 系統
z/OS 系統,但與部署管理程式位於不同的 Sysplex
指定節點群組,且其中的節點與您要新增的節點位於相同的 sysplex 中。如果沒有這樣的節點群組,請建立節點群組,然後指定該節點群組。您可以選擇性地指定核心群組。按一下確定。
分散式平台或 IBM i 平台 z/OS 系統 指定節點群組,且其中的節點與您現在新增的節點位於相同的 sysplex 中。如果沒有這樣的節點群組存在,請建立一個節點群組,然後指定這個節點群組。您可以選擇性地指定核心群組。按一下確定。 z/OS 系統 分散式平台或 IBM i 平台 指定一個含有分散式節點的節點群組。如果沒有這樣的節點群組存在,請建立一個節點群組,然後指定這個節點群組。您可以選擇性地指定核心群組。按一下確定。 對於您要顯示的節點群組選項,必須先建立預設節點群組以外的一個群組。同樣的,對於您要顯示的核心群組選項,也必須先建立預設的核心群組以外的一個群組。
如果是受管理的節點,Windows 作業系統上會顯示另一個管理主控台頁面。 請在這個頁面上,指定您是否要登錄節點代理程式,以便以 Windows 服務形式執行。
如果有啟用安全功能,則可以選擇性的輸入本端作業系統使用者名稱和密碼,以這個使用者名稱和密碼來執行服務。如果您沒有指定使用者名稱和密碼,則服務就以本端系統身分來執行。 當您移除節點時,節點代理程式就會解除登錄其 Window 服務的身分。
- 如果是不受管理的節點,請在節點 > 新建頁面上,指定新節點的節點名稱、主機名稱和平台。 按一下確定。
將後續的 WebSphere Application Server for z/OS 節點從相同 sysplex 結合到相同的 sysplex 節點群組。如果您將不同 sysplex 中的 WebSphere Application Server for z/OS 節點,新增到相同 Cell 中,請為每個 sysplex 的節點,分別建立一個 sysplex 節點群組。
一旦完成這個步驟,就已新增一或多個節點。WebSphere Application Server 現在支援「網際網路通訊協定第 4 版 (IPv4)」和「網際網路通訊協定第 6 版 (IPv6)」,但是在相同 Cell 中同時使用 IPv4 和 IPv6 時,會有一些限制。當您將節點新增到 Cell 時,您用來指定名稱的格式,取決於節點所用的 IP 版本。如需要詳細資料,請參閱 Cell 的 IP 版本注意事項。
避免困難: 當新增節點且啟用 LDAP 安全時,在特定情況下,部署管理程式 System.out 日誌中會產生下列異常狀況。 如果發生此情況,請重新啟動部署管理程式,來解決問題。
gotcha0000004d ORBRas E com.ibm.ws.security.orbssl.WSSSLClientSocketFactoryImpl createSSLSocket ProcessDiscovery : 0 JSSL0080E: javax.net.ssl.SSLHandshakeException - 用戶端和伺服器無法協議所需要的安全層次。 Reason?com.ibm.jsse2.util.h: 找不到授信憑證
- 選取探索通訊協定。
如果節點所用的探索通訊協定並不適合節點,請選取適當的通訊協定。
使用者資料封包通訊協定 (UDP) 的速度比傳輸控制通訊協定 (TCP) 快。不過,TCP 比 UDP 可靠,這是因為 UDP 不保證資料包能遞送到目的地。建議使用預設值 TCP。
如果是節點代理程式或部署管理程式,請使用 TCP 或 UDP。
受管理的程序會利用多重播送來作為它的探索通訊協定。 受管理程序的探索通訊協定是固定的。 在受管理程序上使用多重播送的主要好處是對節點代理程式有效。 假設節點中有 40 個伺服器。 使用多重播送的節點代理程式會將一項廣播傳送給這 40 部伺服器。 如果節點代理程式沒有使用多重播送,它會將探索查詢傳送給所有受管理的程序,但每次只會傳給一個程序,共要傳送 40 次。 使用多重播送的其他好處是您不需要配置每部伺服器的探索埠,或防止埠衝突,因為一個節點中的所有伺服器都會接聽同一個埠,而不是每部伺服器各一個埠。
在 Windows 作業系統上,多重播送需要路由器。如果您在 Windows 作業系統中執行產品,但「應用程式伺服器」所在的機器未連接網路,那麼應用程式伺服器就不會共用多重播送位址。
- 為節點定義自訂內容。
- 指定節點的預設軟體開發套件。
您可以在管理主控台的 Java SDK 頁面上,指定節點的預設軟體開發套件 (SDK)。 這個頁面列出節點上所安裝的全部軟體開發套件。一個節點可以有一個預設的 SDK。 除非伺服器置換 SDK 選項且指定了不同的 SDK,否則,節點上的伺服器會使用預設 SDK。
- 跳至 Java SDK 頁面。按一下系統管理 > 節點 > node_name > Java SDK。
- 在 Java SDK 頁面上,選取您要節點上的伺服器使用的 SDK 的勾選框,再按一下設為預設值。
- 將節點配置同步化。
新增受管理節點或變更受管理節點的配置之後,請將節點的配置同步化。 在節點代理程式頁面中,請確定節點的節點代理程式在執行中。 之後,在「節點」頁面上,選取您要同步處理其配置檔之節點的勾選框,再按一下同步處理或完整重新同步處理。
按其中任何一個選項都會立即傳送一則要求給這個節點的節點代理程式來執行配置同步處理,不必等待定期進行的同步處理。 如果自動配置同步化已停用,或是將同步化間隔設為較長的時間,且已對需要抄寫至這個節點的 Cell 儲存庫進行配置變更,這個動作就很重要。自動同步化的設定在「檔案同步化服務」頁面中。
同步化會要求使用正常的同步最佳化演算法,來執行節點同步化作業。這項作業很快,但是對於在節點上手動編輯檔案時所發生的問題,可能不會修正。執行這項作業之後,節點和 Cell 配置仍有可能不同步。
完整重新同步處理會清除所有同步處理最佳化設定,且會重新執行配置同步處理,因此,在執行這項作業之後,節點和 Cell 配置不會有不符合的情況。 這項作業所花的時間可能比同步化作業長。
不受管理的節點無法被同步化。
- 停止節點上的伺服器。
請在「節點」頁面上,選取要停止執行伺服器之受管理節點的勾選框,然後按一下停止。
- 回復部署管理程式 Cell 現有的受管理節點。
您可以利用其中一個選項來新增受管理節點,以回復現有受損的節點。節點必須是部署管理程式層次。
- 確定現有受損的節點不在執行中。請停止節點代理程式以及節點上的任何應用程式伺服器。
- 建立一個設定檔來取代受損的節點,並提供相同的設定檔和節點名稱給該節點。
例如,假設設定檔名稱為 AppSrv01 的 myNode01 節點停止運作。 如果要以新節點來取代它,請針對 myNode01 節點,建立一個名稱為 AppSrv01 的應用程式伺服器設定檔。
- 啟動您想用來取代受損節點的新節點或應用程式伺服器。
- 利用「回復受管理節點」頁面,以新節點取代 Cell 中的受損節點。
- 在部署管理程式的管理主控台中,按一下系統管理 > 節點 > 新增節點 > 回復現有的節點 > 下一步。
- 針對主機,指定要新增到 Cell 之節點的主機名稱或 IP 位址。如果應用程式伺服器與部署管理程式是在同一部機器上執行,主機值可以是 IP 位址、解析為 IP 位址的網域名稱伺服器 (DNS) 名稱,或 localhost 一字。
- 針對 JMX 連接器類型,選取在執行 Script 時,要與產品通訊的「Java 管理延伸 (JMX)」連接器的類型。
- 針對 JMX 連接器埠,指定新節點的 JMX 連接器埠號。
您可以在新應用程式伺服器節點的主控台中找到埠號。按一下伺服器 > 伺服器類型 > WebSphere 應用程式伺服器 > server_name > 埠。 比方說,如果是 SOAP 連接器埠類型,請指定 SOAP_CONNECTOR_ADDRESS 值作為 JMX 連接器埠號。
另外,您也可以在取代受損設定檔的新設定檔的 serverindex.xml 檔中找到埠號。 serverindex.xml 檔是在 profiles/new_profile_name/config/cells/cell_name/nodes/node_name 目錄中。 比方說,如果是 SOAP 連接器埠類型,請指定 serverindex.xml 檔中的 endPointName="SOAP_CONNECTOR_ADDRESS" 的相關埠值。
- 依照需要來指定其餘欄位的值,然後按一下確定。
您可以在損壞的應用程式伺服器設定檔的 bin 目錄中,從指令行設定 -asExistingNode 選項來執行 addNode 指令,而不使用「回復受管理節點」主控台頁面來回復節點。 新節點的名稱必須符合您設定 -asExistingNode 選項來執行 addNode 的節點名稱。
您也可以利用 addNode 指令的 -asExistingNode 選項,將節點移到不同電腦、相同路徑的產品安裝架構之中、將節點移到不同作業系統或不同路徑的產品安裝架構中,或根據範本 Cell 來建立新的 Cell。 請參閱利用 addNode -asExistingNode 指令來回復或移動節點的主題。
- 移除節點。
請在「節點」頁面上,選取要刪除之節點的勾選框,然後按一下移除節點。 如果無法按一下移除節點來移除節點,請按一下強制刪除,從配置移除節點。
- 檢視節點功能。
請利用管理主控台來檢視節點功能,例如產品版本。 您也可以透過「應用程式伺服器」應用程式設計介面 (API) 或 wsadmin 工具來查詢它們。。
WebSphere Application Server 的產品版本如下:在版本直欄中,會將 WebSphere Application Server 的基本版本列為 Base。 在版本直欄中,會將 WebSphere Application Server, Network Deployment 產品列為 ND。
下一步
如果您變更節點配置,請檢查配置變更。
次主題
Recovering or moving nodes with the addNode -asExistingNode command
You can use the -asExistingNode option of the addNode command to recover and move nodes of a deployment manager. Using the -asExistingNode option, federate a new custom node to a deployment manager as an existing node. During federation, the product uses information in the deployment manager master configuration to transform the custom node into the existing node.Node collection
Use this page to manage nodes in the WebSphere Application Server environment. Nodes group managed servers. The table lists the managed and unmanaged nodes in this cell. The first node is the deployment manager. Add new nodes to the cell and to the list by clicking Add Node.Node settings
Use this page to view or change the configuration or topology settings for either a managed node instance or an unmanaged node instance.Add a Windows based node as a Windows service
Use this page to run the node agent as a Windows service.Add managed node settings
A managed node is a node with an application server and a node agent that belongs to a deployment manager cell. Use this page to add an application server node to a deployment manager cell.Recover managed node settings
Use this page to recover an existing managed node of a deployment manager cell. The node must be at the deployment manager level.Node installation properties
Use this page to view read-only installation properties for this node. These properties provide information about the capabilities of the node that are collected during product installation time, such as the operating system name, architecture and version, or WebSphere Application Server product levels that are installed on the node.Java SDK collection
Use this page to specify the default software development kit (SDK) for a node. This page lists the software development kits that are installed on the node. A node can have one default SDK. Servers on the node use the default SDK unless a server overrides the SDK selection and specifies a different SDK.Recovering or moving nodes with the addNode -asExistingNode command
You can use the -asExistingNode option of the addNode command to recover and move nodes of a deployment manager. Using the -asExistingNode option, federate a new custom node to a deployment manager as an existing node. During federation, the product uses information in the deployment manager master configuration to transform the custom node into the existing node.Node collection
Use this page to manage nodes in the WebSphere Application Server environment. Nodes group managed servers. The table lists the managed and unmanaged nodes in this cell. The first node is the deployment manager. Add new nodes to the cell and to the list by clicking Add Node.Node settings
Use this page to view or change the configuration or topology settings for either a managed node instance or an unmanaged node instance.Add a Windows based node as a Windows service
Use this page to run the node agent as a Windows service.Add managed node settings
A managed node is a node with an application server and a node agent that belongs to a deployment manager cell. Use this page to add an application server node to a deployment manager cell.Recover managed node settings
Use this page to recover an existing managed node of a deployment manager cell. The node must be at the deployment manager level.Node installation properties
Use this page to view read-only installation properties for this node. These properties provide information about the capabilities of the node that are collected during product installation time, such as the operating system name, architecture and version, or WebSphere Application Server product levels that are installed on the node.Java SDK collection
Use this page to specify the default software development kit (SDK) for a node. This page lists the software development kits that are installed on the node. A node can have one default SDK. Servers on the node use the default SDK unless a server overrides the SDK selection and specifies a different SDK.


http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=tagt_svr_conf_nodes
檔名:tagt_svr_conf_nodes.html