asmcmd register

Home Forums Automatic Storage Management asmcmd register

Tagged: 

This topic contains 4 replies, has 0 voices, and was last updated by  daniesh 7 years, 11 months ago.

  • Author
    Posts
  • #1902

    daniesh
    Participant

    Hi,

    Is there anyway to register a database using asmcmd command?

  • #2066

    Amit Bansal
    Keymaster

    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

  • #2067

    daniesh
    Participant

    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

  • #2068

    daniesh
    Participant

    Hi,

    sorry for the 2nd question in the above post.

    how can we register multiple database in a RAC?

    Thanks.

  • #2069

    Amit Bansal
    Keymaster

    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

You must be logged in to reply to this topic.