BigAdmin System Administration Portal
社群提交的文章
Print-friendly VersionPrint-friendly Version
This content is submitted by a BigAdmin user. It has not been reviewed for technical accuracy by Sun Microsystems, though it may have been lightly edited to improve readability. If you find an error or would like to comment on the article, please contact the submitter or use the comment field at the bottom of the article. Community submissions may not follow Sun trademark guidelines. For information on Sun trademarks, please see http://www.sun.com/suntrademarks/.
 
 

使用 Solaris 作業系統中的 Flash 歸檔進行嚴重損壞回復,第 2 部分

Joseph Gan,2006 年 2 月

當我在 Sun BigAdmin 網站上發表使用 Solaris 作業系統中的 Flash 歸檔進行嚴重損壞回復一文後,有些人詢問我應如何使用 Solaris Flash 在完全不同的伺服器平台之間進行回復。最重要的是,有人問我這個問題:「若這些平台最初未以完整的分發 + OEM 軟體群組的形式安裝,該如何處理?」

首先,主要伺服器與回復伺服器的系統硬體規格必須具有相同的基本支援 Solaris 作業系統版本 (或更新版本),尤其是在主要伺服器比回復伺服器還舊的時候。例如,若您要將 Sun Fire V880 伺服器回復至 Sun Fire V440 伺服器,您必須確定 Sun Fire V880 伺服器上的作業系統為 Solaris 8 7/03 作業系統或更新版本,因為這是 Sun Fire V440 伺服器的基本作業系統需求。

接著,您必須確定主要伺服器已安裝正確的 Solaris 軟體群組,以支援更新的平台。如前文所述,安裝「完整的分發 + OEM 軟體群組」是最好的方式。但若主要伺服器上安裝的是 Entire Plus OEM 以外的軟體發行群組,又該如何?

有兩種方式可判斷機器上所安裝的作業系統發行軟體為何。

1) 其中一種方法是使用下列指令:

$ cd /var/sadm/system/admin

$ ls -al
total 120
drwxr-xr-x 3 root sys 512 Jul 30 2003 .
drwxr-xr-x 5 root sys 512 Jul 30 2003 ..
-rw-r--r-- 1 root root 55072 Jul 30 2003 .clustertoc
-rw-r--r-- 1 root root 623 Jul 30 2003 .platform
-rw-r--r-- 1 root root 18 Jul 30 2003 CLUSTER
-rw-r--r-- 1 root root 27 Jul 30 2003 INST_RELEASE
drwxr-xr-x 2 root sys 512 Jul 30 2003 services

若要判斷系統上所安裝的叢集配置為何,您可以使用下列指令:

$ cat /var/sadm/system/admin/CLUSTER

CLUSTER 檔案會讓您知道您在安裝作業系統時所選取的發行軟體。可能的清單如下:

SUNWCreq: core
SUNWCuser: end user distribution
SUNWCprog: developer distribution
SUNWCall: entire distribution
SUNWCXall: entire distribution plus OEM support

若要檢視叢集配置的名稱,請執行下列指令:

$ grep METACLUSTER /var/sadm/system/admin/.clustertoc
METACLUSTER=SUNWCXall
METACLUSTER=SUNWCall
METACLUSTER=SUNWCprog
METACLUSTER=SUNWCuser
METACLUSTER=SUNWCreq
METACLUSTER=SUNWCrnet
METACLUSTER=SUNWCmreq

注意:中介叢集 SUNWCmreq 是隱藏的中介叢集。它可讓您藉由取消選取核心中介叢集中的套裝軟體,建立基本的核心中介叢集。

2) 另一個判斷作業系統發行軟體的方法,是使用 Solaris 7 3/99 軟體版本或更新版本。您可以使用 Solaris Product Registry 工具詳細列出已安裝並註冊的套裝軟體。

若要檢視產品登錄,請在指令行上鍵入 /usr/bin/prodreg。畫面上會出現 [登錄] 主視窗,您可以在其中尋找每個套裝軟體,如下列影像所示。

Flash 回復

圖 1:產品登錄
(按一下可放大)

例如,若您已安裝「完整的分發系統支援軟體群組」,而要升級為 OEM,您可能必須從安裝 CD 或 DVD 手動增加其他套裝軟體,以符合需求。以下範例說明您可能必須增加的某些套裝軟體,以及所有附屬的套裝軟體:

system SUNWafb Elite3D Graphics System Software/Device Driver
system SUNWafbcf Elite3D Graphics Configuration Software
system SUNWafbr Elite3D Graphics System Software (Root)
application SUNWafbw Elite3D Graphics Window System Support
system SUNWcvc Network Console
system SUNWcvcr Network Console daemon
system SUNWdrr Dynamic Reconfiguration Modules for Sun Enterprise 10000
system SUNWffb Creator Graphics System Software/Device Driver
application SUNWffbcf Creator Graphics Configuration Software
application SUNWffbw Creator Graphics Window System Support
system SUNWidn Inter-Domain Network Modules for Sun Enterprise 10000
system SUNWidnd Internationalized Domain Name Support Developer Files
system SUNWidnl Internationalized Domain Name Support Library Files
system SUNWidnu Internationalized Domain Name Support Utilities
system SUNWifp Sun Fibre Channel Arbitrated Loop Device Driver
system SUNWifph Sun Fibre Channel Arbirated Loop Driver Header Files
system TSIpgx PGX32 (Raptor GFX) System Software/Device Driver v4.0
application TSIpgxw PGX32 (Raptor GFX) X Window System Support v4.0
........

當您完成這些動作後,機器即可建立 Flash 歸檔。

您可以在 http://docs.sun.com 上尋找其他發行軟體中的套裝軟體清單。如需 Solaris 作業系統的最新資訊,請到此站點搜尋「Solaris X 作業環境套裝軟體清單」。將「X」取代為 9 或 10。您應取得具有詳細資訊的套裝軟體完整清單。

The information and links on this page have been provided by a BigAdmin user. The submitter is solely responsible for such information and links. Sun is not responsible for the availability of external sites or resources, and does not endorse and is not responsible or liable for any content, advertising, products, or other materials on or available from such sites or resources. Sun will not be responsible or liable, directly or indirectly, for any actual or alleged damage or loss caused by or in connection with use of or reliance on the information posted here, or goods or services available on or through any external site or resource.
 
 

Comments (latest comments first)

Discuss and comment on this resource in the BigAdmin Wiki

Unless otherwise licensed, code in all technical manuals herein (including articles, FAQs, samples) is provided under this License.


BigAdmin