Create Asm Diskgroup Manually

Posted on
Create Asm Diskgroup Manually Rating: 9,4/10 2778votes

In this post, I will write about voting disk what does it contain, who updates it, how is it used, where is it stored and so on. Managing the ASM Cluster File System ACFSManaging the ASM Cluster File System ACFSThis tutorial shows you how to create and manage the ASM Cluster File System ACFS. Approximately 1 hour. Create Asm Diskgroup Manually' title='Create Asm Diskgroup Manually' />Create Asm Diskgroup Manually UpdateThis tutorial covers the following topics Place the cursor over this icon to load and view all the screenshots for this tutorial. Caution This action loads all screenshots simultaneously, so response. Internet connection. Note Alternatively, you can place the cursor. This tutorial covers how configure and manage the ASM Cluster File System In Oracle 1. Release 2 using the supplied utilities. Overview. KFOD is a utility to verify disks before installing Grid Infrastructure KFED is a utility that can be used to read and modify ASM metadata blocks. Step By Step Install Multi Node EBusiness Suite Release 12. Oracle 11g RAC ASM on Oracle Enterprise Linux 5. Platform. By Bhavin Hingu. The focus of this tutorial includes creating ASM dynamic volumes, managing the ACFS, and using the snapshot feature. The supported utilities are demonstrated Back to Topic List. Articles on oracle 12c, goldengate, oracle RAC, database script, OEM 12C13C, dataguard, Oracle security, Performance tuning,Backup Recover,Troubleshoot d. If you would like to bypass the Database Configuration Assistant dbca, you can use the following steps with appropriate alterations to create your. Administering Oracle ASM Disk Groups. This chapter describes how to administer Oracle Automatic Storage Management Oracle ASM disk groups. This information. In this guide, Oracle ASM will be used as the file system and volume manager for Oracle Database files data, online redo logs, control files, archived redo logs. The CREATE DISKGROUP statement mounts the disk group for the first time, and adds the disk group name to the ASMDISKGROUPS initialization parameter if a server. Couple of days back, I got a project case to migrate database from Filesystem to ASM, After I installed Grid infrastructure binaries for stand alone server. This article contains step by step guide that will help you to add disk to ASM diskgroup. An Oracle Database 1. Release 2 database installation already exists. Oracle Grid Infrastructure has been installed, and an ASM instance configured. Back to Topic List. Before starting this tutorial, you should 1. Have completed OBE Installing Grid Infrastructure for a Standalone Server through the topic Configure EM Database Control to manage ASM This tutorial assumes the following conditions that are included in the OBE referenced above Grid infrastructure is installed, ASM is configured with a diskgroup named DATA that includes 3 5. MB ASM disks. An additional 5. MB disk is available as a candidate ASM disk. EM database control is configured to manage ASMThe database is installed with at least one tablespace on an ASM diskgroup. Oracle Restart has been configured to restart the orcl instance, the ASM instance, LISTENER, and LISTENERASM. Download and unzip the acfs. Back to Topic List. Oracle ASM Cluster file system ACFS is new in Oracle 1. Release 2. ACFS is intended as a general files system accessible by the standard OS utilities, ACFS can be used in either a single server of a cluster environment. Create the ACFS by creating the ASM dynamic volume and mounting that volume to the OS. Prior to using the ACFS file system four drivers must be loaded. On Linux they are oracleasm, the ASM module oracleadvm, the ASM dynamic volume manager module oracleoks, the kernel services module and oracleacfs, the ASM file system module. These modules are loaded during installation, but are not part of the Oracle Restart. In this topic you will use multiple tools to perform the operations. Back to Topic List. To Configure the ACFS drivers, perform the following steps 1. Open a terminal window, and become the root OS user. Use the su root command 2. As the root user, determine if the required modules are loaded. They are oracleasm, oracleadvm, oracleoks, and oracleacfs. The following command shows all the modules known to the OS. Reboot the server. Use the command reboot. Open a terminal window, and become the root OS user. Use the su root command 5. As the root user, determine if the require modules are loaded. OS. Notice only the oracleasm module is loaded, even though the ASM instance has been restarted automatically by Oracle Restart. Manually load the modules required for ACFS, with the command u. Configure a initialization script to load the ACFS modules at startup. In the etcinit. The file will contain the runlevel configuration, and the acfsload command. Place in the file the following lines binsh chkconfig 2. Load Oracle ACFS drivers at system bootu. Save the file and exit the editor. Change the permissions on the acfsload script to allow it to be executed by root with the command chmod ux etcinit. Create links in the rc. Use the chkconfig command to add and confirm the configuration. Reboot to confirm that the ACFS drivers load. Open a terminal window, and become the root OS user. Use the su root command 1. As the root user, determine if the required modules are loaded. OS. lsmodexit. Back to Topic. To Manage the ASM volumes, perform the following steps 1. In a terminal window, as the oracle OS user. Set the environment for the ASM instance with the oraenv script. Enter ASM when prompted for the ORACLESID. Using SQLPlus connect as sysasm to create a ASM volume using the command sqlplus as sysasm. SQL ALTER DISKGROUP. ADD VOLUME volume. SIZE 4. 00. M 3. Using SQLPlus view the properties of the ASM volume SQL SET PAGESIZE 1. SQL SELECT FROM VASMVOLUME SQL EXIT 4. Using the ASMCMD utility create a ASM volume of 1. MB with the following commands asmcmd ASMCMD volcreate G DATA s 1. M volume. 2 5. View the properties of the ASM volumes notice the volume sizes. Use ASMCMD command ASMCMD volinfo a. ASMCMD exit 6. Remove the ASM Volume, VOLUME2, use the ASMCMD command in command line mode. DATA volume. 2Back to Topic. To mount the ACFS, perform. In a terminal window as the oracle OS user, create a set of directories to use as mount points. Create the mount points under the ORACLEBASEacfsdata directory. For this exercise create three directories orabin, images, misc with the following commands. As the root user, create the ACFS filesystem on the ASM volume. OS commands. The device name is found in the output of the volinfo command show previously. Note the extension of the volume name, that is contained in the prior screenshot. Sketchup 7 Library. As the root user, mount the acfs filesystem with the OS command mount t acfs devasmvolume. Verify that the volume has been mounted with the OS commanddf h. The Oracle ACFS mount registry is supported for Oracle Restart configurations, but cannot automatically mount Oracle ACFS registered file systems. However, all Oracle ACFS file systems listed in the Oracle ACFS Mount Registry can be mounted with a single mount command. The ACFS mount registry is supported for cluster configurations and automatically mounts ACFS volumes to the cluster wide mount points Register the ACFS volume. ACFS mount registry to enable the automount workaround with the following command. Note Change the volume name extension to match the previous commands. Note After reboot or ASM restart the ACFS volume registered in the ACFS mount registry can be mounted with a single command executed by the root user mount t acfs o all none none. Back to Topic. To use EM to Create a Volume and Mount the ACFS, perform the following steps 1. Open a terminal window, as the oracle OS user. Set the environment for the orcl instance with the oraenv script. Enter orcl when prompted for the ORACLESID. Start EM database control with the command emctl start dbconsole 3. Access EM database control in your browser with the URL https localhost 1. User Name SYSPassword lt syspassword Connect as SYSDBA 4. On the database home page, in the General section click the ASM link ASM. On the Automatic Storage Management ASM. ASM Cluster File System tab. On the Automatic Storage Management Login page, enter Username SYSPassword lt syspassword Click Login. On the ASM Cluster File System page, click Create. On the Create ASM Cluster File System page, click Create ASM Volume. On the Create ASM volume page, create a volume Volume Volume. Disk Group DATASIze 1. MClick OK. 1. 0. On the ASM Cluster File System page, give the volume a label. Volume Label IMAGESMount Point u. Click OK 1. 1. On the ASM Cluster File System Host Credentials host. ASM instance administrator. Username oracle. Password lt yourpassword 1. On the Automatic Storage Management ASM. Select VOLUME3 the dismounted volume Click Mount. On the Mount ASM Cluster File System devasmvolume. Mount Point u. 01apporacleacfsdataimages.