大橙子网站建设,新征程启航
为企业提供网站建设、域名注册、服务器等服务
在Red Hat Enterprise Linux (RHEL) 6以前,Oracle都是采用ASMLib包来管理ASM磁盘。但是2011年5月甲骨文发表了一份声明,声明中称Oracle将不再提供Red Hat Enterprise Linux (RHEL) 6的ASMLib包和相关更新。
创新互联成立与2013年,是专业互联网技术服务公司,拥有项目做网站、成都网站建设网站策划,项目实施与项目整合能力。我们以让每一个梦想脱颖而出为使命,1280元宛城做网站,已为上家服务,为宛城各地企业和个人服务,联系电话:13518219792甲骨文在这份声明中表示,ASMLib更新将通过Unbreakable Linux Network(ULN)来发布,并仅对Oracle Linux客户开放。ULN虽然为甲骨文和红帽的客户服务,但如果客户想要使用ASMLib,就必须使用Oracle的kernel来替换掉红帽的kernel。
本实验部署Oracle+ASM,不再采用ASMLib,而是采用udev动态管理ASM磁盘。
注意:Linux 内核 2.6以上才支持udev。
虚拟机:VMware Workstation 9
操作系统:Red Hat Enterprise Linux Server release 5.6
系统内核:2.6.18-238.el5
数据库:Oracle Database 11.2.0.1
之前已经基于udev的方式创建过ASM磁盘,而且已经安装好Oracle Grid 、Oracle Database,并创建好了数据库,接下来将添加4块1G磁盘,分别扩展现有ASM磁盘组DG_DATA,新建ASM磁盘组DG_NEW_DATA。
查看新添加的磁盘,分别为/dev/sdb、/dev/sdg、/dev/sdh、/dev/sdi。
[root@ora32 dev]# fdisk -l
Disk /dev/sda: 23.6 GB, 23622320128 bytes
255 heads, 63 sectors/track, 2871 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 65 522081 83 Linux
/dev/sda2 66 457 3148740 82 Linux swap / Solaris
/dev/sda3 458 2871 19390455 8e Linux LVM
Disk /dev/sdb: 1073 MB, 1073741824 bytes
255 heads, 63 sectors/track, 130 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdb doesn't contain a valid partition table
Disk /dev/sdc: 2147 MB, 2147483648 bytes
255 heads, 63 sectors/track, 261 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdc1 1 261 2096451 83 Linux
Disk /dev/sdd: 2147 MB, 2147483648 bytes
255 heads, 63 sectors/track, 261 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdd1 1 261 2096451 83 Linux
Disk /dev/sde: 2147 MB, 2147483648 bytes
255 heads, 63 sectors/track, 261 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sde1 1 261 2096451 83 Linux
Disk /dev/sdf: 2147 MB, 2147483648 bytes
255 heads, 63 sectors/track, 261 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdf1 1 261 2096451 83 Linux
Disk /dev/sdg: 1073 MB, 1073741824 bytes
255 heads, 63 sectors/track, 130 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdg doesn't contain a valid partition table
Disk /dev/sdh: 1073 MB, 1073741824 bytes
255 heads, 63 sectors/track, 130 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdh doesn't contain a valid partition table
Disk /dev/sdi: 1073 MB, 1073741824 bytes
255 heads, 63 sectors/track, 130 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdi doesn't contain a valid partition table