39 40 41
Installation details Media 回车 CD/DVD [1],然后换上Language光盘。 3.2 安装操作系统补丁
以下操作以igwb1主节点为例,igwb2备节点的安装过程与主节点相同。
1. 安装Solaris 8标准补丁
将Solaris 8补丁盘放入CD-ROM,然后执行: #cd /cdrom/cdrom0/sun/install #sh ./setup-standard.sh 下面给出各步骤的提示操作说明: 序号安装提示操作说明
1 Is the power saving daemon to be disabled? [y/n]: y 2 Sun keyboard Power button to be disabled? [y/n]: y 3 Are the buttons & dials to be disabled? [y/n] y 4 Are remote root logins to be allowed? [y/n]: y
5 Do you wish to ENABLE the alternate break sequence? [E/n]:E 6 Do you want to install the ACT package? [y/n]: n 7 Agree to these terms? [y,n] y
8 Where should this package be installed? [/opt/SUNWexplo]: 回车 9 Company name []: Sun 10 Contract ID []: 回车
11 System serial number []: 回车 12 Contact name []: 回车 13 Contact email address []: 回车 14 Phone number []: 回车 15 Address (line 1) []: 回车
3
16 Address (line 2) []: 回车 17 City []: 回车 18 State []: 回车 19 Zip []: 回车 20 Country [CN]: 回车
21 Please Enter the two character Country code or enter ? 选 3 22 Please Enter the two character Country code or enter ? for a list of countries.[]:CN
23 at the completion of explorer when -mail or -e is specified?[y,n]n 24 To enter multiple addresses, seperate them with a comm[]:回车 25 Return address for explorer email output []: 回车 26 Are these values okay? [y,n] y
27 Do you wish to run explorer once a week? [y,n] n 28 Would you like to do this now? [y,n] y
29 Do you want this directory created now [y,n,?,q] y 30 Do you want to continue with the installation of
到此标准补丁安装完毕.执行下行命令,更新当前环境. # . /.profile
2. 安装Solaris 8推荐补丁和扩展补丁
安装Sun Solaris 的补丁盘,以root用户进入系统,在#提示符下操作 igwb1@root# cd /cdrom/cdrom0/sun/patch/8 igwb1@root# unpack-patches
按照系统提示,到相应目录下运行补丁安装脚本,如: igwb1@root# cd /tmp/8
igwb1@root# ./install_all_patches
4
重启系统
igwb1@root# sync 1igwb1@root# sync igwb1@root# reboot
3. 安装SUNWSan软件补丁
#cd /cdrom/cdrom0/sun/patch/SAN #unpack-patches
Are you ready to unpack patches into /tmp/SAN? [y/n]: y
#cd /tmp/SAN #./install_patches
Are you ready to continue with install? [y/n]: y
#cd cdrom/cdrom0/sun/patch/SAN/8 #unpack-patches
Are you ready to unpack patches into /tmp/8? [y/n]: y Target for unpacking patches /tmp/8 exists! May I delete /tmp/8? [y/n] y
#cd /tmp/8 #./install_patches
Are you ready to continue with install? [y/n]: y
4. 安装SCSI卡驱动程序
#mkdir -p /export/home/software/scsi #cd /cdrom/cdrom0/sun/progs/SUNWqus/8
#cp SUNWqus_8_all.tar.gz /export/home/software/scsi/ #cd /export/home/software/scsi #gunzip SUNWqus_8_all.tar.gz #tar xvf SUNWqus_8_all.tar #pkgadd –d .
5
Select package(s) you wish to process (or ‘all’ to process all packages). (default: all) [?,??,q]:<直接回车>
........
Do you want to continue with the installation of
........
Do you want to continue with the installation of
y ........
Select package(s) you wish to process (or ‘all’ to process all packages). (default: all) [?,??,q]:q
5. 安装SCSI卡驱动程序补丁
#cd /cdrom/cdrom0/sun/patch/SUNWqus/8 #unpack-patches
Are you ready to unpack patches into /tmp/8? [y/n]: y Target for unpacking patches /tmp/8 exists! May I delete /tmp/8? [y/n]: y
#cd /tmp/8 #./install_patches
Are you ready to continue with install? [y/n] y
6. 重启系统 #sync;sync;sync #reboot -- -r
3.3 配置8操作系统
1. 配置 /etc/hosts 文件
主节点的 /etc/hosts 文件修改后,内容如下: #
# Internet host table
6
#
127.0.0.1 129.1.1.1 129.2.1.1 129.3.1.1
129.1.1.2 129.2.1.2 129.3.1.2
129.1.1.3 129.2.1.3 129.3.1.3
129.1.1.10 igwb1-sc 129.1.1.11 igwb2-sc 129.1.1.12 3310a 129.1.1.13 3310b
此处的loghost igwb1.huawei.com :只是为了系统显示locolhost太短的提示,另外这里是对igwb1的/etc/hosts文件,
如对于igwb2的/etc/hosts文件,则loghost igwb2 huawei.com应在相应的129.1.1.2 igwb2后,即igwb2的etc/hosts文件 127.0.0.1 localhost 129.1.1.2 igwb2 loghost igwb2.huawei.com ……
129.1.1.1 igwb1 ……(同上)
igwb1的etc目录下创建
ha-igwb
igwb2 igwb21 igwb22
localhost igwb1
loghost igwb1.huawei.com
igwb11
igwb12
ha-igwb1 ha-igwb2
7