[教材]SUN_M4000安装(机器安装、集群安装)

[教材]SUN_M4000安装(机器安装、集群安装)


2024年1月12日发(作者:)

目录00 0

一.系统拓扑图.......................................................2二.连接并设置管理控制台..............................................32.1连接控制台 ...................................................42.2设置控制台 ...................................................5三.基于 ZFS 文件系统Solaris 10交互式文本安装........................73.1 开启服务器电源并进入ok模式下进行系统引导....................73.2引导Solaris操作系统安装 .....................................8四.安装SUN-EIS系统补丁.............................................13五.sun cluster 3.2的安装与配置 .....................................245.1 配置IP Multipathing ........................................245.2 修改远程系统控制属性文件....................................265.3在结点ZYDD-DB安装sun cluster软件 ..........................275.4在ZYDD-DB配置sun cluster软件 ..............................355.5在结点ZYDD-APP安装sun cluster软件 .........................365.6在ZYDD-APP配置sun cluster软件 .............................45六.Oracle 10g数据库安装 ............................................466.1 创建用户和组以及赋予权限....................................466.2设置kernel参数 .............................................466.3 设定Oracle用户的的环境参数.................................466.4数据库软件产品的安装过程: ...................................476.5 ORACLE数据库的创建过程 .....................................4800 0

00 0

00 0

00 0

00 0

00 0

00 0

00 0

00 0

00 0

00 0

00 0

00 0

00 0

00 0

00 0

00 0

00 0

00 0

00 0

00 0

一.系统拓扑图

00 0

二.连接并设置管理控制台0 0

0 0

XSCF 单元上的串行端口是 RJ-45 接口端口,用于监视引导过程以及修改默认设置。该

端口可以使用通过串行电缆连接到串行端口的管理控制台进行监视和配置。可以将下列任一设备作为管理控制台来监视和配置 XSCF 单元:■ ASCII 终端■ 工作站00 0

0 0

00 0

00 0

00 0

■ 终端服务器(或者连接到终端服务器的配线架)个人计算机00 0

00 0

图1-1说明了 XSCF 单元上各个端口的位置

图1-1 XSCF 单元上的端口位置编号组件

1

2

3

4

5

6

00 0

组件00 0

RCI 端口串行端口USB 端口00 0

00 0

00 0

LAN 1 (Ethernet#1)LAN 0 (Ethernet#0)UPC#1UPC#000 0

00 0

00 0

7

00 0

2.1连接控制台00 0

00 0

1. 使用服务器附带的串行电缆将管理控制台连接到串行端口。2. 在管理控制台上配置相应的设置。该控制台应有以下设置:■ 波特率:9600 bps■ 数据长度:8 位■ 奇偶校验:无■ 停止位:1 位■ 流量控制:无延迟:除 0 以外

00 0

00 0

00 0

00 0

00 0

00 0

00 0

00 0

00 0

3. 将操作面板上的钥匙设置到“维修”位置。

0 0

类似扳手的图标指示的是“维修”位置,类似锁的图标指示的是“锁定”位置。如图1-2

图1-2操作面板上的模式开关4. 打开输入电源。00 0

00 0

0 0

5. 打开 XSCF 单元的电源时,注意观察管理控制台上是否显示错误消息。6. 确认操作面板上的“XSCF 待机” LED 指示灯(绿色)亮起。7. 出现 login 提示时,输入登录名的默认值:8. 将操作面板上的钥匙设置到“锁定”位置。9. 按回车键。00 0

0 0

00 0

00 0

00 0

先等待五秒钟,然后执行步骤 10。00 0

10. 将操作面板上的钥匙设置到“维修”位置,然后按回车键。注 – 如果未在 1 分钟内执行步骤 10,登录认证将过期。11. 确认管理控制台上显示了 XSCF Shell 提示符。login: defaultXSCF>00 0

00 0

00 0

00 0

2.2设置控制台00 0

1.加入用户、设置用户密码同时赋予用户权限00 0

XSCF>adduser eis-installer(可以自己定义)00 0

XSCF>password eis-installer (会提示两次输入密码)需求设置权限)

00 0

XSCF> setprivileges eis-installer platadm useradm auditadm fieldeng mode(设置用户权限可根据00 0

2.退出default用户登录eis-installer用户00 0

0 0

3. 初始化xscf单元其过程如下(具体配置用户可根据自己的需求选择)键入setupplatform开始进行配置XSCF>setup setupplatform00 0

00 0

Do you want to set up an account? [y|n]: nDo you want to set up networking? [y|n]: y设置XSCF#0-lan#0的属性0 0

0 0

00 0

0 0

Do you want to set up the XSCF network interfaces? [y|n]: yDo you want to configure xscf#0-lan#0? [y|n]: yxscf#0-lan#0 ip address? []: 192.168.10.11

0 0

00 0

xscf#0-lan#0 netmask? [255.255.255.0]: 255.255.255.0xscf#0-lan#0 default gateway? []: 192.168.10.1xscf#0-lan#0 ip address: 192.168.10.11xscf#0-lan#0 netmask: 255.255.255.000 0

00 0

00 0

00 0

xscf#0-lan#0 default gateway: 192.168.10.1Are these settings correct? [y|n]: y以上配置也可用以下命令来完成00 0

0 0

00 0

0 0

XSCF> setnetwork xscf#0-lan#0 -m 255.255.255.0 192.168.10.11

XSCF> setroute -c add -n 0.0.0.0 -m 0.0.0.0 -g 192.168.10.1 xscf#0-lan#0

00 0

设置XSCF#0-lan#1的属性(可选项可以不进行配置)Do you want to configure xscf#0-lan#1? [y|n]: yxscf#0-lan#0 ip address? []: 192.168.11.1100 0

0 0

00 0

xscf#0-lan#0 netmask? [255.255.255.0]: 255.255.255.0xscf#0-lan#0 default gateway? []: 192.168.11.1xscf#0-lan#0 ip address: 192.168.11.11xscf#0-lan#0 netmask: 255.255.255.000 0

00 0

00 0

00 0

xscf#0-lan#0 default gateway: 192.168.11.1Are these settings correct? [y|n]: y以上配置也可用以下命令来完成00 0

00 0

00 0

0 0

XSCF> setnetwork xscf#0-lan#1 -m 255.255.255.0 192.168.11.11

XSCF> setroute -c add -n 0.0.0.0 -m 0.0.0.0 -g 192.168.11.1 xscf#0-lan#1

00 0

设置DSCP的属性(可选项可以不进行配置)00 0

Do you want to set up the DSCP network? [y|n]: yDSCP network? []: 192.168.224.00 0

00 0

DSCP netmask? [255.255.255.0]: 255.255.255.000 0

DSCP network: 192.168.224.0DSCP netmask: 255.255.255.000 0

00 0

00 0

Are these settings correct? [y|n]: y以上配置也可用以下命令来完成00 0

00 0

XSCF> setdscp -q -y -i 192.168.224.0 -m 255.255.255.0设置DNS的网络属性(必须配置localdomain 和hostname)00 0

Do you want to set up the domain name service? [y|n]: yPrimary DNS server ip address? []:10.20.50.1Do you want a secondary DNS server? [y|n]: y0 0

00 0

0 0

Secondary DNS server ip address? []:10.20.60.1Do you want a tertiary DNS server? [y|n]: n00 0

0 0

Do you want to specify a domain name? [y|n]: y0 0

Domain name [localdomain]: ue of localhost)

00 0

XSCF#0 hostname [localhost]: xyz-xscf0 (do not leave the default00 0

0 0

XSCF#1 hostname [localhost]: xyz-xscf1 (do not leave the defaultvalue of localhost00 0

0 0

00 0

Primary DNS server ip address: 10.20.50.1Tertiary DNS server ip address:

Secondary DNS server ip address: 10.20.60.100 0

00 0

Domain name: F#0 hostname: xyz-xscf00 0

00 0

XSCF#1 hostname: xyz-xscf100 0

Are these settings correct? [y|n]: y以上配置也可用以下命令来完成00 0

00 0

XSCF> setnameserver -c del -a00 0

XSCF> setnameserver -c add 10.20.50.1 10.20.60.1XSCF> sethostname xscf#0 xyz-xscf0XSCF> sethostname xscf#1 xyz-xscf100 0

00 0

00 0

XSCF> sethostname -d 设置SSH的网络属性(根据需求设置)00 0

00 0

Do you want to set up ssh? [y|n]: yEnable ssh service? [y|n]: y以上配置也可用以下命令来完成XSCF> setssh -q -y -c enable00 0

00 0

0 0

00 0

00 0

其他关于Email、https、时间zone的设置根据需要进行相应的设置最后对设置进行应用并重启XSCFContinue? [y|n] : y00 0

Do you want to apply the network changes? [y|n]: y00 0

0 0

0 0

Please reset the XSCF by rebootxscf to apply the network confirm that the settings have been applied by executingshowhostname, shownetwork, showroute and shownameserver afterrebooting the XSCF.00 0

0 0

0 0

0 0

Do you want to reboot the XSCF now? [y|n]: y

以上配置也可用以下命令来完成XSCF> applynetwork –yXSCF> rebootxscf00 0

00 0

00 0

三.基于 ZFS 文件系统Solaris 10交互式文本安装 0

00

3.1 开启服务器电源并进入ok模式下进行系统引导0 0

00 0

开机:

XSCF> poweron -d 0XSCF> console -d 0

关闭机器:00 0

00 0

00 0

00 0

XSCF> poweroff -d 0 或者 poweroff -a

Center-1 XSCF地址:10.1.1.51

默认模式:login:default密码为空

00 0

00 0

00 0

00 0

login:eis-instller密码:surekam2009

00 0

00 0

Center-2 XSCF地址:10.1.1.52默认模式:密码为空00 0

00 0

login:default00 0

00 0

login:eis-instller密码:surekam2009

00 0

00 0

两台M5000安装HA软件关机顺序:后关闭的机器,先启动!

00 0

3.2引导Solaris操作系统安装1.插入系统盘并引导系统安装ok boot cdrom安装核对表安装信息

网络连接

00 0

00 0

00 0

2. Solaris 10操作系统的安装00 0

00 0

答案-缺省值带有星号 (*) 标记

已联网/未联网

未联网

描述或示例

系统是否联网?

网络安全性 从 Solaris 10 11/06 发行版开始, 您可以在初始安装期间选择更改网络安全性设置,以便禁用除安全 Shell 之外的所有网络服务,或对这些服务进行限制以使它们只响应本地请求。此安全性选项仅在初始安装期间可用,在升级期间不可用。升级时会保留所有以前设置的服务。如有必要,可以使用

netservices 命令在升级后限制网络服务。

受限制的/开放式网络安全性

开放式网络安全性

在安装期间,您可以选择受限制的网络安全性。或者,可以像在以前的 Solaris 发行版中那样,启用为数较多的一组服务。您可以放心地选择受限制的网络安全性选项,因为任何服务都可在安装后单独启用。有关这些选项的详细信息,请参见《Solaris 10 11/06 安装指南:规划安装和升级》中的“规划网络安全性”。

可以在安装后,使用 netservices open 命令,或通过使用 SMF

命令启用各个服务来启用网络服务。请参见《Solaris 10 11/06

安装指南:规划安装和升级》中的“在安装后修改安全性设置”。

DHCP 系统是否可以使用动态主机配置协议 (DHCP) 配置其网络接口?

DHCP 提供安装所需的网络参数。

是/否*

如果您没有使用 IP 地DHCP,请注明网络地址。

如果您没有使用 DHCP,请提供系统的 IP 地址。

示例:172.31.255.255

要在运行的系统中查找此信息,请输入以下命令:

# ypmatch host-name hosts

e1000g0

132.77.206.136/132.77.206.137

子网 如果您没有使用 DHCP,系统是子网的一部分吗? 255.255.255.224

如果是,子网的网络掩码是什么?

示例:255.255.255.0

要在运行的系统中查找此信息,请输入以下命令:

# more /etc/netmasks

IPv6 您想在此计算机上启用 IPv6 吗?

IPv6 是 TCP/IP Internet 协议的一部分,它通过增加更高的安全性并扩充 Internet 地址,使得 IP 寻址更加方便。

是/否*

主机名 您为系统选择的主机名。

要在运行的系统中查找此信息,请输入以下命令:

# uname -n

ZYDD-DB

Kerberos 您想在此计算机上配置 Kerberos 安全性吗?

如果想,请收集此信息:

缺省领域:

管理服务器:

第一个 KDC:

(可选) 其他的 KDC:

Kerberos 服务是一种客户机/服务器的体系结构,用于提供网络上的安全事务。

是/否*

如果系统使用了命名服务,请提供以下信息。

命名服务

此系统应该使用哪个命名服务?

要在运行的系统中查找此信息,请输入以下命令:

# cat /etc/

命名服务将信息存储在中心区域,这样用户、计算机和应用程序均能够通过网络进行通信。例如,存储的信息可以是主机名和地址或用户名和口令。

NIS+/NIS/DNS/ LDAP/无

域名 请提供系统所驻留的域的名称。

NIS+

和 NIS

您想指定一个名称服务器还是想让安装程序进行查找? 指定/查找*

如果想指定一个名称服务器,请提供以下信息:

服务器的主机名:

对于 NIS 客户机,请键入以下命令以显示服务器的主机名:

# ypwhich

对于 NIS+ 客户机,请键入以下命令以显示服务器的主机名:

# nisping

服务器的 IP 地址:

对于 NIS 客户机,请键入以下命令以显示服务器的 IP 地址:

# ypmatch nameserver-name hosts

对于 NIS+ 客户机,请键入以下命令以显示服务器的 IP 地址:

# nismatch nameserver-name

_dir

网络信息服务 (Network Information Service, NIS) 通过对各种网络信息(如计算机名和地址)进行集中式控制,使得网络管理更加容易。

DNS 提供 DNS 服务器的 IP 地址。必须至少输入一个 IP 地址,但最多可以输入三个地址。

服务器的 IP 地址:

要显示服务器的 IP 地址,请键入以下命令:

# getent ipnodes dns

进行 DNS 查询时,可以输入要查找的域列表。

要查找的域列表:

域名系统 (domain name system, DNS) 是 Inetnet 针对

TCP/IP 网络提供的命名服务。DNS 提供主机名与 IP 地址的映射服务,并通过使用计算机名代替数字 IP 地址简化了通信。DNS 还可以用作进行邮件管理的数据库。

LDAP 提供 LDAP 配置文件的以下信息:

配置文件名:

配置文件服务器:

如果要在 LDAP 配置文件中指定代理信任级别,请收集此信息。

代理绑定标识名:

代理绑定口令:

轻量目录访问协议 (Lightweight Directory Access

Protocol, LDAP) 定义了相对简单的协议,用于更新和搜索基于 TCP/IP 运行的目录。

缺省路由 您希望指定一个缺省路由 IP 地址还是使用 Solaris 安装程序进行查找?

缺省路由为在两个物理网络之间转发通信提供桥梁。IP 地址是标识网络上每一个主机的唯一数字。

您有如下选择:

可以指定 IP 地址,并使用指定的 IP 地址创建

/etc/defaultrouter 文件。系统重新引导时,指定的 IP 地址成为缺省路由。

可以让 Solaris 安装程序检测一个 IP 地址。但是系统必须在一个子网上,该子网包含一个通过使用 ICMP 路由器发现协议发布自己的路由器。如果您正在使用命令行界面,则软件可在系统引导时检测到一个 IP 地址。

检测一个 IP 地址*/指定一个 IP

地址/无

指定一个 IP 地址

132.77.206.129

如果您没有路由器或者不希望软件现在检测 IP 地址,可以选择“无”。重新引导时软件自动尝试检测 IP 地址。

时区 您想如何指定缺省时区?

地理区域*/GMT 的偏移/时区文件

地理区域

超级用户口令

语言环境

SPARC:Power

Management(仅适用于支持

Power

Management 的

SPARC 系统)

提供系统的超级用户口令。

您想安装对哪个地理区域的支持?

您想使用 Power Management 吗?

注 –

如果您的系统使用的是能源之星版本 3 或更高版本,您不会收到此提示信息。

自动重新引导或弹出 CD/DVD

软件安装后是否自动重新引导?

软件安装后是否自动弹出 CD/DVD?

surekam

中国

是*/否

是*/否

是*/否

缺省安装或自定义安装

您是想执行缺省安装还是想自定义安装?

选择“缺省安装”可以格式化整个硬盘,并会安装一套预选软件。

选择“自定义安装”可以修改硬盘布局,并选择您要安装的软件。

注 –

文本安装程序不会提示您选择“缺省安装”或“自定义安装”。要执行缺省安装,请接受文本安装程序中提供的缺省值。要执行自定义安装,请在文本安装程序屏幕上编辑相应的值。

缺省安装*/自定义安装

自定义安装

软件组 您想安装哪个 Solaris 软件组?

自定义软件包选择

您想在安装的 Solaris 软件组中添加或删除软件包吗? 无

完整加 OEM/完整*/开发者软件组/最终用户软件组/核心软件组/精简联网

完整加 OEM

注 –

选择要添加或删除的软件包时,需要了解软件依赖性以及

Solaris 软件的封装方法。

选择文件

系统类型

您想选择ZFS文件系统还是使用UFS

选择ZFS文件系统

选择用于ZFS根池的硬盘

您可以选择一个或多个用于根池的硬盘

如果您选择了两个盘则为根池设置镜像的双磁盘配置。镜像的双盘或者三磁盘池是最优配置

选择双磁盘配置

c0t0d0

c0t1d0

配置ZFS池名称

数据集名称

池大小、交换和转储以及/var和/swap的模式

您可以更改ZFS池名称、数据池名称、池大小、交换、转储

并选择/var和/swap的模式

池名 rpool

池大小 146G

swap大小 32G

/var大小 16G

dump 16G

采用root和/var分开的模式

保留数据 您想保留安装 Solaris 软件的磁盘上的所有现有数据吗? 是/否*

挂载远程文件系统

如果是,请提供远程文件系统的以下信息。

服务器:

IP 地址:

远程文件系统:

本地挂载点:

是/否*

四.安装SUN-EIS系统补丁# lofiadm –a /iso/00 0

00 0

# mount –F hsfs –o ro /dev/lofi/1 /mnt# cd /mnt/SUN/install# ./00 0

00 0

00 0

00 0

Running setup-standard with EIS-CD Vn 30-JAN-07===============================================

00 0

Creating /var/sun for scripts, log Loading /opt/

Setting up /.

Is the power saving daemon to be disabled? [y/n]: y/etc/ has been modified.

Sun keyboard Power button to be disabled? [y/n]: y

Are the buttons & dials to be disabled? [y/n]: y

Remote ROOT logins probably enabled: See /etc/

For Solaris 7 & higher the crash dump is automatically enabled! Dump content: kernel pages00 0

0 0

0 0

0 0

0 0

0 0

00 0

00 0

00 0

00 0

Loading /opt/sun/patchdiag-1.0.4 & ...

00 0

Dump device: /dev/dsk/c1t0d0s1 (swap)Savecore directory: /var/crash/CNSUZMES01 Savecore enabled: yes00 0

00 0

00 0

0 0

Do you wish to ENABLE the alternate break sequence? [E/n]: E

Please note that the new break sequence is: ~ ^B (no spaces)(i.e. Carriage return, tilde, control-B)00 0

0 0

Automated Core File Analysis Tool (ACT).....00 0

ACT Package is not installed - Version

Do you want to install the ACT package? [y/n]: y

处理软件包范例来自00 0

0 0

00 0

00CS CTE Automated Crash Analysis tool (/tools/ ) (sparc) 8.2

0

ACT

00 0

Copyright 1997-2003 Sun Microsystems, Inc. All rights reserved.

enter base directory for install (Default /opt/CTEact) [?,q]

Do you wish to enable the email of panic facility [y] [y,n,?] n

所选择的基本目录必须存在于开始安装之前

您要现在就创建这个目录吗? [y,n,?,q] y0 0

0 0

0 0

0 0

00 0

使用作为包的基本目录## 正在处理软件包信息.## 正在处理系统信息.## 检查磁盘空间需求00 0

00 0

00 0

00 0

## 检查同已经安装的软件包之间的冲突.## 检查setuid/setgid程序。00 0

00 0

0 0

在这个软件包中包含了正文程序,只有具有超级-用户的权限才能在这个软件包的安装过程中执行它们.

要继续安装吗? y00 0

00 0

0安装CS CTE Automated Crash Analysis tool (/tools/)成为

0

##正在安装1部分- 1.00 0

/opt/CTEact/man/man1/act.100 0

/opt/CTEact/scripts/ACT_dumpscript[ 确认类别 ]00 0

00 0

/opt/CTEact/bin/5.9/sparcv7/act/opt/CTEact/bin/5.9/sparcv9/act[ 确认类别<58> ]00 0

00 0

00 0

## 执行预安装正文

00 0

Creating Architecture link for ACTCreating symbolic link for ACT00 0

00 0

Installing ACT_dumpscript in /etc/lling Link in /etc/rc2.d

00 0

00 0

Please Modify your PATH environment variable to include /opt/CTEact/bin

00 0

Please Modify your MANPATH environment variable to include /opt/CTEact/man

00 0

安装成功

Explorer Package not present - will install Version ...

****************************************************** * Please supply configuration information with care. * * Especially enter the following customer details: * * - Company Name (case sensitive) * * - System serial number * * - Contact Name * * - Contact email address * * - Address details *0 0

00 0

00 0

0 0

0 0

0 0

0 0

0 0

0 0

0 0

******************************************************

Press RETURN

处理软件包范例来自

Sun(TM) Explorer Data Collector(sparc,i386) 4.1.1, GAAll rights reserved.00 0

00 0

0 0

00 0

00 0

Copyright 1996-2003 Sun Microsystems, Inc.00 0

00 0

Package SUNWexplo not yet installed.

SUN MICROSYSTEMS, INC.

SOFTWARE LICENSE AGREEMENT

00 0

00 0

00 0

SUN IS WILLING TO LICENSE THE ACCOMPANYING SOFTWARE TO YOU ONLY UPON THE

0 0

CONDITION THAT YOU ACCEPT ALL OF THE TERMS CONTAINED IN THIS LICENSE AGREEMENT.

0 0

READ THE TERMS AND CONDITIONS OF THIS LICENSE CAREFULLY BEFORE DOWNLOADING THE

0 0

SOFTWARE. BY DOWNLOADING AND OR USING THE SOFTWARE, YOU AGREE TO THE TERMS AND

0 0

CONDITIONS OF THIS AGREEMENT. IF YOU ARE NOT WILLING TO BE BOUND BY THIS

00 0

AGREEMENT, YOU ARE NOT AUTHORIZED TO DOWNLOAD OR USE THIS SOFTWARE.

Agree to these terms? [y,n] y

-----

00 0

00 0

0 0

Sun Microsystems, Inc. respects your desire for privacy. Personal information

00 0

collected from this form will not be shared with organizations external to Sun

0 0

without your consent, except to process data on Sun's behalf in connection with

0 0

this transaction. We will use your personal information for communications

00 0

regarding Sun equipment and service related topics associated with the data

00 0

submitted.00 0

Sun, as a global company, may transfer your personal information to countries

00 0

which may not provide an adequate level of protection. Sun, however, is

0 0

committed to providing a suitable & consistent level of protection for your

00 0

personal information regardless of the country in which it resides.

0 0

Completing the form below implies agreement with the above processing.

0 0

If you have any questions please refer to the Sun Privacy Policy or contact us

0 0

*****************.

00 0

If you have any questions about this form or in the future wish to update or

00 0

deleteanyoftheinformationprovided,*************************************

0 0

-----

For any prompt, defaults appear in square brackets, e.g. [default].Pressing return without entering any data will take the default.0 0

00 0

0 0

You may specify an empty reply, as opposed to the default, by replyingwith a single dash, '-'.

Where should this package be installed? [/opt/SUNWexplo]:

Company name []:

Contract ID []:

00 0

00 0

0 0

0 0

00 0

System serial number []:Contact name []:Phone number []:00 0

00 0

Contact email address []:00 0

00 0

Address (line 1) []:

Address (line 2) []:

City []:

Zip []:

State []:

00 0

00 0

00 0

00 0

00 0

Please select your geo from this list -

1) AMERICAS

00 0

00 0

2) EMEA3) APAC

00 0

00 0

[AMERICAS] 3APAC00 0

00 0

00 0Please Enter the two character Country code or enter ? for a list of countries. : cn

CN China

Automatic Email Submission

00 0

00 0

Would you like all explorer output to be sent to:******************************00 0

00 0

0 0

at the completion of explorer when -mail or -e is specified?[y,n] Please answer y, yes, n or no : n

Automatic Email Submission

Would you like all explorer output to be sent to:******************************00 0

0 0

00 0

00 0

0 0

at the completion of explorer when -mail or -e is specified?[y,n] n

Alternate Email Addresses

Would you like explorer output to be sent to alternate email00 0

00 0

0 0

addresses at the completion of explorer? If not, enter a single -only for your reply.

To enter multiple addresses, seperate them with a comma (,).[]:

Returnaddressforexploreremailoutput[**********.cn]:

00 0

00 0

0 0

0 0

0 0

To receive email notification that your explorer output has been loaded

00 0

into the repository, enter the email address to send the notification to.

0 0

If notification is not wanted, enter a single -.

[]:

You have answered:00 0

00 0

00 0

Company name:

Contract ID:

00 0

00 0

System serial number:

Contact name:

Contact email address:

Phone number:

Address (line 1):

Address (line 2):

City:

State:

Zip:

Country:

Country Code:

Geography: APAC Mail output to:

Mail output from:

Mail on data load:

Are these values okay? [y,n] y

We recommend running explorer once a week and emailing the resultswill be modified.

Do you wish to run explorer once a week? [y,n] n

The command to do this would be:

/opt/SUNWexplo/bin/explorer -q -e

Would you like to do this now? [y,n] n

所选择的基本目录必须存在于开始安装之前

您要现在就创建这个目录吗? [y,n,?,q] y使用作为包的基本目录## 正在处理软件包信息.## 正在处理系统信息.## 检查磁盘空间需求00 0

00 0

0 0

00 0

00 0

0 0

0 0

00 0

00 0

00 0

00 0

00 0

00 0

00 0

00 0

00 0

00 0

00 0

00 0

00 0

00 0

00 0

00 0

to the explorer database. If you agree with this, the root crontab00 0

0 0

00 0

00 0

00 0

00 0

## 检查同已经安装的软件包之间的冲突.## 检查setuid/setgid程序。

00 0

00 0

在这个软件包中包含了正文程序,只有具有超级-用户的权限才能在这个软件包0 0

的安装过程中执行它们.

00 0

要继续安装吗? y

00 0

安装Sun(TM) Explorer Data Collector成为

## 执行预安装正文00 0

00 0

##正在安装1部分- 1.00 0

/etc/opt/SUNWexplo/00 0

/etc/opt/SUNWexplo/redo_/etc/opt/SUNWexplo/00 0

00 0

/opt/SUNWexplo/bin//opt/SUNWexplo/bin/core_/opt/SUNWexplo/bin/diskinfo.i38600 0

00 0

00 0

/opt/SUNWexplo/bin/00 0

/opt/SUNWexplo/bin/exp_bulk_/opt/SUNWexplo/bin/explorer00 0

00 0

/opt/SUNWexplo/bin/explorer_iscda/opt/SUNWexplo/bin/gzip.i38600 0

/opt/SUNWexplo/bin/explorer_notify_update00 0

00 0

/opt/SUNWexplo/bin/00 0

/opt/SUNWexplo/bin/instinfo_config/opt/SUNWexplo/bin/j2se_config/opt/SUNWexplo/bin/mktime00 0

00 0

00 0

/opt/SUNWexplo/bin//opt/SUNWexplo/bin/sunone_config/opt/SUNWexplo/bin/sunone_ps00 0

00 0

00 0

/opt/SUNWexplo/bin/t3client.i386/opt/SUNWexplo/doc/CHANGES/opt/SUNWexplo/doc/README00 0

/opt/SUNWexplo/bin/00 0

00 0

00 0

/opt/SUNWexplo/doc/README.j2se_config/opt/SUNWexplo/doc/00 0

00 0

/opt/SUNWexplo/doc/_config00 0

/opt/SUNWexplo/java//opt/SUNWexplo/java//opt/SUNWexplo/lib/exp_check/opt/SUNWexplo/lib/exp_file/opt/SUNWexplo/lib/exp_ftp00 0

00 0

00 0

/opt/SUNWexplo/lib/exp_common00 0

00 0

00 0

/opt/SUNWexplo/lib/exp_j2se/opt/SUNWexplo/lib/exp_lite/opt/SUNWexplo/lib/exp_mail/opt/SUNWexplo/lib/exp_main00 0

00 0

00 0

00 0

/opt/SUNWexplo/lib/exp_postproc/opt/SUNWexplo/lib/exp_sunone/opt/SUNWexplo/lib/exp_tools00 0

00 0

00 0

/opt/SUNWexplo/lib/exp_transport00 0

/opt/SUNWexplo/lib/ <符号链接>/opt/SUNWexplo/lib/.100 0

00 0

/opt/SUNWexplo/lib/ <符号链接>/opt/SUNWexplo/lib/.1/opt/SUNWexplo/lib/.1/opt/SUNWexplo/lib/ <符号链接>00 0

00 0

00 0

00 0

/opt/SUNWexplo/lib/ <符号链接>/opt/SUNWexplo/lib/.100 0

00 0

/opt/SUNWexplo/lib/ <符号链接>/opt/SUNWexplo/lib/.100 0

00 0

/opt/SUNWexplo/lib/locale/C/LC_MESSAGES//opt/SUNWexplo/lib/locale/C/LC_MESSAGES//opt/SUNWexplo/lib/uu2b6400 0

00 0

00 0

/opt/SUNWexplo/man/man1m/explorer.1m/opt/SUNWexplo/man/man4/explorer.4/opt/SUNWexplo/man/man5/explorer.5/opt/SUNWexplo/tools/cluster/opt/SUNWexplo/tools/cmdline/opt/SUNWexplo/tools/cst/opt/SUNWexplo/tools/emc/opt/SUNWexplo/tools/etc/opt/SUNWexplo/tools/disks00 0

00 0

00 0

00 0

00 0

00 0

00 0

00 0

00 0

/opt/SUNWexplo/tools/fcal/opt/SUNWexplo/tools/fru/opt/SUNWexplo/tools/hds00 0

/opt/SUNWexplo/tools/firelink00 0

00 0

00 0

/opt/SUNWexplo/tools/init00 0

/opt/SUNWexplo/tools/instinfo/opt/SUNWexplo/tools/j2se/opt/SUNWexplo/tools/ldap/opt/SUNWexplo/tools/lic/opt/SUNWexplo/tools/lp00 0

/opt/SUNWexplo/tools/iplanet <符号链接>00 0

00 0

00 0

00 0

00 0

/opt/SUNWexplo/tools/messages/opt/SUNWexplo/tools/nbu00 0

/opt/SUNWexplo/tools/messages_lite00 0

00 0

/opt/SUNWexplo/tools/nbu_extended/opt/SUNWexplo/tools/ndd00 0

00 0

/opt/SUNWexplo/tools/netinfo/opt/SUNWexplo/tools/patch00 0

00 0

/opt/SUNWexplo/tools/photon/opt/SUNWexplo/tools/pkg00 0

00 0

/opt/SUNWexplo/tools/proc00 0

/opt/SUNWexplo/tools/samfs00 0

/opt/SUNWexplo/tools/sanextended/opt/SUNWexplo/tools/sap/opt/SUNWexplo/tools/sbu/opt/SUNWexplo/tools/sds00 0

00 0

00 0

/opt/SUNWexplo/tools/scextended/opt/SUNWexplo/tools/secure00 0

00 0

00 0

/opt/SUNWexplo/tools/sf15k_lite/opt/SUNWexplo/tools/sf15k_ndd/opt/SUNWexplo/tools/sf15k_sc/opt/SUNWexplo/tools/sonoma/opt/SUNWexplo/tools/ssa/opt/SUNWexplo/tools/ssp00 0

00 0

00 0

00 0

00 0

00 0

/opt/SUNWexplo/tools/storade00 0

/opt/SUNWexplo/tools/storedge/opt/SUNWexplo/tools/sunone/opt/SUNWexplo/tools/sunray00 0

/opt/SUNWexplo/tools/stortools00 0

00 0

00 0

/opt/SUNWexplo/tools/sysconfig/opt/SUNWexplo/tools/t300 0

00 0

/opt/SUNWexplo/tools/t3extended/opt/SUNWexplo/tools/test/opt/SUNWexplo/tools/u4ft/opt/SUNWexplo/tools/var00 0

00 0

00 0

00 0

/opt/SUNWexplo/tools/vtsst/opt/SUNWexplo/tools/vxvm[ 确认类别 ]00 0

/opt/SUNWexplo/tools/vxfsextended00 0

00 0

00 0

00 0

Modifying /etc/opt/SUNWexplo/default/explorerModifying /etc/opt/SUNWexplo/ifying /etc/opt/SUNWexplo/ifying /etc/opt/SUNWexplo/[ 确认类别 ][ 确认类别 ]## 执行预安装正文

Creating man index00 0

00 0

00 0

00 0

00 0

00 0

00 0

00 0

Executing '//opt/SUNWexplo/bin/explorer -q -e'

00 0

Removing /etc/opt/SUNWexplo/redo_安装成功00 0

Note: /.profile was created - please check/edit this file

You must log out & back in for the environment to be updated

Alternative: to test beforehand enter . /.profile

setup-standard completed.

EIS 软件包安装完成,重新登录系统# sync# exit

用root用户登录,给系统打补丁

Sun Microsystems Inc. SunOS 5.10 Generic January 2005Sourcing //.00 0

0 0

00 0

00 0

00 0

00 0

00 0

0 0

0 0

00 0

root@CNSUZMES01 # cd /mnt/sun/patch/10root@CNSUZMES01 # unpack-patches

00 0

00 0

Are you ready to unpack patches into /tmp/10? [y/n]: y

Cleaning out /

00 0

00 0

0 0

Patch 108569-08Patch 108576-42Patch 108604-33„ „00 0

00 0

00 0

00 0

10_„ „00 0

00 0

00 0

You should run: cd /tmp/10; ./install_all_patches

****************************************** Special Information for these patches ******************************************

Following EIS-ALERTS may still apply:- #29 (with SunRay)

root@CNSUZMES01 # cd /tmp/10

00 0

00 0

00 0

00 0

00 0

00 0

root@CNSUZMES01 # ./install_all_patches

00 0

This script will install the following patches:00 0

- Solaris 10 Recommended Patches- Solaris 10 Extra Patches

00 0

00 0

0 0

ONLY if your system has a graphics display:00 0

- You are advised not to have a graphics display active whilst patching!

- Suggestion: Exit from CDE etc. & log back in on command line!

Now the Solaris 10

Patch cluster install script for Solaris 10 Recommended

Determining if sufficient save Sufficient save space exists, 0 0

00 0

00 0

00 0

00 0

Installing patches located in /tmp/10/10_Recommended00 0

Using patch_order file for patch installation ......

00 0

00 0

00 0

00 0

00 0

For more installation messages refer to the installation logfile: /var/sadm/install_data/Solaris_10_Extra_logUse '/usr/bin/showrev -p' to verify installed patch-ids.0 0

00 0

00 0

Refer to individual patch README files for more patch ing the system is usually necessary after installation.

系统补丁打完,重新启动,系统安装任务完成!

检查系统的核心补丁:00 0

0 0

0 0

00 0

root@ZYDD-DB # uname –a

00 0

五.sun cluster 3.2的安装与配置5.1 配置IP Multipathingroot@ZYDD-DB # more /etc/hosts#00 0

00 0

00 0

00 0

# Internet host table#00 0

00 0

00 0

127.0.0.1 localhost

132.77.206.136 ZYDD-DB

132.77.206.137 ZYDD-APP00 0

00 0

132.77.206.138 testig1-1132.77.206.139 testig1-2132.77.206.140 testig2-1132.77.206.141 testig2-2

00 0

00 0

00 0

00 0

root@ZYDD-APP # more /etc/hosts#00 0

00 0

# Internet host table#00 0

00 0

00 0

127.0.0.1 localhost

132.77.206.136 ZYDD-APP

132.77.206.137 ZYDD-DB132.77.206.138 testig1-1132.77.206.139 testig1-2132.77.206.140 testig2-1132.77.206.141 testig2-2

00 0

00 0

00 0

00 0

00 0

00 0

root@ZYDD-DB # more /etc/hostname*::::::::::::::00 0

00 0

/etc/hostname.e1000g0::::::::::::::-failover up00 0

00 0

ZYDD-DB netmask + broadcast + group testig1 up addif testig1-1 netmask + broadcast + deprecated

00 0

::::::::::::::00 0

/etc/hostname.e1000g2::::::::::::::

00 0

00 0

0 0

testig1-2 netmask + broadcast + group testig1 deprecated -failover uproot@ZYDD-APP # more /etc/hostname*::::::::::::::::::::::::::::00 0

00 0

/etc/hostname.e1000g000 0

00 0

ZYDD-APP netmask + broadcast + group testig2 up addif testig2-1 netmask + broadcast + deprecated

-failover up00 0

0 0

::::::::::::::::::::::::::::00 0

/etc/hostname.e1000g200 0

00 0

testig2-2 netmask + broadcast + group testig2 deprecated -failover up------------------------------------------------------------------------------

0 0

root@ ZYDD-DB #more /etc/netmasks00 0

#00 0

0 0

# The netmasks file associates Internet Protocol (IP) address# masks with IP network numbers.#

00 0

00 0

00 0

# network-number netmask#00 0

0 0

# The term network-number refers to a number obtained from the Internet Network

# Information Center.#00 0

00 0

0 0

# Both the network-number and the netmasks are specified in# "decimal dot" notation, e.g:##00 0

00 0

00 0

# 128.32.0.0 255.255.255.000 0

00 0

132.77.206.0 255.255.252.224

root@ ZYDD-APP # more /etc/netmasks#00 0

00 0

0 0

# The netmasks file associates Internet Protocol (IP) address# masks with IP network numbers.#

#00 0

00 0

00 0

# network-number netmask00 0

0 0

# The term network-number refers to a number obtained from the Internet Network

# Information Center.#00 0

00 0

0 0

# Both the network-number and the netmasks are specified in# "decimal dot" notation, e.g:##00 0

00 0

00 0

# 128.32.0.0 255.255.255.000 0

00 0

132.77.206.0 255.255.252.224

5.2 修改远程系统控制属性文件在两个结点根目录下编辑.rhosts00 0

00 0

root@ ZYDD-DB ## more /.rhostsCNSUZMES01 rootCNSUZMES02 rootCNSUZMES01 root00 0

00 0

00 0

root@ ZYDD-APP ## more /.rhosts00 0

00 0

CNSUZMES02 root00 0

5.3在结点ZYDD-DB安装sun cluster软件root@ZYDD-DB # cd /cdromroot@ZYDD-DB # ls00 0

00 0

00 0

cdrom0 sc_32u2_dvdroot@ZYDD-DB # cd cdrom0root@ZYDD-DB # ls00 0

00 0

00 0

0 0

Copyright License README Solaris_sparc Solaris_x86

root@ZYDD-DB # cd Solaris_sparc/root@ZYDD-DB # ls00 0

00 0

00 0

Product installer release_inforoot@ZYDD-DB # ./installer -nodisplay

00 0

Welcome to the Sun Java(TM) Availability Suite; serious software made

00 0

00 0

Before you begin, please refer to the Release Notes and Installation Guide

00 0

for the products that you are installing. This documentation is available at

0 0

/app/docs/prod/r .

00 0

You can install any or all of the Services provided by the Java Availability

0 0

Suite.

00 0

Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

00 0

00 0

0 0

Before you install this product, you must read and accept the entire

0 0

Software License Agreement under which this product is licensed for your use

0 0

.

00 0

0 0

Sun Microsystems, Inc. ("Sun")00 0

00 0

SOFTWARE LICENSE AGREEMENT ("SLA")00 0

READ THE TERMS OF THIS AGREEMENT ("AGREEMENT") CAREFULLY BEFORE OPENING

SOFTWARE MEDIA PACKAGE. BY OPENING SOFTWARE MEDIA PACKAGE, YOU AGREE TO THE

00 0

TERMS OF THIS AGREEMENT. IF YOU ARE ACCESSING SOFTWARE ELECTRONICALLY, INDICATE

0 0

YOUR ACCEPTANCE OF THESE TERMS BY SELECTING THE "ACCEPT" (OR EQUIVALENT) BUTTON

0 0

AT THE END OF THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS, PROMPTLY

0 0

RETURN THE UNUSED SOFTWARE TO YOUR PLACE OF PURCHASE FOR A REFUND OR, IF

0 0

SOFTWARE IS ACCESSED ELECTRONICALLY, SELECT THE "DECLINE" (OR EQUIVALENT)

00 0

BUTTON AT THE END OF THIS AGREEMENT. IF YOU HAVE SEPARATELY AGREED TO LICENSE

0 0

TERMS ("MASTER TERMS") FOR YOUR LICENSE TO THIS SOFTWARE, THEN SECTIONS 1-6 OF

0 0

THIS AGREEMENT ("SUPPLEMENTAL LICENSE TERMS") SHALL SUPPLEMENT AND SUPERSEDE

00 0

THE MASTER TERMS IN RELATION TO THIS SOFTWARE.1. Definitions.00 0

00 0

00 0

(a) "Entitlement" means the collective set of applicable documents authorized

by Sun evidencing your obligation to pay associated fees (if any) for the

0 0

license, associated Services, and the authorized scope of use of Software under

0 0

this Agreement.00 0

0 0

(b) "Licensed Unit" means the unit of measure by which your use of Software

and/or Service is licensed, as described in your Entitlement.0 0

(c) "Permitted Use" means the licensed Software use(s) authorized in this

00 0

Agreement as specified in your Entitlement. The Permitted Use for any bundled

00 0

Sun software not specified in your Entitlement will be evaluation use as

0 0

provided in Section 3.00 0

0 0

(d) "Service" means the service(s) that Sun or its delegate will provide, if

any, as selected in your Entitlement and as further described in the applicable

0 0

service listings at /service/servicelist.00 0

00 0

(e) "Software" means the Sun software described in your Entitlement. Also,

certain software may be included for evaluation use under Section 3.0 0

(f) "You" and "Your" means the individual or legal entity specified in the

0 0

Entitlement, or for evaluation purposes, the entity performing the evaluation.

0 0

2. License Grant and Entitlement.00 0

0 0

Subject to the terms of your Entitlement, Sun grants you a nonexclusive,

nontransferable limited license to use Software for its Permitted Use for the

00 0

license term. Your Entitlement will specify (a) Software licensed, (b) the

00 0

Permitted Use, (c) the license term, and (d) the Licensed Units.0 0

Additionally, if your Entitlement includes Services, then it will also specify

0 0

the (e) Service and (f) service term.00 0

0 0

If your rights to Software or Services are limited in duration and the date

such rights begin is other than the purchase date, your Entitlement will

0 0

provide that beginning date(s).00 0

0 0

The Entitlement may be delivered to you in various ways depending on the manner

in which you obtain Software and Services, for example, the Entitlement may be

0 0

provided in your receipt, invoice or your contract with Sun or authorized Sun

0 0

reseller. It may also be in electronic format if you download Software.

0 0

3. Permitted Use.00 0

0 0

As selected in your Entitlement, one or more of the following Permitted Uses

will apply to your use of Software. Unless you have an Entitlement that

0 0

expressly permits it, you may not use Software for any of the other Permitted

0 0

Uses. If you don't have an Entitlement, or if your Entitlement doesn't cover

0 0

additional software delivered to you, then such software is for your Evaluation

0 0

Use.00 0

0 0

(a) Evaluation Use. You may evaluate Software internally for a period of 90

days from your first use.00 0

0 0

(b) Research and Instructional Use. You may use Software internally to design,

develop and test, and also to provide instruction on such uses.0 0

(c) Individual Use. You may use Software internally for personal, individual

00 0

use.

00 0

<--[40%]--[ENTER To Continue]--[n To Finish]-->n

00 0

If you have read and accept all the terms of the entire Software License

0 0

Agreement, answer 'Yes', and the installation will continue.0 0

If you do not accept all the terms of the Software License Agreement, answer

0 0

'No', and the installation program will end without installing the product.

0 0

Have you read, and do you accept, all of the terms of the preceding Software

0 0

License Agreement [No] {"<" goes back, "!" exits}? Yes

Installation Type-----------------

00 0

0 0

00 0

Do you want to install the full set of Sun Java(TM) Availability Suite

0 0

Products and Services? (Yes/No) [Yes] {"<" goes back, "!" exits} No

Choose Software Components - Main Menu-------------------------------

[ ] 1. Sun Cluster Geographic Edition 3.2 1/09[ ] 2. Quorum Server00 0

00 0

00 0

0 0

00 0

Note: "* *" indicates that the selection is disabled00 0

[ ] 3. Monitoring Console 1.0 Update 1[ ] 5. Sun Cluster 3.2 1/0900 0

[ ] 4. High Availability Session Store 4.4.300 0

00 0

[ ] 6. Java DB 10.2.2.100 0

[ ] 7. Sun Cluster Agents 3.2 1/09[ ] 8. All Shared Components

00 0

00 0

Enter a comma separated list of products to install, or press R to refresh

0 0

the list [] {"<" goes back, "!" exits}: 5

Choose Software Components - Confirm Choices--------------------------------------------

00 0

00 0

00 0

Based on product dependencies for your selections, the installer will install:

0 0

[X] 5. Sun Cluster 3.2 1/09 * * Java DB 10.2.2.1

Press "Enter" to Continue or Enter a comma separated list of products to

0 0

00 0

00 0

deselect. Enter "-" with product number to deselect a product (for eg. -5

0 0

will deselect product number 5). To return to the component selection list,

0 0

press "r". [1] {"<" goes back, "!" exits}

00 0

Component Selection - Selected Product "Sun Cluster 3.2 1/09"-------------------------------------------------------------

*[X] 1. Sun Cluster Core00 0

0 0

0 0

*[X] 2. Sun Cluster Manager

00 0

Enter a comma separated list of components to install (or A to install all )

0 0

[A] {"<" goes back, "!" exits}

*[X] 1. Sun Cluster Core00 0

00 0

*[X] 2. Sun Cluster Manager

00 0

Press "Enter" to Continue or Enter a comma separated list of products to

0 0

deselect. Enter "-" with product number to deselect a product (for eg. -5

0 0

will deselect product number 5). To return to the component selection list,

0 0

press "r". [1] {"<" goes back, "!" exits}

00 0

Component Selection - Selected Product "Java DB 10.2.2.1"---------------------------------------------------------

** * Java DB Client** * Java DB Server

00 0

0 0

0 0

00 0

Enter a comma separated list of components to install (or A to install all )

0 0

[A] {"<" goes back, "!" exits}

** * Java DB Client** * Java DB Server

00 0

00 0

00 0

Press "Enter" to Continue or Enter a comma separated list of products to

0 0

deselect. Enter "-" with product number to deselect a product (for eg. -5

0 0

will deselect product number 5). To return to the component selection list,

0 0

press "r". [1] {"<" goes back, "!" exits}

00 0

Install multilingual package(s) for all selected components [Yes] {"<" goes

0 0

back, "!" exits}:

00 0

Shared Component Upgrades Required00 0

-----------------------------------

00 0

The shared components listed below are currently installed. They will be

00 0

upgraded for compatibility with the products you chose to install.

Component Package--------------------JATO SUNWjato00 0

0 0

00 0

00 0

2.1.2 (installed) 2.1.5 (required)00 0

00 0

JavaActivationFramework SUNWjaf 8.0.0.0 (installed) 8.1 (required)JavaMail SUNWjmail00 0

00 0

00 0

00 0

8.0.0.0 (installed) 8.1 (required)00 0

00 0

MFWK SUNWservicetagu 2.0.1 (installed) 2.0.1 (required)MFWK SUNWstosreg00 0

00 0

00 0

00 0

2.0.1 (installed) 2.0.1 (required)00 0

00 0

MFWK SUNWservicetagr 2.0.1 (installed) 2.0.1 (required)Ant SUNWant00 0

00 0

00 0

00 0

00 0

11.10.0:PATCHES:138892-02 (installed) 11.12.0 (required)JSS SUNWjss

00 0

00 0

4.0.0:PATCHES:119213-18 (installed) 4.2.4 (required)

00 0

00 0

Enter 1 to upgrade these shared components and 2 to cancel [1] {"<" goes

0 0

back, "!" exits}:

00 0

Checking System Status

00 0

Available : Checking .... OK

00 0

: Checking .... OK

00 0

Swap : Checking .... OK

00 0

Operating : Checking .... OK

00 0

Operating : Checking .... OK

00 0

System ready for installation

Enter 1 to continue [1] {"<" goes back, "!" exits}

00 0

00 0

Screen for selecting Type of Configuration

1. Configure Now - Selectively override defaults or express through

2. Configure Later - Manually configure following installation

Select Type of Configuration [1] {"<" goes back, "!" exits} 2Ready to Install----------------00 0

0 0

0 0

0 0

00 0

00 0

00 0

The following components will be installed.

Product: Java Availability Suite

00 0

Uninstall Location: /var/sadm/prod/SUNWentsyssc32u2Space Required: 236.88 MB00 0

00 0

00 0

--------------------------------------------------- Java DB00 0

Java DB Server Java DB Client00 0

00 0

Sun Cluster 3.2 1/09 Sun Cluster Core

1. Install00 0

00 0

Sun Cluster Manager00 0

00 0

2. Start Over

00 0

3. Exit Installation00 0

What would you like to do [1] {"<" goes back, "!" exits}? 1

Java Availability Suite00 0

0 0

0 0

|-1%--------------25%-----------------50%-----------------75%--------------100%|

Installation Complete

Software installation has completed successfully. You can view the installation

0 0

00 0

summary and log by using the choices below. Summary and log files are available

0 0

in /var/sadm/install/logs/.

00 0

Your next step is to perform the postinstallation configuration and0 0

verification tasks documented in the Postinstallation Configuration and Startup

0 0

Chapter of the Sun Java(TM) Enterprise System Installation Guide. See: http:

00 0

///doc/820-2827.

00 0

Enter 1 to view installation summary and Enter 2 to view installation logs

0 0

[1] {"!" exits} !00 0

In order to notify you of potential updates, we need to confirm an internet connection. Do you

want to proceed [Y/N] : Nroot@ZYDD-DB #00 0

00 0

5.4在ZYDD-DB配置sun cluster软件1.启动scinstall 实用程序。00 0

00 0

0 0

phys-schost# /usr/cluster/bin/scinstall00 0

2.键入与“创建新群集或添加群集节点”选项对应的编号,然后按Return 键。*** 主菜单***00 0

请选择以下某一带(*) 的选项:00 0

* 1) 创建新群集或添加群集节点00 0

2) 将群集配置为从此安装服务器中快速启动3) 管理双分区升级4) 升级此群集节点00 0

00 0

00 0

* 5) 打印此群集节点的发行信息* ?) 菜单选项中的帮助* q) 退出选项: 100 0

00 0

00 0

00 0

00 0

将显示“新群集和群集节点”菜单。

00 0

3.键入与“创建新群集”选项对应的编号,然后按Return 键。将显示“典型模式或自定义模式”菜单。

00 0

0 0

4.键入与“典型”或“自定义”选项对应的编号,然后按Return 键。5.按照菜单给的提示给出相应的回答,其具体过程如下表:

组件

群集名称

群集节点

说明/示例

要建立的群集的名称是什么?

列出为初始群集配置规划的其他群集节点的名称。(对于单节点群集,按Control-D 组合键即可。)

验证要添加节点的请求

群集传输的网络地址

是否需要使用DES 鉴别?

是否接受缺省网络地址172.16.0.0?

如果不接受,那么您希望使用哪个00 0

回答

ZYDD-SC

ZYDD-DB

ZYDD-APP

是|否 否

是|否 是

专用网络地址

是否接受默认的网络掩码(255.255.248.0)?

如果不接受,那么您希望在群集中配置的最大节点数和最大专用网

络数是多少?

要使用哪个网络掩码?从scinstall 计算出的值中选择一个或者自己提供一

最少专用网络数 此群集是否至少应使用两个专用是|否

网络?

点对点电缆 如果是双节点群集,此群集是否要是|否

使用交换机?

群集传输适配器和电缆 节点名称(运行scinstall 的节ZYDD-DB

传输适配器名称: E1000g1

定额配置 是否要禁用自动法定设备选择?是|否

(如果所有共享存储都不符合作为法定设备的条件,或者您希望将法定服务器或Network Appliance

NAS 设备配置为法定设备,请回答“是”。)

全局设备文件系统 是否使用全局设备文件系统的缺是|否

省名称/globaldevices?

如果否,是否要使用现有文件系统?

要使用的文件系统的名称是什么?

检查 sccheck 出错时,是否中断群集创是|否

建?

自动重新引导 是否需要scinstall 在安装之后是|否

自动重新引导该节点?

5.5在结点ZYDD-APP安装sun cluster软件00root@ZYDD-APP # cd /cdrom00 0

root@ZYDD-APP # ls00 0

cdrom0 sc_32u2_dvd00 0

root@ZYDD-APP # cd cdrom000 0

root@ZYDD-APP # ls00 0

Copyright License README Solaris_sparc Solaris_x86

E1000g3

0

0

0

root@ZYDD-APP # cd Solaris_sparc/root@ZYDD-APP # ls00 0

00 0

Product installer release_inforoot@ZYDD-APP # ./installer -nodisplay

00 0

00 0

Welcome to the Sun Java(TM) Availability Suite; serious software made

00 0

00 0

Before you begin, please refer to the Release Notes and Installation Guide

00 0

for the products that you are installing. This documentation is available at

0 0

/app/docs/prod/r .

00 0

You can install any or all of the Services provided by the Java Availability

0 0

Suite.

00 0

Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

00 0

00 0

0 0

Before you install this product, you must read and accept the entire

0 0

Software License Agreement under which this product is licensed for your use

0 0

.

00 0

Sun Microsystems, Inc. ("Sun")00 0

0 0

00 0

SOFTWARE LICENSE AGREEMENT ("SLA")00 0

READ THE TERMS OF THIS AGREEMENT ("AGREEMENT") CAREFULLY BEFORE OPENING

SOFTWARE MEDIA PACKAGE. BY OPENING SOFTWARE MEDIA PACKAGE, YOU AGREE TO THE

00 0

TERMS OF THIS AGREEMENT. IF YOU ARE ACCESSING SOFTWARE ELECTRONICALLY, INDICATE

0 0

YOUR ACCEPTANCE OF THESE TERMS BY SELECTING THE "ACCEPT" (OR EQUIVALENT) BUTTON

0 0

AT THE END OF THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS, PROMPTLY

0 0

RETURN THE UNUSED SOFTWARE TO YOUR PLACE OF PURCHASE FOR A REFUND OR, IF

0 0

SOFTWARE IS ACCESSED ELECTRONICALLY, SELECT THE "DECLINE" (OR EQUIVALENT)

00 0

BUTTON AT THE END OF THIS AGREEMENT. IF YOU HAVE SEPARATELY AGREED TO LICENSE

0 0

TERMS ("MASTER TERMS") FOR YOUR LICENSE TO THIS SOFTWARE, THEN SECTIONS 1-6 OF

0 0

THIS AGREEMENT ("SUPPLEMENTAL LICENSE TERMS") SHALL SUPPLEMENT AND SUPERSEDE

00 0

THE MASTER TERMS IN RELATION TO THIS SOFTWARE.1. Definitions.00 0

00 0

00 0

(a) "Entitlement" means the collective set of applicable documents authorized

by Sun evidencing your obligation to pay associated fees (if any) for the

0 0

license, associated Services, and the authorized scope of use of Software under

0 0

this Agreement.00 0

0 0

(b) "Licensed Unit" means the unit of measure by which your use of Software

and/or Service is licensed, as described in your Entitlement.0 0

(c) "Permitted Use" means the licensed Software use(s) authorized in this

00 0

Agreement as specified in your Entitlement. The Permitted Use for any bundled

00 0

Sun software not specified in your Entitlement will be evaluation use as

0 0

provided in Section 3.00 0

0 0

(d) "Service" means the service(s) that Sun or its delegate will provide, if

any, as selected in your Entitlement and as further described in the applicable

0 0

service listings at /service/servicelist.00 0

00 0

(e) "Software" means the Sun software described in your Entitlement. Also,

certain software may be included for evaluation use under Section 3.0 0

(f) "You" and "Your" means the individual or legal entity specified in the

0 0

Entitlement, or for evaluation purposes, the entity performing the evaluation.

0 0

2. License Grant and Entitlement.00 0

0 0

Subject to the terms of your Entitlement, Sun grants you a nonexclusive,

nontransferable limited license to use Software for its Permitted Use for the

00 0

license term. Your Entitlement will specify (a) Software licensed, (b) the

00 0

Permitted Use, (c) the license term, and (d) the Licensed Units.0 0

Additionally, if your Entitlement includes Services, then it will also specify

0 0

the (e) Service and (f) service term.00 0

0 0

If your rights to Software or Services are limited in duration and the date

such rights begin is other than the purchase date, your Entitlement will

0 0

provide that beginning date(s).00 0

0 0

The Entitlement may be delivered to you in various ways depending on the manner

in which you obtain Software and Services, for example, the Entitlement may be

0 0

provided in your receipt, invoice or your contract with Sun or authorized Sun

0 0

reseller. It may also be in electronic format if you download Software.

0 0

3. Permitted Use.00 0

0 0

As selected in your Entitlement, one or more of the following Permitted Uses

will apply to your use of Software. Unless you have an Entitlement that

0 0

expressly permits it, you may not use Software for any of the other Permitted

0 0

Uses. If you don't have an Entitlement, or if your Entitlement doesn't cover

0 0

additional software delivered to you, then such software is for your Evaluation

0 0

Use.00 0

0 0

(a) Evaluation Use. You may evaluate Software internally for a period of 90

days from your first use.00 0

0 0

(b) Research and Instructional Use. You may use Software internally to design,

develop and test, and also to provide instruction on such uses.0 0

(c) Individual Use. You may use Software internally for personal, individual

00 0

use.

00 0

<--[40%]--[ENTER To Continue]--[n To Finish]-->n

00 0

If you have read and accept all the terms of the entire Software License

0 0

Agreement, answer 'Yes', and the installation will continue.0 0

If you do not accept all the terms of the Software License Agreement, answer

0 0

'No', and the installation program will end without installing the product.

0 0

Have you read, and do you accept, all of the terms of the preceding Software

0 0

License Agreement [No] {"<" goes back, "!" exits}? Yes

Installation Type-----------------

00 0

0 0

00 0

Do you want to install the full set of Sun Java(TM) Availability Suite

0 0

Products and Services? (Yes/No) [Yes] {"<" goes back, "!" exits} No

Choose Software Components - Main Menu-------------------------------

[ ] 1. Sun Cluster Geographic Edition 3.2 1/09[ ] 2. Quorum Server00 0

00 0

00 0

0 0

00 0

Note: "* *" indicates that the selection is disabled00 0

[ ] 3. Monitoring Console 1.0 Update 1[ ] 5. Sun Cluster 3.2 1/09[ ] 6. Java DB 10.2.2.100 0

[ ] 4. High Availability Session Store 4.4.300 0

00 0

00 0

[ ] 7. Sun Cluster Agents 3.2 1/09[ ] 8. All Shared Components

00 0

00 0

Enter a comma separated list of products to install, or press R to refresh

0 0

the list [] {"<" goes back, "!" exits}: 5

Choose Software Components - Confirm Choices00 0

00 0

--------------------------------------------

00 0

Based on product dependencies for your selections, the installer will install:

0 0

[X] 5. Sun Cluster 3.2 1/09 * * Java DB 10.2.2.1

Press "Enter" to Continue or Enter a comma separated list of products to

0 0

00 0

00 0

deselect. Enter "-" with product number to deselect a product (for eg. -5

0 0

will deselect product number 5). To return to the component selection list,

0 0

press "r". [1] {"<" goes back, "!" exits}

00 0

Component Selection - Selected Product "Sun Cluster 3.2 1/09"-------------------------------------------------------------

*[X] 1. Sun Cluster Core00 0

0 0

0 0

*[X] 2. Sun Cluster Manager

00 0

Enter a comma separated list of components to install (or A to install all )

0 0

[A] {"<" goes back, "!" exits}

*[X] 1. Sun Cluster Core

00 0

00 0

*[X] 2. Sun Cluster Manager00 0

Press "Enter" to Continue or Enter a comma separated list of products to

0 0

deselect. Enter "-" with product number to deselect a product (for eg. -5

0 0

will deselect product number 5). To return to the component selection list,

0 0

press "r". [1] {"<" goes back, "!" exits}

00 0

Component Selection - Selected Product "Java DB 10.2.2.1"---------------------------------------------------------

** * Java DB Client** * Java DB Server00 0

0 0

0 0

00 0

Enter a comma separated list of components to install (or A to install all )

0 0

[A] {"<" goes back, "!" exits}

** * Java DB Client** * Java DB Server

00 0

00 0

00 0

Press "Enter" to Continue or Enter a comma separated list of products to

0 0

deselect. Enter "-" with product number to deselect a product (for eg. -5

0 0

will deselect product number 5). To return to the component selection list,

0 0

press "r". [1] {"<" goes back, "!" exits}

00 0

Install multilingual package(s) for all selected components [Yes] {"<" goes

0 0

back, "!" exits}:

00 0

Shared Component Upgrades Required00 0

-----------------------------------

00 0

The shared components listed below are currently installed. They will be

00 0

upgraded for compatibility with the products you chose to install.

Component Package--------------------JATO SUNWjato00 0

0 0

00 0

00 0

2.1.2 (installed) 2.1.5 (required)00 0

00 0

JavaActivationFramework SUNWjaf 8.0.0.0 (installed) 8.1 (required)00 0

00 0

00 0

JavaMail SUNWjmail00 0

8.0.0.0 (installed) 8.1 (required)MFWK SUNWservicetagu 2.0.1 (installed) 2.0.1 (required)MFWK SUNWstosreg00 0

00 0

00 0

00 0

00 0

00 0

2.0.1 (installed) 2.0.1 (required)00 0

00 0

MFWK SUNWservicetagr 2.0.1 (installed) 2.0.1 (required)Ant SUNWant00 0

00 0

00 0

00 0

00 0

11.10.0:PATCHES:138892-02 (installed) 11.12.0 (required)JSS SUNWjss00 0

00 0

00 0

4.0.0:PATCHES:119213-18 (installed) 4.2.4 (required)

00 0

Enter 1 to upgrade these shared components and 2 to cancel [1] {"<" goes

0 0

back, "!" exits}:

00 0

Checking System Status

00 0

Available : Checking .... OK

00 0

: Checking .... OK

00 0

Swap : Checking .... OK

00 0

Operating : Checking .... OK

00 0

Operating : Checking .... OK

00 0

System ready for installation

Enter 1 to continue [1] {"<" goes back, "!" exits}

Screen for selecting Type of Configuration

1. Configure Now - Selectively override defaults or express through

2. Configure Later - Manually configure following installation

Select Type of Configuration [1] {"<" goes back, "!" exits} 2Ready to Install----------------00 0

0 0

0 0

0 0

00 0

00 0

00 0

00 0

The following components will be installed.

Product: Java Availability SuiteSpace Required: 236.88 MB00 0

00 0

Uninstall Location: /var/sadm/prod/SUNWentsyssc32u200 0

00 0

00 0

--------------------------------------------------- Java DB00 0

Java DB Server Java DB Client00 0

00 0

Sun Cluster 3.2 1/09 Sun Cluster Core00 0

00 0

Sun Cluster Manager

1. Install00 0

00 0

2. Start Over00 0

3. Exit Installation

00 0

What would you like to do [1] {"<" goes back, "!" exits}? 1

Java Availability Suite00 0

0 0

0 0

|-1%--------------25%-----------------50%-----------------75%--------------100%|

Installation Complete

Software installation has completed successfully. You can view the installation

0 0

00 0

summary and log by using the choices below. Summary and log files are available

0 0

in /var/sadm/install/logs/.

00 0

Your next step is to perform the postinstallation configuration and0 0

verification tasks documented in the Postinstallation Configuration and Startup

0 0

Chapter of the Sun Java(TM) Enterprise System Installation Guide. See: http:

00 0

///doc/820-2827.

00 0

Enter 1 to view installation summary and Enter 2 to view installation logs

0 0

[1] {"!" exits} !00 0

In order to notify you of potential updates, we need to confirm an internet connection. Do you

want to proceed [Y/N] : Nroot@ZYDD-APP #00 0

00 0

5.6在ZYDD-APP配置sun cluster软件00 0

00 0

1.启动scinstall 实用程序。

phys-schost-new# /usr/cluster/bin/scinstall将显示scinstall 的“主菜单”。00 0

00 0

0 0

2.键入与“创建新群集或添加群集节点”选项对应的编号,然后按Return 键。*** 主菜单***00 0

请选择以下某一带(*) 的选项:00 0

* 1) 创建新群集或添加群集节点00 0

2) 将群集配置为从此安装服务器中快速启动3) 管理双分区升级4) 升级此群集节点00 0

00 0

00 0

* 5) 打印此群集节点的发行信息* ?) 菜单选项中的帮助* q) 退出选项: 100 0

00 0

00 0

00 0

00 0

将显示“新群集和群集节点”菜单。

0 0

3.键入与“将此计算机添加为现有群集中的节点”选项对应的编号,然后按Return 键。

4.按照菜单给的提示给出相应的回答,其具体过程如下表:组件

发起节点

群集名称

说明/示例

00 0

回答

ZYDD-DB

ZYDD-SC

支持节点的名称是什么?

选择群集中任一活动节点

要使节点加入的群集的名称是什么?

检查

群集传输自动发现

是否要运行sccheck 验证实用程序?

是否要使用自动发现以配置群集传输?

如果否,请提供以下附加信息:

是|否 否

是|否 是

点对点电缆 向群集中添加的节点是否使此群集成为双节点群集?

群集是否要使用交换机?

是|否 是

是|否 否

是|否 否 全局设备文件系统 全局设备文件系统的名称是什么?

默认值:/globaldevices

自动重新引导 是否需要scinstall 在安装之后自动重新引导该节点?

是|否 否

六.Oracle 10g数据库安装6.1 创建用户和组以及赋予权限# groupadd dba

00 0

00 0

00 0

0 0

# groupadd oinstall00 0

#useradd –g dba -G oinstall –d /export/home/oracle –m oracle#passwd oracle (改oracle用户密码)

# chmod -R 777 /oracle00 0

00 0

6.2设置kernel参数#vi /etc/system

0 0

set shmsys:shminfo_shmmax=4000000000

set shmsys:shminfo_shmmin=1

set shmsys:shminfo_shmmni=100

set shmsys:shminfo_shmseg=10

set semsys:seminfo_semmni=110

set semsys:seminfo_semmns=31000 0

6.3 设定Oracle用户的的环境参数# vi /export/home/oracle/.profile

ORACLE_BASE=/export/home/oracleexport ORACLE_BASEexport ORACLE_HOME00 0

00 0

00 0

00 0

0 0

ORACLE_HOME=$ORACLE_BASE/product/9.0.100 0

00 0

ORACLE_SID= Oracle 10g # 此值根据用户要求而定

export ORACLE_SIDexport NLS_LANG

00 0

0 0

NLS_LANG=AMERICAN_16GBK # 字符集根据用户要求而定00 0

0 0

PATH=$ORACLE_HOME/bin:/bin:/sbin:/usr/bin:/usr/ccs/bin:/usr/local/binexport PATH00 0

0 0

LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/network/lib:/usr/local/lib:

/usr/lib00 0

export LD_LIBRARY_PATH00 0

0 0

DISPLAY=172.168.1.166:0.0 # 此处IP为启动图形界面机器的地址

export DISPLAY00 0

TMPDIR=/var/tmpexport TMPDIR00 0

00 0

保存文件后执行,使环境变量生效 .

00 0

6.4数据库软件产品的安装过程:

1 使ORACLE 用户或远程 调用图形可用.# /usr/openwin/bin/xhost +

2. 插入ORACLE10g 第一张安装盘,开始安装.# mount /cdrom/cdrom0# su - oracle$ cd /cdrom/cdrom0$ ./runInstaller

00 0

00 0

00 0

00 0

00 0

00 0

00 0

00 0

Universal Installer 启动 “WELCOME” 界面 ,点击 ”NEXT” .

0 0

4.进入”Invertory Location” 界面, 使用Invertory缺省路径, 点击 ”OK” .

0 0

5.进入”Unix Group Name ”界面, 组名输入 “dba” . 点击 ”NEXT” .有对话框跳出, 按提示 用 root 用户 执行 /tmp/ 脚本.

6. 进入”File Locations”界面.其中 “Destination„” 栏中缺省为环境变量

0 0

0 0

0 0

ORACLE_HOME 所指的路径. 否则,检查环境变量是否生效. 点击 ”NEXT” .

7. 进入”Available Products”界面. 选择第一项 ” ,0 0

00 0

点击右下角”Product Languages”按钮,选择语言 ”Simplified Chinese”.”点击 ”NEXT” .

8. 进入”Installation Types” 界面.

00 0

00 0

0 0

0 0

如想最大化安装ORACLE 产品,则选 “Enterprise Edition (2.4.2GB)”.(建议)

如想可以自由选择安装产品,则选 “Custom”. 点击 ”NEXT” .

9. 进入”Database Configuration”界面.0 0

00 0

注意: 应选择 “ Customized ”,可以对数据库进行个性化创建.如:数据文件的位置,大小等. ”点击 ”NEXT” .

0 0

00 0

10. 进入”Operating System Groups” 界面.对于OSDBA 和 OSOPER 框都输入 dba .

0 0

11. 进入”Database Identification” 界面.输入Global Database Name 和 SID ,

0 0

一般情况下,两者相同,为环境变量 ORACLE_SID 所指的值. ”点击 ”NEXT” .

12. 如 5.8 步中选择的是 “Custom”, 则会出现 产品选择 的界面.

选择完后, ”点击 ”NEXT” .

13. 出现 ”Summary” 界面,总结要安装的内容. ”点击 ”NEXT” .

00 0

0 0

0 0

0 0

开始安装 . 时间比较长. 其中会提示换第二张盘或第三张盘. 在提示对话框中

要修改Path为 : /cdrom/orcl10_2 或 /cdrom/orcl10_3 .

0 0

00 0

14. 在”Install Successful”和”Link Successful”后, 会有对话框提示 用root用户

0 0

执行 脚本.

00 0

15. 弹出 “Net Configuration Assistant” 界面.

00 0

选中 “Perform typical Configuration” 项,进行网络的典型配置.

0 0

6.5 ORACLE数据库的创建过程

00 0

1. 启动建库图形工具 ” Oracle Database Configuration Assistant ”如果在安装数据库产品时, 确认过要进行数据库的创建, 此工具会自行启动.否则, 进入$ORACLE_HOME/bin 目录, # dbca 来启动建库工具.

2.“Welcome”界面过后,选择 ”create a database” . 点击 ”NEXT” .

3. 进入”Template”界面, 选择 “ New Database “. 点击 ”NEXT” .

4. 指定 Global Database Name 和SID. 点击 ”NEXT” .

0 0

0 0

00 0

0 0

0 0

00 0

5. 进入” Database Features ”界面. 以下各项在有用户需求的情况下才选中.

00 0

Oracle Spatial ------ 用于空间地理信息系统Oracle Ultra Search ------

Oracle OLAP Services ------ 用于数据仓库的应用Example Schemas ------ 例子数据库00 0

00 0

00 0

00 0

6. 选择数据库运行方式: 一般为 “Dedicated Server Mode” 专用服务器方式.

0 0

7. 设置初始化参数 :

00 0

0 0

Memory : 选择custom 方式 , 指定Shared Pool 和 Buffer Cache 的大小.Archive: 一般情况为日志归档方式(Archive Log Mode),并可以修改归档日志的存放路径.DB Sizing: 指定 块大小 ( Block Size ): 8K Sort Area Size : 512K.

00 0

00 0

00 0

00 0

Character Sets : zhs16gbk

00 0

File Locations: 指定 初始化参数文件的名字和路径.00 0

00 0

“Create Persistenet Initializes Parameters file” 项: 不选

“Trace File Directories” 项 : 保留缺省值.

8. 对数据库存储参数的修改及对象的添加:

0 0

00 0

0 0

Controlfile : 指定控制文件的大小和存储路径。00 0

Tablespace : 可对system,tools,users,temp,indx,undotbs表空间进参数的修改。

Datafiles : 可对已有数据文件修改参数,也可添加新数据文件。Rollback Segments :可以添加回滚段。00 0

0 0

0 0

Redo log Groups :可以修改在线日志的大小,也可添加新日志文件或日志组。

9. 开始创建数据库,可以保存建库文件

00 0


发布者:admin,转转请注明出处:http://www.yc00.com/web/1705055099a1389258.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信