精华内容
下载资源
问答
  • asmca命令行

    千次阅读 2014-05-26 14:29:47
    asmca [-silent] [-sysAsmPassword  user password>] [-asmsnmpPassword  monitor password>] { } Please refer to the manual for details. You can enter one of the following commands:
     
    

    asmca [-silent] [-sysAsmPassword <SYS user password>] [-asmsnmpPassword <ASM monitor password>] {<command> <options>}

    Please refer to the manual for details. You can enter one of the following commands:

    1. Configure an ASM instance by specifying the following command and parameters:

      -configureASM
              [-sysAsmPassword <SYS user password>]
              [-asmsnmpPassword <ASM monitor password>]
              [(-param <paramname=paramvalue>)]
              -diskString <disk discovery path>
              (-diskGroupName <disk group name>
                      (-disk <disk path> [-diskName <disk name>] |
                       -diskList <comma separated disk list>
                              [-diskSize <disk size in MB>] 
                              [-failuregroup <failure group name>] 
                              [-force|-noforce] 
                              [-quorum|-noquorum])
                      [-redundancy <HIGH|NORMAL|EXTERNAL>]
                      [-au_size <2^0 ~ 2^6 (1 ~ 64)>]
                      [-compatible.asm <10.1 ~ 11.2>]
                      [-compatible.rdbms <10.1 ~ 11.2>]
                      [-compatible.advm <11.2>])
      
    2. Upgrade an existing ASM instance by specifying the following command and parameters:

      -upgradeASM
              [-asmsnmpPassword <ASM monitor password>]
      
    3. Configure ASM parameters by specifying the following command and parameters:

      -configureParameter
              (-param <paramname=paramvalue>)
              [-sysAsmPassword <SYS user password>]
      
    4. Create Disk Groups by specifying the following command and parameters:

      -createDiskGroup
              [-diskString <disk discovery path>]
              (-diskGroupName <disk group name>
                      (-disk <disk path> [-diskName <disk name>] |
                       -diskList <comma separated disk list>
                              [-diskSize <disk size in MB>] 
                              [-failuregroup <failure group name>] 
                              [-force|-noforce] 
                              [-quorum|-noquorum])
                      [-redundancy <HIGH|NORMAL|EXTERNAL>]
                      [-au_size <2^0 ~ 2^6 (1 ~ 64)>]
                      [-compatible.asm <10.1 ~ 11.2>]
                      [-compatible.rdbms <10.1 ~ 11.2>]
                      [-compatible.advm <11.2>])
              [-sysAsmPassword <SYS user password>]
      
    5. Add disks to Disk Groups by specifying the following command and parameters:

      -addDisk
              [-diskString <disk discovery path>]
              (-diskGroupName <disk group name>
                      (-disk <disk path> [-diskName <disk name>] |
                       -diskList <comma separated disk list>
                              [-diskSize <disk size in MB>] 
                              [-failuregroup <failure group name>] 
                              [-force|-noforce] 
                              [-quorum|-noquorum])
              [-sysAsmPassword <SYS user password>]
      
    6. Create volumes by specifying the following command and parameters:

      -createVolume
              (-volumeName <ASM volume name>
              -volumeDiskGroup <ASM disk group name for the volume>
              -volumeSizeGB <ASM volume size in GB>
              [-volumeRedundancy <INHERIT|HIGH|NORMAL|EXTERNAL>])
              [-sysAsmPassword <SYS user password>]
      
    7. Create ASM Cluster File Systems by specifying the following command and parameters:

      -createACFS
              (-acfsVolumeDevice <ASM volume device>)
              [-sysAsmPassword <SYS user password>]
      
    8. Delete ASM instance(s) by specifying the following command and parameters:

      -deleteASM
              [-force]
              [-dropDiskGroups]
              [-sysAsmPassword <SYS user password>]
    展开全文
  • 在自己电脑上安装Xmanager 6 并且开启程序:Xmanager - Passive 登陆到OracleGrid用户 # su - oragrid 将输出导向 export DISPLAY=自己的IP:0.0 开启asmca $asmca

    在自己电脑上安装Xmanager 6

    并且开启程序:Xmanager - Passive

     

    登陆到OracleGrid用户

     

    # su - oragrid

    将输出导向

    export DISPLAY=自己的IP:0.0

    开启asmca

    $ asmca

     

    展开全文
  • 注意,创建磁盘组时需要以grid用户身份执行,在那之前可能需要以root身份执行xhost+,即命令: ...[grid@sgdb1 ~]$ asmca 图1执行asmca 创建磁盘组 可以看到,ASM...
    注意,创建磁盘组时需要以 grid 用户身份执行,在那之前可能需要以 root 身份执行 xhost+ ,即命令:
    代码 1
    [root@sgdb1~]# xhost+
    [root@sgdb1~]# su – grid
    [grid@sgdb1 ~]$ asmca

     

    1   执行 asmca
        1. 创建磁盘组
    可以看到, ASM 中已经存在了一个 OCR 磁盘组,现在要给数据库创建 DATA 磁盘组,选择【 Disk Groups 】选项卡,点击左下角【 Create

     

    2        创建磁盘组
        1. 磁盘组选项
    磁盘组名: BJ_SGDB_DATA
    冗余选择: external 冗余
    磁盘选中: /dev/asm-data1 /dev/asm-data2
    点击【 OK

     

    50        磁盘组选项
        1. 创建完毕
    如下图,表示磁盘组创建完毕

     

    51        磁盘组创建完毕
            现在可以看到, Grid 管理的两个磁盘组:
    BJ_SGDB_DATA BJ_SGDB_OCR
    并且需要点击左下角【 Mount All 】,使得两个节点均 mount 上该磁盘组,注意右侧的状态应当为【 Mounted 2 of 2 )】

     

    52        磁盘组
            点击【 Exit 】退出

    转载于:https://www.cnblogs.com/wuwanyu/p/8276069.html

    展开全文
  • asmca无法创建ASM磁盘

    2015-09-10 16:22:00
    grid用户使用asmca无法创建asm磁盘,如下图 分析 如图所示,报错说是 Grid Infrastructure 出了问题。那么 Grid Infrastructure 是什么 ? 在安装 Grid 时,会执行一个脚本 /u01/app/11.2.0/grid/root.sh ,...

    现象

    grid用户使用asmca无法创建asm磁盘,如下图

    clipboard

     

    分析

    如图所示,报错说是 Grid Infrastructure 出了问题。那么 Grid Infrastructure 是什么 ?

    在安装 Grid 时,会执行一个脚本 /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.
    
    
    Creating /etc/oratab file...
    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.
    Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
    Creating trace directory
    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 data successfully pinned.
    Adding Clusterware entries to upstart
    
    data     2015/09/10 16:06:10     /u01/app/11.2.0/grid/cdata/data/backup_20150910_160610.olr
    Successfully configured Oracle Grid Infrastructure for a Standalone Server

     

     

    注意最后一句,Grid Infrastructure 配置成功。该脚本所配置的内容就是 Grid Infrastructure 。该部分出问题时,该脚本都会给出提示,比如,

    如果“Adding Clusterware entries to upstart”没有启动成功,那么脚本就会给出以下提示

    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.
    
     

     

    意思是如果安装步骤没有问题,只是启动由于某种原因没有成功时,

    单机可以执行 /u01/app/11.2.0/grid/crs/install/roothas.pl

    集群可以执行 /u01/app/11.2.0/grid/crs/config/config.sh

    以启动服务

     

    解决方法

    1. 检查确认安装过程是否正确

    2. 检查集群服务是否正常启动,如果没有

        单机执行 /u01/app/11.2.0/grid/crs/install/roothas.pl

        集群执行 /u01/app/11.2.0/grid/crs/config/config.sh

        以启动服务

    转载于:https://www.cnblogs.com/perfei/p/4798286.html

    展开全文
  • 安装完grid软件后无法启动ASMCA来配置ASM磁盘,导致后续数据安装配置无法完成,我的实验环境是VMware-workstation-full-10.0.2-1744117、oracle linux 6.5 x86-64,两台节点确认已正确配置好IP地址、HOSTS、安装好所...
  • ORACLE之RAC搭建过程16-asmca创建磁盘组-数据和FRA 为数据和快速恢复区创建 ASM 磁盘组 以 grid 用户身份仅在集群中的一个节点 (racnode1) 上运行 ASM Configuration Assistant (asmca) 以创建其他的 ASM 磁盘组,...
  • 大周末早上起来在虚拟机上安装一套12.2的单实例ASM数据库,准备给大家讲课用的,因为第一次搭建12.2单实例ASM的环境,遇到了一点小问题。12.1和12.2安装还是有区别,...2、报错信息在安装GI的时候,asmca都出现了报...
  • 因为要添加一个新的13T磁盘组,所以决定通过asmca处理。 结果输入asmca之后,没有反应,前后两天都是如此。 第三天,IBM的存储工程师已经把心的MPIO挂上,如果还无法操作,只能使用asmcmd,但这个东西不熟悉。 ...
  • 11G RAC安装时,GI已经安装完成,各服务状态正常,运行ASMCA时出错(ASM实例状态都是正常的)。 提示是:ASMCA detected pre 11gR2 ASM, but it does not have a local instance configure on this node;具体信息看...
  • asmca - 11g

    千次阅读 2021-04-19 17:33:42
    asmca ASM Instance Disk Groups Volumes ASM Cluster File Systems ASM Instance Disk Groups Volumes ASM Cluster File Systems
  • APPLIES TO:Oracle Database - Enterprise Edition - Version 12.1.0.2 to 12.1.0.2 [Release 12.1] Information in this document applies to any platform. ...Bug 20539706 : ASMCA SETS ASM_DISKSTRING INCORR
  • 问题描述执行 asmca 命令后,没弹出窗口,而是提示 No protocol specified [grid@rac1 grid]$ asmca No protocol specified 分析linux 终端启动图形化程序界面时报错:No protocol specified这是因为Xserver默认情况...
  • Redhat 5.5 上安装11.2.0.3 Grid Infrastructure 的时候,安装的时候选择的是“ Install Grid ...安装完之后,使用asmca配置 (或者: asmca -silent -configureASM -sysAsmPassword oracle -asmsnmpPassword oracle -
  • asmca - 19c- ACFS

    2021-08-31 18:04:35
  • asmca看不到acfs

    2021-05-30 14:24:05
    [oracle@oracle1 ~]$lsmod |grep oracle [oracle@oracle1 ~]$acfsdriverstate -orahome $ORACLE_HOME supported ACFS-9459: ADVM/ACFS is not supported on this OS version: 'centos-release-7-9.2009.0.el7.centos...
  • How to use ASMCA in silent mode to configure ASM for a stand-alone server [ID 1068788.1] --------------...
  • asmca输出到图形界面

    千次阅读 2019-01-10 15:07:24
    [grid@otmdb1 ~]$ asmca 图形界面显示出来。 Tips: 1.DISPLAY 是 Linux/Unix 类操作系统中的环境变量,用来设置将图形显示到何处。  也许你会问,图形界面不就显示到设备的屏幕上吗,为什么还要指定?...
  • Oracle Server - Enterprise Edition - Version: 11.2.0.0 and later[Release: 11.2 and later ] ... Oracle ASM Configuration Assistant (ASMCA) can be used in silent command-line mode. ASMCA supports onl...
  • ASMCA fails to create 11.2 ASM instance when upgrading from 10.2 [ID 1125053.1] 修改...
  • 新建磁盘组 原创 2017-10-23 Oracle 宅必备 这个专题讲ASM相关的...使用asmca图形化新建磁盘组 我们也可以通过asmca命令图形化新建磁盘组,通过grid用户运行 asmca 好了,这节讲了如何新建磁盘组,下节是alter磁盘组
  • 使用asmca无法启动图形界面

    千次阅读 2015-11-02 16:49:30
    一、报错信息如下:Xlib: connection to ":0.0" refused by serverXlib: No protocol specified二、解决方法1、使用root用户登录2、执行以下命令xhost +local:grid 转载于:...
  • How to use ASMCA in silent mode to configure ASM for a stand-alone server [ID 1068788.1] --------------------------------------------------------------------------------    修改时间 05-OCT-2011

空空如也

空空如也

1 2 3 4 5 ... 20
收藏数 1,773
精华内容 709
关键字:

asmca