dcsimg

Oracle Database 11gR2: Building an ASM Clustered File System (ACFS) - Page 2

March 25, 2010

Installing ACFS: Creating a New ASM Disk Group

My next step is to configure ACFS, and to do that I’ll first build a new ASM disk group just to contain this new file system. Instead of using the asmca utility to build this disk group in interactive mode as I did in my prior article, however, this time I’ll invoke it in command line mode. I can view a brief listing of all the things that asmca can perform in this mode by invoking the asmca –help command from the same terminal window, as shown in Listing 2.1.

To build a new disk group named ACFS, I’ll invoke asmca with the –creatediskGroup directive.

$> asmca -silent -createDiskGroup 
-diskString '/dev/oracleasm/disks/*' 
-diskGroupName ACFS 
-diskList /dev/oracleasm/disks/ACFDISK1
          /dev/oracleasm/disks/ACFDISK2,
         /dev/oracleasm/disks/ACFDISK3 
-redundancy EXTERNAL 
-au_size 1 
-sysAsmPassword oracle

And here’s the resulting entries from the +ASM instance’s alert log:

Sun Mar 07 22:46:59 2010
NOTE: updated gpnp profile ASM diskstring: /dev/oracleasm/disks/*
ALTER SYSTEM SET asm_diskstring='/dev/oracleasm/disks/*' SCOPE=BOTH SID='*';
SQL> CREATE DISKGROUP ACFS EXTERNAL REDUNDANCY  DISK '/dev/oracleasm/disks/ACFDISK1',
'/dev/oracleasm/disks/ACFDISK2',
'/dev/oracleasm/disks/ACFDISK3' 
	ATTRIBUTE 'compatible.asm'='11.2.0.0.0','au_size'='1M' /* ASMCA */ 
NOTE: Assigning number (2,0) to disk (/dev/oracleasm/disks/ACFDISK1)
NOTE: Assigning number (2,1) to disk (/dev/oracleasm/disks/ACFDISK2)
NOTE: Assigning number (2,2) to disk (/dev/oracleasm/disks/ACFDISK3)
NOTE: initializing header on grp 2 disk ACFS_0000
NOTE: initializing header on grp 2 disk ACFS_0001
NOTE: initializing header on grp 2 disk ACFS_0002
NOTE: initiating PST update: grp = 2
kfdp_update(): 13 
Sun Mar 07 22:47:00 2010
kfdp_updateBg(): 13 
NOTE: group ACFS: initial PST location: disk 0000 (PST copy 0)
NOTE: PST update grp = 2 completed successfully 
NOTE: cache registered group ACFS number=2 incarn=0x17288ec8
NOTE: cache began mount (first) of group ACFS number=2 incarn=0x17288ec8
NOTE: cache opening disk 0 of grp 2: ACFS_0000 path:/dev/oracleasm/disks/ACFDISK1
NOTE: cache opening disk 1 of grp 2: ACFS_0001 path:/dev/oracleasm/disks/ACFDISK2
NOTE: cache opening disk 2 of grp 2: ACFS_0002 path:/dev/oracleasm/disks/ACFDISK3

< . . . some lines removed for sake of brevity . . .>

NOTE: Instance updated compatible.asm to 11.2.0.0.0 for grp 2
SUCCESS: diskgroup ACFS was mounted
SUCCESS: 
	CREATE DISKGROUP ACFS EXTERNAL REDUNDANCY  DISK '/dev/oracleasm/disks/ACFDISK1',
'/dev/oracleasm/disks/ACFDISK2',
'/dev/oracleasm/disks/ACFDISK3' ATTRIBUTE 'compatible.asm'='11.2.0.0.0',
	'au_size'='1M' /* ASMCA */
Sun Mar 07 22:47:09 2010
NOTE: diskgroup resource ora.ACFS.dg is online

I’ll use asmca to confirm that creation of the new ACFS ASM disk group has been successful and to modify any necessary ASM initialization parameters. As Figure 2.1 shows, ASM disk group ACFS was successfully created:

Invoking ASMCA
Figure 2.1. Invoking ASMCA

However, I also need to verify that the proper compatibility settings for the ACFS disk group are in place:

Verifying Compatibility Settings

Figure 2.2. Verifying Compatibility Settings

Excellent! These settings are correct. So now, I’ll create a new mount point within ACFS that will eventually host my new Oracle 11gR2 database home, as shown below:

Creating a New Oracle Database Home Within an ACFS Volume

Figure 2.3. Creating a New Oracle Database Home Within an ACFS Volume

For the location of the new ACFS mount point, I’ll choose the new ACFS ASM disk group as the target for the ACFS volume created above …

Selecting a Destination for New ACFS Volume Figure 2.4. Selecting a Destination for New ACFS Volume

... and the end result is the successful volume assignment as shown in Figure 2.5 below.

Completed ACFS Volume Configuration
Figure 2.5. Completed ACFS Volume Configuration








The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers