ITPub博客

首页 > Linux操作系统 > Linux操作系统 > How to use ASMCA in silent mode to configure ASM

How to use ASMCA in silent mode to configure ASM

原创 Linux操作系统 作者:wuweilong 时间:2012-04-18 15:26:57 0 删除 编辑
 
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

 

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/20674423/viewspace-721539/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
Oracle ACE Associate; 12cOCM;11gOCM;MySQL OCP;PGCA;PGCE;KCA; KCP; 本人拥有十年以上运营商,广电传媒,能源,制造等行业DBA从业经验; 有着丰富的管理及运维经验,经历过国家级重点项目,省级标杆项目,新型试点项目

注册时间:2010-01-08

  • 博文量
    779
  • 访问量
    4930548