没export ORACLE_SID=+ASM 时,进入asmcmd的提示

[root@rhel63single ~]# su - grid
[grid@rhel63single ~]$ crs_stat -t
Name           Type           Target    State     Host        
------------------------------------------------------------
ora.DATA.dg    ora....up.type ONLINE    ONLINE    rhel...ngle 
ora.asm        ora.asm.type   ONLINE    ONLINE    rhel...ngle 
ora.cssd       ora.cssd.type  ONLINE    ONLINE    rhel...ngle 
ora.diskmon    ora....on.type OFFLINE   OFFLINE               
ora.evmd       ora.evm.type   ONLINE    ONLINE    rhel...ngle 
ora.ons        ora.ons.type   OFFLINE   OFFLINE               
[grid@rhel63single ~]$ which asmca
/u03/app/11.2.0/grid/bin/asmca
[grid@rhel63single ~]$ crsctl stat res -t
--------------------------------------------------------------------------------
NAME           TARGET  STATE        SERVER                   STATE_DETAILS       
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.DATA.dg
               ONLINE  ONLINE       rhel63single                                 
ora.asm
               ONLINE  ONLINE       rhel63single             Started             
ora.ons
               OFFLINE OFFLINE      rhel63single                                 
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.cssd
      1        ONLINE  ONLINE       rhel63single                                 
ora.diskmon
      1        OFFLINE OFFLINE                                                   
ora.evmd
      1        ONLINE  ONLINE       rhel63single                                 
[grid@rhel63single ~]$ asmcmd
Connected to an idle instance.
ASMCMD> lsdg
ASMCMD-8102: no connection to Oracle ASM; command requires Oracle ASM to run
ASMCMD> exit
[grid@rhel63single ~]$ export ORACLE_SID=+ASM
[grid@rhel63single ~]$ asmcmd
ASMCMD> lsdg
State    Type    Rebal  Sector  Block       AU  Total_MB  Free_MB  Req_mir_free_MB  Usable_file_MB  Offline_disks  Voting_files  Name
MOUNTED  NORMAL  N         512   4096  1048576      4094     3974                0            1987              0             N  DATA/
ASMCMD> 

你可能感兴趣的:(Oracle,DB)