>데이터 베이스 >MySQL 튜토리얼 >Oracle ASM 重启服务步骤

Oracle ASM 重启服务步骤

WBOY
WBOY원래의
2016-06-07 17:08:042020검색

1.先启动CSS服务 # cd /db/Oracle/product/bin/ # ./localconfig addSuccessfully accumulated necessary OCR keys.Creating OC

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>

성명:
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.