使用VMware ESXi Server 5.0在OEL6.1上安裝 Oracle RAC 11gR1(8)-新增共享儲存硬碟

cow977發表於2012-04-01

http://space.itpub.net/81227/viewspace-719245     引言

http://space.itpub.net/81227/viewspace-719246     1. 硬體要求和概述

http://space.itpub.net/81227/viewspace-719341     2. 配置第一個虛擬機器

http://space.itpub.net/81227/viewspace-719410     3. 在第一個虛擬機器上安裝 Oracle Linux 6.1

http://space.itpub.net/81227/viewspace-719476     4. 在第一個虛擬機器上配置 Oracle Linux 6.1

http://space.itpub.net/81227/viewspace-719577     5. 在第一個虛擬機器上完成安裝前系統準備

http://space.itpub.net/81227/viewspace-719677     6. 建立並配置第二個虛擬機器

http://space.itpub.net/81227/viewspace-719974     7. 配置RAC各節點的SSH

 

 

8.RAC各節點上新增共享儲存硬碟。

新增共享磁碟。在RAC各個節點上,新增建立好的5GB共享磁碟RacDisk1.vmxRacDisk2.vmx,裝置節點選定為SCSI 1:0SCSI 1:1SCSI控制器選擇“物理”。

建立磁碟分割槽:

rac1 上,以 root 使用者身份執行

[root@rac1 ~]# fdisk /dev/sdb

Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel

Building a new DOS disklabel with disk identifier 0x775483c8.

Changes will remain in memory only, until you decide to write them.

After that, of course, the previous content won't be recoverable.

 

Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

 

WARNING: DOS-compatible mode is deprecated. It's strongly recommended to

         switch off the mode (command 'c') and change display units to

         sectors (command 'u').

 

Command (m for help): n

Command action

   e   extended

   p   primary partition (1-4)

p

Partition number (1-4): 1

First cylinder (1-652, default 1):

Using default value 1

Last cylinder, +cylinders or +size{K,M,G} (1-652, default 652):

Using default value 652

 

Command (m for help): w

The partition table has been altered!

 

Calling ioctl() to re-read partition table.

Syncing disks.

[root@rac1 ~]# fdisk /dev/sdc

Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel

Building a new DOS disklabel with disk identifier 0x266a5e13.

Changes will remain in memory only, until you decide to write them.

After that, of course, the previous content won't be recoverable.

 

Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

 

WARNING: DOS-compatible mode is deprecated. It's strongly recommended to

         switch off the mode (command 'c') and change display units to

         sectors (command 'u').

 

Command (m for help): n

Command action

   e   extended

   p   primary partition (1-4)

p

Partition number (1-4): 1

First cylinder (1-652, default 1):

Using default value 1

Last cylinder, +cylinders or +size{K,M,G} (1-652, default 652): +200M

 

Command (m for help): n

Command action

   e   extended

   p   primary partition (1-4)

p

Partition number (1-4): 2

First cylinder (27-652, default 27):

Using default value 27

Last cylinder, +cylinders or +size{K,M,G} (27-652, default 652): +200M

 

Command (m for help): n

Command action

   e   extended

   p   primary partition (1-4)

p

Partition number (1-4): 4

First cylinder (53-652, default 53):

Using default value 53

Last cylinder, +cylinders or +size{K,M,G} (53-652, default 652):

Using default value 652

 

Command (m for help): w

The partition table has been altered!

 

Calling ioctl() to re-read partition table.

Syncing disks.

[root@rac1 ~]# fdisk -l

 

Disk /dev/sda: 64.4 GB, 64424509440 bytes

255 heads, 63 sectors/track, 7832 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x0001443a

 

   Device Boot      Start         End      Blocks   Id  System

/dev/sda1   *           1          64      512000   83  Linux

Partition 1 does not end on cylinder boundary.

/dev/sda2              64        7833    62401536   8e  Linux LVM

 

Disk /dev/sdb: 5368 MB, 5368709120 bytes

255 heads, 63 sectors/track, 652 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x775483c8

 

   Device Boot      Start         End      Blocks   Id  System

/dev/sdb1               1         652     5237158+  83  Linux

 

Disk /dev/sdc: 5368 MB, 5368709120 bytes

255 heads, 63 sectors/track, 652 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x266a5e13

 

   Device Boot      Start         End      Blocks   Id  System

/dev/sdc1               1          26      208813+  83  Linux

/dev/sdc2              27          52      208845   83  Linux

/dev/sdc4              53         652     4819500   83  Linux

 

 

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/81227/viewspace-720783/,如需轉載,請註明出處,否則將追究法律責任。

相關文章