BigAdmin System Administration Portal
提交的文章:使用 Solaris 操作系统中的 Flash 归档进行灾难恢复(第 2 部分)
Print-friendly VersionPrint-friendly Version
此内容由 BigAdmin 用户提交。虽然可能会对此内容稍加编辑以增强可读性,但 Sun Microsystems 尚未验证其技术准确性。如果您发现了错误,或者希望对此文章发表评论,请联系提交者,或使用文章底部的评论字段。社区提交可能未遵循 Sun 商标准则。有关 Sun 商标的信息,请参见 http://www.sun.com/suntrademarks/
 
 

使用 Solaris 操作系统中的 Flash 归档进行灾难恢复(第 2 部分)

Joseph Gan,2006 年 2 月

我在 Sun BigAdmin Web 站点上发表文章使用 Solaris 操作系统中的 Flash 归档进行灾难恢复之后,有人问我如何使用 Solaris Flash 在不同的服务器平台之间进行恢复。最重要的是,有人问我这样一个问题:“如果这些平台最初不是作为 Entire Distribution plus OEM 软件组安装的,情况又会如何?”

首先,主服务器和恢复服务器的系统硬件规范所规定的 Solaris 操作系统版本必须是相同的最低支持版本(或者更高版本),当主服务器比恢复服务器版本更旧的时候尤其需要注意。例如,如果您希望将 Sun Fire V880 服务器上的内容恢复到 Sun Fire V440 服务器,则必须确保 Sun Fire V880 服务器上的操作系统为 Solaris 8 7/03 操作系统或更高版本,因为这是 Sun Fire V440 服务器对操作系统的最低要求。

其次,您必须确保主服务器安装了正确的 Solaris 软件组,以支持较新的平台。如我的上一篇文章中所述,最佳方法是安装 Entire Distribution plus OEM 软件组。但是,如果主服务器安装的软件分发组不是 Entire + 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 产品注册表工具详细列出已安装和已注册的软件包。

要查看产品注册表,请在命令行中键入 /usr/bin/prodreg。将显示“注册表”主窗口,您可以查找每个软件包,如下图所示。

Flash 恢复

图 1:产品注册表
(单击放大)

例如,如果您已安装 Entire Distribution System Support 软件组,并要升级到 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 Operating Environment Package List"(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.
 
 

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


BigAdmin