[oracle@localhost ~]$ export ORACLE_HOME=/u01/11.2.0.2/grid
[oracle@localhost ~]$ export PATH=$ORACLE_HOME/bin:$PATH
[oracle@localhost ~]$ crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora.cssd ora.cssd.type OFFLINE OFFLINE
ora.diskmon ora....on.type OFFLINE OFFLINE
ora.evmd ora.evm.type ONLINE ONLINE localhost
ora.ons ora.ons.type OFFLINE OFFLINE
[oracle@localhost ~]$ crs_start ora.cssd
Attempting to start `ora.cssd` on member `localhost`
Attempting to start `ora.diskmon` on member `localhost`
Start of `ora.diskmon` on member `localhost` succeeded.
Start of `ora.cssd` on member `localhost` succeeded.
[oracle@localhost ~]$ crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora.cssd ora.cssd.type ONLINE ONLINE localhost
ora.diskmon ora....on.type ONLINE ONLINE localhost
ora.evmd ora.evm.type ONLINE ONLINE localhost
ora.ons ora.ons.type OFFLINE OFFLINE
0 – Créer les disques labelisé ASM
1 – Installer les binaires Oracle Grid Infrastructure
2 – Installer les binaires Oracle Database 11g
3 – Installer l’instance +ASM
source : https://nadeemmohammed.wordpress.com/2012/09/24/oracle-11-2-standalone-database-creation-using-asm-manually/
Extrait du site :
Start CSSD service
Now we have Grid Infrastructure and Oracle Database binaries installed. The next step is to create ASM instance and then the database instance. Before starting the creation of ASM instance we need to ensure that CSSD service is up and running. This can be done by issuing ‘crs_start ora.cssd‘ command.
[oracle@localhost ~]$exportORACLE_HOME=/u01/11.2.0.2/grid[oracle@localhost ~]$exportPATH=$ORACLE_HOME/bin:$PATH[oracle@localhost ~]$ crs_stat -tName Type Target State Host------------------------------------------------------------ora.cssd ora.cssd.typeOFFLINE OFFLINEora.diskmon ora....on.typeOFFLINE OFFLINEora.evmd ora.evm.typeONLINE ONLINE localhostora.ons ora.ons.typeOFFLINE OFFLINE[oracle@localhost ~]$ crs_start ora.cssdAttempting to start `ora.cssd` on member `localhost`Attempting to start `ora.diskmon` on member `localhost`Start of `ora.diskmon` on member `localhost` succeeded.Start of `ora.cssd` on member `localhost` succeeded.[oracle@localhost ~]$ crs_stat -tName Type Target State Host------------------------------------------------------------ora.cssd ora.cssd.typeONLINE ONLINE localhostora.diskmon ora....on.typeONLINE ONLINE localhostora.evmd ora.evm.typeONLINE ONLINE localhostora.ons ora.ons.typeOFFLINE OFFLINECreate ASM Service and Instance
For creating ASM instance create the parameter file under under GRID_HOME/dbs directory. Note that asm_diskstring parameter value parameter would be nothing but disks which we have configured via ASMLib. If you are using NFS or NAS then you should specify your disks in this parameter. Multiple disk strings can be specified by comma separated values.
Now add the ASM service to the cluster registry (OCR) via srvctl utility and start the ASM instance.
[oracle@localhost ~]$ srvctl status asmPRCR-1001 : Resource ora.asm does not exist[oracle@localhost ~]$ srvctl add asm -p/u01/11.2.0.2/grid/dbs/init+ASM.ora[oracle@localhost ~]$ srvctl status asmASM is not running.[oracle@localhost ~]$ srvctl start asm[oracle@localhost ~]$ srvctl status asmASM is running on localhost[oracle@localhost ~]$ srvctl config asmASM home:/u01/11.2.0.2/gridASM listener was not foundPRCA-1032 : ASM listener LISTENER does not existSpfile:/u01/11.2.0.2/grid/dbs/init+ASM.oraASM diskgroup discovery string: ++no-value-at-resource-creation--never-updated-through-ASM++[oracle@localhost ~]$ crs_stat -tJosselin Joly