您的位置:首页 > 运维架构 > 网站架构

restartDB高可用验证

2015-11-10 21:32 417 查看
今天安装了一套restartDB,验证一下高可用。模拟监听意外挂掉:[root@restart ~]# ps -ef | grep LISTENER |grep -v grepgrid 2043 1 0 20:47 ? 00:00:00 /u01/app/grid/product/11.2.0/grid/bin/tnslsnr LISTENER -inherit[root@restart ~]# kill -9 2043[root@restart ~]# ps -ef | grep LISTENER |grep -v grepgrid 2551 1 1 21:01 ? 00:00:00 /u01/app/grid/product/11.2.0/grid/bin/tnslsnr LISTENER -inherit
接下来,干掉几个数据库重要进程试试:[root@restart ~]# ps -ef | grep ora_smon_restart | grep -v greporacle    2268     1  0 20:47 ?        00:00:00 ora_smon_restart[root@restart ~]# kill -9 2268[root@restart ~]# ps -ef | grep ora_smon_restart | grep -v grep[root@restart ~]# ps -ef | grep ora_smon_restart | grep -v greporacle    2788     1  0 21:23 ?        00:00:00 ora_smon_restart
[root@restart ~]# ps -ef | grep ora_ckpt_restart | grep -v greporacle    2786     1  0 21:23 ?        00:00:00 ora_ckpt_restart[root@restart ~]# kill -9 2786[root@restart ~]# ps -ef | grep ora_ckpt_restart | grep -v grep[root@restart ~]# ps -ef | grep ora_ckpt_restart | grep -v greporacle    2959     1  0 21:29 ?        00:00:00 ora_ckpt_restart
果然高可用。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: