zoukankan      html  css  js  c++  java
  • 11g添加asm

    1.创建组

    2.创建grid用户

    3.用grid安装Gride Infrastructure软件

    4.执行root.sh
    [root@ora11g softdb]# /u01/app/11.2.0/grid/root.sh
    Performing root user operation for Oracle 11g

    The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME= /u01/app/11.2.0/grid

    Enter the full pathname of the local bin directory: [/usr/local/bin]:
    The contents of "dbhome" have not changed. No need to overwrite.
    The contents of "oraenv" have not changed. No need to overwrite.
    The contents of "coraenv" have not changed. No need to overwrite.

    Entries will be added to the /etc/oratab file as needed by
    Database Configuration Assistant when a database is created
    Finished running generic part of root script.
    Now product-specific root actions will be performed.

    To configure Grid Infrastructure for a Stand-Alone Server run the following command as the root user:
    /u01/app/11.2.0/grid/perl/bin/perl -I/u01/app/11.2.0/grid/perl/lib -I/u01/app/11.2.0/grid/crs/install /u01/app/11.2.0/grid/crs/install/roothas.pl


    To configure Grid Infrastructure for a Cluster execute the following command:
    /u01/app/11.2.0/grid/crs/config/config.sh
    This command launches the Grid Infrastructure Configuration Wizard. The wizard also supports silent operation, and the parameters can be passed through the response file that is available in the installation media.

    再根据上面的提示来执行脚本
    [root@ora11g softdb]# /u01/app/11.2.0/grid/perl/bin/perl -I/u01/app/11.2.0/grid/perl/lib -I/u01/app/11.2.0/grid/crs/install /u01/app/11.2.0/grid/crs/install/roothas.pl
    Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
    Creating trace directory
    User ignored Prerequisites during installation
    LOCAL ADD MODE
    Creating OCR keys for user 'grid', privgrp 'oinstall'..
    Operation successful.
    LOCAL ONLY MODE
    Successfully accumulated necessary OCR keys.
    Creating OCR keys for user 'root', privgrp 'root'..
    Operation successful.
    CRS-4664: Node ora11g successfully pinned.
    Adding Clusterware entries to inittab

    ora11g 2014/07/10 12:09:13 /u01/app/11.2.0/grid/cdata/ora11g/backup_20140710_120913.olr
    Successfully configured Oracle Grid Infrastructure for a Standalone Server
    [root@ora11g softdb]#

    5.asmca再来创建asm实例,创建的时候记得把盘选上
    [root@ora11g softdb]# ps -ef | grep pmon
    root 8960 4400 0 12:12 pts/2 00:00:00 grep pmon
    [root@ora11g softdb]# ps -ef | grep pmon
    grid 9341 1 0 12:14 ? 00:00:00 asm_pmon_+ASM
    root 9446 4400 0 12:15 pts/2 00:00:00 grep pmon

  • 相关阅读:
    springCloud学习总览
    leetcode Q46.把数字翻译成字符串
    手把手教你用redis实现一个简单的mq消息队列(java)
    主流排序算法全面解析
    从零开始react实战:云书签(总览)
    从零开始react实战:云书签-1 react环境搭建
    springboot整合elasticsearch7.2(基于官方high level client)
    你知道如何在小程序中推送模板消息?
    最新ubuntu搭建公网个人邮件服务器(基于postfix,dovecot,mysql)
    手把手docker部署java应用(初级篇)
  • 原文地址:https://www.cnblogs.com/nazeebodan/p/3973663.html
Copyright © 2011-2022 走看看