分享
 
 
 

Oracle RAC on Veritas DBE/AC(Step by Step)

王朝oracle·作者佚名  2008-05-31
窄屏简体版  字體: |||超大  

在Solaris中安装Veritas DBAC for Oracle RAC

一、 安装Solaris 9 8/03版本,由于该版本是Solaris操作系统的最新版,所以不需要在安装补丁程序。

二、 使用Sun公司发布的补丁盘,安装SUNWsan软件包和补丁包

三、 为要安装Oracle RAC的Sun V880设置好网络

主机A:

机器名:rac1

网卡 eri0:192.0.0.101/255.255.255.0 用于做心跳网卡2

网卡 ge0:192.0.1.101/255.255.255.0 用于做心跳网卡1

网卡 ce0:172.39.199.101/255.255.255.0 用于做对外服务网卡

主机A具体配置文件如下:

l /etc/hosts文件的内容:

#

# Internet host table

#

127.0.0.1 localhost

192.168.0.101 rac1 loGhost a.b

192.168.0.102 rac2

192.168.1.101 rac1-ge0

172.39.199.101 rac1-ce0

l /etc/netmasks文件的内容

#

# The netmasks file associates Internet Protocol (IP) address

# masks with IP network numbers.

#

# network-number netmask

#

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

# Information Center. Currently this number is restricted to being a class

# A, B, or C network number. In the future we should be able to support

# arbitrary network numbers per the Classless Internet Domain Routing

# guidelines.

#

# Both the network-number and the netmasks are specified in

# "decimal dot" notation, e.g:

#

# 128.32.0.0 255.255.255.0

#

192.168.0.0 255.255.255.0

172.39.199.0 255.255.255.0

l /etc/hostname.eri0文件的内容:

rac1

l /etc/hostname.ge0文件的内容:

rac1-ge0

l /etc/hostname.ce0文件的内容:

rac1-ce0

l /etc/hosts.equiv文件的内容:

+

l /etc/notrouter文件是一个空文件

l /etc/defaultrouter文件的内容

172.16.199。254

l /.rhosts文件的内容

rac1

rac2

主机B:

机器名:rac2

网卡 eri0:192.0.0.102/255.255.255.0 用于做心跳网卡2

网卡 ge0:192.0.1.102/255.255.255.0 用于做心跳网卡1

网卡 ce0:172.39.199.102/255.255.255.0 用于做对外服务网卡

具体配置文件如下:

l /etc/hosts文件的内容:

#

# Internet host table

#

127.0.0.1 localhost

192.168.0.102 rac2 loghost a.b

192.168.0.101 rac1

192.168.1.102 rac2-ge0

172.39.199.102 rac2-ce0

l /etc/netmasks文件的内容

#

# The netmasks file associates Internet Protocol (IP) address

# masks with IP network numbers.

#

# network-number netmask

#

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

# Information Center. Currently this number is restricted to being a class

# A, B, or C network number. In the future we should be able to support

# arbitrary network numbers per the Classless Internet Domain Routing

# guidelines.

#

# Both the network-number and the netmasks are specified in

# "decimal dot" notation, e.g:

#

# 128.32.0.0 255.255.255.0

#

192.168.0.0 255.255.255.0

172.39.199.0 255.255.255.0

l /etc/hostname.eri0文件的内容:

rac2

l /etc/hostname.ge0文件的内容:

rac2-ge0

l /etc/hostname.ce0文件的内容:

rac2-ce0

l /etc/hosts.equiv文件的内容:

+

l /etc/notrouter文件是一个空文件

l /etc/defaultrouter文件的内容

172.16.199.254

l /.rhosts文件的内容

rac1

rac2

四、 为两台主机的超级用户加上如下环境变量

l 在文件/。Profile中加上以下内容

PATH=/sbin:/usr/sbin:/usr/bin:/usr/lib/vxvm/bin:/usr/lib/fs/vxfs:/opt/VRTSvxfs/sbin:\

/opt/VRTSvcs/bin:/opt/VRTSvcs/rac/bin:/opt/VRTSob/bin:$PATH

eXPort PATH

MANPATH=/usr/share/man:/opt/VRTS/man

export MANPATH

五、 使用超级用户的身份登录到系统RAC1上,将VER99vAS DBE/AC for Oracle9i RAC software介质放入RAC1的CDROM中,等待一会后,运行Veritas安装脚本。

以下黑体字部分是安装时需要输入的信息,采用C语言的注释方法进行中文说明。

# cd /cdrom/database_ac_for_oracle9i

# ./installDBAC

/* 运行DBAC的安装脚本 */

Enter the names of the systems on which VCS is to be installed

separated by spaces (example: system1 system2): rac1 rac2

/* 以上是输入集群的所有主机名,主机名之间用空格分开 */

Analyzing . . .

/*系统开始检查和分析:1、是否有足够的磁盘空间来安装软件包2、SUNWsan软件包和其补丁是否已经安装3、用户是否具有超级用户的权限4、系统是否已经安装了VRTSvlic软件包,假如没有的话,就将该软件包安装在系统上*/

You do not have a Database Edition for Advanced Cluster license installed on rac1.

Do you want to add a license key for this prodUCt on rac1 ?[Y/N](Y) y

Enter your license key : XXXX-XXXX-XXXX-XXXX-XXXX-XXX

Registering license for rac1.

You do not have a Database Edition for Advanced Cluster license installed on rac2.

Do you want to add a license key for this product on rac2 ?[Y/N](Y) y

Enter your license key : XXXX-XXXX-XXXX-XXXX-XXXX-XXX

Registering license for rac2.

/* 以上是输入Veritas for Oracle RAC的license */

You can skip VER99vAS Cluster server installation, if you need to

install only VER99vAS Volume manager and VER99vAS Filesystem

Would you like to continue VCS installation. [Y/N](Y)? Y

Starting VCS installation.

/* 以上是提示继续安装Veritas for Oracle RAC 软件包 */

Checking for ssh on rac1 ............................ not found

Verifying communication with rac2 ............. ping successful

Attempting rsh with rac2 ....................... rsh successful

Checking OS version on rac1. ........................ SunOS 5.8

Creating /tmp subDirectory on rac1... /tmp subdirectory created

Checking OS version on rac2 ......................... SunOS 5.8

Using /usr/bin/rsh and /usr/bin/rcp to communicate with rac1

Communication check completed successfully

VCS licensing verification:

Checking rac1 .............found DBED/AC Node Locked key

Do you want to enter a new key for rac1 (N) n

Using the existing DBED/AC Node Locked key located on rac2.

Checking rac2 .............found DBED/AC Node Locked key

Using the existing DBED/AC Node Locked key located on rac2.

DBED/AC licensing completed successfully

/* 以上部分进行License的校验 */

Are you ready to start the Cluster installation now? (Y) Y

/* 以上询问是否开始安装VeritasforOracle RAC集群软件 */

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

heartbeat links

Are you ready to configure DBED/AC on these systems? (Y) Y

/* 以上询问是否开始配置VeritasforOracle RAC集群软件 */

Enter the unique Cluster Name: testrac

Enter the unique Cluster ID number between 0-255: 10

/* 集群的名字是testrac,集群的ID是10 */

Discovering NICs on galaxy: ..... discovered eri0 ge0 ce0

Enter the NIC for the first private network heartbeat link on Rac1: (eri0 ge0 ce0) ge0

Enter the NIC for the second private network heartbeat link on Rac1: (hme0 qfe1 qfe2 qfe3) eri0

Are you using the same NICs for private heartbeat links on all systems? (Y) Y

/* 以上配置集群的心跳网络,ge0是主心跳网络,eri0

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有