Oracle Database 12c on Oracle Linux 6 – Step 16: Configure ASM and Create the 13 ASM Disks

Part of this series of posts: Oracle Database 12c on Oracle Linux 6

16-01

Type the following command and press Enter.

oracleasm configure -i

Type oracle at the Default user prompt and press Enter.
Type dba at the Default group prompt and press Enter.
Type y at the Start Oracle ASM library driver on boot prompt and press Enter.
Type y at the Scan for Oracle ASM disks on boot prompt and press Enter.

Note:

You don’t have to be in the Desktop directory to run the above command, it will work from anywhere.

16-02

Enter the following commands pressing Enter after each line.

oracleasm init
oracleasm createdisk ASMDISK01 /dev/sdb1
oracleasm createdisk ASMDISK02 /dev/sdc1
oracleasm createdisk ASMDISK03 /dev/sdd1
oracleasm createdisk ASMDISK04 /dev/sde1
oracleasm createdisk ASMDISK05 /dev/sdf1
oracleasm createdisk ASMDISK06 /dev/sdg1
oracleasm createdisk ASMDISK07 /dev/sdh1
oracleasm createdisk ASMDISK08 /dev/sdi1
oracleasm createdisk ASMDISK09 /dev/sdj1
oracleasm createdisk ASMDISK10 /dev/sdk1
oracleasm createdisk ASMDISK11 /dev/sdl1
oracleasm createdisk ASMDISK12 /dev/sdm1
oracleasm createdisk ASMDISK13 /dev/sdn1

Note:

The up arrow is your friend. After running each command use the up arrow and you can change the last letter and then use the arrow keys to move back to the disk name and change that too. You don’t have to move your cursor to the end of the line before you press Enter. The command will run no matter where your cursor is when you press Enter.
If you see any errors when entering the above commands, there’s a good chance you forgot to type oracleasm init before you created the disks.

Oracle Database 12c on Oracle Linux 6 – Step 15: Format the 13 Linux Disks using the Linux Disk Utility < Previous Post – Next Post > Oracle Database 12c on Oracle Linux 6 – Step 17: Create the Directories for Installing Oracle Software

 

Advertisements

3 responses to “Oracle Database 12c on Oracle Linux 6 – Step 16: Configure ASM and Create the 13 ASM Disks

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: