ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 11 g rac 安裝 5,6步

11 g rac 安裝 5,6步

原创 Linux操作系统 作者:tom_xieym 时间:2011-08-05 10:27:08 0 删除 编辑

五. 創建目錄
5.1 創建目錄
[root@poland-rac01 ~]# mkdir -p /u01/product/grid/11.2.0(grid 軟件目錄)
[root@poland-rac01 ~]# mkdir -p /u01/product/grid/crs(grid Trace目錄)
[root@poland-rac01 ~]# mkdir -p /u01/product/oracle/11.2.0/db_1
注意:
11g 單實例如果需要使用ASM,grid也必須安裝,且ORACLE_HOME在ORACLE_BASE目錄之下,
11g RAC 則不同,ORACLE_HOME與ORACLE_BASE在目錄上不能存在父子關系.
5.2 修改目錄屬性
[root@poland-rac01 ~]# chown -R grid.oinstall /u01
[root@poland-rac01 ~]# chown -R oracle.oinstall /u01/product/oracle/
[root@poland-rac01 ~]# chmod -R 775 /u01/

六. 創建磁盤分區
6.1 磁盤分區設計
為Oracle ASM 准備一組原始磁盤﹐如下﹕
physical logical
diskgroup_number RAID_type LVM_number disk_lable disk_group size redundancy function
1 RAID10 4 DATAV1 DATA About 1400G external data
   DATAV2   
   INDXV1 INDX About 1400G external index
   INDXV2   
6.2 創建磁盤分區
在wmrac01上﹐以root用戶身份執行
[root@wmrac01 ~]# cd /dev/mapper/
[root@wmrac01 mapper]# ll
total 0
crw------- 1 root root  10, 63 Feb 23 14:43 control
brw-rw---- 1 root disk 253,  0 Feb 23 14:44 data_v01
brw-rw---- 1 root disk 253,  1 Feb 23 14:44 data_v02
brw-rw---- 1 root disk 253,  2 Feb 23 14:44 indx_v01
brw-rw---- 1 root disk 253,  3 Feb 23 14:44 indx_v02
[root@wmrac01 mapper]# fdisk data_v01
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.
The number of cylinders for this disk is set to 91379.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-91379, default 1):
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-91379, default 91379):
Using default value 91379
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
WARNING: Re-reading the partition table failed with error 22: Invalid argument.
The kernel still uses the old table.
The new table will be used at the next reboot.
Syncing disks.
[root@wmrac01 mapper]# fdisk data_v02
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.
The number of cylinders for this disk is set to 91379.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-91379, default 1):
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-91379, default 91379):
Using default value 91379
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
WARNING: Re-reading the partition table failed with error 22: Invalid argument.
The kernel still uses the old table.
The new table will be used at the next reboot.
Syncing disks.
[root@wmrac01 mapper]# fdisk indx_v01
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.
The number of cylinders for this disk is set to 91379.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-91379, default 1):
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-91379, default 91379):
Using default value 91379
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
WARNING: Re-reading the partition table failed with error 22: Invalid argument.
The kernel still uses the old table.
The new table will be used at the next reboot.
Syncing disks.
[root@wmrac01 mapper]# fdisk indx_v02
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.
The number of cylinders for this disk is set to 91379.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-91379, default 1):
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-91379, default 91379):
Using default value 91379
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
WARNING: Re-reading the partition table failed with error 22: Invalid argument.
The kernel still uses the old table.
The new table will be used at the next reboot.
Syncing disks.

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/25850100/viewspace-704180/,如需转载,请注明出处,否则将追究法律责任。

上一篇: 11 g rac 安裝 4步
请登录后发表评论 登录
全部评论

注册时间:2011-05-20

  • 博文量
    77
  • 访问量
    98351