In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-11 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Create an asm disk group
This step can also be done after installing the oracle software.
Any node, execute under the grid user:
[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 >
Fourth, install oracle software
[oracle@rac1 ~] $cd / home/software/database
[oracle@rac1 database] $ls
Doc install response rpm runInstaller sshsetup stage welcome.html
[oracle@rac1 database] $. / runInstaller
There will be a long wait, but this step is the only one that will not go wrong during the installation process.
Node 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.
Node 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.
V. Building a database
[oracle@rac1 database] $cd
[oracle@rac1 ~] $dbca
Modify db_files parameters in All initilization parameters
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.