Chinaunix

标题: [原创]Quickstart简单安装手册 [打印本页]

作者: C.Arthur    时间: 2003-12-31 16:50
标题: [原创]Quickstart简单安装手册
本文很简单,就是实施的一个记录,希望本文对广大新手起到一些帮助,也希望高手们能共同进步。
版权所有:C.Arthur@arthur lab from http://www.chinaunix.net

QiuckStart 是一个简单的双机配置软件,优点是价格便宜,但是在性能上逊色于VCS。

安装准备工作(阵列要配置好,并且挂接在主机上,并在主机上启动ORACLE):
1,        1,编辑/etc/hosts文件,加入双机服务器的主机器名和地址,加入心跳线地址,内容如下:
arthurA# more /etc/hosts
arthura        192.168.0.1
arthurb         192.168.0.2
heart_linka
ha1        192.168.10.1
ha2        192.168.20.1
heart_linkb
hb1        192.168.10.2
hb2        192.168.20.2
2, arthurA# touch /.rhosts
文件内容为你所加入的信任主机名,在这里加入你的另一个机器的主机名
进入安装
1,进入安装目录,执行installvcs
2,        按照提示输入
Enter the names of the systems on which VCS is to be installed
separated by spaces (example: system1 system2):
arthurA arthurB
The utility verifies that the systems you specify can communicate via ssh or rsh. If
ssh binaries are found, the program confirms that ssh is set up to operate without
requests for passwords or passphrases.
Checking for ssh on arthurA ........................ .. not found
Checking OS version on arthurA ........................ SunOS 5.8
Verifying communication with arthurB ............ ping successful
Attempting rsh with arthurB ...................... rsh successful
Checking OS version on arthurB ........................ SunOS 5.8
Creating /tmp subdirectory on arthurB.. /tmp subdirectory created
Using /usr/bin/rsh and /usr/bin/rcp to communicate with arthurB
Communication check completed successfully
The installation utility verifies the license status of each system. If a VCS license is
found on the system, you are prompted about whether you want to use that license or
enter a new license.
If no license is found, or you would like to enter a new license, enter a license key
when prompted.
VCS licensing verification:
Checking arthurA ........................ No license key found
Enter the license key for arthurA: XXXX-XXXX-XXXX-XXXX-XXXX-XXX
Valid VCS Single Node Permanent key entered for arthurA
Registering key XXXX-XXXX-XXXX-XXXX-XXXX-XXX on arthurA .. Done
Checking arthurB ........................ No license key found
Enter the license key for arthurB: XXXX-XXXX-XXXX-XXXX-XXXX-XXX
Valid VCS Single Node Permanent key entered for arthurB
Registering key XXXX-XXXX-XXXX-XXXX-XXXX-XXX on arthurB .. Done
Proceed when VCS licensing completes successfully.
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)
Checking current installation on arthurA:
Checking VRTSvcsw ..........................Not installed
Checking VRTSweb ...........................Not installed
.
.
Checking current installation on arthurB:
Checking VRTSvcsw ..........................Not installed
.
Installation check completed successfully
Checking file system space on arthurA:
Checking /opt ................ No /opt volume or partition
Checking /usr ................ No /usr volume or partition
Checking /var ................... required space available
Checking / ...................... required space available
Checking file system space on arthurB:
Checking /tmp.................... required space available
Checking /opt ................ No /opt volume or partition
Checking /usr ................ No /usr volume or partition
Checking /var ................... required space available
Checking / ...................... required space available
File system verification completed successfully
Stopping VCS processes on arthurA:
Checking VCS .................................... not running
Checking hashadow ............................... not running
Checking CmdServer .............................. not running
Checking Web GUI processes....................... not running
Checking notifier processes ..................... not running
Checking GAB .................................... not running
Checking LLT .................................... not running
Stopping VCS processes on arthurB:
Checking VCS .................................... not running
Checking hashadow ............................... not running
Checking CmdServer .............................. not running
Checking Web GUI processes....................... not running
Checking notifier processes ..................... not running
Checking GAB .................................... not running
Checking LLT .................................... not running
VCS processes are stopped
To configure VCS the following is required:
A unique Cluster name
A unique Cluster ID number between 0-255
Two NIC cards on each system used for private network links
Are you ready to configure VCS on these systems? (Y)
Enter the unique Cluster Name: App_cluster2这个名字必须是唯一的在网络里没有的
Enter the unique Cluster ID number between 0-255: 7唯一的
Discovering NICs on arthurA: ..... discovered hme0 qfe0 qfe1
qfe2 qfe3
Enter the NIC for the first private network heartbeat link on
arthurA: (hme0 qfe0 qfe1 qfe2 qfe3) qfe0选用心跳的网口
Enter the NIC for the second private network heartbeat link on
arthurA: (hme0 qfe1 qfe2 qfe3) qfe1选用心跳的网口
Are you using the same NICs for private heartbeat links on all
systems? (Y)
Cluster information verification:
Cluster Name: App_cluster2
Cluster ID Number: 7
Private Network Heartbeat Links for arthurA: link1=qfe0
link2=qfe1
Private Network Heartbeat Links for arthurB: link1=qfe0
link2=qfe1
Is this information correct? (Y)
The following information is required to configure the Cluster
Manager:
A public NIC used by each system in the cluster
A Virtual IP address and netmask for the Cluster Manager
Do you want to configure the Cluster Manager (Web Console) (Y)
Active NIC devices discovered on arthurA: hme0
Enter the NIC for the Cluster Manager (Web Console) to use on
arthurA: (hme0)
Is hme0 the public NIC used for all systems (Y)
Enter the Virtual IP address for the Cluster Manager:
192.168.0.3 (这个地址用来WEB管理,例如http://192.168.0.3:8181)
Enter the netmask for IP 192.168.0.3: (255.0.0.0)
Cluster Manager (Web Console) verification:
NIC: hme0
IP: 192.168.0.3
Netmask: 255.0.0.0
Is this information correct? (Y)
Installing VCS on arthurA:
Installing VRTSvlic package ........................... Done
Installing VRTSperl package ........................... Done
Installing VRTSllt package ............................ Done
Installing VRTSgab package ............................ Done
Installing VRTSvcs package ............................ Done
Installing VRTSvcsmg package .......................... Done
Installing VRTSvcsag package .......................... Done
Installing VRTSvcsdc package .......................... Done
Installing VRTSvcsmn package .......................... Done
Installing VRTSweb package ............................ Done
Installing VRTSvcsw package ........................... Done
Installing VCS on arthurB:
Copying VRTSvlic binaries ............................. Done
Installing VRTSvlic package ........................... Done
Copying VRTSperl binaries ............................. Done
Installing VRTSperl package ........................... Done
.
.
Package installation completed successfully
Configuring VCS ...................................... Done
Copying VCS configuration files to arthurA.............. Done
Copying VCS configuration files to arthurB.............. Done
Configuration files copied successfully
Do you want to start the cluster components now? (Y)
Starting VCS on arthurA
Starting LLT ...................................... Started
Starting GAB ...................................... Started
Starting VCS ...................................... Started
Starting VCS on arthurB
Starting LLT ...................................... Started
Starting GAB ...................................... Started
Starting VCS ...................................... Started
VCS Startup completed successfully
以上内容只需要在一台机器上安装就可以,不需要2台机器安装。配置信任主机是必须的,不然无法同时正常安装哦!
3,        进入/opt/VRTSvcs/qsbin
cp KillApp MyApp
在MyApp内容里写出如何写出启动服务
两台机器都要有
执行vcsqs-app-wizard
按照提示做
增加一个服务组 下一步
start programe    /opt/VRTSvcs/qsbin/MyApp ora_db
stop programe         /opt/VRTSvcs/qsbin/KillApp ora_db
clean programe        /opt/VRTSvcs/qsbin/KillApp MyApp
monitor programe        /opt/VRTSvcs/qsbin/MonitorApp ora_db
user root
下一步
选择一个挂接点           下一步
输入IP地址和掩码(这个地址是对外提供数据库和应用访问的地址如:192.168.0.4)               
下一步
启动netscape
http://192.168.0.3:8181 //这个是我们添加的服务端口
用户名admin和密码password  //默认情况下
在里面可以进行切换
注意在选择CUSTOM ORACLE安装的时候请选择ORACLE
作者: nanaskylead    时间: 2003-12-31 16:58
标题: [原创]Quickstart简单安装手册
第一个,我顶,友情顶一个
作者: minechina    时间: 2003-12-31 17:01
标题: [原创]Quickstart简单安装手册
好帖子,但是软件能提供吗?
作者: metor78    时间: 2003-12-31 17:02
标题: [原创]Quickstart简单安装手册
软件是免费的!
作者: C.Arthur    时间: 2003-12-31 17:19
标题: [原创]Quickstart简单安装手册
多谢大家支持,软件不是免费的,比VCS要便宜一些




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2