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
添加共享磁盘。在RAC各个节点上,添加创建好的5GB共享磁盘RacDisk1.vmx和RacDisk2.vmx,设备节点选定为SCSI 1:0和SCSI 1:1,SCSI控制器选择“物理”。
在 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博客 ” ,链接:https://blog.itpub.net/81227/viewspace-720783/ ,如需转载,请注明出处,否则将追究法律责任。