Linuxudev動(dòng)態(tài)管理OracleASM磁盤(pán)-實(shí)驗(yàn)-創(chuàng)新互聯(lián)

1       概述

Red Hat Enterprise Linux (RHEL) 6以前,Oracle都是采用ASMLib包來(lái)管理ASM磁盤(pán)。但是20115月甲骨文發(fā)表了一份聲明,聲明中稱(chēng)Oracle將不再提供Red Hat Enterprise Linux (RHEL) 6ASMLib包和相關(guān)更新。

創(chuàng)新互聯(lián)成立與2013年,是專(zhuān)業(yè)互聯(lián)網(wǎng)技術(shù)服務(wù)公司,擁有項(xiàng)目做網(wǎng)站、成都網(wǎng)站建設(shè)網(wǎng)站策劃,項(xiàng)目實(shí)施與項(xiàng)目整合能力。我們以讓每一個(gè)夢(mèng)想脫穎而出為使命,1280元宛城做網(wǎng)站,已為上家服務(wù),為宛城各地企業(yè)和個(gè)人服務(wù),聯(lián)系電話(huà):13518219792

甲骨文在這份聲明中表示,ASMLib更新將通過(guò)Unbreakable Linux NetworkULN)來(lái)發(fā)布,并僅對(duì)Oracle Linux客戶(hù)開(kāi)放。ULN雖然為甲骨文和紅帽的客戶(hù)服務(wù),但如果客戶(hù)想要使用ASMLib,就必須使用Oraclekernel來(lái)替換掉紅帽的kernel。

 

本實(shí)驗(yàn)部署Oracle+ASM,不再采用ASMLib,而是采用udev動(dòng)態(tài)管理ASM磁盤(pán)。

 

注意:Linux 內(nèi)核 2.6以上才支持udev。

 

虛擬機(jī):VMware Workstation 9

操作系統(tǒng):Red Hat Enterprise Linux Server release 5.6

系統(tǒng)內(nèi)核:2.6.18-238.el5

數(shù)據(jù)庫(kù):Oracle Database 11.2.0.1

 

2       實(shí)驗(yàn)步驟

之前已經(jīng)基于udev的方式創(chuàng)建過(guò)ASM磁盤(pán),而且已經(jīng)安裝好Oracle Grid 、Oracle Database,并創(chuàng)建好了數(shù)據(jù)庫(kù),接下來(lái)將添加41G磁盤(pán),分別擴(kuò)展現(xiàn)有ASM磁盤(pán)組DG_DATA,新建ASM磁盤(pán)組DG_NEW_DATA。

 

查看新添加的磁盤(pán),分別為/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

分享題目:Linuxudev動(dòng)態(tài)管理OracleASM磁盤(pán)-實(shí)驗(yàn)-創(chuàng)新互聯(lián)
文章轉(zhuǎn)載:http://muchs.cn/article0/hchio.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供云服務(wù)器、建站公司靜態(tài)網(wǎng)站、做網(wǎng)站、營(yíng)銷(xiāo)型網(wǎng)站建設(shè)、定制網(wǎng)站

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶(hù)投稿、用戶(hù)轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀(guān)點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話(huà):028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來(lái)源: 創(chuàng)新互聯(lián)

網(wǎng)站建設(shè)網(wǎng)站維護(hù)公司