Automatic Storage Management

AskDBA.org Forum » Automatic Storage Management

asmcmd register (5 posts)

About This Topic

Tags

  1. daniesh

    member
    Joined: Nov '08
    Posts: 29

    offline

    Posted 2 years ago
    #

    Hi,

    Is there anyway to register a database using asmcmd command?

  2. Amit Bansal

    Oracle DBA
    Joined: Jun '08
    Posts: 73

    offline

    Posted 2 years ago
    #

    Daniesh,

    asmcmd is a utility and we do not need to register ASM instance to it. To use asmcmd you need to set ORACLE_HOME and ORACLE_SID variable.

    -Amit

  3. daniesh

    member
    Joined: Nov '08
    Posts: 29

    offline

    Posted 2 years ago
    #

    HI,
    Thanks for the reply.
    suppose i have 4 instance rac database.
    i want to see the information about 4th instance.
    how i will do using ASMCMD command?

    About the above question,
    How do we register database in RAC?
    suppose i have 3 instance , now i want to register 4th instance.
    how i will achieve that?

    Thanks

  4. daniesh

    member
    Joined: Nov '08
    Posts: 29

    offline

    Posted 2 years ago
    #

    Hi,
    sorry for the 2nd question in the above post.

    how can we register multiple database in a RAC?

    Thanks.

  5. Amit Bansal

    Oracle DBA
    Joined: Jun '08
    Posts: 73

    offline

    Posted 2 years ago
    #

    Daniel,

    Please find below response to your questions..

    1)In RAC all instances will show same data from asmcmd. To use asmcmd, you need to export ORACLE_SID to +ASM4 by logging on 4th instance.

    2)When you create database using DBCA, oracle automatically add's database to the OCR. In case you wish to add instance, then use DBCA instance management option to add instance which will also register the database. In case you created db/added instance manually, then you need to use srvctl command for same

    Refer srvctl reference guide for more details

    http://download.oracle.com/docs/cd/B19306_01/rac.102/b14197/srvctladmin.htm

Reply

You must log in to post.

AskDBA.org Forum » Automatic Storage Management
251 posts in 104 topics over 45 months by 63 of 110 members. Latest: xiaoling, Williams29, Agatha