Install Oracle
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
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 ~]$ export ORACLE_HOME=/u01/11.2.0.2/grid[oracle@localhost ~]$ export PATH=$ORACLE_HOME/bin:$PATH[oracle@localhost ~]$ crs_stat -tName Type Target State Host------------------------------------------------------------ora.cssd ora.cssd.type OFFLINE OFFLINEora.diskmon ora....on.type OFFLINE OFFLINEora.evmd ora.evm.type ONLINE ONLINE localhostora.ons ora.ons.type OFFLINE 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.type ONLINE ONLINE localhostora.diskmon ora....on.type ONLINE ONLINE localhostora.evmd ora.evm.type ONLINE ONLINE localhostora.ons ora.ons.type OFFLINE OFFLINE |
Create 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.
[oracle@localhost disks]$ vi /u01/11.2.0.2/grid/dbs/init+ASM.ora
instance_type=asm
asm_diskstring=’/dev/oracleasm/disks/*’
asm_power_limit=5
large_pool_size=12M
remote_login_passwordfile=exclusive
diagnostic_dest=/u01/app/oracle
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 -t |