centos 7.5搭建oracle DG
一.背景
1.IP分配
主库:192.168.12.5 node1
备库:192.168.12.6 node2 2.环境
主库已安装数据库软件,已建库,并有业务数据
备库已安装数据库软件,未建库
二、配置主备库网络
1.主库监听:
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.12.5)(PORT = 1521))
)
) ADR_BASE_LISTENER = /u01/app/oracle 2.主库网络服务:
ORADB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.12.5)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = oradb)
)
) ORADBSTD =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.12.6)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = oradbstd)
)
) 3.备库监听:
LISTENER=
(DESCRIPTION=
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.12.6)(PORT=1521))
)
) 4.备库网络服务:
ORADB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.12.5)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = oradb)
)
) ORADBSTD =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.12.6)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = oradbstd)
)
) 5.测试主备网络:
主库:
[oracle@node1 admin]$ tnsping oradb TNS Ping Utility for Linux: Version 11.2.0.4.0 - Production on 25-JUL-2020 00:08:29 Copyright (c) 1997, 2013, Oracle. All rights reserved. Used parameter files:
/u01/app/oracle/product/11.2.0/db_1/network/admin/sqlnet.ora Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.12.5)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = oradb)))
OK (0 msec)
[oracle@node1 admin]$ tnsping oradbstd TNS Ping Utility for Linux: Version 11.2.0.4.0 - Production on 25-JUL-2020 00:08:31 Copyright (c) 1997, 2013, Oracle. All rights reserved. Used parameter files:
/u01/app/oracle/product/11.2.0/db_1/network/admin/sqlnet.ora Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.12.6)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = oradbstd)))
OK (0 msec) 备库:
[oracle@node2 admin]$ tnsping oradb TNS Ping Utility for Linux: Version 11.2.0.4.0 - Production on 25-JUL-2020 00:12:22 Copyright (c) 1997, 2013, Oracle. All rights reserved. Used parameter files: Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.12.5)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = oradb)))
OK (0 msec)
[oracle@node2 admin]$ tnsping oradbstd TNS Ping Utility for Linux: Version 11.2.0.4.0 - Production on 25-JUL-2020 00:12:28 Copyright (c) 1997, 2013, Oracle. All rights reserved. Used parameter files: Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.12.6)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = oradbstd)))
OK (0 msec) 全部都为OK,主备网络配置完成。
三、主库开启归档模式,开启force logging
SQL> alter database archivelog; Database altered. SQL> alter database force logging; Database altered. SQL> alter database open; Database altered.
四、主库生成文本参数文件,并修改参数
oradb.__db_cache_size=318767104
oradb.__java_pool_size=4194304
oradb.__large_pool_size=8388608
oradb.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment
oradb.__pga_aggregate_target=306184192
oradb.__sga_target=457179136
oradb.__shared_io_pool_size=0
oradb.__shared_pool_size=117440512
oradb.__streams_pool_size=0
*.audit_file_dest='/u01/app/oracle/admin/oradb/adump'
*.audit_trail='db'
*.compatible='11.2.0.4.0'
*.control_files='/u01/app/oracle/oradata/oradb/control01.ctl','/u01/app/oracle/fast_recovery_area/oradb/control02.ctl'
*.db_block_size=8192
*.db_domain=''
*.db_name='oradb'
*.db_recovery_file_dest='/u01/app/oracle/fast_recovery_area'
*.db_recovery_file_dest_size=4385144832
*.diagnostic_dest='/u01/app/oracle'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=oradbXDB)'
*.memory_target=763363328
*.open_cursors=300
*.processes=150
*.remote_login_passwordfile='EXCLUSIVE'
*.undo_tablespace='UNDOTBS1'
DB_UNIQUE_NAME=oradb
LOG_ARCHIVE_CONFIG='DG_CONFIG=(oradb,oradbstd)'
LOG_ARCHIVE_DEST_1='LOCATION=/u01/app/oracle/archivelog VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=oradb'
LOG_ARCHIVE_DEST_2= 'SERVICE=oradbstd ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=oradbstd'
LOG_ARCHIVE_DEST_STATE_1=ENABLE
LOG_ARCHIVE_DEST_STATE_2=ENABLE
FAL_SERVER=oradbstd
DB_FILE_NAME_CONVERT='/u01/app/oracle/oradata/oradbstd','/u01/app/oracle/oradata/oradb'
LOG_FILE_NAME_CONVERT='/u01/app/oracle/oradata/oradbstd','/u01/app/oracle/oradata/oradb'
STANDBY_FILE_MANAGEMENT=AUTO
五、主库使用pfile启动,并创建新的spfile
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup pfile='/u01/app/oracle/product/11.2.0/db_1/dbs/initoradb.ora'
ORACLE instance started. Total System Global Area 759943168 bytes
Fixed Size 2257112 bytes
Variable Size 499126056 bytes
Database Buffers 255852544 bytes
Redo Buffers 2707456 bytes
Database mounted.
Database opened.
SQL> create spfile from pfile; File created.
六、主库备份
RMAN> run
{
allocate channel c1 type disk;
allocate channel c2 type disk;
allocate channel c3 type disk;
backup database format '/u01/app/oracle/rmanbak/full_%d_%T_%s_%p';
sql 'alter system archive log current';
sql 'alter system archive log current';
sql 'alter system archive log current';
backup archivelog all format '/u01/app/oracle/rmanbak/arch_%d_%T_%s_%p';
backup current controlfile for standby format '/u01/app/oracle/rmanbak/ctl_bf';
release channel c1;
release channel c2;
release channel c3;
}
七、备库创建相关目录
[oracle@node2 ~]$ mkdir -p /u01/app/oracle/admin/oradbstd/{a,dp}dump
[oracle@node2 ~]$ mkdir -p /u01/app/oracle/fast_recovery_area/oradbstd
[oracle@node2 ~]$ mkdir -p /u01/app/oracle/oradata/oradbstd
[oracle@node2 ~]$ mkdir -p /u01/app/oracle/archivelog
[oracle@node2 ~]$ mkdir -p /u01/app/oracle/rmanbak
八、主库将参数文件、密码文件、备份文件传送到备库
[oracle@node1 dbs]$ scp orapworadb 192.168.12.6:/u01/app/oracle/product/11.2.0/db_1/dbs/orapworadbstd
oracle@192.168.12.6's password:
orapworadb 100% 1536 1.0MB/s 00:00
[oracle@node1 dbs]$ scp initoradb.ora 192.168.12.6:/u01/app/oracle/product/11.2.0/db_1/dbs/initoradbstd.ora
oracle@192.168.12.6's password:
initoradb.ora 100% 1491 802.1KB/s 00:00 [oracle@node1 rmanbak]$ scp * 192.168.12.6:/u01/app/oracle/rmanbak/
oracle@192.168.12.6's password:
arch_ORADB_20200728_40_1 100% 15MB 63.6MB/s 00:00
arch_ORADB_20200728_41_1 100% 8864KB 71.9MB/s 00:00
arch_ORADB_20200728_42_1 100% 3678KB 72.3MB/s 00:00
arch_ORADB_20200728_43_1 100% 87KB 31.3MB/s 00:00
ctl_bf 100% 9568KB 72.5MB/s 00:00
full_ORADB_20200728_35_1 100% 642MB 67.9MB/s 00:09
full_ORADB_20200728_36_1 100% 392MB 59.1MB/s 00:06
full_ORADB_20200728_37_1 100% 12MB 38.5MB/s 00:00
full_ORADB_20200728_38_1 100% 9568KB 57.0MB/s 00:00
full_ORADB_20200728_39_1 100% 96KB 30.8MB/s 00:00
九、修改备库参数文件
oradb.__db_cache_size=318767104
oradb.__java_pool_size=4194304
oradb.__large_pool_size=8388608
oradb.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment
oradb.__pga_aggregate_target=306184192
oradb.__sga_target=457179136
oradb.__shared_io_pool_size=0
oradb.__shared_pool_size=117440512
oradb.__streams_pool_size=0
*.audit_file_dest='/u01/app/oracle/admin/oradbstd/adump'
*.audit_trail='db'
*.compatible='11.2.0.4.0'
*.control_files='/u01/app/oracle/oradata/oradbstd/control01.ctl','/u01/app/oracle/fast_recovery_area/oradbstd/control02.ctl'
*.db_block_size=8192
*.db_domain=''
*.db_name='oradb'
*.db_recovery_file_dest='/u01/app/oracle/fast_recovery_area'
*.db_recovery_file_dest_size=4385144832
*.diagnostic_dest='/u01/app/oracle'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=oradbstdXDB)'
*.memory_target=763363328
*.open_cursors=300
*.processes=150
*.remote_login_passwordfile='EXCLUSIVE'
*.undo_tablespace='UNDOTBS1'
DB_UNIQUE_NAME=oradbstd
LOG_ARCHIVE_CONFIG='DG_CONFIG=(oradbstd,oradb)'
LOG_ARCHIVE_DEST_1='LOCATION=/u01/app/oracle/archivelog VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=oradbstd'
LOG_ARCHIVE_DEST_2= 'SERVICE=oradb ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=oradb'
LOG_ARCHIVE_DEST_STATE_1=ENABLE
LOG_ARCHIVE_DEST_STATE_2=ENABLE
FAL_SERVER=oradb
DB_FILE_NAME_CONVERT='/u01/app/oracle/oradata/oradb','/u01/app/oracle/oradata/oradbstd'
LOG_FILE_NAME_CONVERT='/u01/app/oracle/oradata/oradb','/u01/app/oracle/oradata/oradbstd'
STANDBY_FILE_MANAGEMENT=AUTO
十、备库使用文本参数文件启动数据库到nomount状态
SQL> startup nomount pfile='$ORACLE_HOME/dbs/initoradbstd.ora';
ORACLE instance started. Total System Global Area 759943168 bytes
Fixed Size 2257112 bytes
Variable Size 499126056 bytes
Database Buffers 255852544 bytes
Redo Buffers 2707456 bytes
十一、从备份文件中恢复控制文件
RMAN> restore standby controlfile from '/u01/app/oracle/rmanbak/ctl_bf'; Starting restore at 27-JUL-20
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=19 device type=DISK channel ORA_DISK_1: restoring control file
channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
output file name=/u01/app/oracle/oradata/oradbstd/control01.ctl
output file name=/u01/app/oracle/fast_recovery_area/oradbstd/control02.ctl
Finished restore at 27-JUL-20
十二、启动数据库到mount状态,并将备份文件注册到rman
RMAN> sql 'alter database mount'; sql statement: alter database mount
released channel: ORA_DISK_1 RMAN> catalog start with '/u01/app/oracle/rmanbak'; Starting implicit crosscheck backup at 27-JUL-20
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=19 device type=DISK
Crosschecked 8 objects
Finished implicit crosscheck backup at 27-JUL-20 Starting implicit crosscheck copy at 27-JUL-20
using channel ORA_DISK_1
Finished implicit crosscheck copy at 27-JUL-20 searching for all files in the recovery area
cataloging files...
no files cataloged searching for all files that match the pattern /u01/app/oracle/rmanbak List of Files Unknown to the Database
=====================================
File Name: /u01/app/oracle/rmanbak/ctl_bf Do you really want to catalog the above files (enter YES or NO)? yes
cataloging files...
cataloging done List of Cataloged Files
=======================
File Name: /u01/app/oracle/rmanbak/ctl_bf
十三、使用备份恢复数据库
RMAN> run
{
allocate channel c1 device type disk;
allocate channel c2 device type disk;
allocate channel c3 device type disk;
2> 3> 4> 5> 6> set newname for datafile 1 to '/u01/app/oracle/oradata/oradbstd/system01.dbf';
set newname for datafile 2 to '/u01/app/oracle/oradata/oradbstd/sysaux01.dbf';
set newname for datafile 3 to '/u01/app/oracle/oradata/oradbstd/undotbs01.dbf';
set newname for datafile 4 to '/u01/app/oracle/oradata/oradbstd/users01.dbf';
set newname for datafile 5 to '/u01/app/oracle/oradata/oradbstd/gen_cfg01.dbf';
set newname for datafile 6 to '/u01/app/oracle/oradata/oradbstd/gen_ers01.dbf';
set newname for datafile 7 to '/u01/app/oracle/oradata/oradbstd/gen_etl01.dbf';
set newname for datafile 8 to '/u01/app/oracle/oradata/oradbstd/gen_ods01.dbf';
set newname for datafile 9 to '/u01/app/oracle/oradata/oradbstd/gen_log01.dbf';
set newname for datafile 10 to '/u01/app/oracle/oradata/oradbstd/gen_rps01.dbf';
set newname for datafile 11 to '/u01/app/oracle/oradata/oradbstd/gen_ctiadaptor01.dbf';
set newname for datafile 12 to '/u01/app/oracle/oradata/oradbstd/gen_cdr.dbf';
restore database;
switch datafile all;
release channel c1;
release channel c2;
release channel c3;
}7> 8> 9> 10> 11> 12> 13> 14> 15> 16> 17> 18> 19> 20> 21> 22> 23> using target database control file instead of recovery catalog
allocated channel: c1
channel c1: SID=1 device type=DISK allocated channel: c2
channel c2: SID=29 device type=DISK allocated channel: c3
channel c3: SID=30 device type=DISK executing command: SET NEWNAME executing command: SET NEWNAME executing command: SET NEWNAME executing command: SET NEWNAME executing command: SET NEWNAME executing command: SET NEWNAME executing command: SET NEWNAME executing command: SET NEWNAME executing command: SET NEWNAME executing command: SET NEWNAME executing command: SET NEWNAME executing command: SET NEWNAME Starting restore at 28-JUL-20 channel c1: starting datafile backup set restore
channel c1: specifying datafile(s) to restore from backup set
channel c1: restoring datafile 00005 to /u01/app/oracle/oradata/oradbstd/gen_cfg01.dbf
channel c1: restoring datafile 00006 to /u01/app/oracle/oradata/oradbstd/gen_ers01.dbf
channel c1: restoring datafile 00007 to /u01/app/oracle/oradata/oradbstd/gen_etl01.dbf
channel c1: restoring datafile 00008 to /u01/app/oracle/oradata/oradbstd/gen_ods01.dbf
channel c1: reading from backup piece /u01/app/oracle/rmanbak/full_ORADB_20200728_37_1
channel c2: starting datafile backup set restore
channel c2: specifying datafile(s) to restore from backup set
channel c2: restoring datafile 00002 to /u01/app/oracle/oradata/oradbstd/sysaux01.dbf
channel c2: restoring datafile 00003 to /u01/app/oracle/oradata/oradbstd/undotbs01.dbf
channel c2: restoring datafile 00004 to /u01/app/oracle/oradata/oradbstd/users01.dbf
channel c2: restoring datafile 00009 to /u01/app/oracle/oradata/oradbstd/gen_log01.dbf
channel c2: reading from backup piece /u01/app/oracle/rmanbak/full_ORADB_20200728_36_1
channel c3: starting datafile backup set restore
channel c3: specifying datafile(s) to restore from backup set
channel c3: restoring datafile 00001 to /u01/app/oracle/oradata/oradbstd/system01.dbf
channel c3: restoring datafile 00010 to /u01/app/oracle/oradata/oradbstd/gen_rps01.dbf
channel c3: restoring datafile 00011 to /u01/app/oracle/oradata/oradbstd/gen_ctiadaptor01.dbf
channel c3: restoring datafile 00012 to /u01/app/oracle/oradata/oradbstd/gen_cdr.dbf
channel c3: reading from backup piece /u01/app/oracle/rmanbak/full_ORADB_20200728_35_1
channel c1: piece handle=/u01/app/oracle/rmanbak/full_ORADB_20200728_37_1 tag=TAG20200728T112945
channel c1: restored backup piece 1
channel c1: restore complete, elapsed time: 00:00:03
channel c2: piece handle=/u01/app/oracle/rmanbak/full_ORADB_20200728_36_1 tag=TAG20200728T112945
channel c2: restored backup piece 1
channel c2: restore complete, elapsed time: 00:00:07
channel c3: piece handle=/u01/app/oracle/rmanbak/full_ORADB_20200728_35_1 tag=TAG20200728T112945
channel c3: restored backup piece 1
channel c3: restore complete, elapsed time: 00:00:07
Finished restore at 28-JUL-20 datafile 1 switched to datafile copy
input datafile copy RECID=2 STAMP=1046980245 file name=/u01/app/oracle/oradata/oradbstd/system01.dbf
datafile 2 switched to datafile copy
input datafile copy RECID=3 STAMP=1046980245 file name=/u01/app/oracle/oradata/oradbstd/sysaux01.dbf
datafile 3 switched to datafile copy
input datafile copy RECID=4 STAMP=1046980245 file name=/u01/app/oracle/oradata/oradbstd/undotbs01.dbf
datafile 4 switched to datafile copy
input datafile copy RECID=5 STAMP=1046980245 file name=/u01/app/oracle/oradata/oradbstd/users01.dbf
datafile 5 switched to datafile copy
input datafile copy RECID=6 STAMP=1046980245 file name=/u01/app/oracle/oradata/oradbstd/gen_cfg01.dbf
datafile 6 switched to datafile copy
input datafile copy RECID=7 STAMP=1046980245 file name=/u01/app/oracle/oradata/oradbstd/gen_ers01.dbf
datafile 7 switched to datafile copy
input datafile copy RECID=8 STAMP=1046980245 file name=/u01/app/oracle/oradata/oradbstd/gen_etl01.dbf
datafile 8 switched to datafile copy
input datafile copy RECID=9 STAMP=1046980245 file name=/u01/app/oracle/oradata/oradbstd/gen_ods01.dbf
datafile 9 switched to datafile copy
input datafile copy RECID=10 STAMP=1046980245 file name=/u01/app/oracle/oradata/oradbstd/gen_log01.dbf
datafile 10 switched to datafile copy
input datafile copy RECID=11 STAMP=1046980245 file name=/u01/app/oracle/oradata/oradbstd/gen_rps01.dbf
datafile 11 switched to datafile copy
input datafile copy RECID=12 STAMP=1046980245 file name=/u01/app/oracle/oradata/oradbstd/gen_ctiadaptor01.dbf
datafile 12 switched to datafile copy
input datafile copy RECID=13 STAMP=1046980245 file name=/u01/app/oracle/oradata/oradbstd/gen_cdr.dbf released channel: c1 released channel: c2 released channel: c3
十四、应用备份的归档日志恢复数据库
RMAN> recover database; Starting recover at 28-JUL-20
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=1 device type=DISK starting media recovery archived log for thread 1 with sequence 29 is already on disk as file /u01/app/oracle/archivelog/1_29_1044690845.dbf
channel ORA_DISK_1: starting archived log restore to default destination
channel ORA_DISK_1: restoring archived log
archived log thread=1 sequence=25
channel ORA_DISK_1: restoring archived log
archived log thread=1 sequence=26
channel ORA_DISK_1: restoring archived log
archived log thread=1 sequence=27
channel ORA_DISK_1: restoring archived log
archived log thread=1 sequence=28
channel ORA_DISK_1: reading from backup piece /u01/app/oracle/rmanbak/arch_ORADB_20200728_43_1
channel ORA_DISK_1: piece handle=/u01/app/oracle/rmanbak/arch_ORADB_20200728_43_1 tag=TAG20200728T112952
channel ORA_DISK_1: restored backup piece 1
channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
archived log file name=/u01/app/oracle/archivelog/1_25_1044690845.dbf thread=1 sequence=25
archived log file name=/u01/app/oracle/archivelog/1_26_1044690845.dbf thread=1 sequence=26
archived log file name=/u01/app/oracle/archivelog/1_27_1044690845.dbf thread=1 sequence=27
archived log file name=/u01/app/oracle/archivelog/1_28_1044690845.dbf thread=1 sequence=28
archived log file name=/u01/app/oracle/archivelog/1_29_1044690845.dbf thread=1 sequence=29
unable to find archived log
archived log thread=1 sequence=30
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 07/28/2020 19:54:12
RMAN-06054: media recovery requesting unknown archived log for thread 1 with sequence 30 and starting SCN of 1046847
十五、启动备库
RMAN> sql 'alter database open'; sql statement: alter database open
十六、主备库添加standby log
主库:
SQL> alter database add standby logfile '/u01/app/oracle/oradata/oradb/stbylog01.log' size 50M; Database altered. SQL> alter database add standby logfile '/u01/app/oracle/oradata/oradb/stbylog02.log' size 50M; Database altered. SQL> alter database add standby logfile '/u01/app/oracle/oradata/oradb/stbylog03.log' size 50M; Database altered. SQL> alter database add standby logfile '/u01/app/oracle/oradata/oradb/stbylog04.log' size 50M; Database altered. 备库:
SQL> alter database add standby logfile '/u01/app/oracle/oradata/oradbstd/stbylog01.log' size 50M;
Database altered. SQL>alter database add standby logfile '/u01/app/oracle/oradata/oradbstd/stbylog02.log' size 50M;
Database altered. SQL>alter database add standby logfile '/u01/app/oracle/oradata/oradbstd/stbylog03.log' size 50M;
Database altered. SQL>alter database add standby logfile '/u01/app/oracle/oradata/oradbstd/stbylog04.log' size 50M; Database altered.
十七、备库应用日志
SQL> alter database recover managed standby database using current logfile disconnect from session; Database altered.
centos 7.5搭建oracle DG的更多相关文章
- 基于CentOS与VmwareStation10搭建Oracle11G RAC 64集群环境:4.安装Oracle RAC FAQ-4.6.重新配置与缷载11R2 Grid Infrastructure
1.[root@linuxrac1 ~]# /u01/app/oraInventory/orainstRoot.sh 2.[root@linuxrac2 ~]# /u01/app/oraInvento ...
- 基于CentOS与VmwareStation10搭建Oracle11G RAC 64集群环境:3.安装Oracle RAC-3.4.安装Grid Infrastructure
3.4.安装Grid Infrastructure 3.4.1.安装Grid 1.运行 grid的安装文件runInstaller [grid@linuxrac1 grid]$ ./runInstal ...
- 基于CentOS与VmwareStation10搭建Oracle11G RAC 64集群环境:2.搭建环境-2.6. 安装Oracle所依赖的必要包
2.6. 安装Oracle所依赖的必要包 2.6.1. 检查Oracle所依赖的必要rpm包 [root@localhost /]#rpm -q binutils compat-libstdc elf ...
- 基于CentOS与VmwareStation10搭建Oracle11G RAC 64集群环境:4.安装Oracle RAC FAQ-4.1.系统界面报错Gnome
1.错误信息:登录系统后,屏幕弹出几个错误对话框,无菜单.无按钮 GConf error: Failed to contact configuration server; some possible ...
- 基于CentOS与VmwareStation10搭建Oracle11G RAC 64集群环境:4.安装Oracle RAC FAQ-4.5.安装Grid,创建ASM磁盘组空间不足
因之前分区时,分区的Last cylinder的值选了“1”,导致创建磁盘组空间不足.解决办法是先删除分区,重新创建分区并删除ASM磁盘,然后重建ASM磁盘 1. 先删除分区,重新创建分区: 1)查询 ...
- 基于CentOS与VmwareStation10搭建Oracle11G RAC 64集群环境:4.安装Oracle RAC FAQ-4.4.无法图形化安装Grid Infrastructure
无法图形化安装: [grid@linuxrac1 grid]$ ./runInstaller Starting Oracle Universal Installer... Checking Temp ...
- 基于CentOS与VmwareStation10搭建Oracle11G RAC 64集群环境:4.安装Oracle RAC FAQ-4.3.Oracle 集群节点间连通失败
1.检查节点连通性的错误 [grid@linuxrac1 grid]$ ./runcluvfy.sh stage -post hwos -n linuxrac1,linuxrac2 -verbose ...
- 基于CentOS与VmwareStation10搭建Oracle11G RAC 64集群环境:4.安装Oracle RAC FAQ-4.2.Oracleasm Createdisk ASM磁盘失败:Instantiating disk: failed
1.错误信息:Instantiating disk: failed [root@linuxrac1 /]# /usr/sbin/oracleasm createdisk OCR_VOTE /dev/s ...
- 某控股公司OA系统ORACLE DG搭建
*此处安装ORACLE DATAGUARD是利用ORACLE RMAN DUPLICATE方式安装.*可以搭建好ORACLE DG再来impdp生产数据,也可以先导入主库数据再来做DG*注意看下面的配 ...
随机推荐
- shell脚本快速入门----shell基本语法总结
1.#!脚本的开头 #!/bin/bash 2.脚本属性 添加可执行属性,chmod +x 或使用"."运行,例如运行当前目录下的a.sh 可执行命令 ". ./a.sh ...
- Win10系统下安装VC6.0教程
学习一门语言最重要的一步是搭建环境,许多人搭建在搭建环境上撞墙了,就有些放弃的心理了:俗话说,工欲善其事,必先利其器:所以接下来我们进行学习C的第一步下载编程所用的工具;当然也有其它的软件,只不过初学 ...
- tp5 统一返回json格式
控制器调用 public function json(){ if (request()->isPost()) { return jsonData(1,'转换成功',数据(可不填)); } } 公 ...
- 面试半年!三面阿里,四面蚂蚁金服,居然倒在了一个Java集合之Map上?
Map接口 Map与Collection并列存在.用于保存具有映射关系的数据:key-valueMap中的key和value都可以是任何引用类型的数据Map中的key用set来存放,不允许重复,即同一 ...
- FL Studio钢琴卷轴之工具菜单的Riff命令
鼠标左键点击FL Studio钢琴卷轴窗口中的"工具"命令,我们就可以打开快捷工具菜单.快捷菜单中包含了用于音符编辑的各种工具.按照该菜单的顺序,我们先来看一下什么是Riff器命令 ...
- 在FL Studio中如何做出渐入的人声效果
当我们在拿到一段人声并想把它加入歌曲中时,如果我们发现人声没有渐入的效果,直接加入到歌曲里出现会变得很突兀的话,我们就需要用到这篇文章所介绍的方法,给人声加上一个渐入的效果. 1. 找到我们需要处理的 ...
- FL studio系列教程(一):什么是FL水果音乐制作软件
如今,越来越多的音乐人选择使用音乐制作软件来进行音乐的创作,一台电脑.一款软件以及一个外接MIDI就是一个小型的音乐工作站.FL Studio成了音乐界萌新的首选,目前最新的版本为FL Studio2 ...
- symfony中,使用原声的sql语句
1 /** 2 * 数组形式的原生sql 3 */ 4 public function arrayA(array $did) 5 { 6 $statement = $this->getEntit ...
- appium元素定位总结
appium元素定位方法总结 使用uiautomator定位 driver.find_element_by_android_uiautomator(uia_string) 根据resourceId属性 ...
- 冲刺随笔——Day_Ten
这个作业属于哪个课程 软件工程 (福州大学至诚学院 - 计算机工程系) 这个作业要求在哪里 团队作业第五次--Alpha冲刺 这个作业的目标 团队进行Alpha冲刺 作业正文 正文 其他参考文献 无 ...