Oracle10gRACInstaller故障之--Oracle软件安装无法发现集群系统环境:操作系统:AIX5300-08集群软件:CRS10.2.0.1数据库:Oracle10.2.0.1一、故障现象在安装CRS
Oracle 10g RAC Installer 故障之--Oracle软件安装无法发现集群
系统环境:
操作系统: AIX 5300-08
集群软件: CRS 10.2.0.1
数据库: Oracle 10.2.0.1
一、故障现象
在安装CRS后,安装Oracle软件时失败,重新安装,删除了/u01/app/oracle下所有的目录,导致Oracle再次安装时不能识别集群环境。
查看Oracle软件安装索引目录:/u01/app/oracle/oraInventory,已经非CRS的集群环境了。
[root@aix227:/u01/app/oracle/oraInventory/ContentsXML]#vi inventory.xml "inventory.xml" 12 lines, 409 characters正常的安装索引目录应该是:
二、解决方法
在一个安装好CRS软件的主机上(aix211),,将aix211主机的 inventory.xml文件上传到aix211主机,替代原来的inventory.xml文件
1、通过ftp上传: [root@aix211 ContentsXML]#pwd /u01/app/oracle/oraInventory/ContentsXML [root@aix211 ContentsXML]#ls comps.xml inventory.xml libs.xml [root@aix211 ContentsXML]#ftp 192.168.8.227 Connected to 192.168.8.227. 220 aix227 FTP server (Version 4.2 Sat Sep 8 09:49:58 CDT 2007) ready. Name (192.168.8.227:root): ^C[root@aix211 ContentsXML]# [root@aix211 ContentsXML]# [root@aix211 ContentsXML]#su - oracle [YOU HAVE NEW MAIL] [u@h W]$bash [oracle@aix211 ~]$cd /u01/app/oracle/oraInventory/ [oracle@aix211 oraInventory]$ls Contents logs orainstRoot.sh ContentsXML oraInst.loc oui install.platform oraInstaller.properties sessionContext.ser [oracle@aix211 oraInventory]$cd ContentsXML/ [oracle@aix211 ContentsXML]$ls comps.xml inventory.xml libs.xml [oracle@aix211 ContentsXML]$pwd /u01/app/oracle/oraInventory/ContentsXML [oracle@aix211 ContentsXML]$ftp 192.168.8.227 Connected to 192.168.8.227. 220 aix227 FTP server (Version 4.2 Sat Sep 8 09:49:58 CDT 2007) ready. Name (192.168.8.227:root): oracle 331 Password required for oracle. Password: 230-Last login: Mon Nov 17 10:36:38 2014 on /dev/pts/2 from 192.168.8.248 230 User oracle logged in. ftp> bin 200 Type set to I. ftp> put inventory.xml 200 PORT command successful. 150 Opening data connection for inventory.xml. 226 Transfer complete. 666 bytes sent in 0.001007 seconds (645.9 Kbytes/s) local: inventory.xml remote: inventory.xml ftp> 覆盖以前的inventory.xml: [oracle@aix227:/home/oracle]$ls -l total 8 -rw-r----- 1 oracle oinstall 666 Nov 17 10:45 inventory.xml [oracle@aix227:/home/oracle]$cp inventory.xml /u01/app/oracle/oraInventory/ContentsXML [oracle@aix227:/home/oracle]$cd /u01/app/oracle/oraInventory/ContentsXML [oracle@aix227:/u01/app/oracle/oraInventory/ContentsXML]$ls comps.xml inventory.xml libs.xml [oracle@aix227:/u01/app/oracle/oraInventory/ContentsXML]$more inventory.xml更新inventory.xml 中node的信息(将aix211,aix212更新为aix227,aix228):

ACID attributes include atomicity, consistency, isolation and durability, and are the cornerstone of database design. 1. Atomicity ensures that the transaction is either completely successful or completely failed. 2. Consistency ensures that the database remains consistent before and after a transaction. 3. Isolation ensures that transactions do not interfere with each other. 4. Persistence ensures that data is permanently saved after transaction submission.

MySQL is not only a database management system (DBMS) but also closely related to programming languages. 1) As a DBMS, MySQL is used to store, organize and retrieve data, and optimizing indexes can improve query performance. 2) Combining SQL with programming languages, embedded in Python, using ORM tools such as SQLAlchemy can simplify operations. 3) Performance optimization includes indexing, querying, caching, library and table division and transaction management.

MySQL uses SQL commands to manage data. 1. Basic commands include SELECT, INSERT, UPDATE and DELETE. 2. Advanced usage involves JOIN, subquery and aggregate functions. 3. Common errors include syntax, logic and performance issues. 4. Optimization tips include using indexes, avoiding SELECT* and using LIMIT.

MySQL is an efficient relational database management system suitable for storing and managing data. Its advantages include high-performance queries, flexible transaction processing and rich data types. In practical applications, MySQL is often used in e-commerce platforms, social networks and content management systems, but attention should be paid to performance optimization, data security and scalability.

The relationship between SQL and MySQL is the relationship between standard languages and specific implementations. 1.SQL is a standard language used to manage and operate relational databases, allowing data addition, deletion, modification and query. 2.MySQL is a specific database management system that uses SQL as its operating language and provides efficient data storage and management.

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.

Key metrics for EXPLAIN commands include type, key, rows, and Extra. 1) The type reflects the access type of the query. The higher the value, the higher the efficiency, such as const is better than ALL. 2) The key displays the index used, and NULL indicates no index. 3) rows estimates the number of scanned rows, affecting query performance. 4) Extra provides additional information, such as Usingfilesort prompts that it needs to be optimized.

Usingtemporary indicates that the need to create temporary tables in MySQL queries, which are commonly found in ORDERBY using DISTINCT, GROUPBY, or non-indexed columns. You can avoid the occurrence of indexes and rewrite queries and improve query performance. Specifically, when Usingtemporary appears in EXPLAIN output, it means that MySQL needs to create temporary tables to handle queries. This usually occurs when: 1) deduplication or grouping when using DISTINCT or GROUPBY; 2) sort when ORDERBY contains non-index columns; 3) use complex subquery or join operations. Optimization methods include: 1) ORDERBY and GROUPB


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

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Atom editor mac version download
The most popular open source editor

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

Dreamweaver Mac version
Visual web development tools

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