Oracle 10g RAC for RHEL5 Linux8664 安装手册.docx
- 文档编号:5987991
- 上传时间:2023-01-02
- 格式:DOCX
- 页数:86
- 大小:4.27MB
Oracle 10g RAC for RHEL5 Linux8664 安装手册.docx
《Oracle 10g RAC for RHEL5 Linux8664 安装手册.docx》由会员分享,可在线阅读,更多相关《Oracle 10g RAC for RHEL5 Linux8664 安装手册.docx(86页珍藏版)》请在冰豆网上搜索。
Oracle10gRACforRHEL5Linux8664安装手册
Oracle10gRAC
ForRHEL5Linux86_64
(裸设备)安装手册
目录
第一章安装准备3
1.1系统补丁包安装3
1.2若连接存储为IP-SAN则需安装iscsi包,并开启iscsi服务3
1.3关闭sendmail3
1.4规划RAC网络及存储3
1.5修改操作系统文件5
1.5.1配置主机名5
1.5.2配置网卡6
1.5.3/etc/hosts6
1.5.4/etc/sysctl.conf6
1.5.5/etc/security/limits.conf7
1.5.6/etc/pam.d/login7
1.5.7/etc/profile7
1.5.8/etc/modprobe.conf7
1.5.9/etc/rc.d/rc.local8
1.5.10加载hangcheck模块8
1.5.11修改系统版本号8
[oracle@sohdb1~]#vi/etc/redhat-release8
[oracle@sohdb2~]#vi/etc/redhat-release8
1.5.12创建oracle安装用户8
1.5.13创建oracle软件的相关目录8
1.5.14修改oracle用户的环境变量8
1.5.15修改root用户环境变量9
1.5.16创建目录9
1.5.17时间同步9
1.5.18配置ssh9
1.5.19绑定裸设备11
第二章安装OracleCRS软件11
2.1安装的准备工作11
2.2图形下安装12
2.2.1CRS安装环境检查12
2.3root执行vipca24
第三章安装Oracle数据库软件28
第四章安装Oracle10.2.0.4补丁35
4.1安装oracleCRS补丁35
4.2安装Oracle数据库补丁40
第五章创建数据库45
5.1Dbca创建数据库45
本文中黄色字体是用户手工输入的内容
安装准备
系统补丁包安装
正式环境系统必须为linux64位系统,建议采用系统版本为5,由于64位需要打得包较多,故建议在系统安装时使用全安装。
另外,实验环境中若使用32位系统则可使用默认安装,补订包的安装如下:
#Mount/dev/cd-rom/media
cd/media/cdrom/Server
rpm-Uvhsetarch-2*
rpm-Uvhmake-3*
rpm-Uvhglibc-2*
rpm-Uvhlibaio-0*
rpm-Uvhcompat-libstdc++-33-3*
rpm-Uvhcompat-gcc-34-3*
rpm-Uvhcompat-gcc-34-c++-3*
rpm-Uvhgcc-4*
rpm-UvhlibXp-1*
rpm-Uvhopenmotif-2*
rpm-Uvhcompat-db-4*
若连接存储为IP-SAN则需安装iscsi包,并开启iscsi服务
安装iscsi包
cd/media/cdrom/Server
rpm-Uvhiscsi-ini*
/etc/init.d/iscsistart
iscsiadm-mdiscovery-tst-p192.168.1.10(存储地址)
iscsiadm-mnode-TXXX-p192.168.1.10-l
关闭sendmail
/etc/rc.d/rc.localsendmailstop
chkconfig--level12345sendmailoff
规划RAC网络及存储
IP规划:
Public地址(公共网地址):
10.1.17.2
10.1.17.3
VIP地址(数据库服务地址):
10.1.17.4
10.1.17.5
Privt地址(RAC心跳地址):
192.168.17.6
192.168.17.7
需要至少三块4G左右的盘,规划如下:
/dev/sdb4G
/dev/sdb1800m
/dev/sdb2500m
/dev/sdb3600m
/dev/sdb5100m
/dev/sdb6200m
/dev/sdb7200m
/dev/sdb8200m
/dev/sdb9200m
/dev/sdb10200m
/dev/sdb11200m
/dev/sdb12100m
/dev/sdc4G
/dev/sdc11200m
/dev/sdc2600m
/dev/sdc3100m
/dev/sdc5600m
/dev/sdc6200m
/dev/sdc7200m
/dev/sdc8200m
/dev/sdc9200m
/dev/sdc10200m
/dev/sdc11100m
/dev/sdc12100m
/dev/sdd4G
/dev/sdd11024m
/dev/sdd21024m
/dev/sdd31024m
/dev/sdd41024m
划分磁盘后续执行
partprobe
重读分区表
目的
小大小(MB)
标准化大小(MB)
实验环境规划(MB)
磁盘设备
原始设备
SYSTEM表空间
500
600
800
/dev/sdb1
/dev/raw/raw1
SYSAUX表空间
800
1200
1200
/dev/sdc1
/dev/raw/raw2
USERS表空间
120
200
500
/dev/sdb2
/dev/raw/raw3
UNDOTBS1表空间
500
600
600
/dev/sdc2
/dev/raw/raw4
UNDOTBS2表空间
500
600
600
/dev/sdb3
/dev/raw/raw5
SPFILE
5
50
100
/dev/sdc3
/dev/raw/raw6
口令文件
5
50
100
/dev/sdb5
/dev/raw/raw7
TEMP表空间
250
600
600
/dev/sdc5
/dev/raw/raw8
控制文件1
110
200
200
/dev/sdb6
/dev/raw/raw9
控制文件2
110
200
200
/dev/sdc6
/dev/raw/raw10
控制文件3
110
200
200
/dev/sdb7
/dev/raw/raw11
重做日志1_1
120
200
200
/dev/sdc7
/dev/raw/raw12
重做日志1_2
120
200
200
/dev/sdb8
/dev/raw/raw13
重做日志1_3
120
200
200
/dev/sdc8
/dev/raw/raw14
重做日志2_1
120
200
200
/dev/sdb9
/dev/raw/raw15
重做日志2_2
120
200
200
/dev/sdc9
/dev/raw/raw16
重做日志2_3
120
200
200
/dev/sdb10
/dev/raw/raw17
数据盘(用于存放表空间的数据文件)
1024
/dev/sdd1
/dev/raw/raw18
数据盘(用于存放表空间的数据文件)
1024
/dev/sdd2
/dev/raw/raw19
数据盘(用于存放表空间的数据文件)
1024
/dev/sdd3
/dev/raw/raw20
数据盘(用于存放表空间的数据文件)
1024
/dev/sdd5
/dev/raw/raw21
OracleClusterRegistry
100
200
200
/dev/sdc10
/dev/raw/raw22
OracleClusterRegistry
100
200
200
/dev/sdb11
/dev/raw/raw23
OracleCRSVoting
20
50
100
/dev/sdc11
/dev/raw/raw24
OracleCRSVoting
20
50
100
/dev/sdb12
/dev/raw/raw25
OracleCRSVoting
20
50
100
/dev/sdc12
/dev/raw/raw26
磁盘空间总计:
3,900
5,950
fdisk划分磁盘
使用fdisk命令按照如上方案在第一台机器上划分磁盘
格式化第一块磁盘
[root@hqportaldb1~]#fdisk/dev/sdb
DevicecontainsneitheravalidDOSpartitiontable,norSun,SGIorOSFdisklabel
BuildinganewDOSdisklabel.Changeswillremaininmemoryonly,
untilyoudecidetowritethem.Afterthat,ofcourse,theprevious
contentwon'tberecoverable.
Thenumberofcylindersforthisdiskissetto9137.
Thereisnothingwrongwiththat,butthisislargerthan1024,
andcouldincertainsetupscauseproblemswith:
1)softwarethatrunsatboottime(e.g.,oldversionsofLILO)
2)bootingandpartitioningsoftwarefromotherOSs
(e.g.,DOSFDISK,OS/2FDISK)
Warning:
invalidflag0x0000ofpartitiontable4willbecorrectedbyw(rite)
Command(mforhelp):
n
Commandaction
eextended
pprimarypartition(1-4)
p
Partitionnumber(1-4):
1
Firstcylinder(1-9137,default1):
回车
Usingdefaultvalue1
Lastcylinderor+sizeor+sizeMor+sizeK(1-9137,default9137):
+800m
Command(mforhelp):
n
Commandaction
eextended
pprimarypartition(1-4)
p
Partitionnumber(1-4):
2
Firstcylinder(488-9137,default488):
回车
Usingdefaultvalue488
Lastcylinderor+sizeor+sizeMor+sizeK(488-9137,default9137):
+500M
Command(mforhelp):
n
Commandaction
eextended
pprimarypartition(1-4)
p
Partitionnumber(1-4):
3
Firstcylinder(501-9137,default501):
回车
Usingdefaultvalue501
Lastcylinderor+sizeor+sizeMor+sizeK(501-9137,default9137):
+600m
Command(mforhelp):
n
Commandaction
eextended
pprimarypartition(1-4)
e
Selectedpartition4
Firstcylinder(2934-9137,default2934):
回车
Usingdefaultvalue2934
Lastcylinderor+sizeor+sizeMor+sizeK(2934-9137,default9137):
回车
Usingdefaultvalue9137
Command(mforhelp):
n
Firstcylinder(2934-9137,default2934):
回车
Usingdefaultvalue2934
Lastcylinderor+sizeor+sizeMor+sizeK(2934-9137,default9137):
+100m
Command(mforhelp):
n
Firstcylinder(5367-9137,default5367):
回车
Usingdefaultvalue5367
Lastcylinderor+sizeor+sizeMor+sizeK(5367-9137,default9137):
+200M
Command(mforhelp):
n
Firstcylinder(5429-9137,default5429):
回车
Usingdefaultvalue5429
Lastcylinderor+sizeor+sizeMor+sizeK(5429-9137,default9137):
+200M
Command(mforhelp):
n
Firstcylinder(5454-9137,default5454):
Usingdefaultvalue5454
Lastcylinderor+sizeor+sizeMor+sizeK(5454-9137,default9137):
+200M
Command(mforhelp):
n
Firstcylinder(5479-9137,default5479):
Usingdefaultvalue5479
Lastcylinderor+sizeor+sizeMor+sizeK(5479-9137,default9137):
+200M
Command(mforhelp):
n
Firstcylinder(5504-9137,default5504):
Usingdefaultvalue5504
Lastcylinderor+sizeor+sizeMor+sizeK(5504-9137,default9137):
+200M
Command(mforhelp):
n
Firstcylinder(5517-9137,default5517):
Usingdefaultvalue5517
Lastcylinderor+sizeor+sizeMor+sizeK(5517-9137,default9137):
+200M
Command(mforhelp):
n
Firstcylinder(5542-9137,default5542):
Usingdefaultvalue5542
Lastcylinderor+sizeor+sizeMor+sizeK(5542-9137,default9137):
+100M
Command(mforhelp):
w
Thepartitiontablehasbeenaltered!
Callingioctl()tore-readpartitiontable.
Syncingdisks.
格式化第二块磁盘:
[root@hqportaldb1~]#fdisk/dev/sdc
Command(mforhelp):
n
Commandaction
eextended
pprimarypartition(1-4)
p
Partitionnumber(1-4):
1
Firstcylinder(1-9137,default1):
回车
Usingdefaultvalue1
Lastcylinderor+sizeor+sizeMor+sizeK(1-9137,default9137):
+1200m
Command(mforhelp):
n
Commandaction
eextended
pprimarypartition(1-4)
p
Partitionnumber(1-4):
2
Firstcylinder(488-9137,default488):
回车
Usingdefaultvalue488
Lastcylinderor+sizeor+sizeMor+sizeK(488-9137,default9137):
+600M
Command(mforhelp):
n
Commandaction
eextended
pprimarypartition(1-4)
p
Partitionnumber(1-4):
3
Firstcylinder(501-9137,default501):
回车
Usingdefaultvalue501
Lastcylinderor+sizeor+sizeMor+sizeK(501-9137,default9137):
+100m
Command(mforhelp):
n
Commandaction
eextended
pprimarypartition(1-4)
e
Selectedpartition4
Firstcylinder(2934-9137,default2934):
回车
Usingdefaultvalue2934
Lastcylinderor+sizeor+sizeMor+sizeK(2934-9137,default9137):
回车
Usingdefaultvalue9137
Command(mforhelp):
n
Firstcylinder(2934-9137,default2934):
回车
Usingdefaultvalue2934
Lastcylinderor+sizeor+sizeMor+sizeK(2934-9137,default9137):
+600m
Command(mforhelp):
n
Firstcylinder(5367-9137,default5367):
回车
Usingdefaultvalue5367
Lastcylinderor+sizeor+sizeMor+sizeK(5367-9137,default9137):
+200M
Command(mforhelp):
n
Firstcylinder(5429-9137,default5429):
回车
Usingdefaultvalue5429
Lastcylinderor+sizeor+sizeMor+sizeK(5429-9137,default9137):
+200M
Command(mforhelp):
n
Firstcylinder(5454-9137,default5454):
Usingdefaultvalue5454
Lastcylinderor+sizeor+sizeMor+sizeK(5454-9137,default9137):
+200M
Command(mforhelp):
n
Firstcylinder(5479-9137,default5479):
Usingdefaultvalue5479
Lastcylinderor+sizeor+sizeMor+sizeK(5479-9137,default9137):
+200M
Command(mforhelp):
n
Firstcylinder(5504-9137,default5504):
Usingdefaultvalue5504
Lastcylinderor+sizeor+sizeMor+sizeK(5504-9137,default9137):
+200M
Command(mforhelp):
n
Firstcylinder(5517-9137,default5517):
Usingdefaultvalue5517
Lastcylinderor+sizeor+sizeMor+sizeK(5517-9137,default9137):
+100M
Command(mforhelp):
n
Firstcylinder(5542-9137,default5542):
Usingdefaultvalue5542
Lastcylinderor+sizeor+sizeMor+sizeK(5542-9137,default9137):
+100M
Command(mforhelp):
w
Thepartitiontablehasbeenaltered!
Callingioctl()tore-readpartitiontable.
Syncingdisks.
格式化第三块磁盘:
[root@hqportaldb1~]#fdisk/dev/sdd
Command(mforhelp):
n
Commandaction
eextended
pprimarypartition(1-4)
p
Partitionnumber(1-4):
1
Firstcylinder(1-9137,default1):
回车
Usingdefaultvalue1
Lastc
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- Oracle 10g RAC for RHEL5 Linux8664 安装手册 10 安装 手册