Tuesday, 4 June 2019

srvctl modify database -db rac -policy AUTOMATIC | MANUAL | NORESTART

[root@srv2 oracle]# srvctl modify database -db rac -policy AUTOMATIC
[root@srv2 oracle]# srvctl config database -db rac -all
Database unique name: rac
Database name: rac
Oracle home: /u01/app/oracle/product/12.1.0/dbhome_2
Oracle user: oracle
Spfile: +DATA/RAC/PARAMETERFILE/spfile.268.1009389703
Password file: +DATA/RAC/PASSWORD/pwdrac.256.1009388737
Domain:
Start options: open
Stop options: immediate
Database role: PRIMARY
Management policy: AUTOMATIC
Server pools:
Disk Groups: FRA,DATA
Mount point paths:
Services:
Type: RAC
Start concurrency:
Stop concurrency:
Database is enabled
Database is individually enabled on nodes:
Database is individually disabled on nodes:
OSDBA group: dba
OSOPER group:
Database instances: rac1,rac2
Configured nodes: srv1,srv2
Database is administrator managed
[root@srv2 oracle]#
#########################################################################


[root@srv2 oracle]# srvctl modify database -db rac -policy manual
[root@srv2 oracle]# srvctl config database -db rac -all
Database unique name: rac
Database name: rac
Oracle home: /u01/app/oracle/product/12.1.0/dbhome_2
Oracle user: oracle
Spfile: +DATA/RAC/PARAMETERFILE/spfile.268.1009389703
Password file: +DATA/RAC/PASSWORD/pwdrac.256.1009388737
Domain:
Start options: open
Stop options: immediate
Database role: PRIMARY
Management policy: MANUAL
Server pools:
Disk Groups: FRA,DATA
Mount point paths:
Services:
Type: RAC
Start concurrency:
Stop concurrency:
Database is enabled
Database is individually enabled on nodes:
Database is individually disabled on nodes:
OSDBA group: dba
OSOPER group:
Database instances: rac1,rac2
Configured nodes: srv1,srv2
Database is administrator managed
[root@srv2 oracle]#
[root@srv2 oracle]# srvctl config database -db rac -all
Database unique name: rac
Database name: rac
Oracle home: /u01/app/oracle/product/12.1.0/dbhome_2
Oracle user: oracle
Spfile: +DATA/RAC/PARAMETERFILE/spfile.268.1009389703
Password file: +DATA/RAC/PASSWORD/pwdrac.256.1009388737
Domain:
Start options: open
Stop options: immediate
Database role: PRIMARY
Management policy: NORESTART
Server pools:
Disk Groups: FRA,DATA
Mount point paths:
Services:
Type: RAC
Start concurrency:
Stop concurrency:
Database is enabled
Database is individually enabled on nodes:
Database is individually disabled on nodes:
OSDBA group: dba
OSOPER group:
Database instances: rac1,rac2
Configured nodes: srv1,srv2
Database is administrator managed
[root@srv2 oracle]#

No comments:

Post a Comment