学习环境下Oracle RAC中的CentOS系统BUG解决
学习环境下Oracle RAC中的CentOS系统BUG解决
在工作期间利用三台破PC机器很老很老的那种,搭建了一个RAC的学习环境很是欣喜不已,这嘛,既利用了废旧硬件,也为自己创造了学习环境,一举多得,当然高兴了哈!
一台主机中的时候报告了错误,如下图:
心想这下子玩完了。
于是重启系统,大约过了一分钟后,登录系统,,没什么问题,,不一会儿就又出现了上面的问题。
这么久了还没见过linux崩溃过(除了在一台Dell 750的机器上安装CentOS 5.2,硬件不支持,害我重做了两遍系统!)
这是怎么回事儿呢?? 在伟大的google中寻找答案,无果。
这时候想这系统安装的时候没有升级,就升级一下系统算了,大不了重来!
yum upgrade 升级开始,一下子有185个软件包需要更新,包括内核。
在这里一开始运行yum是在3级别下面,可是不行,yum 在安装更新的时候报告错误,无法安装,这个时候有点沉不住气了哦:(
于是init4 在这个级别安装,还是不行,再试 init2 也不行
重启下系统在正常模式下安装,在安装的时候光标总在那闪,没有反应。
这次直接进入到yum下载的软件目录中 rpm -ivh kernel-* 只安装了新的内核
成功安装后,重启系统。
其中一个节点RAC2的内核 Linux rac2.andylhz.com 2.6.9-100.EL #1 Fri Feb 18 01:29:32 EST 2011 i686 i686 i386 GNU/Linux
要比节点RAC1高:Linux rac1.andylhz.com 2.6.9-89.EL #1 Mon Jun 22 12:19:40 EDT 2009 i686 i686 i386 GNU/Linux
在预料之中的事情发生了-asmlib 驱动无法启动! 为什么呢?因为OracleASM 的版本和新的内核不匹配,所以无法加载
Mar 28 13:01:17 rac2 modprobe: FATAL: Module oracleasm not found.
Mar 28 13:01:17 rac2 oracleasm: Unable failed
Mar 28 13:02:06 rac2 modprobe: FATAL: Module oracleasm not found.
Mar 28 13:02:06 rac2 oracleasm: Unable failed
Mar 28 13:02:09 rac2 modprobe: FATAL: Module oracleasm not found.
Mar 28 13:02:09 rac2 oracleasm: Unable failed
Mar 28 13:02:21 rac2 modprobe: FATAL: Module oracleasm not found.
Mar 28 13:02:21 rac2 oracleasm: Unable failed
Mar 28 13:07:23 rac2 modprobe: FATAL: Module oracleasm not found.
这个时候尝试下载匹配的ASMlib 重新安装后 重新配置oracleasm 识别了之前asm磁盘
Mar 28 13:13:21 rac2 oracleasm: succeeded
Mar 28 13:13:25 rac2 oracleasm: succeeded
Mar 28 13:16:26 rac2 oracleasm: succeeded
Mar 28 13:16:29 rac2 oracleasm: succeeded
RAC已经成功恢复!
从昨天更新内核到现在没有再出现图中的错误! 所以有时候及时更新内核是很有必要的!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics











The main role of MySQL in web applications is to store and manage data. 1.MySQL efficiently processes user information, product catalogs, transaction records and other data. 2. Through SQL query, developers can extract information from the database to generate dynamic content. 3.MySQL works based on the client-server model to ensure acceptable query speed.

InnoDB uses redologs and undologs to ensure data consistency and reliability. 1.redologs record data page modification to ensure crash recovery and transaction persistence. 2.undologs records the original data value and supports transaction rollback and MVCC.

MySQL is an open source relational database management system, mainly used to store and retrieve data quickly and reliably. Its working principle includes client requests, query resolution, execution of queries and return results. Examples of usage include creating tables, inserting and querying data, and advanced features such as JOIN operations. Common errors involve SQL syntax, data types, and permissions, and optimization suggestions include the use of indexes, optimized queries, and partitioning of tables.

MySQL's position in databases and programming is very important. It is an open source relational database management system that is widely used in various application scenarios. 1) MySQL provides efficient data storage, organization and retrieval functions, supporting Web, mobile and enterprise-level systems. 2) It uses a client-server architecture, supports multiple storage engines and index optimization. 3) Basic usages include creating tables and inserting data, and advanced usages involve multi-table JOINs and complex queries. 4) Frequently asked questions such as SQL syntax errors and performance issues can be debugged through the EXPLAIN command and slow query log. 5) Performance optimization methods include rational use of indexes, optimized query and use of caches. Best practices include using transactions and PreparedStatemen

MySQL is chosen for its performance, reliability, ease of use, and community support. 1.MySQL provides efficient data storage and retrieval functions, supporting multiple data types and advanced query operations. 2. Adopt client-server architecture and multiple storage engines to support transaction and query optimization. 3. Easy to use, supports a variety of operating systems and programming languages. 4. Have strong community support and provide rich resources and solutions.

Compared with other programming languages, MySQL is mainly used to store and manage data, while other languages such as Python, Java, and C are used for logical processing and application development. MySQL is known for its high performance, scalability and cross-platform support, suitable for data management needs, while other languages have advantages in their respective fields such as data analytics, enterprise applications, and system programming.

MySQL is suitable for small and large enterprises. 1) Small businesses can use MySQL for basic data management, such as storing customer information. 2) Large enterprises can use MySQL to process massive data and complex business logic to optimize query performance and transaction processing.

MySQL index cardinality has a significant impact on query performance: 1. High cardinality index can more effectively narrow the data range and improve query efficiency; 2. Low cardinality index may lead to full table scanning and reduce query performance; 3. In joint index, high cardinality sequences should be placed in front to optimize query.
