asmcmd register

Tagged: 

  • This topic is empty.
Viewing 4 reply threads
  • 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

Viewing 4 reply threads
  • You must be logged in to reply to this topic.