情况介绍:
RedHat5.8
HP磁阵
Oracle RAC 11.2.0.3
此环境用了很长时间,数据库中还有数据,HP的磁阵出问题了,机器重启,fdisk -l
只能看到机器上的磁盘,没有列出磁阵映射的磁盘和LUN。找到HP的人,HP的人说无法恢复,并且还要重新划分LUN,也就是说数据库的投票磁盘、System表空间、undo、等所有需要放到共享存储上的东西都没了!好在这个环境的数据都是从其他环境取到分析,但这个问题带来的麻烦不是短时间内能够解决的。
Sep 28 04:03:06 odsdb1 rhsmd: This system is missing one or more
valid entitlement certificates. Please run subscription-manager for
more information.
Sep 28 08:24:52 odsdb1 kernel: sd 3:0:1:12: Device not ready
Sep 28 08:24:52 odsdb1 kernel: sd 3:0:1:12: SCSI error: return code
= 0x08000002
Sep 28 08:24:52 odsdb1 kernel: Result: hostbyte=DID_OK
driverbyte=DRIVER_SENSE,SUGGEST_OK
Sep 28 08:24:52 odsdb1 kernel: sdhx: Current: sense key: Not
Ready
Sep 28 08:24:52 odsdb1
kernel: Add. Sense: Logical unit not ready, manual intervention
required
Sep 28 08:24:52 odsdb1 kernel:
Sep 28 08:24:52 odsdb1 kernel: device-mapper: multipath: Failing
path 134:112.
Sep 28 08:24:52 odsdb1 kernel: sd 5:0:1:12: Device not ready
Sep 28 08:24:52 odsdb1 kernel: sd 5:0:1:12: SCSI error: return code
= 0x08000002
Sep 28 08:24:52 odsdb1 kernel: Result: hostbyte=DID_OK
driverbyte=DRIVER_SENSE,SUGGEST_OK
Sep 28 08:24:52 odsdb1 kernel: sdbd: Current: sense key: Not
Ready
Sep 28 08:24:52 odsdb1
kernel: Add. Sense: Logical unit not ready, manual intervention
required
Sep 28 08:24:52 odsdb1 kernel:
Sep 28 08:24:52 odsdb1 kernel: device-mapper: multipath: Failing
path 67:112.
Sep 28 08:24:52 odsdb1 kernel: sd 5:0:0:12: Device not ready
Sep 28 08:24:52 odsdb1 kernel: sd 5:0:0:12: SCSI error: return code
= 0x08000002
Sep 28 08:24:52 odsdb1 kernel: Result: hostbyte=DID_OK
driverbyte=DRIVER_SENSE,SUGGEST_OK
Sep 28 08:24:52 odsdb1 kernel: sdl: Current: sense key: Not
Ready
Sep 28 08:24:52 odsdb1 multipathd: dm-34: add map (uevent)
Sep 28 08:24:52 odsdb1
kernel: Add. Sense: Logical unit not ready, manual intervention
required
准备卸载掉以前的数据库,重新搭建RAC,并且把相关的过程记录在此。
因为是把原来的的卸载,再重新搭建所以,不需要配置相关环境变量,不需要验证安装包,不需要修改系统参数,不需要配置NTP。
1.先列出环境信息,内存 512G,swap 32G,/u01 20G。
2.安装网格基础设施
该警告!如果没有解决会出现错误。
2.装database软件
3.dbca新建数据库实例
4.打补丁不写了