这一步也可以放到安装完oracle 软件后再做。
任一节点,grid 用户下执行:
[grid@rac1 ~]$ asmcmd
ASMCMD> mkdg '<dg name="FRA" redundancy="external"> <dsk string="/dev/asmdisk_fra" /> </dg>'
ASMCMD> mkdg '<dg name="SASDATA" redundancy="external"> <dsk string="/dev/asmdisk_sasdata1" /> <dsk string="/dev/asmdisk_sasdata2" /> <dsk string="/dev/asmdisk_sasdata3" /> </dg>'
ASMCMD> mkdg '<dg name="SSDDATA" redundancy="external"> <dsk string="/dev/asmdisk_ssddata1" /> <dsk string="/dev/asmdisk_ssddata2" /> <dsk string="/dev/asmdisk_ssddata3" /> </dg>'
ASMCMD> mkdg '<dg name="ARCH" redundancy="external"> <dsk string="/dev/asmdisk_arch" /> </dg>'
ASMCMD> mkdg '<dg name="SSDDATA" redundancy="external"> <dsk string="/dev/asmdisk_ssddata1" /> <dsk string="/dev/asmdisk_ssddata2" /> <dsk string="/dev/asmdisk_ssddata3" /> </dg>'
ASMCMD> lsdg
State Type Rebal Sector Block AU Total_MB Free_MB Req_mir_free_MB Usable_file_MB Offline_disks Voting_files Name
MOUNTED EXTERN N 512 4096 1048576 512000 511946 0 511946 0 N ARCH/
MOUNTED EXTERN N 512 4096 1048576 512000 511946 0 511946 0 N FRA/
MOUNTED EXTERN N 512 4096 1048576 6291456 6291348 0 6291348 0 N SASDATA/
MOUNTED EXTERN N 512 4096 1048576 6291456 6291348 0 6291348 0 N SSDDATA/
MOUNTED NORMAL N 512 4096 1048576 30720 29794 10240 9777 0 Y VOT/
ASMCMD>
[oracle@rac1 ~]$ cd /home/software/database
[oracle@rac1 database]$ ls
doc install response rpm runInstaller sshsetup stage welcome.html
[oracle@rac1 database]$ ./runInstaller
接下来又是漫长的等待,但这一步是安装过程中唯一不会出问题的。
节点1
[root@TRAC1 lib]# /home/app/oracle/product/11.2.0/root.sh
Performing root user operation for Oracle 11g
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /home/app/oracle/product/11.2.0
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Finished product-specific root actions.
节点2
[root@TRAC2 lib]# /home/app/oracle/product/11.2.0/root.sh
Performing root user operation for Oracle 11g
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /home/app/oracle/product/11.2.0
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Finished product-specific root actions.
[oracle@rac1 database]$ cd
[oracle@rac1 ~]$ dbca
All initilization parameters 里面修改db_files 参数
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。