11gR2 Grid Infrastructure Installation prerequisites On LINUX(四)

2014-11-24 09:48:33 · 作者: · 浏览: 10
el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-274.el5 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.18-274.el5.img
title Red Hat Enterprise Linux Server with MPP surpport
root (hd0,0)
kernel /vmlinuz-2.6.18-274.el5 ro root=LABEL=/ rhgb quiet
initrd /mpp-2.6.18-274.el5.img
节点2做同样的事
14 共享磁盘分区
[root@oradb1 ~]# fdisk /dev/sdc
The number of cylinders for this disk is set to 72815.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-72815, default 1):
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-72815, default 72815): +1024M
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 2
First cylinder (126-72815, default 126):
Using default value 126
Last cylinder or +size or +sizeM or +sizeK (126-72815, default 72815):
Using default value 72815
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
[root@oradb1 ~]# /sbin/partprobe
在节点2 查看共享磁盘情况,OK!和1节点的一直。
15 asmlib包的安装
下载:http://www.oracle.com/technetwork/server-storage/linux/downloads/rhel5-084877.
html
查看对应的版本后下载后安装:[root@oradb1 pub]# uname -a
Linux oradb1.bdstar.com 2.6.18-274.el5 #1 SMP Fri Jul 8 17:36:59 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
[root@oradb1 pub]# rpm -ivh oracleasm-support-2.1.8-1.el5.x86_64.rpm
warning: oracleasm-support-2.1.8-1.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
Preparing... ########################################### [100%]
1:oracleasm-support ########################################### [100%]
[root@oradb1 pub]# rpm -ivh oracleasm-2.6.18-274.el5-2.0.5-1.el5.x86_64.rpm
warning: oracleasm-2.6.18-274.el5-2.0.5-1.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
Preparing... ########################################### [100%]
1:oracleasm-2.6.18-274.el########################################### [100%]
[root@oradb1 pub]# rpm -ivh oracleasmlib-2.0.4-1.el5.x86_64.rpm
warning: oracleasmlib-2.0.4-1.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
Preparing... ########################################### [100%]
1:oracleasmlib ########################################### [100%]
16 使用root用户安装配置asmlib
--这里使用asm工具对设备进行持久化,当然也可以使用udev 的方式对设备进行持久化!
--双节点都要configure
[root@oradb1 pub]# /etc/init.d/oracleasm configure
Configuring the Oracle ASM library driver.
This will configure the on-boot properties of the Oracle ASM library
driver. The following questions will determine whether the driver is
loaded on boot and what permissions it will have. The current values
will be shown in brackets ('[]'). Hitting without typing an
answer will keep that current value. Ctrl-C will abort.
Default user to own