1.环境:
两台SUN Fire 480 , A1000的阵列。Oracle 9i 环境。
每台480主机上面有6个网络接口。
---------------------------------------------------------------------
ce0 用来连接公网
ce1
eri0
fcip0
qfe0 qfe1 qfe2 qfe3 其中qfe0,qfe1用来做心跳线
---------------------------------------------------------------------
主机名 : TEST1 10.10.10.11/24
TEST2 10.10.10.14/24
虚拟IP : 10.10.10.10
VCS管理IP:10.10.10.9
2.准备工作
a.用两根交叉线把两台机器的qfe0和qfe0,qfe1和qfe1连接起来做心跳线。
b.两边机器写/etc/hosts文档,把两台主机名都写进去。
c.建立两台主机的信任关系
#vi .rhost
安装好后能够删除。
d.在两台主机上面同时安装Oracle 9i,都不建库。关闭一台主机,用另一台主机在阵列上建库。
同时开两台主机。
把建好库的这台主机$ORACLE_BASE/ admin/{SID}/
$ORACLE_HOME/dbs/
$ORACLE_HOME/network/admin/
三个目录下的控制文档拷贝到另一台机器上,并做测试连接。
3.安装VCS
a.安装VCS软件包
# cd /cdrom/cdrom0
# cd cluster_server
# ls
copyright installvcs pkgs scripts uninstallvcs
docs licensevcs release_notes support
# ./ installvcs
输入您要安装VCS的两台机器的主机名,前面的一个是active的,即本机。
Enter the names of the systems on which VCS is to be installed
separated by spaces (example: system1 system2): TEST1 TEST2
Checking for ssh on TEST1 ........................... not found
Checking OS version on TEST1 ........................ SunOS 5.8
Verifying communication with TEST2 ............ ping successful
Attempting rsh with TEST2 ...................... rsh successful
Checking OS version on TEST2 ........................ SunOS 5.8
Creating /tmp subdirectory on TEST2 ... /tmp subdirectory created
系统将自动和备机同步,假如在这里不能进行,您需要检查您的心跳连线是否正确。
Using /usr/bin/rsh and /usr/bin/rcp to communicate with TEST2
Communication check completed successfully
VERITAS CLUSTER SERVER INSTALLATION PROGRAM
输入VCS的license
VCS licensing verification:
Checking TEST1 ........................... No license key found
Enter the license key for TEST1: PJPT-XNRY-2P8H-86P3-ZJPP
Valid VCS Demo key entered for TEST1
Registering key PJPT-XNRY-2P8H-86P3-ZJPP on TEST1 ........ Done
Registering key PJPT-XNRY-2P8H-86P3-ZJPP on TEST2 ........ Done
VCS licensing completed successfully
VERITAS CLUSTER SERVER INSTALLATION PROGRAM
The GUI modules of VCS use the Java Run Time Environment(1.3) from Sun
and require that some Solaris patches be installed to function properly.
You can find information about these patches and instructions for
downloading them at:
http://java.sun.com/j2se/1.3/install-solaris-patches.html
Are you ready to start the Cluster installation now? (Y) Y
VERITAS CLUSTER SERVER INSTALLATION PROGRAM
Checking current installation on TEST1:
Checking VRTSvcsw ................................... Not installed
Checking VRTSweb .................................... Not installed
Checking VRTSvcsmn ................................ Not installed
Checking VRTSvcsdc .................................. Not installed
Checking VRTSvcsag .................................. Not installed
Checking VRTSvcsmg .................................. Not installed
Checking VRTSvcs .................................... Not installed
Checking VRTSgab .................................... Not installed
Checking VRTSllt .................................... Not installed
Checking VRTSperl ................................... Not installed
Checking VRTSvlic ................................... Not installed
Checking current installation on TEST2:
Checking VRTSvcsw ................................... Not installed
Checking VRTSweb .................................... Not installed
Checking VRTSvcsmn .................................. Not installed
Checking VRTSvcsdc .................................. Not installed
Checking VRTSvcsag .................................. Not installed
Checking VRTSvcsmg .................................. Not installed
Checking VRTSvcs .................................... Not installed
Checking VRTSgab .................................... Not installed
Checking VRTSllt .................................... Not installed
Checking VRTSperl ................................... Not installed
Checking VRTSvlic ................................... Not installed
Installation check completed successfully
VERITAS CLUSTER SERVER INSTALLATION PROGRAM
文章整理:西部数码--专业提供域名注册、虚拟主机服务
http://www.west263.com
以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!



