知识大全 DataGuard数据库服务器硬盘故障处理
Posted 硬盘
篇首语:读书是易事,思索是难事,但两者缺一,便全无用处。本文由小常识网(cha138.com)小编为大家整理,主要介绍了知识大全 DataGuard数据库服务器硬盘故障处理相关的知识,希望对你有一定的参考价值。
DataGuard数据库服务器硬盘故障处理 以下文字资料是由(全榜网网www.cha138.com)小编为大家搜集整理后发布的内容,让我们赶快一起来看一下吧!
昨天一台PC Server上的数据库又出问题 同样是硬盘故障
这两台服务器用的都是联志的国产低端PC Server 这些服务器的质量实在是差 上次一台备机的硬盘损坏 然后又有一台因为电源模块的问题反复重起 现在这一台服务器的硬盘再次出现问题
Nov : : wap kernel: attempt to access beyond end of deviceNov : : wap kernel: : : rw= want= limit= Nov : : wap kernel: EXT fs error (device sd( )): ext _readdir: directory # contains a hole at offset Nov : : wap kernel: attempt to access beyond end of deviceNov : : wap kernel: : : rw= want= limit= Nov : : wap kernel: EXT fs error (device sd( )): ext _readdir: directory # contains a hole at offset Nov : : wap kernel: attempt to access beyond end of deviceNov : : wap kernel: : : rw= want= limit= Nov : : wap kernel: EXT fs error (device sd( )): ext _readdir: directory # contains a hole at offset Nov : : wap kernel: attempt to access beyond end of deviceNov : : wap kernel: : : rw= want= limit= Nov : : wap kernel: EXT fs error (device sd( )): ext _readdir: directory # contains a hole at offset
好在数据库通过DataGuard可以切换到另外一台 没有数据损失
Thu Nov : : ARC : Complete FAL archive (thread sequence destination bmarksb)ARC : Begin FAL archive (thread sequence destination bmarksb)Creating archive destination LOG_ARCHIVE_DEST_ : bmarksb ARC : Complete FAL archive (thread sequence destination bmarksb)ARC : Begin FAL archive (thread sequence destination bmarksb)Creating archive destination LOG_ARCHIVE_DEST_ : bmarksb Thu Nov : : ARC : Complete FAL archive (thread sequence destination bmarksb)ARC : Begin FAL archive (thread sequence destination bmarksb)Creating archive destination LOG_ARCHIVE_DEST_ : bmarksb Thu Nov : : ARC : Complete FAL archive (thread sequence destination bmarksb)Thu Nov : : ARC : Complete FAL archive (thread sequence destination bmarksb)
现在是主库所在的服务器出现问题:
SQL> select dbid name PROTECTION_MODE DATABASE_ROLE SWITCHOVER_STATUS from v$database;
DBID NAME PROTECTION_MODE DATABASE_ROLE SWITCHOVER_STATUS BMARK MAXIMUM PERFORMANCE PRIMARY SESSIONS ACTIVE
备库现在一切正常:
SQL> select dbid name PROTECTION_MODE DATABASE_ROLE SWITCHOVER_STATUS from v$database;
DBID NAME PROTECTION_MODE DATABASE_ROLE SWITCHOVER_STATUS BMARK MAXIMUM PERFORMANCE PHYSICAL STANDBY SESSIONS ACTIVE
现在需要的是一点停机时间进行切换
Fri Nov : : alter database mit to switchover to physical standby with session shutdownFri Nov : : ALTER DATABASE MIT TO SWITCHOVER TO PHYSICAL STANDBYFri Nov : : SMON: disabling tx recoveryFri Nov : : Active process user oracle program ora (CJQ ) Active process user oracle program ora (TNS V V ) Active process user oracle program ora (TNS V V ) Active process user oracle program ora (TNS V V ) Active process user oracle program ora (TNS V V ) Active process user oracle program ora (TNS V V ) Active process user oracle program ora (TNS V V ) CLOSE: waiting for server sessions to plete Fri Nov : : CLOSE: all sessions shutdown successfully Fri Nov : : SMON: disabling cache recoveryFri Nov : : Shutting down archive processesArchiving is disabledFri Nov : : ARCH shutting downFri Nov : : ARCH shutting downFri Nov : : ARC : Archival stoppedFri Nov : : ARC : Archival stoppedFri Nov : : Thread closed at log sequence Successful close of redo thread Fri Nov : : ARCH: noswitch archival of thread sequence ARCH: End Of Redo archival of thread sequence ARCH: Evaluating archive log thread sequence ARCH: Beginning to archive log thread sequence Creating archive destination LOG_ARCHIVE_DEST_ : bmarksb Creating archive destination LOG_ARCHIVE_DEST_ : /var/oradata/arch/ _ arc ARCH: Completed archiving log thread sequence ARCH: archiving is disabled due to current logfile archivalClearing standby activation ID ( xd dd cc )The primary database controlfile was created using the MAXLOGFILES clause The resulting standby controlfile will not have enoughavailable logfile entries to support an adequate numberof standby redo logfiles Consider re creating theprimary controlfile using MAXLOGFILES (or larger) Use the following SQL mands on the standby database to createstandby redo logfiles that match the primary database:ALTER DATABASE ADD STANDBY LOGFILE srl f SIZE ;ALTER DATABASE ADD STANDBY LOGFILE srl f SIZE ;ALTER DATABASE ADD STANDBY LOGFILE srl f SIZE ;ALTER DATABASE ADD STANDBY LOGFILE srl f SIZE ;Archivelog for thread sequence required for standby recoveryMRP started with pid= MRP : Background Managed Standby Recovery process startedMedia Recovery Log /var/oradata/arch/ _ arcIdentified end of REDO for thread sequence Identified end of REDO for thread sequence Media Recovery End Of Redo indicator encounteredMedia Recovery Applied until change MRP : Media Recovery Complete: End Of REDOResetting standby activation ID ( xd dd cc )MRP : Background Media Recovery process shutdownFri Nov : : Switchover: Complete Database shutdown requiredCompleted: alter database mit to switchover to physical stFri Nov : : Shutting down instance: further logons disabledShutting down instance (immediate)License high water mark = Fri Nov : : ALTER DATABASE CLOSE NORMALORA signalled during: ALTER DATABASE CLOSE NORMAL ARCH: Archiving is disabledShutting down archive processesArchiving is disabledArchive process shutdown avoided: activeARCH: Archiving is disabledShutting down archive processesArchiving is disabledArchive process shutdown avoided: activeFri Nov : : Starting ORACLE instance (normal)LICENSE_MAX_SESSION = LICENSE_SESSIONS_WARNING = SCN scheme Using log_archive_dest parameter default valueLICENSE_MAX_USERS = SYS auditing is disabledStarting up ORACLE RDBMS Version: System parameters with non default values:processes = timed_statistics = TRUEshared_pool_size = large_pool_size = standby_archive_dest = /var/oradata/archfal_server = bmarksbfal_client = bmarklog_archive_format = %t_%s arc CJQ started with pid= Fri Nov : : ARCH: STARTING ARCH PROCESSESARC started with pid= ARC : Archival startedARC started with pid= Fri Nov : : ARCH: STARTING ARCH PROCESSES PLETEFri Nov : : ARC : Archival startedFri Nov : : ARC : Thread not mountedFri Nov : : ARC : Thread not mountedFri Nov : : alter database mount standby databaseFri Nov : : Successful mount of redo thread with mount id Fri Nov : : Standby Database mounted Completed: alter database mount standby databaseFri Nov : : ALTER DATABASE RECOVER managed standby database disconnect Attempt to start background Managed Standby Recovery processMRP started with pid= MRP : Background Managed Standby Recovery process startedFri Nov : : Completed: ALTER DATABASE RECOVER managed standby database dFri Nov : : Media Recovery Waiting for thread seq# Media Recovery Log /var/oradata/arch/ _ arcMedia Recovery Waiting for thread seq# Media Recovery Log /var/oradata/arch/ _ arcMedia Recovery Waiting for thread seq#
看来以后不能再采购联志服务器了
cha138/Article/program/Oracle/201311/18377相关参考
郭洪锋()该文章对编写客户服务器应用的java程序员有所帮助可以解决程序在对方出现故障的时候继续稳定运行 前言java程序要处理很多的网络数据网络数据发送和接收以及数据流的处理是java程序要特
问题我们公司有两台LINUX服务器每个服务器只有一个硬盘所以 备份的问题就显得特别重要我们装有mysql数据库当然同时也要解 决mysql备份的问题 目的host机器(最终所有备份都在其
Oracle物理结构故障的处理方法 Oracle物理结构故障是指构成数据库的各个物理文件损坏而导致的各种数据库故障这些故障可能是由于硬件故障造成的也可能是人为误操作而引起所以我们首先要判断问
知识大全 我买个新的硬盘,怎样可以用同一部电脑将旧硬盘的数据传到新的硬盘里?
我买个新的硬盘,怎样可以用同一部电脑将旧硬盘的数据传到新的硬盘里?如果你有光驱的话拆开机箱把光驱的电源数据线拔下换到新硬盘上,新硬盘设置为从盘SLAVE跳线设置说明书上或硬盘标签应该有(机箱无电情况下
硬盘出现“文件或目录损坏且无法读取”!数据恢复问题硬盘出现“文件或目录损坏且无法读取”!开始菜单--运行--输入cmd在弹出的黑色窗口中输入chkdskG:/f回车输入y回车就可以了移动硬盘出现文件或
电脑装系统硬盘被格式化想恢复数据怎么办不能了吧,毕竟恢复数据是根据ntfs或者fat32、fat磁盘格式上的分区文件的痕迹来恢复的,你重新分区后,这些分区文件都没了,是全新的文件了,自然就找不到痕迹,
DataGuard环境搭建 以下文字资料是由(全榜网网www.cha138.com)小编为大家搜集整理后发布的内容,让我们赶快一起来看一下吧! 自己做的工作一直涉及的
案例类别VAS网络系统类型CMODE系统版本硬件SUN软件所有版本案例标题CMODE放号中的数据库出现LOCK的处理方法故障现象启动sam_cmode进程不能正常处理工单故障描述启动以sam_cm
文件服务器程序是专为提供网络服务的网络管理软件,它的作用是()
文件服务器程序是专为提供网络服务的网络管理软件,它的作用是()A、直接与网络服务器硬盘和网卡驱动程序连接。B、为本地的应用提供各类网络服务。C、对用户访问服务器的权限和数据加密进行管理。D、对多个用户
文件服务器程序是专为提供网络服务的网络管理软件,它的作用是()
文件服务器程序是专为提供网络服务的网络管理软件,它的作用是()A、直接与网络服务器硬盘和网卡驱动程序连接。B、为本地的应用提供各类网络服务。C、对用户访问服务器的权限和数据加密进行管理。D、对多个用户