Get the App
SLTechnology News&Howtos  ›  Database  › 

Oracle linux 5.8install oracle installation for oracle 11g rac environment

Shulou Source: shulou.com Published: 2022-06-01 16:21:50 11月08日 Update

The system configuration, environment variable addition and grid installation continued in the previous blog, this article is mainly the installation of the rest of the previous blog address: http://tongcheng.blog.51cto.com/6214144/1852074

1. Check prerequisites for oracle database installation (using runcluvfy.sh script in grid package)

[grid@rac1 grid]$ ./ runcluvfy.sh stage -pre dbinst -n rac1,rac2 -osdba dba

.................................

Pre-check for database installation was successful. --Conditions must be successful to install

[grid@rac1 grid]$ ./ runcluvfy.sh stage -pre dbcfg -n rac1,rac2 -d

2. Orale database installation

[oracle@rac1 database]$ ./ runInstaller

rac1 Node 1 executes root.sh script

rac2 Node 2 Execute root.sh script

3. Create asm disk group

[root@rac1 ~]# su - grid

[grid@rac1 ~]$ asmca

4. create a database

[root@rac1 ~]# xhost +

access control disabled, clients can connect from any host

[root@rac1 ~]# su - oracle

[oracle@rac1 ~]$ dbca

5. Login database

[oracle@rac1 ~]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.4.0 Production on Sun Sep 18 13:10:57 2016

Copyright (c) 1982, 2013, Oracle. All rights reserved.

Connected to:

Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production

With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,

Data Mining and Real Application Testing options

SQL> show release;

release 1102000400

SQL> select file#,ts#,name,status from v$datafile;

FILE# TS# NAME STATUS

---------------------------------------------------------------------------------

1 0 +DATA/racdb/datafile/system.256.922882375 SYSTEM

2 1 +DATA/racdb/datafile/sysaux.257.922882383 ONLINE

3 2 +DATA/racdb/datafile/undotbs1.258.922882385 ONLINE

4 4 +DATA/racdb/datafile/users.259.922882385 ONLINE

5 5 +DATA/racdb/datafile/undotbs2.264.922882991 ONLINE

SQL>

Tags: Data databases scripts previous articles blogs conditions nodes environments success prerequisites variables addresses disks systems software packages previous remaining check login Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux OPPO Reno Shulou Information Docker Shulou Tech Info