文章详情

短信预约-IT技能 免费直播动态提醒

请输入下面的图形验证码

提交验证

短信预约提醒成功

怎样进行ASM安装

2023-06-06 04:14

关注

本篇文章为大家展示了怎样进行ASM安装,内容简明扼要并且容易理解,绝对能使你眼前一亮,通过这篇文章的详细介绍希望你能有所收获。

ASM学习笔记_ASM安装

Refer to the <<Oracle Database Installation Guide>> for your operating system for details on installing ASM.

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


Oracle@Z810:/opt/oracle/product/10gr2/bin/crsctl check crs
Failure 1 contacting CSS daemon
Cannot communicate with CRS
Cannot communicate with EVM

Oracle@Z810:/opt/oracle/product/10gr2/bin/crsctl start crs
Attempting to start CRS stack
The CRS stack will be started shortly


Oracle@Z810:/opt/oracle/product/10gr2/bin/crsctl 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 oracle@Z810:/var/tmp/.oracle> /opt/oracle/product/10gr2/bin/crsctl check crs

CSS appears healthy
Cannot communicate with CRS
Cannot communicate with EVM

上述内容就是怎样进行ASM安装,你们学到知识或技能了吗?如果还想学到更多技能或者丰富自己的知识储备,欢迎关注编程网行业资讯频道。

阅读原文内容投诉

免责声明:

① 本站未注明“稿件来源”的信息均来自网络整理。其文字、图片和音视频稿件的所属权归原作者所有。本站收集整理出于非商业性的教育和科研之目的,并不意味着本站赞同其观点或证实其内容的真实性。仅作为临时的测试数据,供内部测试之用。本站并未授权任何人以任何方式主动获取本站任何信息。

② 本站未注明“稿件来源”的临时测试数据将在测试完成后最终做删除处理。有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341

软考中级精品资料免费领

  • 历年真题答案解析
  • 备考技巧名师总结
  • 高频考点精准押题
  • 2024年上半年信息系统项目管理师第二批次真题及答案解析(完整版)

    难度     813人已做
    查看
  • 【考后总结】2024年5月26日信息系统项目管理师第2批次考情分析

    难度     354人已做
    查看
  • 【考后总结】2024年5月25日信息系统项目管理师第1批次考情分析

    难度     318人已做
    查看
  • 2024年上半年软考高项第一、二批次真题考点汇总(完整版)

    难度     435人已做
    查看
  • 2024年上半年系统架构设计师考试综合知识真题

    难度     224人已做
    查看

相关文章

发现更多好内容

猜你喜欢

AI推送时光机
位置:首页-资讯-后端开发
咦!没有更多了?去看看其它编程学习网 内容吧
首页课程
资料下载
问答资讯