Need help in Oracle ASM

Hello Experts,
My name is Rohan and I'm working as Oracle DBA now I came accross the ASM and I want to learn it.
I have basic knowledge of Oracle ASM and I have also configured/created an instance with the help of DBCA.
Now for the better understandings I want to create the same with Command line.
Will anybody please give me the proper tutorial for the same?????
I am using oracle 11.2.0.3 on windows.
Thanks in advance.

Hello,
Need your help again.
I have successfully created the diskgroup and mounted
please find the logs below:
asmtool -list
NTFS                             \Device\Harddisk0\Partition1              100M
NTFS                             \Device\Harddisk0\Partition2            99900M
NTFS                             \Device\Harddisk0\Partition3           376938M
ORCLDISKDATA                     \Device\Harddisk1\Partition1             1022M
ORCLDISKDATA1                    \Device\Harddisk2\Partition1             1022M
C:\Windows\system32>sqlplus / as sysasm
SQL> select DISK_NUMBER,path from v$asm_disk;
DISK_NUMBER PATH
          1 \\.\ORCLDISKDATA
          0 \\.\ORCLDISKDATA1
SQL> select NAME,STATE,TYPE,TOTAL_MB,FREE_MB from v$asm_diskgroup;
NAME                           STATE       TYPE     TOTAL_MB    FREE_MB
DATA                           MOUNTED     NORMAL       2044       1942
Now I am connected to sysdba and firing the command to create database it's showing me the following error :
create database testdb
ERROR at line 1:
ORA-15000: command disallowed by current instance type
How to troubleshot this problem?
PFB the create database script :
create database rohan
  logfile   group 1 ('+DATA\disk1\redo1.log') size 10M,
            group 2 ('+DATA\disk1\redo2.log') size 10M,
            group 3 ('+DATA\disk1\redo3.log') size 10M
  character set          WE8ISO8859P1
  national character set utf8
  datafile '+DATA\disk1\system.dbf'
            size 50M
            autoextend on
            next 10M maxsize unlimited
            extent management local
  sysaux datafile '+DATA\disk1\sysaux.dbf'
            size 10M
            autoextend on
            next 10M
            maxsize unlimited
  undo tablespace undoTBS
            datafile '+DATA\disk1\undo.dbf'
            size 10M
  default temporary tablespace temp
            tempfile '+DATA\disk1\temp.dbf'
            size 10M;

Similar Messages

  • Need help in oracle data recovery

    Friends ,i need help in oracle data recovery.
    I had an oracle 8i database running on windows.
    For some reason Windows operating system crashed.
    It is not booting up.
    I dont have current backups.But my database physical files are in the disk.
    Controlfile,datafiles and redo log files are there.
    Is there any way I can recover my database?
    Please help in this issue.
    regards
    Ajith

    HI citrus,
    thanks for the reply.
    I have installed database 9i on the same PC after O/S reinstallation.
    You are saying that ,I need to keep oracle root folder same as that of my old installation ,and copy control files,redo log and data files in exactly same folders as that of old database,and then start the database?
    thank you for your patience and support.
    regards.,
    Ajith

  • Need help on Oracle Report format

    Hi,
    I need help on Oracle Reports. I am generating a report in excel sheet. I have a column which is 13 digit number (In database it is CHAR datatype). In excel sheet it showing some thing like 9.78381E+12. I want to show complete number like 9783805591331.
    Also sometimes leading zero's are not showing when my column values is something like 0098794859583. I need to show the leading zero's as well in excel without losing them.
    Below are the parameters i am using for the report
    DESFORMAT=SPREADSHEET AND DESTYPE=FILE
    My Oracle 9i developer version.
    Any help on this would be much appreciated.
    Thanks
    Kishore

    An additional quote string ' character with the number field will solve this problem but if u want to display this field in report then it will look ugly
    '''||yourfield from table; check ur regional settings also
    plz mark it helpful correct if it is

  • I need help with oracle

    Hi,
    I need some help... if someone can help its great.
    I need to make a statement in Oracle SQL that read data from a file and insert in a Oracle Database ... if someone can show me the syntax of it i appreciate..
    Thanks

    Okay, I see you followed the advice in that other thread and started a new post for you question. Congratulations. Your next lesson in forum etiquette is to give your posts a more relevant subject. Pretty much everybody who posts here needs help with oracle; if they need help with cooking catfish they've come to the wrong place.
    It that other thread I suggested using SQL*Loader or External Tables might be a more suitable solution. Find out more.
    Cheers, APC

  • Need Help on Oracle BI Server Service

    Hi there,
    I would need help on to start Oracle BI Server service start.
    I have installed OBIEE 10.1.3.4 version and I've been working on creating repository and creating Answers & Dashboards etc..,
    Today, I was working on to point other repository in NQSConfig.INI file and when I tried to Start Oracle BI Server Service I get below error:
    " *Could not start the Oracle BI Server service on Local Computer*
    *Error 1064 An exception occurred in the service when handling the control request*"
    It's been working, just I got this error today only, all other services are working fine.
    Has anyone got this error?
    Any help would be greatly appreciated.
    Thank you
    Skat
    Edited by: Skat on Nov 10, 2009 8:07 PM

    Hi All,
    Thank you so much for all your quick replies and it worked now.
    You are right, I changed repo name and changed back to original one and and Service is starting now.
    I think something missing space or format issue when I add other entry in the NQSconfig.INI file, Ihave to follow same synatx.
    Now I am good to go.
    Thanks again,
    skat

  • Need help on Oracle Application Testing Suite

    Hi,
    I need help on accessing one script into another script in OATS like the way we access methods of one class into another class in Java. I have created 2 scripts (when i do recording they created as a projects in open script editor), now i want to use my first script in second script.
    Thanks,
    VaraPrasad

    I have a similar problem with the OATS v9.20 installation. I did manage to install it on our main load generator (running Windows 2003 Server) but when it came to installing OpenScript on my laptop (XP SP3) the install 'hangs' at 78%.
    I did raise a support call with Oracle about this (there was a bug report generated) but the case is still open.
    I've been waiting to hear when the next version was due (in the hope that this might have been resolved) but by the sounds of it there could still be an issue on WinXP with v9.21?
    For reference I originally logged this with the following in the description:
    The installation looks like it is failing because of a double backslash in a path ending "OATS920\\bin\copyOUI.bat". We then get an error in javaw.exe which when OK'ed then stops the installation at the stage "creating 'Uninstall Oracle Application Testing Suite' in folder 'Oracle Application Testing Suite' ".

  • Need help on Oracle Driver

    I am using Oracle 10g and I want to set up ODBC at Control Panel(Administrative Tools).
    I have to driver in ODBC to setup New Data Source fro Oracle, that is
         1. Oracle in OraClient11g_home1
         2. Oracle in OraDB10g_home1
    When in choose the Oracle in OraClient11g_home1 driver. The TNS Service Name did not list up.
    But when i choose Oracle in OraDB10g_home1 driver , the TNS Service Name will list up.
    Why it happend?
    I need to used Oracle in OraClient11g_home1 driver because i need to used ODP.NET.
    The tnsnames.ora for Oracle in OraClient11g_home1 are located at C:\app\Administrator\product\11.2.0\client_1\Network\Admin.
    The tnsnames.ora for OraDB10g_home1 are located at C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN
    All contains in tnsnames.ora are same
    ORCL1 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = fakhrimini)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl1)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    Can someone help me on how to make The TNS Services Names list in Oracle in OraClient11g_home1 driver?

    This is PATH in Enviroment Variable.
    C:\oracle\product\10.2.0\db_1\bin;C:\app\Administrator\product\11.2.0\client_1;C:\app\Administrator\product\11.2.0\client_1\bin;C:\DevSuiteHome_4\bin;%SystemRoot%\system32
    This is result for tnsping
    C:\Documents and Settings\Administrator>tnsping orcl1
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 06-JUL-2011 09:48:15
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    C:\oracle\product\10.2.0\db_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = fakhrimi
    ni)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl1)))
    OK (30 msec)
    C:\Documents and Settings\Administrator>
    This is added information from TOAD.
    SOFTWARE\ORACLE\KEY_DEVSUITEHOME4
    ORACLE_HOME_NAME: DevSuiteHome4
    ORACLE_HOME: C:\DevSuiteHome_4
    ORACLE_SID: orcl1
    NLS_LANG: AMERICAN_AMERICA.WE8MSWIN1252
    SQLPATH: C:\DevSuiteHome_4\dbs
    LOCAL:
    C:\DevSuiteHome_4\Bin exists.
    C:\DevSuiteHome_4\Bin is in PATH.
    Client DLL: C:\DevSuiteHome_4\Bin\oci.dll
    Client Version: 10.1.0.4.0
    Home is valid.
    SOFTWARE\ORACLE\KEY_ORACLIENT11G_HOME1
    ORACLE_HOME_NAME: OraClient11g_home1
    ORACLE_HOME: C:\app\Administrator\product\11.2.0\client_1
    ORACLE_SID: orcl1
    NLS_LANG: AMERICAN_AMERICA.WE8MSWIN1252
    SQLPATH:
    LOCAL:
    C:\app\Administrator\product\11.2.0\client_1\Bin exists.
    C:\app\Administrator\product\11.2.0\client_1\Bin is in PATH.
    Client DLL: C:\app\Administrator\product\11.2.0\client_1\oci.dll
    Client Version: 11.2.0.1.0
    Home is valid.
    SOFTWARE\ORACLE\KEY_ORADB10G_HOME1
    ORACLE_HOME_NAME: OraDb10g_home1
    ORACLE_HOME: C:\oracle\product\10.2.0\db_1
    ORACLE_SID: orcl1
    NLS_LANG:
    SQLPATH:
    LOCAL:
    C:\oracle\product\10.2.0\db_1\Bin exists.
    C:\oracle\product\10.2.0\db_1\Bin is in PATH.
    Client DLL: C:\oracle\product\10.2.0\db_1\Bin\oci.dll
    Client Version: 10.2.0.1.0
    Home is valid.
    Instant Client - 11.2.0.1.0
    ORACLE_HOME_NAME: C:\app\Administrator\product\11.2.0\client_1
    ORACLE_HOME: C:\app\Administrator\product\11.2.0\client_1
    ORACLE_SID: orcl1
    NLS_LANG:
    SQLPATH:
    LOCAL:
    C:\app\Administrator\product\11.2.0\client_1 exists.
    C:\app\Administrator\product\11.2.0\client_1 is in PATH.
    Client DLL: C:\app\Administrator\product\11.2.0\client_1\oci.dll
    Client Version: 11.2.0.1.0
    Home is valid.
    In Toad, the client Instant Client - 11.2.0.1.0 didnot list the tnsnames or database, but all client show the tnsnames or database
    where i need to type export TNS_ADMIN, ORACLE_HOME, PATH,? in command prompt or sqlplus?

  • Need help on oracle stellent implementation

    We need expert help in oracle Stellent Implementation.Any one interested and need more details please mail back.
    Edited by: user12990131 on Apr 14, 2010 11:38 PM

    our requirements
    - Need to design technical design document
    - Need to design a web portal using UCM with certain feature provided by clinet
    - Need to have work flows, colloboration, wiki etc.
    For more details,please provide us your contact details or email details

  • Need help on oracle installation

    Hi all,
    I have an issue on Oracle 10g /ids/ application server installation on windows 2003 server(R2) x64 enterprise edition.
    After installation , I can't see oracle entries in registry(HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE).
    Need help.
    Regards
    JIJU

    HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_10gdb\OLEDB
    only one folder, under key_10gdb.
    after installation developer suite (IDS), no entries are coming

  • Need help with ORACLE ADMIN, NETWORKING CONCEPTS and SQL, ASAP!

    Hey everyone. Basically my major is going to be computer science, however I haven't started the course yet. However I got a job offering to the position as a SEO. A friend told me as long as I can answer the questions, the job will be no problem, I mainly just google oracle commands to put in all day. So I'm really needing someone who knows about this stuff, that could help me with some of these questions. If you can help, and have the time, my skype ID is drakkarnc
    I greatly appreciate this, thank you. :)

    841784 wrote:
    Hey everyone. Basically my major is going to be computer science, however I haven't started the course yet. However I got a job offering to the position as a SEO. What is "SEO"?
    A friend told me as long as I can answer the questions, the job will be no problem, I mainly just google oracle commands to put in all day. So I'm really needing someone who knows about this stuff, that could help me with some of these questions. If you can help, and have the time, my skype ID is drakkarnc
    I greatly appreciate this, thank you. :)YOu think you can learn this stuff in a few days? Think again.
    Re: What to learn first for DBA/DEV?

  • Need help on Oracle API access through VBA

    Hi guys,
    I want a macro that can access the oracle API components
    Is it possible ?
    If so pls help me on the same
    Thanks in advance

    can you access oracle from the client you have VBA on? Once you can do that you need to go to a VB forum.

  • I need help on Oracle 9  file handler & utility packet!

    Hello ALL:
    I need to write a short SQL program to update the database via reading an external data file. How do I configure the standard oracle packet of oracle 9 to include the file handler? Please help me with details on oracle init files and some sample SQL commands to call the external file. I really appreciate the help. OracleUser.

    Tubby:
    Again, thank you. My answers to your feedback is Yes, No, Yes.
    I would thought that using the file handle would get the job done.
    Any how,
    1) how do I loop thru rows, say A1, A2.....A10,000 and use the content
    reading the this external table such as the content in A1 to compare against a certain column with many entries in a table in oracle using Loop/End Loop and select?
    2) What does oracle do the this external table at the end of session!
    3) Could I also create multiple external tables, let say 2?
    Thanks Tubby.

  • Need help with Oracle reports 10g

    Hi
    we have a requirement in a oracle 10g application
    this application is on the unix server
    the requirement is such that the user must be able to print a report directly to the default printer
    when the user clicks on the button a report must be printed on the users default printer
    can u help us understand that how can we configure the local printer of the user on the unix server?

    hi, piyush9010
    Check this following link...
    Oracle reports 10g output directly to printer
    Oracle reports 10g output directly to printer
    Make your printer as shared printer then try.
    Use DESTYPE=PRINTER.
    http://qamarsyed.blogspot.com/2011/02/how-to-print-oracle-report-to-network.html
    http://docs.oracle.com/cd/E14571_01/bi.1111/b32121/pbr_cla005.htm#i637246
    Hope this helps
    If someone's response is helpful or correct, please mark it accordingly.

  • Need help installing oracle 8.1.7 on RH 8.0

    I'm a newbie to linux red hat 8.0
    and I'm trying to install oracle 8.1.7 on red hat 8.0
    I keep getting all these error message and half the instructions i read i cannot find thoughts files that need to be modified.
    Can someone please point me into the right direction.
    Basically instructions that a dummy can follow been new to Olin in all.
    Regards KARNUN

    NI don't believe this is th issue.
    The system just hangs when trying to run the installer. I think the problem is due to the Pentium 4 processor (like the Microsoft bug where you need copy the whole installation to disc, rename one of the .dll files and install from the staging area just created).
    Any advice would be greatly appreciated.

  • Need Help on Oracle BI Applications

    Hi,
    I'm trying to implement Oracle BI Applications. For that I have installed Oracle BI Applications 7.9.4 and Informatica PowerCenter7.1.4 and performed the configuration settings as specified in "Oracle Business Intelligence Applications Installation and Configuration Guide". I did all the steps mentioned in 'Chapter 4. Installing and Configuring Oracle BI Applications on Windows'. After performing these steps I configured the HR Analytics, for this I followed 'Chapter 12. Configuring Oracle HR Analytics'. I did not do some steps that said 'Do if required' other than this I performed all the steps.
    After doing all the above setups, I configured the seeded rpd (OracleBIAnalyticsApps.rpd). But when I tried to login to presentation services to view the built-in dashboards, most of the reports are showing 'No Result'. Can I know what else need to be done to view the data in all the dashboards.
    Thank You,

    I am trying to modify the "Warehouse Refresh Date" to minus 8 years as my demo data goes back to year 2000. So in Repository, in Variable Manager I have changed the Data Source of "Warehouse Refresh Date" initialization block to the following:
    select DAY_DT, DAY_DT - 180, PER_NAME_YEAR, PER_NAME_QTR, PER_NAME_MONTH, PER_NAME_WEEK, FSCL_YEAR, FSCL_QTR,
    JULIAN_QTR_NUM, JULIAN_DAY_NUM, JULIAN_MONTH_NUM,JULIAN_YEAR_NUM, CAL_TRIMESTER, CAL_YEAR, CAL_QTR,ROW_WID
    from VALUEOF(OLAPTBO).W_DAY_D
    where CAL_YEAR = TO_NUMBER(TO_CHAR( (select max(add_months(LOAD_DT,-12*8)) from VALUEOF(OLAPTBO).W_ETL_RUN_S), 'yyyy'), '9999')
    and CAL_MONTH = TO_NUMBER(TO_CHAR( (select max(add_months(LOAD_DT,-12*8)) from VALUEOF(OLAPTBO).W_ETL_RUN_S), 'MM'), '99')
    and DAY_OF_MONTH = TO_NUMBER(TO_CHAR( (select max(add_months(LOAD_DT,-12*8)) from VALUEOF(OLAPTBO).W_ETL_RUN_S), 'dd'), '99')
    As my last DWH load was in March 2008, I expect to have year 2000 in the "CURRENT_YEAR" variable feeded with third column of the query. Executing this query directly against the DWH gives me the expected result, but in Presentation Services I still receive the value of 2008 as CURRENT_YEAR.
    How this can be improved?
    p.s. I saved and checked in the Repository changes and restarted both Presentation Services and BI Server windows services.

Maybe you are looking for

  • Doc Date is Greater than Posting Date in Migo

    Hi , Document  Date shouldn't be greater than Posting date in MIGO .How can I restrict it ?? Biswajit

  • Captivate @ TSW Conference - May 4-6, Santa Clara

    We are attending the Technology Services World conference being held from May 4-6 at the Santa Clara convention center. If you are planning to attend, do drop by our booth (#25) to learn how Captivate can be used to streamline your tech-support and c

  • Perform a classic Mac OS search

    I am looking for people to verify these results in Leopard. I have done all my testing with Mac OS 10.4.11. I assume this will work with any version of Tiger or Leopard. I am working on a contribute to the User Tips Library. Background: http://discus

  • Microsoft ACCESS to Oracle

    Does anyone know of an easy way to move data from a Microsoft Access Database to an Oracle database ??

  • Open images in detail view

    Is there a way to show images in detail view automatically, without the user needed to click on a picture? So far I had to do it by pointing to webpage that is www.mydomain/mysite/mywebpage.html#0