Solaris下配置ASM
因為要用Dtrace加GDB分析ASM,今天配置了一下Solaris下的ASM,過程如下:
# ./localconfig add
clscfg: EXISTING configuration version 3 detected.
clscfg: version 3 is 10G Release 2.
Successfully accumulated necessary OCR keys.
clscfg: Arguments check out successfully.
clscfg: EXISTING configuration version 3 detected.
clscfg: version 3 is 10G Release 2.
Successfully accumulated necessary OCR keys.
clscfg: Arguments check out successfully.
NO KEYS WERE WRITTEN. Supply -force parameter to override.
-force is destructive and will destroy any previous cluster
configuration.
Configuration for local CSS has been initialized
Failed configure CSS. Fix the problem and rerun this script. from destination Oracle home with 'reset' argument
-force is destructive and will destroy any previous cluster
configuration.
Configuration for local CSS has been initialized
Failed configure CSS. Fix the problem and rerun this script. from destination Oracle home with 'reset' argument
配置出錯了,沒有進一步深究原因,按照提示,設定了一下ORACLE_HOME再試:
# export ORACLE_HOME=/export/home/oracle/opt//product/10.2.0/
ORACLE_HOME=/export/home/oracle/opt//product/10.2.0/: is not an identifier
# ./localconfig reset /export/home/oracle/opt//product/10.2.0/
cp: /export/home/oracle/opt/product/10.2.0/cdata/localhost/local.ocr and /export/home/oracle/opt//product/10.2.0//cdata/localhost/local.ocr are identical
Stale CSS daemon is running... killing it now
Adding to inittab
Startup will be queued to init within 30 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.
unknown
CSS is active on all nodes.
Oracle CSS service is installed and running under init(1M)
ORACLE_HOME=/export/home/oracle/opt//product/10.2.0/: is not an identifier
# ./localconfig reset /export/home/oracle/opt//product/10.2.0/
cp: /export/home/oracle/opt/product/10.2.0/cdata/localhost/local.ocr and /export/home/oracle/opt//product/10.2.0//cdata/localhost/local.ocr are identical
Stale CSS daemon is running... killing it now
Adding to inittab
Startup will be queued to init within 30 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.
unknown
CSS is active on all nodes.
Oracle CSS service is installed and running under init(1M)
成功了。
換到Oracle下啟動ASM例項:
ASM引數檔案如下:
$ cat asmpfile.ora
instance_type=asm
cluster_database=false
asm_diskgroups=dg1
asm_diskstring='/dev/sd*'
instance_type=asm
cluster_database=false
asm_diskgroups=dg1
asm_diskstring='/dev/sd*'
processes=200
remote_login_passwordfile=exclusive
core_dump_dest=/export/home/oracle/opt/admin/myasm/cdump
user_dump_dest=/export/home/oracle/opt/admin/myasm/udump
background_dump_dest=/export/home/oracle/opt/admin/myasm/bdump
remote_login_passwordfile=exclusive
core_dump_dest=/export/home/oracle/opt/admin/myasm/cdump
user_dump_dest=/export/home/oracle/opt/admin/myasm/udump
background_dump_dest=/export/home/oracle/opt/admin/myasm/bdump
按如下步驟啟動ASM例項即可:
ORACLE_SID=myasm
sqlplus / as sysdba
create spfile from pfile='/export/home/oracle/asmpfile.ora';
create spfile from pfile='/export/home/oracle/asmpfile.ora';
startup nomount;
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/321157/viewspace-718805/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- linux下ASM配置LinuxASM
- solaris DNS 配置DNS
- Solaris IPMP 配置
- solaris下配置使用SQL*Plus歷史命令記錄SQL
- Solaris 10配置VNCServerVNCServer
- solaris的dns配置DNS
- Solaris 10 配置 IP 地址
- solaris 10_oracle asm_diskgroup_failgroup_相關OracleASMAI
- solaris10_oracle10g_asm_ora_27094OracleASM
- solaris10_oracle10g_asm_non_asm遷移資料庫測試OracleASM資料庫
- solaris 10 mysql 安裝 配置MySql
- solaris 9 下ipf的配置安裝過程 版本4.1.29.doc
- vmware下solaris 10網路卡不能正常配置的解決辦法
- solaris下安裝oracleOracle
- aix 下nfs solaris mountAINFS
- solaris 下增加新硬碟硬碟
- Solaris下安裝VNCVNC
- 簡單配置ASMASM
- asm重新配置ASM
- 配置並建立ASMASM
- Windows 下使用檔案模擬磁碟配置ASM磁碟組WindowsASM
- Oracle 10gR2 下配置簡單ASM例項Oracle 10gASM
- 在solaris10單例項配置oracle10g asm執行css不啟動處理單例OracleASMCSS
- asm-windows下安裝asmASMWindows
- 在Solaris平臺中ASM所需磁碟的Format過程ASMORM
- Solaris 網路應用配置(轉)
- Solaris 10 網路卡相關配置
- solaris 10的ftp相關配置FTP
- solaris下的gcc安裝GC
- 配置ASM磁碟-轉載ASM
- Oracle ASM 配置錯誤OracleASM
- ASM基本配置問題ASM
- ASM的安裝配置ASM
- ORACLE 11.2.0.3配置ASMOracleASM
- ASM的配置與管理ASM
- solaris10_oracle10g asm_相關基本概念OracleASM
- solaris安裝RAC的儲存配置
- solaris上如何檢視防火牆配置防火牆