11 g rac 安裝 5,6步
五. 建立目錄
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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- rhel7 安裝11g rac
- redhat7.6安裝Oracle11G RACRedhatOracle
- 11g rac新增節點步驟(11g)
- Oracle 11G RAC叢集安裝(2)——安裝gridOracle
- Oracle 11G RAC叢集安裝(3)——安裝OracleOracle
- rac新增節點步驟(11g)
- oracle 11g RAC 安裝前準備指令碼Oracle指令碼
- Oracle:Redhat 7 + Oracle RAC 11g 安裝 bug 總結OracleRedhat
- Oracle 11G RAC叢集安裝(1)——安裝前的準備Oracle
- 【RAC】RAC搭建步驟Linux7.2+11G(基於Vmware+Openfile)Linux
- ORACLE11GR2 RAC解除安裝ASM例項步驟OracleASM
- vmware + 裸裝置 + crs + oracle10g RAC搭建步驟(二):安裝linuxOracleLinux
- 通過ORACLE VM virtualbox環境安裝oracle 11G RAC(ASM)OracleASM
- Vmware linux redhat6.4 安裝11g(11.2.0.1) 雙節點RACLinuxRedhat
- 超詳細oracle 11g安裝步驟 win版本Oracle
- Oracle 11g RAC安裝--基於openfiler儲存+多路徑+udev方式Oracledev
- Oracle RAC叢集解除安裝步驟Oracle
- Oracle 11G 安裝文件Oracle
- Oracle11g解除安裝Oracle
- Docker安裝Oracle11gDockerOracle
- linux7 安裝11g rac的時候突然卡著不動了Linux
- 11G RAC+DG搭建
- Oracle 11G 安裝 bbed 工具Oracle
- oracle11g RAC新增節點Oracle
- 11g rac監聽配置解析
- Oracle 11g RAC Silent Install For NFSOracleNFS
- Oracle11g RAC安裝GI時會遇到INS-06006報錯處理過程Oracle
- readhalt7.4 安裝 oracle11gOracle
- oracle11g安裝和下載Oracle
- linux7 靜默安裝 11GR2 RACLinux
- 【11g 單庫解除安裝、靜默安裝】實驗
- Oracle 11g RAC 監聽日常管理Oracle
- Oracle 11g RAC手動新增serviceOracle
- 11g rac 等待事件resmgr:cpu quantum事件
- RedHat上靜默安裝Oracle11gRedhatOracle
- CentOS 7.2靜默安裝Oracle11gCentOSOracle
- CentOS 7.5靜默安裝Oracle 11gCentOSOracle
- rac靜默安裝
- oracle11g_RAC新增刪除節點Oracle