Oracle ASM 重启服务步骤


1.先启动CSS服务

# cd /db/Oracle/product/bin/

# ./localconfig add
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'sys'..
Operation successful.
Configuration for local CSS has been initialized

Adding to inittab
Startup will be queued to init within 30 seconds.
Checking the status of new Oracle init process...
Expecting the CRS daemons to be up within 600 seconds.
CSS is active on these nodes.
        db
CSS is active on all nodes.
Oracle CSS service is installed and running under init(1M)

 

2.启动+ASM实例

$ export ORACLE_SID=+ASM
$ sqlplus / as sysdba

SQL*Plus: Release 10.2.0.1.0 - Production on Thu Apr 21 17:21:42 2011

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

Connected to an idle instance.

SQL> startup
ASM instance started

Total System Global Area  130023424 bytes
Fixed Size                  1991968 bytes
Variable Size             102865632 bytes
ASM Cache                  25165824 bytes
ASM diskgroups mounted
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64
bit Production
With the Partitioning, OLAP and Data Mining options

 

3.启动ORCL实例
$ export ORACLE_SID=ORCL
$ sqlplus / as sysdba

SQL*Plus: Release 10.2.0.1.0 - Production on Thu Apr 21 17:29:00 2011

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

Connected to an idle instance.

SQL> startup pfile='/db/oracle/admin/orcl/initorcl.ora'
ORACLE instance started.

Total System Global Area 2550136832 bytes
Fixed Size                  1995856 bytes
Variable Size             536873904 bytes
Database Buffers         1996488704 bytes
Redo Buffers               14778368 bytes
Database mounted.
Database opened.
SQL>

相关内容