Oracle 11gR2 rac for linux安装实施
环境:
系统:redhat linux 5.8
内核:Linux RAC1 2.6.32-300.3.1.el6uek.x86_64
(命令:[root@RAC1 oracle11R201]# uname -a) 软件:oracle database 软件 和 oracle grid 软件 软件编号如下:
linux.x64_11gR2_database_1of2.zip linux.x64_11gR2_database_2of2.zip linux.x64_11gR2_grid.zip 网络配置 节点名称 RAC1 RAC2 公共ip 虚拟ip 专用ip Scan ip 10.163.145.170 Scan名称 scan-cluster 10.163.145.173 10.163.145.171 192.168.123.1 10.163.145.174 10.163.145.172 192.168.123.2 存储组件划分:
Block Device ASMlib Name ASM磁盘名称 Size(GB) Comments /dev/sdb5 OCR_VOTE01 3 ASM Diskgroup for OCR and Voting Disks /dev/sdb6 OCR_VOTE02 3 ASM Diskgroup for OCR and Voting Disks +OCR /dev/sdb7 OCR_VOTE03 3 ASM Diskgroup for OCR and Voting Disks /dev/sdb8 ASM_DATA01 80 ASM Data Diskgroup /dev/sdb9 ASM_DATA02 80 ASM Data Diskgroup +DATA /dev/sdb10 ASM_DATA03 80 ASM Data Diskgroup /dev/sdb11 ASM_DATA04 80 ASM Data Diskgroup /dev/sdb12 ASM_FRA01 60 ASM Flash Recovery Area Diskgroup /dev/sdb13 ASM_FRA02 60 ASM Flash Recovery Area Diskgroup +FRA /dev/sdb14 ASM_FRA03 51 ASM Flash Recovery Area Diskgroup
磁盘管理 删除磁盘分区: [root@RAC1 oracle11R201]# fdisk /dev/sdb
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.
WARNING: DOS-compatible mode is deprecated. It's strongly recommended to switch off the mode (command 'c') and change display units to sectors (command 'u').
Command (m for help): d Partition number (1-11): 11
Command (m for help): d Partition number (1-10): 10
Command (m for help): d Partition number (1-9): 9
Command (m for help): d Partition number (1-8): 8
Command (m for help): d Partition number (1-7): 7
Command (m for help): d Partition number (1-6): 6
Command (m for help): d Partition number (1-5): 5
Command (m for help): d Selected partition 1
Command (m for help): 1 1: unknown command Command action
a toggle a bootable flag b edit bsd disklabel
c toggle the dos compatibility flag d delete a partition
l list known partition types m print this menu n add a new partition
o create a new empty DOS partition table p print the partition table q quit without saving changes
s create a new empty Sun disklabel t change a partition's system id u change display/entry units v verify the partition table w write table to disk and exit
x extra functionality (experts only)
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table. Syncing disks.
[root@RAC1 oracle11R201]#
重新划分磁盘:(主分区) [root@RAC1 /]# fdisk /dev/sdb
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.
WARNING: DOS-compatible mode is deprecated. It's strongly recommended to switch off the mode (command 'c') and change display units to sectors (command 'u').
Command (m for help): d No partition is defined yet!
Command (m for help): m Command action
a toggle a bootable flag b edit bsd disklabel
c toggle the dos compatibility flag d delete a partition
l list known partition types m print this menu n add a new partition
o create a new empty DOS partition table p print the partition table q quit without saving changes
s create a new empty Sun disklabel t change a partition's system id u change display/entry units v verify the partition table w write table to disk and exit
x extra functionality (experts only)
Command (m for help): n Command action e extended
p primary partition (1-4) e
Partition number (1-4): 1
First cylinder (1-65270, default 1): Using default value 1
Last cylinder, +cylinders or +size{K,M,G} (1-65270, default 65270):
Command (m for help): n Command action l extended
p primary partition (1-4) l
Partition number (1-4): 2
First cylinder (1307-65270, default 1307): Using default value 1307
Last cylinder, +cylinders or +size{K,M,G} (1307-65270, default 65270): +3G
Command (m for help): n Command action l extended
p primary partition (1-4) l
Partition number (1-4): 3
First cylinder (20889-65270, default 20889): Using default value 20889
Last cylinder, +cylinders or +size{K,M,G} (20889-65270, default 65270): +3G
Command (m for help): n Command action l extended
p primary partition (1-4) l
Selected partition 4
First cylinder (40471-65270, default 40471): Using default value 40471
Last cylinder, +cylinders or +size{K,M,G} (40471-65270, default 65270): +3G Using default value 65270
Command (m for help): n Command action l extended
p primary partition (1-4) l
Selected partition 4
First cylinder (40471-65270, default 40471): Using default value 40471
Last cylinder, +cylinders or +size{K,M,G} (40471-65270, default 65270): +80G Using default value 65270
Command (m for help): n Command action l extended
p primary partition (1-4) l
Selected partition 4
First cylinder (40471-65270, default 40471): Using default value 40471
Last cylinder, +cylinders or +size{K,M,G} (40471-65270, default 65270): +80G Using default value 65270
Command (m for help): n Command action l extended
p primary partition (1-4) l
Selected partition 4
First cylinder (40471-65270, default 40471): Using default value 40471
Last cylinder, +cylinders or +size{K,M,G} (40471-65270, default 65270): +80G Using default value 65270
Command (m for help): n Command action l extended
p primary partition (1-4) l
Selected partition 4
First cylinder (40471-65270, default 40471): Using default value 40471
Last cylinder, +cylinders or +size{K,M,G} (40471-65270, default 65270): +80G Using default value 65270
Command (m for help): n Command action l extended
p primary partition (1-4) l
Selected partition 4