How to use ASMCA in silent mode to configure ASM for a stand-alone server [ID 1068788.1]

 

How to use ASMCA in silent mode to configure ASM for a stand-alone server [ID 1068788.1]

--------------------------------------------------------------------------------
 
  修改时间 05-OCT-2011     类型 HOWTO     状态 PUBLISHED  

In this Document
  Goal
  Solution

 

--------------------------------------------------------------------------------

 

Applies to:
Oracle Server - Enterprise Edition - Version: 11.2.0.1.0 and later   [Release: 11.2 and later ]
Information in this document applies to any platform.

Goal
Oracle ASM Configuration Assistant (ASMCA) was introduced in Oracle ASM version 11.2. ASMCA supports installing and configuring Oracle ASM instances, disk groups, volumes, and Oracle ASM cluster file systems (Oracle ACFS). ASMCA can be used interactively, in
both GUI and command-line modes, or non interactively in silent command-line mode.

This article demonstrates the use of ASMCA in silent mode, to configure ASM with ASMLIB disks, on Linux and in Oracle Restart (single instance) setup.

Solution
Before configuring ASM, perform the following tasks:
- Prepare disks to be used for ASM and present them to the OS;
- Setup ASMLIB and create ASM disks;
- Install Oracle Grid Infrastructure - software only;
- Configure Grid Infrastructure install for a stand-alone server by running roothas.pl;

For details about completing those taks please see Oracle Grid Infrastructure Installation Guide 11g Release 2 (11.2) for Linux.

Configure ASM with a single disk group and use all ASMLIB disks. All commands are to be run from the Grid Infrastructure home, as the Grid Infrastructure owner.

1. Check for available ASM disks:

$ oracleasm listdisks
DISK1
DISK2
DISK3
DISK4

2. Configure ASM

$ asmca -silent -configureASM -sysAsmPassword sysPassw0rd -asmsnmpPassword asmsnmpPassw0rd -diskString 'ORCL:*' -diskGroupName DATA -disk 'ORCL:*' -redundancy EXTERNAL

3. On successful run, the above command should have returned:

ASM created and started successfully.
DiskGroup DATA created successfully.

And it should have performed the following:
- Start the cluster services daemon (process ocssd.bin);
- Start three agents (processes cssdagent, oraagent.bin and orarootagent.bin);
- Start the disk monitor (process diskmon.bin);
- Start the ASM instance, with instance name +ASM;
- Create the external redundancy disk group named DATA;
- Create ASM's own spfile in disk group DATA;

 

 相关内容

 

--------------------------------------------------------------------------------
产品
--------------------------------------------------------------------------------

•Oracle Database Products > Oracle Database > Oracle Database > Oracle Server - Enterprise Edition

关键字
--------------------------------------------------------------------------------
ASM; ASMCA; DISKGROUP; INSTALL; SILENT INSTALL

 

时间: 2024-07-30 00:54:03

How to use ASMCA in silent mode to configure ASM for a stand-alone server [ID 1068788.1]的相关文章

ASMCA fails to create 11.2 ASM instance when upgrading from 10.2 [ID 1125053.1]

ASMCA fails to create 11.2 ASM instance when upgrading from 10.2 [ID 1125053.1]   修改时间 20-DEC-2011     类型 PROBLEM     状态 PUBLISHED   In this Document  Symptoms   Cause   Solution Applies to: Oracle Server - Enterprise Edition - Version: 11.2.0.1.0 to

单实例ASM无法创建磁盘组问题处理

问题现象:         在单实例数据库上安装好了Oracle GridInfrastructure 11gR2用于standby数据库创建ASM使用,但是在通过grid用户登录执行ASMCA命令后出来Create ASM GUI界面,简单配置后执行create ASM 的过程中报错:Oracle Grid Infrastructure is not configured properly.ASMCA needOracle Grid Infrastructure to configure AS

【ASM】Oracle ASM + 11gR2 + RHEL6.5 安装

[ASM]Oracle ASM + 11gR2 + RHEL6.5 安装 1.1    简介     1.1.1    ASMLib     1.1.2    什么是 udev     1.1.3    Why ASMLIB and why not 1.2    在 RHEL 6.4 上安装 Oracle 11gR2 + ASM --使用udev 1.2.1    检查硬件     1.2.2    安装软件包检查     1.2.3    修改主机名     1.2.4    网络配置    

【安装】AIX安装单实例11gR2 GRID+DB

[安装]AIX安装单实例11gR2 GRID+DB   1.1  BLOG文档结构图       1.2  前言部分   1.2.1  导读和注意事项 各位技术爱好者,看完本文后,你可以掌握如下的技能,也可以学到一些其它你所不知道的知识,~O(∩_∩)O~: ① 基于aix安装11gR2的grid和db软件(重点) ② 静默安装     Tips:        ① 若文章代码格式有错乱,推荐使用QQ.搜狗或360浏览器,也可以下载pdf格式的文档来查看,pdf文档下载地址:http://yun

Oracle ASM+11gR2安装

[ASM]Oracle ASM + 11gR2 + RHEL6.5 安装 1.1    简介     1.1.1    ASMLib     1.1.2    什么是 udev     1.1.3    Why ASMLIB and why not 1.2    在 RHEL 6.4 上安装 Oracle 11gR2 + ASM --使用udev 1.2.1    检查硬件     1.2.2    安装软件包检查     1.2.3    修改主机名     1.2.4    网络配置    

mysqlsla 源码解析

知识结构 目的: 通过mysqlsla的源码分析,能够更加深入理解其内部实现机制 mysqlsla 主要分为三个大的packages,我们先大致了解一下package 都包含什么,都做什么 分析 main 函数,一步步了解主要流程 针对一条线进行分析,比如slow log 的解析 Packages (MySQL::Log::)ParseFilter 函数名 功能简介 get_meta_filter 获取meta fileter get_statement_filter 获取statement f

Master Note For Automatic Storage Management (ASM) For Operating System (OS) Administrators [ID 1345

In this Document  Purpose   Scope   Master Note For Automatic Storage Management (ASM) For Operating System (OS) Administrators      All Platforms      Linux x86-64      Solaris      HP-UX      IBM AIX      Microsoft Windows      IBM Linux on Z Appli

How to Convert a Single-Instance ASM to Cluster ASM [ID 452758.1]

How to Convert a Single-Instance ASM to Cluster ASM [ID 452758.1]   修改时间 31-JUL-2011     类型 HOWTO     状态 PUBLISHED   In this Document  Goal   Solution Applies to: Oracle Server - Enterprise Edition - Version: 10.2.0.1 to 11.1.0.6 - Release: 10.2 to 1

通过mysqladmin远程管理mysql的方法_Mysql

在本地安装mysql的服务端,打开cmd,cd到mysql安装目录下的bin目录,bin目录中可以看到多个可执行文件,其中mysqladmin就是可以用于远程关闭mysql服务的. mysqladmin的参数如下: mysqladmin Ver 8.42 Distrib 5.5.2-m2, for Win32 on ia32Copyright 2000-2008 MySQL AB, 2008 Sun Microsystems, Inc.This software comes with ABSOL