VVV IMP TOPIC
The database should be in sync always
LSS - log shipment service
LNS - log network service
RFS - remote fetching service
MRP - managed recovery process
ARCH - archive process
Production Stand by
DC DR
LNS >>>>>>>>LSS>>>>>>>>>>RFS
Redolog files Rfs
Archives redolog files
Lns online archives
Mrp
Storage point
To see listner working or not fire command - ps – ef|grep tns
Alter database activate standby database; (to activate stand by at the time of server down)
Recover managed standby database disconnect from session > to on mrp
Alter database recover managed standby cancle > to off mrp
The archives in production data will send from LNS to RFS through LSS
LNS is in production RFS is in standby
Production
192.168.211.150
In primary database archive log should be enable
Archive log list
Enable
Disable
Shut immediately
Startup mount;
Alter database archive loglist
Alter database open
Select open_mode from v$ data base
Output readwrite
Force logging should be enable
Select force_logging from v$database;
Out put No
Alter database force_logging
Output yes
Primary permissions
Standby permissions
Prime = prod
Address = protocal
Protocal = tcp
Host = ip address.153
Port = 1539
Server = dedicated
Service name = prod
Stand = stand by
Address = protocal
Protocal = tcp
Host = ip address.154
Port = 1539
Server = dedicated
Servicename = stand
Listner entry
Listner = description_list
Address = protocal
Protocal = tcp
Host = ip address
Port = 1539
Server = dedicated
Service = listner
Show paramater log
Log_archive_dest_1
Log_archive_dest_2
Log_archive_dest_3
……………………………
……………………………
Log_archive_dest_32
P-file
Db name = prod
Db unique name = power
Alter system set log_archive_config =’d.g’ config (power.super)scope = spfile;
Alter system set log_archive_dest = db home location scope = sp file;
Alter system set log _archive_dest_2 = service = stand scope = spfile;
Standby
192.168.211.151
Archive log list
Enable
Disable
Shut immediately
Startup mount;
Alter database archive loglist
Alter database open
Select open_mode from v$ data base
Output readwrite
Force logging should be enable
Select force_logging from v$database;
Out put No
Alter database force_logging
Output yes
Primary permissions
Standby permissions
Prime = prod
Address = protocal
Protocal = tcp
Host = ip address.153
Port = 1539
Server = dedicated
Service name = prod
Stand = stand by
Address = protocal
Protocal = tcp
Host = ip address.154
Port = 1539
Server = dedicated
Servicename = stand
Listner entry
Listner = description_list
Address = protocal
Protocal = tcp
Host = ip address
Port = 1539
Server = dedicated
Service = listner
Show paramater log
Log_archive_dest_1
Log_archive_dest_2
Log_archive_dest_3
……………………………
……………………………
Log_archive_dest_32
P-file
Db name = standby
Db unique name = super
Alter system set log_archive_config =’d.g’ config (power.super)scope = spfile;
Alter system set log_archive_dest = db home location scope = sp file;
Alter system set log _archive_dest_2 = service = prod scope = spfile;
Comments
Post a Comment