• oracle10g 10.2.0.x clusterware 安装:杂记


    oracle 10g 的clusterware的确简单多了

    [root@node init.d]# ps -ef|grep d.bin
    grid      58476  58467  0 09:18 ?        00:00:00 /home/grid/oracle/product/10.2.0/crs/bin/evmd.bin
    root      58613  57983  3 09:18 ?        00:01:13 /home/grid/oracle/product/10.2.0/crs/bin/crsd.bin reboot
    root      58929  58622  0 09:18 pts/3    00:00:00 /home/grid/oracle/product/10.2.0/crs/bin/oprocd.bin run -t 1000 -m 500 -f
    grid      59004  58652  0 09:18 pts/3    00:00:06 /home/grid/oracle/product/10.2.0/crs/bin/ocssd.bin
    root      70465  16632  0 09:56 pts/3    00:00:00 grep --color=auto d.bin
    [root@node init.d]# ll 
    total 112
    -rw-r--r--. 1 root root 18281 Aug 19  2019 functions
    -r-xr-xr-x  1 root root  2570 Sep  8 09:16 init.crs
    -r-xr-xr-x  1 root root  5530 Sep  8 08:32 init.crsd
    -r-xr-xr-x  1 root root 55172 Sep  8 08:32 init.cssd
    -r-xr-xr-x  1 root root  3497 Sep  8 08:32 init.evmd
    -rwxr-xr-x. 1 root root  4569 Aug 19  2019 netconsole
    -rwxr-xr-x. 1 root root  7928 Aug 19  2019 network
    -rw-r--r--. 1 root root  1160 Mar 31 21:30 README
    [root@node init.d]# 

    如上图:基本的群集进程:

    crsd:cluster ready service deamon

    cssd:cluster sync service  deamon

    evmd:event  manager deamon

    ######################################

    在 centos6+以上的、或者其他非sysv init 的linux系统上,/etc/inittab无法被1号init进程调起,所以会出现下列问题:

    • root.sh等600秒,然后就没有然后了;
    • localconfig add,然后没有然后了;
    • 重启系统后,rac无法启动
    • ...

    要解决很简单,就是把/etc/inittab中的系统服务进程放到单独的可执行脚本内,手工执行;更彻底的,直接放到/etc/init.d/init.crs内,并配合合适的启动服务设置。

    as of:

    ##vi /etc/init.d/init.crs
    'start')
        CMD=`$BASENAME $0`
    
        # If we are being invoked by the user, perform manual startup.
        # If we are being invoked as an RC script, check for autostart.
        if [ "$CMD" = "init.crs" ] && [ "$PARENT_CMD" != "startpar" ]; then
              $LOGMSG "Oracle Cluster Ready Services starting by user request."
              $ID/init.cssd manualstart
        else 
              $ID/init.cssd autostart
        fi
    
    /etc/init.d/init.evmd run >/dev/null 2>&1&
    /etc/init.d/init.cssd fatal >/dev/null 2>&1&
    /etc/init.d/init.crsd run >/dev/null 2>&1&
    
    ;;
  • 相关阅读:
    Web移动端项目适配(适用于原生JavaScript,Vue,React等项目中)
    Vue——实现一键复制
    解决报错Uncaught (in promise) NavigationDuplicated {_name: "NavigationDuplicated", name: "NavigationDuplicated"}
    解决h5嵌入app后video标签poster不能显示视频第一帧(表现为空白)
    Vue——长按元素实现某种操作
    小程序生命周期
    解决 mpvue 项目使用 vant-weapp 组件库 Uploader 时其中的 after-read 方法回调函数调用不成功
    我的考场vimrc的配置
    ubuntu vim solarized vimrc配置
    HNOI 2015 亚瑟王 概率期望DP
  • 原文地址:https://www.cnblogs.com/jinzhenshui/p/13636064.html
Copyright © 2020-2023  润新知