Language:EN
Pages: 2
Rating : ⭐⭐⭐⭐⭐
Price: $10.99
Page 1 Preview
the password file stored asm crsctl stat res ora

The password file stored asm crsctl stat res ora

Chapter 3 ■ raC OperatiOnal praCtiCes

SQL>select * from gv$pwfile_users where username='RS';

The Clusterware resource for the database also has a new attribute referring to the password file; in this example, the password file is stored in ASM.

$ crsctl stat res ora.orcl12.db –p |more
...

To manage a database, it is advisable to use the srvctl command. While it is possible to manage databases as Clusterware objects using crsctl commands, you should try to use the srvctl command whenever possible. The srvctl command provides an additional layer of security and avoids unnecessary activity in the Clusterware owner account.

The general syntax of the srvctl command is given in the following. To start or stop a database, you would use the following command:

Chapter 3 ■ raC OperatiOnal praCtiCes

The database can also be started using the srvctl command. The following commands start the database in OPEN startup mode. Startup mode can be explicitly specified too.

$ srvctl stop instance -d ORCL –i ORCL1
$ srvctl stop instance -d ORCL –n RAC1
$ srvctl stop instance -d ORCL –i ORCL1,ORCL2

Configuration of a database can be queried using the config database command and shows the spfile location, oracle_home location, default start options, default stop options, and instances of a database, etc.

USR_ORA_INST_NAME@SERVERNAME(RAC1)=ORCL1
USR_ORA_INST_NAME@SERVERNAME(RAC2)=ORCL2

91

You are viewing 1/3rd of the document.Purchase the document to get full access instantly

Immediately available after payment
Both online and downloadable
No strings attached
How It Works
Login account
Login Your Account
Place in cart
Add to Cart
send in the money
Make payment
Document download
Download File
img

Uploaded by : Dhanush Sood

PageId: DOCDE6501D