ASM Configuration Assistant (ASMCA) was introduced in ASM version 11.2. It is used to configure ASM instances, and to create and manage disk groups, volumes and ASM cluster file systems (ACFS). ASMCA can be used in GUI or command-line mode.
In this post I will show how to use the ASMCA – in a non-cluster environment – to create and start an ASM instance, create a disk group and start related/required services. I will use the ASMCA in a command line mode with the silent option.
Perform the Grid Infrastructure software only installation
You may want to do this with ASM job role separation option, in which case you should perform all steps as OS user grid. Otherwise, perform all steps as OS user oracle.
Set up the disks to be used by ASM
I used ASMLIB to create 4 disks for ASM, and I can see them as follows:
$ oracleasm listdisks
DISK1
DISK2
DISK3
DISK4
Configure ASM
Run the following command:
$ asmca -silent -configureASM -sysAsmPassword s3kr3t1 -asmsnmpPassword s3kr3t2 -diskString ‘ORCL:*’ -diskGroupName DATA -disk ‘ORCL:*’ -redundancy EXTERNAL
As I used ASMLIB disks, I specified ‘ORCL:*’ for ASM discovery string. Make sure you specify the correct value for your environment.
On a 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 synchronisation services daemon – ocssd.bin
- Start three agents – cssdagent, oraagent.bin and orarootagent.bin
- Start the disk monitor – diskmon.bin
- Create and start ASM instance +ASM
- Create the external redundancy disk group DATA
- Create ASM spfile in disk group DATA
I have also published this in MOS Doc ID 1068788.1.
Comment