Ok

En poursuivant votre navigation sur ce site, vous acceptez l'utilisation de cookies. Ces derniers assurent le bon fonctionnement de nos services. En savoir plus.

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

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 ~]$ 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

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 asm
PRCR-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 asm
ASM is not running.
[oracle@localhost ~]$ srvctl start asm
[oracle@localhost ~]$ srvctl status asm
ASM is running on localhost
[oracle@localhost ~]$ srvctl config asm
ASM home: /u01/11.2.0.2/grid
ASM listener was not found
PRCA-1032 : ASM listener LISTENER does not exist
Spfile: /u01/11.2.0.2/grid/dbs/init+ASM.ora
ASM diskgroup discovery string: ++no-value-at-resource-creation--never-updated-through-ASM++
[oracle@localhost ~]$ crs_stat -t

Les commentaires sont fermés.