The ASM configuration

dear team,
i have been working on migrating my DB to ASM and while i was configuring ASM i got the following issues.
1- when i have to prepair the disk i used fdisk tool to make the filesystem table and then save the configuration for each disk. "do i have to use mkfs tool after that"
2- after that i used the command "oracleasm createdisk" to create the ASM disk but when using the DBCA to configure ASM the names of the disks i created using "oracleasm createdisk" wasn't available instead the original disk names were there. (so the question here is what is the difference between using the oracleasm createdisk and creating disk group using DBCA)
3- for the DBCA to be able to see the disks, i have to change the permission of the disk to 666 using chmod command.. but when i restart the system, these permission just return back to the old value(NOT 666) nwhich makes it impossible to start the ASM instance.
4-Do i have to use scsi disks for ASM or i can use IDE disks too. if yes please tell me how...
thank u in advance.

Overwrite the first several MB of the partition with /dev/zero.
So, use this command:
# dd if=/dev/zero of=/dev/rdsk/c1t3d0s7 bs=1024k count=10
That clears out the ASM header on the disk so that it looks like a clean disk again.
-- John

Similar Messages

  • Cloning the asm configured database

    Hi all DBA Guys, Have a Nice Day For all
    How to cloning the asm configured database?
    Regards
    S.Azar

    Hi,
    How to cloning the asm configured database?
    The same way which you going to use for without ASM instance.
    Nice day to you too. :)

  • ASM Configurations

    Hi,
    I am new to configuring ASM,
    Can you tell me how to start from scratch like what kind of disks required. which raid level should be configured, which one is the task of sysadmin and which tasks will be performed by dba?
    My operating system is solaris 9 x86 and database would be 10gR2.
    We are going to deploy data warehouse environment.
    alomost 100gb RAM is available (expectedly from 80gb to100gb ram).
    please help me understanding the ASM configuration and disks knowledge along with RAID levels.
    Note: we have 600GB hard disk (6 disks 100gb each).
    Thanks all........
    Message was edited by:
    Fkhalid

    Have a lok at ASM Best Practice Documents
    www.oracle.com/technology/products/database/asm
    www.oracle.com/technology/products/database/asm/pdf/asm_10gr2_bptwp_sept05.pdf
    www.oracle.com/technology/products/database/asm/pdf/asm_bestpractices_9_7.pdf

  • Silent install- ASM Configuration Assistant fails

    I am trying to do a silent install with response file. At the end of the install it says I need to run configToolAllCommands which I do but the ASM Configuration assistant fails. I assume I need to pass in asmsnmp password but how do I do that? I see I can specify ResponseFile=<fn> when I run configToolAllCommands but how do I set the asm passwords in a response file? I tried just creating a response file that included asmsnmpPassword=mypassword and sysAsmPassword=mypassword but it didn't like that. Anyone know how to pass in the password? I think it will set up the asmsnmp user in this configuration assistant? because that is one of my problems after the install completes I don't have that user set up. I need all of this to be automated.
    thanks for any ideas.

    well I did not find any documentation on how to create a resposne file for the ConfigToolAllCommands- all I found using the -help option was that I could include a ResponseFile=<fn> parameter. so all I did was put 2 llines in the file sysAsmPassword=mypassword and asmsnmpPassword=pAssword. And that doesn't work...

  • How to reuse the same disk (partition) for next ASM configuration?

    Hello All,
    I had successfully installed and configured ASM instance once, but I need to do a reinstallation and I would like to use the same disk (partition) as with previous ASM configuration.
    The disk path used was: /dev/rdsk/c1t3d0s7
    I have to regretfully admit that I may not have used the right ASM un-installation procedure. I ran installer and opted to de-install products. Consequently, I had removed ASM home. Now, when I running new ASM installation, everything goes fine until the screen where I should select disks for ASM configuration. Unfortunately, I see the /dev/rdsk/c1t3d0s7 with status > MEMBER < and I can't select it for the new ASM installation.
    I will really appreciate if anyone can let me know how to change status from MEMBER to CANDIDATE.
    Thank you for your time.
    DanielD

    Overwrite the first several MB of the partition with /dev/zero.
    So, use this command:
    # dd if=/dev/zero of=/dev/rdsk/c1t3d0s7 bs=1024k count=10
    That clears out the ASM header on the disk so that it looks like a clean disk again.
    -- John

  • Error while configuring the ASM on linux

    i am trying to implement ASM of the virtual machine.. i downloaded the ASM libraries and packages and installed them as a "root" user using the following command:
    $>rpm -Uvh oracleasm*
    after the installtion was done i went to configure the library driver by executing the following command(also as a root user)
    $>/etc/init.d/oracleasm configure...
    i answered all the question given by the command and then the following error message occured..
    This will configure the on-boot properties of the Oracle ASM library
    driver. The following questions will determine whether the driver is
    loaded on boot and what permissions it will have. The current values
    will be shown in brackets ('[]'). Hitting <ENTER> without typing an
    answer will keep that current value. Ctrl-C will abort.
    Default user to own the driver interface [oracle]:
    Default group to own the driver interface [dba]:
    Start Oracle ASM library driver on boot (y/n) [y]:
    Fix permissions of Oracle ASM disks on boot (y/n) [y]:
    Writing Oracle ASM library driver configuration: [  OK  ]
    Loading module "oracleasm": Unable to load module "oracleasm"
    [FAILED]
    i don't have much experience with ASM to solve this problem, so if someone can help then i will appreciate it.
    NOTE: my platform is
    ORACLE10gR2(10.2.0.1)
    RHEL 4 update 5.

    i have been trying to delete the ASM library driver and install it again but i get this message everytime i do so..,
    [root@localhost RPMS]# rpm -ev oracleasm-2.6.9-55.0.0.0.2.EL-2.0.3-2.i686.rpm
    error: package oracleasm-2.6.9-55.0.0.0.2.EL-2.0.3-2.i686.rpm is not installed
    then i execute the following command to install it and the following appears.
    [root@localhost RPMS]# rpm -ivh oracleasm-2.6.9-55.0.0.0.2.EL-2.0.3-2.i686.rpm
    warning: oracleasm-2.6.9-55.0.0.0.2.EL-2.0.3-2.i686.rpm: V3 DSA signature: NOKEY, key ID b38a8516
    Preparing... ########################################### [100%]
    package oracleasm-2.6.9-55.0.0.0.2.EL-2.0.3-2 is already installed
    it is really weired,,,
    if someone have encountered this scenario then please explain this issue for me.

  • How to get the ASM to OS device name mapping

    Hi all,
    This seems to be an often answered question, but usually the answers specify what to do on the OS (e.g. run oracleasm etc) and/or in the ASM database running on the ASM Host (select * from V$...).
    In our situation have plug-ins collecting data from Agents. Plugins collect data from Oracle db/ASM targets and from storage arrays.
    Back on the OMS we want to be able to report on the ASM to OS device name mapping. To report, we use either the default metadata UI (i.e. data from the sysman.mgmt_emx_... tables) or we have a BI Publisher report that queries the OEM Repository Database (and can join the ECM tables from the different plug-ins).
    The link between the ASM path and the OS device name does not seem to be collected by either the Oracle DB/ASM plug-in, nor by any other plug-in (Host/Storage/...).
    It would be easy to go to Linux and run a few commands, but we need to support multiple platforms, like AIX, Solaris x86, Windows as well.
    A complicating factor is that ASM can be installed in different configurations, e.g. using ASMlib or using udev...
    I really suspect this wheel has been invented before?! Or is it really a matter of having multiple OS-specific low-level scripts and adding a bunch of instance parameters for allowing the user to specify all OS-specific path/utility names etc?
    Any suggestions welcome... :-)
    Many thanks,
    Ed

    Google is your best friend ;-)
    Those are standard CGI variables, must be available in PHP/ASP(X)/JSP/your-favorite.
    Anyway, try this:
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.util.*;
    /** Creates a table showing the values of all the CGI variables.
    * Part of tutorial on servlets and JSP that appears at * http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/ * 1999 Marty Hall; may be freely used or adapted. */ public class ShowCGIVariables extends HttpServlet { public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { response.setContentType("text/html"); PrintWriter out = response.getWriter(); String[][] variables = { { "AUTH_TYPE", request.getAuthType() }, { "CONTENT_LENGTH", String.valueOf(request.getContentLength()) }, { "CONTENT_TYPE", request.getContentType() }, { "DOCUMENT_ROOT", getServletContext().getRealPath("/") }, { "PATH_INFO", request.getPathInfo() }, { "PATH_TRANSLATED", request.getPathTranslated() }, { "QUERY_STRING", request.getQueryString() }, { "REMOTE_ADDR", request.getRemoteAddr() }, { "REMOTE_HOST", request.getRemoteHost() }, { "REMOTE_USER", request.getRemoteUser() }, { "REQUEST_METHOD", request.getMethod() }, { "SCRIPT_NAME", request.getServletPath() }, { "SERVER_NAME", request.getServerName() }, { "SERVER_PORT", String.valueOf(request.getServerPort()) }, { "SERVER_PROTOCOL", request.getProtocol() }, { "SERVER_SOFTWARE", getServletContext().getServerInfo() } }; String title = "Servlet Example: Showing CGI Variables"; out.println(ServletUtilities.headWithTitle(title) + "\n" + "
    " + title + "\n" + "\n" + "\n" + "CGI Variable Name
    Value"); for(int i=0; iNot specified"; out.println("
    " + varName + "
    " + varValue); } out.println("
    "); } public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { doGet(request, response); } }

  • Database is not created on ASM configured Disks

    hi,
    I have installed Oracle 11gR2 Grid Infrastructure and Automatic Storage Management for a Standalone Server through "Grid" user. After then I install Oracle Database 11gR1 Software through "Oracle" User. There is no problem occure during the installation of these software. The OS is OEL-5.4. AND
    ASM configured Disks are "DISK1, DISK2 AND DISK3" and the Group Name is "+DATA".
    The Problem is when i want to create Database and chose ASM configured disk for Database storage, at the database creation process on 27% an error occur that is "ORA-03114 Not connected to Oracle". Sir but when i chose File System for Database Storage, Database created successfully.
    Sir i am new in Oracle Grid Infrastructure and ASM please help me.

    Hi buddy,
    Are there errors in the alert.log of RDBMS istance, and what about traces ? Have it been generated ?
    Regards,
    Cerreia

  • How can I find the ASM port

    Hi,
    When I use OEM grid control to monitor the ASM, during the configuration, I was asked to enter port, SID, please tell me from which file I can find the ASM instance port information?
    Thanks,
    Hank
    USA 2007

    hank, we have dozens of listeners on different ports and i'm not sure what it does for us. this is a legacy configuration going back to the days when our connect traffic overwhelmed the ability of the unix system to respond to one (or two or three ...) port(s). today's processors and memory are much faster and software is more efficient but there is still a point where connect traffic will overburden the port and then you need another listener. but all those listeners create a maintenance burden for me (and you) and can create a lot of confusion. bringing down one instance should never affect the availability of other instances. i think chandra meant bringing down the listener rather than instance. in 10gr2 i never turn down any listeners at any time for any maintenance. crs restarts all the listeners on any node after an unplanned outage and i never touch them. you can control connections to instances using ha services rather than listener availability. hth, mike

  • Oracle database 10g RAc an ASM configuration

    Hi all,
    I want to ask to everybody something about Oracle 10g RAC and ASm configuration. We plan to migrate to Oracle 10g from 9i, and we will begin configuring oracle but we have to decide which configuration are the best.
    Our materials are bellow:
    Hardware: RP 3440 (HP)
    OS : HPUX 11i Ver 1
    Storage: EVA 4000 (eva disk group)
    The problem is:
    Our supplier recommand us to use HP serviguard + HP serviceguard extension for RAC+ RAc and Raw device as configuration.
    But we want to use Oracekl Clusterware + RAC + ASM
    My question is if anybody know what is the best configuration, we want to use ASm.
    Can we use HP serviguard and ASM.
    Some documentations or link explain oracle RAC and ASM configuration will be appreciate.
    Thanks for your help.
    Regards.
    raitsarevo

    Hello,
    there's no extra RAC software package, but the option is only offered, if one of the supported cluster layers for the respective OS has been installed before.
    10.1.0.3 looks like a complete redesign, but anyway it is a patch, you have to install 10.1.0.2 first.

  • ASM Configuration

    Hi Everybody,
    My question is:
    Is it possible to configure ASM using shared file system on RAC other than configuring raw devices . If it so how to do it?
    Environment:
    OS: Sun SPARC Solaris 10
    SUN Servers:V490
    Number of Nodes: 2
    Storage Server:3150
    Switches:SAN
    RDBMS: Oracle 10.2.0 RAC
    Clusterware: Configuring Raw Devices for OCR and Voting Disk.
    How to configure ASM on Shared Storage for database files as we are not using Third party clusters?
    What are the possible storage options for ASM as per my requirement?
    I seen in document it is very dfficult to manage and administure ASM configured using RAW Devices?
    in both the cases kindly provide me steps how to do it by using DBCA.
    Is it necessary to use recovery area on ASM?
    Waiting for your favourable reply from RAC experts.

    Hi,
    Steve Karam has some great notes on this:
    One thing to remember is that ASM is not RAID. Oracle portrays ASM as a Volume Manager, filesystem, miracle, whatever you would like to call it, but in reality it is no more than extent management and load balancing; it scatters extents across your LUNs (1MB stripe size for datafiles/archivelogs, 128k stripe size for redo/controlfiles). It also provides extent-based mirroring for extra redundancy.
    This benefits us in a couple ways. First, remember that your OS, HBA, or other parts of the host driver stack may have limits per LUN on I/O. Distributing your extents across multiple LUNs with ASM will provide better I/O concurrency by load balancing across them, eliminating this bottleneck.
    Second, carving into multiple LUNs allows multiple ASM volumes. Multiple volumes help us if our hardware has any LUN-based migration utilities for snapshots or cloning.
    Third, you may end up with multiple LUNs if you need to add capacity. ASM allows us to resize a diskgroup on-the-fly AND rebalance our extents evenly at the same time when we add a new LUN. Even if you only start with a single LUN, you may end up with more in the long run.
    Fourth, because an ASM diskgroup is not true RAID, you are able to use it to stripe across volumes. This means that in a SAN with 3 trays, you can carve a LUN from each tray and use it to form a single ASM diskgroup. This further distributes your storage and reduces throughput bottlenecks.
    I have not seen any tried and true formula for the number of LUNs per ASM diskgroup, but you can calculate it based on your throughput per capacity. Make sure the LUNs provide maximum and equivalent I/O operations per second per gigabyte.
    http://www.dba-oracle.com/t_disk_lun_san_nas_performance_bottleneck.htm

  • The ASM is unavailable, how to make it work?

    I am a new user of oracle.
    We have installed oracle 10g R1 on Linux Redhat 9 server.(It is not me who installed and configured oracle)
    I have done some test including creating/deleting tables, adding user, and so on. It works well. I didn't notice the status of ASM then.
    After that, I partitioned a new hard disk(no relationship with oracle) on the same server and reboot it without stopping the Oracle(without stopping anything).After the reboot, I started the oracle DB, the EM, the listener again(started and stopped for several times). And oracle can work. I then wanted to do some back up but found the ASM is unavailable.
    General
    Current Status          Metric Collection Error
    In Error Since          May 17, 2006 4:02:47 PM
    Availability (%)          0
    Down Time (minutes)          0
    Blackout Time (minutes)          0
    Agent Down Time (minutes)          8
    System Error Time (minutes)          1432
    Status Pending Time (minutes)          0
    I checked the available history of ASM and found:
    [Clear]      May 17, 2006 4:02:47 PM     Agent is UP     -
    [Critical]      May 17, 2006 3:55:01 PM     
    [Clear]      May 17, 2006 3:52:00 PM     Agent is UP     -
    [Critical]      May 17, 2006 3:49:15 PM     
    [Clear]      May 12, 2006 11:46:46 AM     Agent is UP     -
    [Critical]      May 12, 2006 11:43:26 AM     
    [Clear]      May 12, 2006 11:40:25 AM     Agent is UP     -
    [Critical]      May 12, 2006 11:22:21 AM     
    [Clear]      May 12, 2006 11:14:21 AM     Agent is UP     -
    [Critical]      May 10, 2006 11:10:21 AM     
    [Clear]      Apr 10, 2006 6:56:36 PM     Agent is UP     -
    [Critical]      Apr 10, 2006 6:30:38 PM     
    [Clear]      Mar 31, 2006 2:14:47 PM     Agent is UP     -
    [Critical]      Mar 31, 2006 2:02:01 PM     
    [Clear]      Mar 31, 2006 1:56:30 PM     Agent is UP     -
    [Critical]      Mar 31, 2006 11:39:19 AM     
    [Clear]      Mar 31, 2006 11:34:49 AM     Agent is UP     -
    [Critical]      Mar 31, 2006 11:30:42 AM     
    [Metric Error Start]      Mar 29, 2006 4:07:08 PM     Metric evaluation error start
    I checked the /etc/sysconfig/oracleasm and found the ORACLEASM_UID, ORACLEASM_GID, ORACLEASM_CLEARBOOT and ORACLEASM_SCANEXCLUDE are blank.
    I ran the /etc/init.d/oracleam configure
    to set ORACLEASM_UID=oracle
    ORACLEASM_GID=dba
    I haven't restarted the ASM yet. I am afraid I will destroy something.
    Can anybody give me some advice? Thank you very much!

    Thank you for your helpful replies. I will report my status:
    1) I have found there is no ORACLE_SID at all in my system.
    2) $ORACLE_HOME/bin/emctl status dbconsole
    it shows : No ORACLE_SID is defined.
    3) I exported the ORACLE_SID=+ASM in the .bash_profile
    4) $ORACLE_HOME/bin/emctl status dbconsole
    it shows: TZ set to US/Central
    OC4J Configuration issue. /opt/oracle/product/10.1.0/db_1/oc4j/j2ee/OC4J_DBConsole_localdomain_+ASM not found.
    (*NOTE: ORACLE_HOME=/opt/oracle/product/10.1.0/db_1)
    5) I don't know how to check the EM version. But when I click Start Application-Oracle 10g Menu-DBA Tasks-Oracle Enterprise Manager 10g Database Control Start, it shows:
    TZ set to US/Central
    Oracle Enterprise Manager 10g Database Control Release 10.1.0.2.0
    Copyright(c) 1996, 2004 Oracle Corporation. All rights reserved.
    http://localhost.localdomain:5500/em/console/aboutApplication
    Starting Oracle Enterprise Manager 10g Database Control........started.
    Logs are generated in directory /opt/oracle/product/10.1.0/db_1/localhost.localdomain_orcl10g/sysman/log
    6) I can not find any *.dbf in my system, and I have only a raw partitions named oracleasm mounted in /dev/oracleasm. When I click Start Application-Oracle 10g Menu-DBA Tasks-Oracle 10g Database Start, it shows:
    SQL> Connected to an idle instance.
    SQL> ASM instance started
    Total System Global Area 100663296 bytes
    Fixed Size 777616 bytes
    Variable Size 99885680 bytes
    Database buffers 0 bytes
    Redo buffers 0 bytes
    ASM disgroups mounted
    SQL>disconnected from Oracle Database 10g Release 10.1.0.2.0 -Production
    Database "+ASM" warm started.
    Database "+ASM" already started.
    Database "+ASM" already started.
    All these things make me guess the dabases were built using ASM. Am I right?
    7) If it is EM configuration problem, what should I do next?
    Thanks a lot!

  • Oracle database 10g RAC and ASM configuration

    Hi all,
    I want to ask to everybody something about Oracle 10g RAC and ASm configuration. We plan to migrate to Oracle 10g from 9i, and we will begin configuring oracle but we have to decide which configuration are the best.
    Our materials are bellow:
    Hardware: RP 3440 (HP)
    OS : HPUX 11i Ver 1
    Storage: EVA 4000 (eva disk group)
    The problem is:
    Our supplier recommand us to use HP serviguard + HP serviceguard extension for RAC+ RAc and Raw device as configuration.
    But we want to use Oracekl Clusterware + RAC + ASM
    My question is if anybody know what is the best configuration, we want to use ASm.
    Can we use HP serviguard and ASM.
    Some documentations or link explain oracle RAC and ASM configuration will be appreciate.
    Thanks for your help.
    Regards.
    raitsarevo

    Hello,
    there's no extra RAC software package, but the option is only offered, if one of the supported cluster layers for the respective OS has been installed before.
    10.1.0.3 looks like a complete redesign, but anyway it is a patch, you have to install 10.1.0.2 first.

  • SSD and ASM configurations

    Hello all,
    Although I realize that the question of configuration on ASM regarding the use of SSD storage devices is, or should be mote at this point.
    I still see, from time to time, questions and discussions on this topic in the other forms.
    I am wondering if it would be possible to create such a forum just to discuss these questions?
    But then where do you put it?
    Should this be a storage section for SSD?
    Database ASM storage or a subset or either?
    What do you think?

    smitty8 wrote:
    Hello all,
    < snip >
    But then where do you put it?
    No.
    If you have an ASM question, post it to the ASM discussion space.
    If you happen to have a question dealing with a Sun/Oracle branded piece of storage hardware such as an array or a tape library, it goes here.
    You posted today's question to the storage HARDWARE discussion space.
    It doesn't belong here.
    Edit:
    ... and because you multi-cross-posted
    https://community.oracle.com/thread/3618609
    this thread is locked.

  • ASM configuration on RAC

    hi,
    i am instaling a to node RAC on RedHat Linux 5.i am using shared storage and OCFs2 . My db version is 10.2 while i am using DBCA to configure ASM Diskgroup i am getting the follwing errors
    could not mount the diskgroup on remote node node2
    using connection service node2:1521+ASM2.Ensure that
    the listener is running on this node and the ASM
    instance is registered to the listener. Received the following error:-
    ORA-15032 not all alteratios performed
    ORA-15130 diskgroup "D" is being dismounted
    Regards
    Supriyo Dey

    Has the second node access to the disks/partitions, which you are using for the diskgroups?
    Are the permission for the disks/partitions set to oracle:dba on both nodes?
    If you use ASMLIB, have you scanned the disks on the second node?
    Regards
    Sebastian

Maybe you are looking for