这一步也可以放到安装完oracle 软件后再做。
创新互联公司是专业的本溪网站建设公司,本溪接单;提供成都网站设计、网站制作,网页设计,网站设计,建网站,PHP网站建设等专业做网站服务;采用PHP框架,可快速的进行本溪网站开发网页制作和功能扩展;专业做搜索引擎喜爱的网站,专业的做网站团队,希望更多企业前来合作!任一节点,grid 用户下执行:
[grid@rac1 ~]$ asmcmd
ASMCMD> mkdg '
ASMCMD> mkdg '
ASMCMD> mkdg '
ASMCMD> mkdg '
ASMCMD> mkdg '
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 参数