確定對要升級的所有叢集節點已完成全部升級程序。
# scversions |
從下表中,對步驟 1 的輸出訊息,執行所列出的動作。
輸出訊息 |
動作 |
---|---|
Upgrade commit is needed. |
請繼續執行步驟 4。 |
Upgrade commit is NOT needed. All versions match. |
請跳至步驟 6。 |
Upgrade commit cannot be performed until all cluster nodes are upgraded. Please run scinstall(1m) on cluster nodes to identify older versions. |
請返回至如何執行 Sun Cluster 3.1 8/05 軟體的滾動升級,以升級剩餘的叢集節點。 |
Check upgrade cannot be performed until all cluster nodes are upgraded. Please run scinstall(1m) on cluster nodes to identify older versions. |
請返回至如何執行 Sun Cluster 3.1 8/05 軟體的滾動升級,以升級剩餘的叢集節點。 |
# scversions -c |
確定升級可讓叢集使用較新軟體中的所有功能。僅在確定升級後,才可以使用新功能。
從某個節點,驗證已成功確定叢集升級。
# scversions Upgrade commit is NOT needed. All versions match. |
此步驟可確保所有叢集節點上的 一般代理程式容器 的安全性檔案均相同,且所複製的檔案會保留正確的檔案權限。
在每個節點上,停止 Sun Java Web 主控台 代理程式。
# /usr/sbin/smcwebserver stop |
在每個節點上,停止安全性檔案代理程式。
# /opt/SUNWcacao/bin/cacaoadm stop |
在每個節點上,變更為 /etc/opt/SUNWcacao/ 目錄。
phys-schost-1# cd /etc/opt/SUNWcacao/ |
建立 /etc/opt/SUNWcacao/security/ 目錄的 tar 檔案。
phys-schost-1# tar cf /tmp/SECURITY.tar security |
將 /tmp/SECURITY.tar 檔案複製到其餘的每一個叢集節點。
在向其複製了 /tmp/SECURITY.tar 檔案的每一個節點上,擷取安全性檔案。
/etc/opt/SUNWcacao/ 目錄中已存在的所有安全性檔案均會被覆寫。
phys-schost-2# cd /etc/opt/SUNWcacao/ phys-schost-2# tar xf /tmp/SECURITY.tar |
從叢集的每個節點中刪除 /tmp/SECURITY.tar 檔案。
您必須刪除 tar 檔案的每個副本以避免安全性風險。
phys-schost-1# rm /tmp/SECURITY.tar phys-schost-2# rm /tmp/SECURITY.tar |
在每個節點上,啟動安全性檔案代理程式。
phys-schost-1# /opt/SUNWcacao/bin/cacaoadm start phys-schost-2# /opt/SUNWcacao/bin/cacaoadm start |
在每個節點上,啟動 Sun Java Web 主控台 代理程式。
phys-schost-1# /usr/sbin/smcwebserver start phys-schost-2# /usr/sbin/smcwebserver start |
如果您的配置使用的是 Solstice DiskSuite 或 Solaris Volume Manager 軟體的雙串聯仲裁者,請復原仲裁者配置。
如果您已升級產品媒體上未提供的任何資料服務,請為這些資料服務註冊新的資源類型。
依照資料服務隨附的文件操作。
(可選擇) 將每個資源群組與裝置群組切換回其原始的節點。
# scswitch -z -g resource-group -h node # scswitch -z -D disk-device-group -h node |
執行切換
指定要切換的資料群組
指定要切換至的節點之名稱
指定要切換的裝置群組
重新啟動所有應用程式。
依照供應商文件中提供的說明操作。
將資源遷移至新的資源類型版本。
如果您升級至適用於 Solaris 10 作業系統的 Sun Cluster HA for NFS 資料服務,則必須遷移至新的資源類型版本。請參閱「Sun Cluster Data Service for NFS Guide for Solaris OS」中的「Upgrading the SUNW.nfs Resource Type」,以取得更多資訊。
對於所有其他的資料服務,此步驟為可選擇的。
請參閱「Sun Cluster Data Services Planning and Administration Guide for Solaris OS」中的「Upgrading a Resource Type」,其中包含使用指令行的程序。或者,您可以使用 scsetup 公用程式的 [資源群組] 功能表來執行相同的作業。此程序包含執行以下作業:
註冊新資源類型
將合格的資源遷移至其資源類型的新版本
依照相關資料服務手冊中指定的程序修改資源類型的延伸特性
如果您使用的是基於 SPARC 的系統,並使用 Sun Management Center 監視叢集,請移至SPARC: 如何升級 Sun Management Center 的 Sun Cluster 模組軟體。
否則,便完成了叢集升級。