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

  • 相关阅读:
    vue中的Data为什么必须是一个函数
    单页面应用的优缺点
    数组去重
    mvvm框架
    前端计算精确度问题处理JS
    shell 修改json配置。
    ubuntu 两个文件夹合并
    fdisk、df与du的区别
    新买移动磁盘,使用前需要什么操作?
    Springboot+MybatisPlust+ControllerAdvice ;Mybatis_Plus多数据源,controller统一异常返回
  • 原文地址:https://www.cnblogs.com/nazeebodan/p/3973663.html
Copyright © 2011-2022 走看看