Pular para o conteúdo

SYSASM

SYSASM

Para dividir as responsabilidades de administração do ASM e do Banco de Dados, o Oracle RAC 11gR2 traz um novo privilégio, o SYSASM. Um grupo específico do Sistema Operacional pode ser vinculado a este privilégio, ao invés dos já utilizados oinstall e dba.

O exemplo abaixo é apenas um teste, pois as atividades de start / stop do ASM devem ser feitas com o programa srvctl.

[oracle@nerv10 ~]$ echo $ORACLE_SID

+ASM2

[oracle@nerv10 ~]$ echo $ORACLE_HOME

/u01/app/11.2.0/grid

[oracle@nerv10 ~]$ sqlplus / AS SYSDBA

SQL*Plus: Release 11.2.0.1.0 Production on Tue Sep 28 11:16:07 2010

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

Connected to an idle instance.

SQL> STARTUP

ORA-01031: insufficient privileges

SQL> EXIT

Disconnected

[oracle@nerv10 ~]$ sqlplus / AS SYSASM

SQL*Plus: Release 11.2.0.1.0 Production on Tue Sep 28 11:16:20 2010

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

Connected to an idle instance.

SQL> STARTUP

ASM instance started

Total System Global Area  283930624 bytes

Fixed Size            2212656 bytes

Variable Size          256552144 bytes

ASM Cache           25165824 bytes

ASM diskgroups mounted

SQL> SHUTDOWN IMMEDIATE;

ASM diskgroups dismounted

ASM instance shutdown

SQL> EXIT

Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production

With the Real Application Clusters and Automatic Storage Management options

[oracle@nerv10 ~]$

Quão útil foi este post ?

Clique em uma estrela para classificar o post

nota média 4.5 / 5. Contagem de votos: 17

Sem votos ! Seja o primeiro a classificar !

Deixe um comentário

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *

plugins premium WordPress