ASM學習筆記_ASM安裝
ASM學習筆記_ASM安裝
Refer to the <
1 ASM’s installtion can be done by DBCA.
2 如果是非RAC環境下使用ASM, 需要在安裝ASM之前用指令碼$ORACLE_HOME/bin/localconfig add 啟動CSS服務
CSS服務在單例項下的作用還有待確認?
只需啟動CSS服務,用來實現ASM例項與RDBMS例項之間的通訊
The Cluster Synchronization Services (CSS) daemon is required to enable synchronization between ASM and its client
database instances.
Oracle> su - root
password: xxxx
# /opt/oracle/product/10gr2/bin/localconfig delete
Stopping CSSD.
Unable to communicate with the CSS daemon.
Shutdown has begun. The daemons should exit soon.
#/opt/oracle/product/10gr2/bin/localconfig add
/etc/oracle does not exist. Creating it now.
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
Configuration for local CSS has been initialized
Adding to inittab
Startup will be queued to init within 90 seconds.
Checking the status of new Oracle init process...
Expecting the CRS daemons to be up within 600 seconds.
...........
Giving up: Oracle CSS stack appears NOT to be running.
Oracle CSS service would not start as installed
Automatic Storage Management(ASM) cannot be used until Oracle CSS service is starte
啟動不了
檢視/opt/oracle/product/10gr2/log/z810/client/css.log
[ CSSCLNT][2550264832]clsssInitNative: connect failed, rc 9
執行DBCA過程中報如下錯誤
Oracle> $ORACLE_HOME/bin/dbca
報錯:ORA-29701:Unable to connect to Cluster Manager
單例項下如何啟動CRS,CSS,EVM
/etc/init.d/start crs
/etc/init.d/start css
/etc/init.d/start evm
check crs
Failure 1 contacting CSS daemon
Cannot communicate with CRS
Cannot communicate with EVM
start crs
Attempting to start CRS stack
The CRS stack will be started shortly
check crs
Failure 1 contacting CSS daemon
Cannot communicate with CRS
Cannot communicate with EVM
啟動不了
在嘗試了n次後終於成功了
可能的問題
1 由於在同一個節點上安裝了兩個Oracl版本:9i,10g.有兩個ORACLE_HOME,造成混亂
在有多個ORACLE_HOME的環境下,似乎可以透過/opt/oracle/product/10gr2/bin/localconfig reset來設定環境變數
/opt/oracle/product/10gr2/bin/localconfig $ORACLE_HOME
是這樣嗎? 嘗試幾次都未能成功
2 每嘗試一次前應先將LISTENER與各個後臺程式建立連線的IPC Socket臨時檔案刪除
rm -f /var/tmp/.oracle/*
rm -f /tmp/.oracle/*
rm -f /usr/tmp/.oracle/*
3 啟動監聽
4 /opt/oracle/product/10gr2/bin/localconfig add
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
Configuration for local CSS has been initialized
Adding to inittab
Startup will be queued to init within 90 seconds.
Checking the status of new Oracle init process...
Expecting the CRS daemons to be up within 600 seconds.
CSS is active on these nodes.
z810
CSS is active on all nodes.
Oracle CSS service is installed and running under init(1M)
5 > /opt/oracle/product/10gr2/bin/crsctl check crs
CSS appears healthy
Cannot communicate with CRS
Cannot communicate with EVM
6 成功應用DBCA建立ASM例項
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10248702/viewspace-662861/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ASM學習筆記_磁碟的管理ASM筆記
- ASM學習筆記_體系結構ASM筆記
- 【ASM學習】ASM 管理ASM
- 【ASM學習】ASM文件ASM
- ASM學習筆記_配置ASMLIB磁碟組ASM筆記
- ASM學習筆記_配置RAW Device磁碟組ASM筆記dev
- asm-windows下安裝asmASMWindows
- ASM 學習ASM
- 【ASM學習】ASM引數說明ASM
- 【ASM學習】ASM基礎知識ASM
- 學習ASM技術(八)--ASM操作原理ASM
- ASM驅動安裝與ASM盤建立(一)ASM
- ASM驅動安裝與ASM盤建立(二)ASM
- ASM的安裝配置ASM
- asm命令及安裝ASM
- 學習ASM技術(八)--ASM操作原理. 續ASM
- RabbitMQ學習筆記-安裝MQ筆記
- Centos學習筆記--安裝CentOS筆記
- Java ASM學習(2)JavaASM
- ASM 學習 指令碼ASM指令碼
- ASM相關概念(筆記)ASM筆記
- Oracle ASM安裝要點OracleASM
- 【ASM學習】從ASM拷貝檔案的方法ASM
- 【ASM學習】關於 ASM 的隱含引數ASM
- 學習ASM技術(完結篇)--常用ASM命令ASM
- 學習ASM技術(七)--ASM檔案轉化ASM
- 【ASM】Oracle ASM + 11gR2 + RHEL6.5 安裝ASMOracle
- Mysql學習筆記(安裝篇)MySql筆記
- Docker安裝(學習筆記一)Docker筆記
- Airflow學習筆記 --- airflow安裝AI筆記
- python學習安裝筆記Python筆記
- Flask學習筆記(安裝篇)Flask筆記
- 【ASM學習】在windows 環境下建立ASM例項ASMWindows
- 安裝__DB、ASM注意事項ASM
- 全面學習和應用ORACLE ASM特性--(2)管理asm磁碟OracleASM
- Flutter學習筆記 - 安裝,映象,配置Flutter筆記
- golang學習筆記(1):安裝&helloworldGolang筆記
- Redis學習筆記【01】 - 安裝RedisRedis筆記