Get the App
SLTechnology News&Howtos  ›  Database  › 

Oracle 11g RAC + DG installation details-03

Shulou Source: shulou.com Published: 2022-06-01 05:12:20 09月29日 Update

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

Tags: Node software long next parameter again user disk process problem any one Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information Shulou Tech Info MySQL Apple Microsoft