Oracle Exadata 一体机关机过程(虚拟机环境)

编辑好cell,db节点信息文件all_group,dbs_group,cell_group
[[email protected] exatest]# pwd
/root/exatest
[[email protected] exatest]# cat all_group
exadb1
exadb2
cell1
cell2
cell3
[[email protected] exatest]# cat dbs_group
exadb1
exadb2
[[email protected] exatest]# cat cell_group
cell1
cell2
cell3
[[email protected] exatest]#

添加所有服务器的ssh信任,实现远程登陆免输入密码

[[email protected] exatest]# dcli -k -g all_group -l root
The authenticity of host ‘cell1 (172.16.218.61)‘ can‘t be established.
RSA key fingerprint is 30:db:e2:c3:a9:69:71:58:48:51:3b:59:41:16:9c:71.
Are you sure you want to continue connecting (yes/no)? yes
[email protected]‘s password:
The authenticity of host ‘exadb1 (172.16.218.171)‘ can‘t be established.
RSA key fingerprint is 30:db:e2:c3:a9:69:71:58:48:51:3b:59:41:16:9c:71.
Are you sure you want to continue connecting (yes/no)? yes
[email protected]‘s password:
The authenticity of host ‘cell2 (172.16.218.62)‘ can‘t be established.
RSA key fingerprint is 30:db:e2:c3:a9:69:71:58:48:51:3b:59:41:16:9c:71.
Are you sure you want to continue connecting (yes/no)? yes
[email protected]‘s password:
The authenticity of host ‘exadb2 (172.16.218.172)‘ can‘t be established.
RSA key fingerprint is 30:db:e2:c3:a9:69:71:58:48:51:3b:59:41:16:9c:71.
Are you sure you want to continue connecting (yes/no)? yes
[email protected]‘s password:
The authenticity of host ‘cell3 (172.16.218.63)‘ can‘t be established.
RSA key fingerprint is 30:db:e2:c3:a9:69:71:58:48:51:3b:59:41:16:9c:71.
Are you sure you want to continue connecting (yes/no)? yes
[email protected]‘s password:
exadb1: ssh key added
exadb2: ssh key added
cell1: ssh key added
cell2: ssh key added
cell3: ssh key added
[[email protected] exatest]#
[[email protected] exatest]#
[[email protected] exatest]#
测试一下dcli获取所有主机的hostname
[[email protected] exatest]# dcli -g all_group -l root hostname
exadb1: exadb1
exadb2: exadb2
cell1: cell1
cell2: cell2
cell3: cell3
检查一下db主机的集群配置是否开机启动
[[email protected] exatest]# dcli -g dbs_group -l root /u01/app/11.2.0/grid/bin/crsctl config crs
exadb1: CRS-4622: Oracle High Availability Services autostart is enabled.
exadb2: CRS-4622: Oracle High Availability Services autostart is enabled.

禁用开机启动
[[email protected] exatest]# dcli -g dbs_group -l root /u01/app/11.2.0/grid/bin/crsctl disable crs
exadb1: CRS-4621: Oracle High Availability Services autostart is disabled.
exadb2: CRS-4621: Oracle High Availability Services autostart is disabled.

db节点停Oracle数据库集群
[[email protected] exatest]# dcli -g dbs_group -l root /u01/app/11.2.0/grid/bin/crsctl stop crs
exadb1: CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on ‘exadb1‘
exadb1: CRS-2673: Attempting to stop ‘ora.crsd‘ on ‘exadb1‘
exadb1: CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on ‘exadb1‘
exadb1: CRS-2673: Attempting to stop ‘ora.cvu‘ on ‘exadb1‘
exadb1: CRS-2673: Attempting to stop ‘ora.registry.acfs‘ on ‘exadb1‘
exadb1: CRS-2673: Attempting to stop ‘ora.mfy.db‘ on ‘exadb1‘
exadb1: CRS-2673: Attempting to stop ‘ora.oc4j‘ on ‘exadb1‘
exadb1: CRS-2673: Attempting to stop ‘ora.LISTENER_SCAN1.lsnr‘ on ‘exadb1‘
exadb1: CRS-2673: Attempting to stop ‘ora.LISTENER.lsnr‘ on ‘exadb1‘
exadb1: CRS-2677: Stop of ‘ora.LISTENER_SCAN1.lsnr‘ on ‘exadb1‘ succeeded
exadb1: CRS-2673: Attempting to stop ‘ora.scan1.vip‘ on ‘exadb1‘
exadb1: CRS-2677: Stop of ‘ora.LISTENER.lsnr‘ on ‘exadb1‘ succeeded
exadb1: CRS-2673: Attempting to stop ‘ora.exadb1.vip‘ on ‘exadb1‘
exadb1: CRS-2677: Stop of ‘ora.cvu‘ on ‘exadb1‘ succeeded
exadb1: CRS-2677: Stop of ‘ora.mfy.db‘ on ‘exadb1‘ succeeded
exadb1: CRS-2673: Attempting to stop ‘ora.DATA.dg‘ on ‘exadb1‘
exadb1: CRS-2673: Attempting to stop ‘ora.RECO.dg‘ on ‘exadb1‘
exadb1: CRS-2677: Stop of ‘ora.registry.acfs‘ on ‘exadb1‘ succeeded
exadb1: CRS-2677: Stop of ‘ora.RECO.dg‘ on ‘exadb1‘ succeeded
exadb1: CRS-2677: Stop of ‘ora.scan1.vip‘ on ‘exadb1‘ succeeded
exadb1: CRS-2677: Stop of ‘ora.exadb1.vip‘ on ‘exadb1‘ succeeded
exadb1: CRS-2677: Stop of ‘ora.oc4j‘ on ‘exadb1‘ succeeded
exadb1: CRS-2677: Stop of ‘ora.DATA.dg‘ on ‘exadb1‘ succeeded
exadb1: CRS-2673: Attempting to stop ‘ora.asm‘ on ‘exadb1‘
exadb1: CRS-2677: Stop of ‘ora.asm‘ on ‘exadb1‘ succeeded
exadb1: CRS-2673: Attempting to stop ‘ora.ons‘ on ‘exadb1‘
exadb1: CRS-2677: Stop of ‘ora.ons‘ on ‘exadb1‘ succeeded
exadb1: CRS-2673: Attempting to stop ‘ora.net1.network‘ on ‘exadb1‘
exadb1: CRS-2677: Stop of ‘ora.net1.network‘ on ‘exadb1‘ succeeded
exadb1: CRS-2792: Shutdown of Cluster Ready Services-managed resources on ‘exadb1‘ has completed
exadb1: CRS-2677: Stop of ‘ora.crsd‘ on ‘exadb1‘ succeeded
exadb1: CRS-2673: Attempting to stop ‘ora.drivers.acfs‘ on ‘exadb1‘
exadb1: CRS-2673: Attempting to stop ‘ora.ctssd‘ on ‘exadb1‘
exadb1: CRS-2673: Attempting to stop ‘ora.evmd‘ on ‘exadb1‘
exadb1: CRS-2673: Attempting to stop ‘ora.asm‘ on ‘exadb1‘
exadb1: CRS-2673: Attempting to stop ‘ora.mdnsd‘ on ‘exadb1‘
exadb1: CRS-2677: Stop of ‘ora.evmd‘ on ‘exadb1‘ succeeded
exadb1: CRS-2677: Stop of ‘ora.mdnsd‘ on ‘exadb1‘ succeeded
exadb1: CRS-2677: Stop of ‘ora.ctssd‘ on ‘exadb1‘ succeeded
exadb1: CRS-2677: Stop of ‘ora.drivers.acfs‘ on ‘exadb1‘ succeeded
exadb1: CRS-2677: Stop of ‘ora.asm‘ on ‘exadb1‘ succeeded
exadb1: CRS-2673: Attempting to stop ‘ora.cluster_interconnect.haip‘ on ‘exadb1‘
exadb1: CRS-2677: Stop of ‘ora.cluster_interconnect.haip‘ on ‘exadb1‘ succeeded
exadb1: CRS-2673: Attempting to stop ‘ora.cssd‘ on ‘exadb1‘
exadb1: CRS-2677: Stop of ‘ora.cssd‘ on ‘exadb1‘ succeeded
exadb1: CRS-2673: Attempting to stop ‘ora.diskmon‘ on ‘exadb1‘
exadb1: CRS-2673: Attempting to stop ‘ora.crf‘ on ‘exadb1‘
exadb1: CRS-2677: Stop of ‘ora.crf‘ on ‘exadb1‘ succeeded
exadb1: CRS-2673: Attempting to stop ‘ora.gipcd‘ on ‘exadb1‘
exadb1: CRS-2677: Stop of ‘ora.diskmon‘ on ‘exadb1‘ succeeded
exadb1: CRS-2677: Stop of ‘ora.gipcd‘ on ‘exadb1‘ succeeded
exadb1: CRS-2673: Attempting to stop ‘ora.gpnpd‘ on ‘exadb1‘
exadb1: CRS-2677: Stop of ‘ora.gpnpd‘ on ‘exadb1‘ succeeded
exadb1: CRS-2793: Shutdown of Oracle High Availability Services-managed resources on ‘exadb1‘ has completed
exadb1: CRS-4133: Oracle High Availability Services has been stopped.
exadb2: CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on ‘exadb2‘
exadb2: CRS-2673: Attempting to stop ‘ora.crsd‘ on ‘exadb2‘
exadb2: CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on ‘exadb2‘
exadb2: CRS-2673: Attempting to stop ‘ora.registry.acfs‘ on ‘exadb2‘
exadb2: CRS-2673: Attempting to stop ‘ora.mfy.db‘ on ‘exadb2‘
exadb2: CRS-2673: Attempting to stop ‘ora.LISTENER.lsnr‘ on ‘exadb2‘
exadb2: CRS-2677: Stop of ‘ora.LISTENER.lsnr‘ on ‘exadb2‘ succeeded
exadb2: CRS-2673: Attempting to stop ‘ora.exadb2.vip‘ on ‘exadb2‘
exadb2: CRS-2677: Stop of ‘ora.registry.acfs‘ on ‘exadb2‘ succeeded
exadb2: CRS-2677: Stop of ‘ora.exadb2.vip‘ on ‘exadb2‘ succeeded
exadb2: CRS-2677: Stop of ‘ora.mfy.db‘ on ‘exadb2‘ succeeded
exadb2: CRS-2673: Attempting to stop ‘ora.DATA.dg‘ on ‘exadb2‘
exadb2: CRS-2673: Attempting to stop ‘ora.RECO.dg‘ on ‘exadb2‘
exadb2: CRS-2677: Stop of ‘ora.RECO.dg‘ on ‘exadb2‘ succeeded
exadb2: CRS-2677: Stop of ‘ora.DATA.dg‘ on ‘exadb2‘ succeeded
exadb2: CRS-2673: Attempting to stop ‘ora.asm‘ on ‘exadb2‘
exadb2: CRS-2677: Stop of ‘ora.asm‘ on ‘exadb2‘ succeeded
exadb2: CRS-2673: Attempting to stop ‘ora.ons‘ on ‘exadb2‘
exadb2: CRS-2677: Stop of ‘ora.ons‘ on ‘exadb2‘ succeeded
exadb2: CRS-2673: Attempting to stop ‘ora.net1.network‘ on ‘exadb2‘
exadb2: CRS-2677: Stop of ‘ora.net1.network‘ on ‘exadb2‘ succeeded
exadb2: CRS-2792: Shutdown of Cluster Ready Services-managed resources on ‘exadb2‘ has completed
exadb2: CRS-2677: Stop of ‘ora.crsd‘ on ‘exadb2‘ succeeded
exadb2: CRS-2673: Attempting to stop ‘ora.ctssd‘ on ‘exadb2‘
exadb2: CRS-2673: Attempting to stop ‘ora.evmd‘ on ‘exadb2‘
exadb2: CRS-2673: Attempting to stop ‘ora.asm‘ on ‘exadb2‘
exadb2: CRS-2673: Attempting to stop ‘ora.drivers.acfs‘ on ‘exadb2‘
exadb2: CRS-2673: Attempting to stop ‘ora.mdnsd‘ on ‘exadb2‘
exadb2: CRS-2677: Stop of ‘ora.evmd‘ on ‘exadb2‘ succeeded
exadb2: CRS-2677: Stop of ‘ora.mdnsd‘ on ‘exadb2‘ succeeded
exadb2: CRS-2677: Stop of ‘ora.ctssd‘ on ‘exadb2‘ succeeded
exadb2: CRS-2677: Stop of ‘ora.asm‘ on ‘exadb2‘ succeeded
exadb2: CRS-2673: Attempting to stop ‘ora.cluster_interconnect.haip‘ on ‘exadb2‘
exadb2: CRS-2677: Stop of ‘ora.cluster_interconnect.haip‘ on ‘exadb2‘ succeeded
exadb2: CRS-2673: Attempting to stop ‘ora.cssd‘ on ‘exadb2‘
exadb2: CRS-2677: Stop of ‘ora.drivers.acfs‘ on ‘exadb2‘ succeeded
exadb2: CRS-2677: Stop of ‘ora.cssd‘ on ‘exadb2‘ succeeded
exadb2: CRS-2673: Attempting to stop ‘ora.diskmon‘ on ‘exadb2‘
exadb2: CRS-2673: Attempting to stop ‘ora.crf‘ on ‘exadb2‘
exadb2: CRS-2677: Stop of ‘ora.crf‘ on ‘exadb2‘ succeeded
exadb2: CRS-2673: Attempting to stop ‘ora.gipcd‘ on ‘exadb2‘
exadb2: CRS-2677: Stop of ‘ora.diskmon‘ on ‘exadb2‘ succeeded
exadb2: CRS-2677: Stop of ‘ora.gipcd‘ on ‘exadb2‘ succeeded
exadb2: CRS-2673: Attempting to stop ‘ora.gpnpd‘ on ‘exadb2‘
exadb2: CRS-2677: Stop of ‘ora.gpnpd‘ on ‘exadb2‘ succeeded
exadb2: CRS-2793: Shutdown of Oracle High Availability Services-managed resources on ‘exadb2‘ has completed
exadb2: CRS-4133: Oracle High Availability Services has been stopped.
[[email protected] exatest]#

检查db节点上是否还存在集群进程
[[email protected] exatest]# dcli -g dbs_group -l root "ps -ef | grep diskmo[n]"

检查cell自动报警通知
[[email protected] exatest]# dcli -g cell_group -l root "su - celladmin -c \"cellcli -e list cell attributes name,notificationMethod\""
cell1: cell1
cell2: cell2
cell3: cell3
[[email protected] exatest]#
[[email protected] exatest]#
[[email protected] exatest]#

禁用Cell报警通知
[[email protected] exatest]# dcli -g cell_group -l root "su - celladmin -c \"cellcli -e alter cell notificationMethod=none\""
cell1: Cell cell1 successfully altered
cell2: Cell cell2 successfully altered
cell3: Cell cell3 successfully altered
[[email protected] exatest]#
[[email protected] exatest]#
[[email protected] exatest]#

关闭Cell服务
[[email protected] exatest]# dcli -g cell_group -l root "su - celladmin -c \"cellcli -e alter cell shutdown services all \""
cell1:
cell1: Stopping the RS, CELLSRV, and MS services...
cell1: The SHUTDOWN of services was successful.
cell2:
cell2: Stopping the RS, CELLSRV, and MS services...
cell2: The SHUTDOWN of services was successful.
cell3:
cell3: Stopping the RS, CELLSRV, and MS services...
cell3: The SHUTDOWN of services was successful.
[[email protected] exatest]#
[[email protected] exatest]#
[[email protected] exatest]#
[[email protected] exatest]#

cell关机
[[email protected] exatest]# dcli -g cell_group -l root poweroff

db关机
[[email protected] exatest]# dcli -g dbs_group -l root poweroff          
[[email protected] exatest]#
[[email protected] exatest]#
[[email protected] exatest]#

参考Oracle Note ID 1093890.1

Steps To Shutdown/Startup The Exadata & RDBMS Services and Cell/Compute Nodes On An Exadata Configuration. (文档 ID 1093890.1)

时间: 2024-12-23 15:43:00

Oracle Exadata 一体机关机过程(虚拟机环境)的相关文章

Oracle Exadata一体机与云计算应用(一)

1. Exadata 1.1 Oracle 云计算简介 随着云计算基础架构的不断成熟,越来越多的企业开始关注云计算的实施,加速部署云计算解决方案,将其IT应用及数据资源迁移到云环境之中.而对于"云"的潜在用户而言,他们最关心的莫过于"云"将如何落地,一个集软件和硬件资源于一体的方案则成为云计算落地的关键因素. Oracle现在可以为用户提供全套的从Saas到Iaas的解决方案.Oracle的产品线已扩展至从应用一直到存储.磁盘.芯片的一个完整的链条.Oracle一直

Oracle Exadata一体机与云计算应用(三)

4. Oracle云解决方案 4.1 Oracle云计算 云计算是过去几年中一直在推动企业数据中心及服务供应商发展的各种技术趋势的发展与融合,这些技术趋势包括网格计算.集群.虚拟化.SOA 共享服务以及大规模管理自动化等等.伴随数千客户的成功和高水平的投资,Oracle 在这些领域已经处于领先地位.如今,Oracle 技术为云注入了强大动力,已成为世界上众多公有云和私有云的基础. Oracle 的战略是,提供一系列广泛的软件和硬件产品和服务来支持公有云.私有云和混合云,帮助客户选择适合于自身的云

Windows环境下在Oracle VM VirtualBOX下克隆虚拟机镜像(克隆和导入)

Windows环境下在Oracle VM VirtualBOX下克隆虚拟机镜像: 注:直接复制一个.vdi 虚拟硬盘再挂上去就可以,但Virtualbox居然提示UUID重复,无法使用. 则,可以通过Vritualbox自带的一个命令行工具解决,UI上没有提供对应的解决方案 : 注:克隆镜像及导入镜像生成虚拟机 1.定位到Vritualbox的安装目录,不能用全路径的方式直接执行该命令行(shift+鼠标左键:->在此处打开命令行(W)) 2.执行VBoxManage.exe clonevdi

CENTOS6.4上KVM虚拟机环境搭建

关键词: KVM,虚拟机,windows7, VNC, 桥接网络,br0, SCSI, IDE 环境: host: CENTOS6.4 guest: windows 7 sp1 主要步骤: 安装软件包 配置桥接网络 配置VNC 安装虚拟机 1.安装软件包 yum install qemu-kvm yum install libvirt   yum install libvirt-python 其实CENTOS6.4上已经安装了这三个软件包,不用再装了. rpm -qa | grep qumu-k

vsan存储服务器非正常关机导致虚拟机故障解决方法

Vsan是一种以vSphere内核为基础进行开发.可扩展的分布式存储架构,Vsan通过在vSphere集群主机当中安装闪存和硬盘来构建vsan存储层,这些设备由vsan进行控制和管理,vsan形成一个供vSphere集群使用的统一共享存储层.vSphere提供了HA功能,保证单台主机故障后业务可以在其他的主机上运行,同一个虚拟机的同一份数据,必须保存在不同主机上,也允许有主机故障.但是如果多台主机同时故障的话,就会导致整个vsan存储崩溃,一般突然断电或者非正常关机就会导致虚拟机故障,下面就是非

Wmware快速复制虚拟机环境

目的: 准备5台虚拟机centos7,并安装docker,设置IP地址并联网 192.168.2.10 192.168.2.11 192.168.2.12 192.168.2.13 192.168.2.14 192.168.2.15 准备工作: 虚拟机软件:wmware 8.5.8 操作系统:centos 7.3.1611 (采用mini安装,安装好的镜像1.5G大小左右) 操作步骤: Step 1. wmware安装centos(wmware网络选择桥接模式),具体步骤按照向导next,nex

Oracle 11g RAC搭建(VMware环境)

Oracle 11g RAC搭建(VMware环境) Oracle 11g RAC搭建VMware环境 安装环境与网络规划 安装环境 网络规划 环境配置 通过SecureCRT建立命令行连接 关闭防火墙 创建必要的用户组和目录并授权 节点配置检查 系统文件设置 配置IP和hostshostname 配置grid和oracle用户环境变量 配置oracle用户ssh互信 配置裸盘 配置grid用户ssh互信 挂载安装软件文件夹 安装用于Linux的cvuqdisk 手动运行cvu使用验证程序验证O

oracle 11g在安装过程中出现监听程序未启动或数据库服务未注册到该监听程序

15511477451 原文 oracle 11g在安装过程中出现监听程序未启动或数据库服务未注册到该监听程序? 环境:win7 64位系统.oracle11g数据库 问题描述:在win7 64位系统下安装oracle11g,在使用Database configuration Assistant创建数据库时,在创建到85%的时候报错.错误提示内容如下. 错误分析: 经过查看警告中给出的日志文件 F:\develop\oracle_data\app\Administrator\cfgtoollog

关机和虚拟机克隆、快照

关机和虚拟机克隆.快照 快照和克隆的区别就在于:快照只能在本虚拟机上使用(当前快照的虚拟机上使用),但是克隆不一样,克隆不仅可以在本机上使用,也可以发送给其他人使用.但是有利就有弊:弊处就是比快照占内存. 建议一天快照一回,克隆看需求(尤其是配置环境的时候一定要快照或者克隆,要不一点配置错误虚拟机就炸了 还需要从0开始建虚拟机,浪费大量的时间) 克隆或者快照的时候一定要关机:以下是linux关机,重启指令(3种).   关机:(1)halt(停止) (2)init 0   (3)shutdown