Create ASM On Windows
Create ASM On Windows
1. If CSS service is not there, create it by executing the following bat file:
<orahome>\bin\localconfig add
INSTANCE_TYPE=ASM
_ASM_ALLOW_ONLY_RAW_DISKS = FALSE
DB_UNIQUE_NAME = +ASM
ASM_DISKSTRING ='C:\asmdisks\*'
LARGE_POOL_SIZE = 16M
BACKGROUND_DUMP_DEST =
'D:\oracle\admin\+ASM\bdump'
USER_DUMP_DEST = 'D:\oracle\admin\+ASM\udump'
CORE_DUMP_DEST = 'D:\oracle\admin\+ASM\cdump'
SET ORACLE_SID=+ASM
C:\> SQLPLUS / AS SYSDBA
SQL> STARTUP FORCE
SQL> SELECT PATH, MOUNT_STATUS FROM V$ASM_DISK;
Red Hat Enterprise Server 3 installed and patched to kernel version 2.4.21-15
4. With the basic libraries installed, you need to configure them so that they get re-loaded at
every server reboot:
6. After logging on as Oracle user now, under the $ORACLE _HOME/dbs directory, create the
file "init+ASM.ora" and type the following in it:
INSTANCE_TYPE = ASM
DB_UNIQUE_NAME = +ASM
LARGE_POOL_SIZE = 16M
ASM_DISKSTRING = 'ORCL:*'
[oracle@koala dbs]$ export ORACLE_SID=+ASM
[oracle@koala dbs]$ sqlplus / as sysdba
SQL> startup
SQL> select path from v$asm_disk;
When starting an ASM instance, you can use the STARTUP command with the NOMOUNT,
MOUNT, RESTRICT and FORCE options. You cannot use the STARTUP OPEN syntax.
If you either start up your ASM instance with the STARTUP RESTRICT command or issue the
ALTER SYSTEM ENABLE RESTRICTED SESSION command in a normal ASM instance,
Oracle database instances cannot connect to the ASM instance.
If you shut down an ASM instance, all Oracle databases currently connected to it will also shut
down.