国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 數據庫 > Oracle > 正文

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

2024-08-29 13:35:02
字體:
來源:轉載
供稿:網友

  在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

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 海阳市| 信宜市| 麟游县| 封丘县| 黄骅市| 潞城市| 桐乡市| 凌海市| 云阳县| 南康市| 元阳县| 株洲市| 两当县| 昌吉市| 东丰县| 米林县| 曲沃县| 阿拉善左旗| 原平市| 丹东市| 包头市| 绥滨县| 法库县| 水富县| 临西县| 思茅市| 舒城县| 饶河县| 黄山市| 陆良县| 德清县| 修武县| 海南省| 福泉市| 类乌齐县| 桂阳县| 武强县| 鹤庆县| 玉龙| 新建县| 明水县|