文件1、hostname.ce2,其内容为igwb11 文件2、hostname.ce4,其内容为igwb12
igwb2的etc目录下创建
文件1、hostname.ce2,其内容为igwb21 文件2、hostname.ce4,其内容为igwb22
2. 其他设置
1) 执行登录终端环境 运行TERM=vt100;export TERM 并且在/.profile 文件末尾加 TERM=vt100;export TERM 2) 修改/etc/ftpusers 文件
把/etc/ftpusers 文件中的“root”(一般为第一行)注释掉(用“#”注释) 3) 修改/kernel/drv/sd.conf 文件 在/kernel/drv/sd.conf 文件的末尾添加: name=\target=0 lun=1; name=\target=1 lun=1; name=\target=2 lun=1; name=\target=3 lun=1; name=\target=4 lun=1; name=\
8
target=5 lun=1; 4) 修改/etc/system 文件
因为Sun Cluster 3.0不支持Loopback文件系统(参见《Sun Cluster 3.0 Release Notes》),所以需要在/etc/system文件的末尾添加如下一行: exclude: lofs
5)修改/etc/inet/netmasks 添加如下行 129.1.1.0 129.2.1.0 129.3.1.0 6)重启机器 #sync;sync;sync #shutdown –y –g0 –i6
255.255.0.0 255.255.0.0 255.255.0.0
9
第4章 安装SC3.0
4.1 安装主节点
? 说明:
本节描述的所有操作都在主节点(igwb1)上执行。
root@igwb1 # mkdir –p /export/home/software/s33 root@igwb1#cd
/cdrom/cdrom0/sun-internal/progs/SunCluster/3.0/Sun_Cluster_3.0_Update3_GA
root@igwb1#cp suncluster_3_0_u3_solaris8.tar.gz
/export/home/software/s33
root@igwb1#cp scdataservices_3_0_u3.tar.gz
/export/home/software/s33
root@igwb1 # gzcat -d suncluster_3_0_u3_solaris8.tar.gz |tar xf - root@igwb1#cd
/export/home/software/s33/suncluster_3_0_u3_solaris8/SunCluster_3.0/Tools
root@igwb1 # ./scinstall *** Main Menu ***
Please select from one of the following (*) options:
* 1) Establish a new cluster using this machine as the first node * 2) Add this machine as a node in an established cluster 3) Configure a cluster to be JumpStarted from this install server 4) Add support for new data services to this cluster node 5) Print release information for this cluster node
* ?) Help with menu options
1
* q) Quit
Option: 1
*** Establishing a New Cluster ***
This option is used to establish a new cluster using this machine as the first node in that cluster.
Once the cluster framework software is installed, you will be asked for the name of the cluster. Then, sccheck(1M) is run to test this machine for basic Sun Cluster pre-configuration requirements.
After sccheck(1M) passes, you will be asked for the names of the other nodes which will initially be joining that cluster. In addition, you will be asked to provide certain cluster transport configuration information.
Press Ctrl-d at any time to return to the Main Menu.
Do you want to continue (yes/no) [yes]? [Enter]
>>> Software Package Installation <<<
Installation of the Sun Cluster framework software packages will take a few minutes to complete.
Is it okay to continue (yes/no) [yes]? [Enter]
** Installing SunCluster 3.0 ** SUNWscr.....done SUNWscu.....done
2
SUNWscdev...done SUNWscgds...done SUNWscman...done SUNWscsal...done SUNWscsam...done SUNWscvm....done SUNWmdm.....done SUNWscva....done SUNWscvr....done SUNWscvw....done
Hit ENTER to continue: [Enter]
>>> Cluster Name <<<
Each cluster has a name assigned to it. The name can be made up of any characters other than whitespace. It may be up to 256 characters in length. And, you may want to assign a cluster name which will be the same as one of the failover logical host names in the cluster. Create each cluster name to be unique within the namespace of your enterprise.
What is the name of the cluster you want to establish? sc-igwb
>>> Check <<<
This step runs sccheck(1M) to verify that certain basic hardware and software pre-configuration requirements have been met. If sccheck(1M) detects potential problems with configuring this machine as a cluster node, a list of warnings is printed.
Hit ENTER to continue: [Enter]
3