【RAC】節點2上不能完全識別節點1上的asmdisk
當主節點安裝oracleasm disk
[root@rac1 dev]# /etc/init.d/oracleasm deletedisk /dev/sdc1 VOL01
Removing ASM disk "/dev/sdc1": [ OK ]
[root@rac1 dev]# /etc/init.d/oracleasm createdisk VOL101 /dev/sdc1
Marking disk "VOL101" as an ASM disk: [ OK ]
[root@rac1 dev]#/etc/init.d/oracleasm createdisk VOL102 /dev/sdc2
Marking disk "VOL102" as an ASM disk: [ OK ]
[root@rac1 dev]# /etc/init.d/oracleasm createdisk VOL103 /dev/sdd1
Marking disk "VOL103" as an ASM disk: [ OK ]
[root@rac1 dev]# /etc/init.d/oracleasm createdisk VOL104 /dev/sdd2
Marking disk "VOL104" as an ASM disk: [ OK ]
[root@rac1 dev]# /etc/init.d/oracleasm createdisk VOL201 /dev/sde1
Marking disk "VOL201" as an ASM disk: [ OK ]
[root@rac1 dev]# /etc/init.d/oracleasm createdisk VOL202 /dev/sde2
Marking disk "VOL202" as an ASM disk: [ OK ]
[root@rac1 dev]# /etc/init.d/oracleasm createdisk VOL203 /dev/sdf1
Marking disk "VOL203" as an ASM disk: [ OK ]
[root@rac1 dev]# /etc/init.d/oracleasm createdisk VOL204 /dev/sdf2
Marking disk "VOL204" as an ASM disk: [ OK ]
[root@rac1 dev]# /etc/init.d/oracleasm scandisks
Scanning the system for Oracle ASMLib disks: [ OK ]
[root@rac1 dev]# /etc/init.d/oracleasm listdisks
VOL101
VOL102
VOL103
VOL104
VOL201
VOL202
VOL203
VOL204
在第二節點上檢視的時候發現有一部分卷組沒有識別,fdisk -l 是可以識別到的!
[root@rac2 dev]# /etc/init.d/oracleasm scandisks
Scanning the system for Oracle ASMLib disks: [ OK ]
[root@rac2 dev]# /etc/init.d/oracleasm listdisks
VOL101
VOL102
VOL103
VOL104---缺少 VOL201 VOL202 兩塊卷組!
VOL203
VOL204
[root@rac2 dev]#
[root@rac2 dev]#
[root@rac2 dev]#
[root@rac2 dev]# fdisk -l
Disk /dev/sda: 26.8 GB, 26843545600 bytes
255 heads, 63 sectors/track, 3263 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 25 200781 83 Linux
/dev/sda2 26 547 4192965 82 Linux swap / Solaris
/dev/sda3 548 3263 21816270 83 Linux
Disk /dev/sdb: 26.8 GB, 26843545600 bytes
255 heads, 63 sectors/track, 3263 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 1632 13109008+ 83 Linux
/dev/sdb2 1633 3263 13101007+ 83 Linux
Disk /dev/sdc: 26.8 GB, 26843545600 bytes
255 heads, 63 sectors/track, 3263 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdc1 1 1632 13109008+ 83 Linux
/dev/sdc2 1633 3263 13101007+ 83 Linux
Disk /dev/sdd: 26.8 GB, 26843545600 bytes
255 heads, 63 sectors/track, 3263 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdd1 1 1633 13117041 83 Linux
/dev/sdd2 1634 3263 13092975 83 Linux
Disk /dev/sde: 26.8 GB, 26843545600 bytes
255 heads, 63 sectors/track, 3263 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sde1 1 1633 13117041 83 Linux
/dev/sde2 1634 3263 13092975 83 Linux
Disk /dev/sdf: 26.8 GB, 26843545600 bytes
255 heads, 63 sectors/track, 3263 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdf1 1 1633 13117041 83 Linux
/dev/sdf2 1634 3263 13092975 83 Linux
[root@rac2 dev]#
Last login: Thu Sep 1 13:48:14 2011 from 10.1.165.7
由於是vmware ESX 安裝共享儲存,檢視配置檔案:
[root@rac shared_storage]# ll
total 110100800
-rw------- 1 root root 5368709120 Aug 30 18:48 share1-flat.vmdk
-rw------- 1 root root 444 Aug 30 19:49 share1.vmdk
-rw------- 1 root root 26843545600 Aug 30 19:17 share2-flat.vmdk
-rw------- 1 root root 445 Aug 30 20:33 share2.vmdk
-rw------- 1 root root 26843545600 Aug 30 19:27 share3-flat.vmdk
-rw------- 1 root root 445 Aug 30 20:33 share3.vmdk
-rw------- 1 root root 26843545600 Aug 30 19:34 share4-flat.vmdk
-rw------- 1 root root 445 Aug 30 19:49 share4.vmdk
-rw------- 1 root root 26843545600 Aug 30 19:39 share5-flat.vmdk
-rw------- 1 root root 445 Aug 30 20:33 share5.vmdk
[root@rac shared_storage]#
發現第二個節點的vmx配置檔案
scsi1:3.present = "TRUE"
scsi1:3.fileName = "/vmfs/volumes/4adc51a2-4dbc89c1-55f4-00221957b3b8/shared_storage/share5.vmdk"
scsi1:3.mode = "independent-persistent"
scsi1:3.deviceType = "scsi-hardDisk"
scsi1:4.present = "TRUE"
scsi1:4.fileName = "/vmfs/volumes/4adc51a2-4dbc89c1-55f4-00221957b3b8/shared_storage/share5.vmdk"
scsi1:4.mode = "independent-persistent"
scsi1:4.deviceType = "scsi-hardDisk"
修改scsi1:3.fileName 的為share4.vmdk
scsi1:3.present = "TRUE"
scsi1:3.fileName = "/vmfs/volumes/4adc51a2-4dbc89c1-55f4-00221957b3b8/shared_storage/share4.vmdk"
scsi1:3.mode = "independent-persistent"
scsi1:3.deviceType = "scsi-hardDisk"
注意:上述修改第二節點的配置檔案的操作必須在第二節點主機關閉的情況下執行,重啟之後,再次檢查!!
[root@rac2 ~]# /etc/init.d/oracleasm scandisks
Scanning the system for Oracle ASMLib disks: [ OK ]
[root@rac2 ~]# /etc/init.d/oracleasm listdisks
VOL101
VOL102
VOL103
VOL104
VOL201
VOL202
VOL203
VOL204
[root@rac2 ~]#
成功。。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/22664653/viewspace-706427/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 單節點Windows上的ASM(1)WindowsASM
- 節點2線上日誌生成歸檔日誌在節點1上的初步分析
- RAC恢復到單例項節點上單例
- 2節點RAC安裝
- RAC一個節點恢復另一個節點在帶庫上的備份
- 3個節點的RAC, 為什麼定期優化統計的JOB老是在節點2上執行優化
- 如何確定計算節點能不能檢測到儲存節點上的磁碟
- 安裝RAC無法識別cluster節點資訊
- RAC 雙節點 轉單節點流程
- Openfiler+RAC的安裝之五--在RAC 節點上配置 iSCSI 卷
- 4節點的10gRAC,單節點的Logical Standby資料同步完全不能跟上
- 3節點rac基礎上配置goldengate(單例項)Go單例
- Oracle RAC新增節點Oracle
- Oracle RAC 新增節點Oracle
- 檢視oracle rac的節點Oracle
- RAC節點之間通訊問題 兩節點 11g RAC
- ORACLE 10gR2 RAC環境增加及刪除節點-(1)初始化第3臺節點Oracle 10g
- Oracle Rac 刪除節點Oracle
- JQuery2:節點選取與節點插入jQuery
- Oracle9204 RAC 節點2當機後5小時重新啟動找不到節點1上例項Oracle
- oracle 11g rac新增節點前之清除節點資訊Oracle
- 刪除oracle10g rac(rhel4)節點_節點Oracle
- RAC 節點2刪除自己的歸檔指令碼指令碼
- 在多節點的叢集上執行Cassandra
- oracle 11gR2 rac 兩節點有一個節點down掉問題處理Oracle
- [網摘] Oracle RAC新增節點Oracle
- 【kingsql分享】RAC節點命令SQL
- RAC中跨節點並行並行
- oracle 10g rac,刪除故障節點並新增新節點Oracle 10g
- oracle 10g rac 新增節點與刪除節點步驟Oracle 10g
- oracle11GR2 RAC節點crash故障分析Oracle
- Oracle RAC中第二節點不能載入nfs的共享磁碟方法OracleNFS
- 【RAC】部署安裝RAC時確保主節點的時間小於其他節點時間
- Oracle RAC 一個節點不能自動啟動 怪問題Oracle
- 【RAC】Oracle10g RAC 節點重配的方式Oracle
- css細節知識點CSS
- DRM特性引起的RAC節點當機
- RAC中的跨節點並行[轉]並行