How to use ASMCA in silent mode to configure ASM for a stand-alone server [ID 1068788.1]
2012-04-18 15:24
976 查看
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
--------------------------------------------------------------------------------
修改时间 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
相关文章推荐
- How to configure XDB for using ftp and http protocols with ASM [ID 357714.1]
- Linux: How to Configure the DNS Server for 11gR2 SCAN [ID 1107295.1]
- How to Collect Errorstacks for use in Diagnosing Performance Issues. (文档 ID 1364257.1)
- How to use Wise SetupCapture in the Wise Packager for Deployment Server to create an MSI
- How to create an OCM Response file to apply patch in silent mode - opatch silent (Doc ID 966023.1)
- How to use binary mode for stdin/stdout in VC
- (转)How to use udev for Oracle ASM in Oracle Linux 6
- How to use udev for Oracle ASM in Oracle Linux 6 怎样使用udev在linux 6系统上使用asm
- How to use udev for Oracle ASM in Oracle Linux 5
- How to use udev for Oracle ASM in Oracle Linux 6
- How to configure XDB for using ftp and http protocols with ASM [ID 357714.1]
- How To Trace The Remote File Server (RFS) Process In Physical Standby Database (Doc ID 1481125.1)
- Linux: How to Configure the DNS Server for 11gR2 SCAN (Doc ID 1107295.1)
- how to use a SQLite database in a standalone program with an HTML interface and VBScript as the programming language
- 关于Generating user instances in SQL Server is disabled. Use sp_configure 'user instances enabled' to generate user instances的错误
- How To Use Dynamic Sql in Sql Server ?
- How to configure samba server in Linux Print
- How to build an OLE DB application for SQL Server CE in Visual Studio 2005
- how to fix "Cannot find a valid baseurl for repo: poptop-stable/7" in centos 7 *64 when use "yum -y
- 解决 PHP Interpreter is not configured Please configure PHP Interpreter to use built-in web server