database:oracle:rac:commands
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
database:oracle:rac:commands [2018/12/03 20:32] – odefta | database:oracle:rac:commands [2018/12/03 21:15] – odefta | ||
---|---|---|---|
Line 193: | Line 193: | ||
Instance SNT2 is running on node lptxrac122n2 | Instance SNT2 is running on node lptxrac122n2 | ||
</ | </ | ||
+ | |||
+ | ===== Find server pool name ===== | ||
+ | |||
+ | < | ||
+ | srvctl status srvpool | ||
+ | </ | ||
+ | |||
+ | Possible output: | ||
+ | |||
+ | < | ||
+ | Server pool name: Free | ||
+ | Active servers count: 0 | ||
+ | Server pool name: Generic | ||
+ | Active servers count: 2 | ||
+ | </ | ||
+ | |||
+ | ===== Automate start / stop PDB ===== | ||
+ | |||
+ | Adding the service (for admin-managed database) with PDB name SNTL: | ||
+ | |||
+ | < | ||
+ | srvctl add service -db SNT -service plug -preferred SNT1 -available SNT2 -tafpolicy BASIC -policy AUTOMATIC -failovertype SELECT -failovermethod BASIC -failoverretry 5 -pdb SNTL -verbose | ||
+ | </ | ||
+ | |||
+ | Start the service: | ||
+ | |||
+ | < | ||
+ | srvctl start service -db SNT -s plug | ||
+ | </ | ||
+ | |||
database/oracle/rac/commands.txt · Last modified: 2023/07/04 19:36 by 127.0.0.1