Oracle12c DB Service failover Behavior change

-bash-4.1$ srvctl stop instance -h

Stops the database instance.

Usage: srvctl stop instance -db {-node | -instance } [-stopoption ] [-force] [-failover]
-db Unique name for the database
-node Node name
-instance “” Comma separated instance names
-stopoption Options to instance shutdown command (e.g. NORMAL, “TRANSACTIONAL LOCAL”, IMMEDIATE, or ABORT)
-force Forcibly stop the instance and any running services.
-failover Allow the running services to fail over to another instance
-help Print usage
-bash-4.1$
-bash-4.1$
-bash-4.1$ srvctl stop instance -d blrdb -s ndb1 -f
PRKO-2002 : Invalid command line option: -s
-bash-4.1$
-bash-4.1$ srvctl stop instance -d blrdb -i ndb1 -f
Invalid instance name(s): ndb1
-bash-4.1$
-bash-4.1$ srvctl stop instance -d blrdb -i blrdb1 -f
-bash-4.1$ srvctl start instance -d blrdb -i blrdb1
-bash-4.1$
-bash-4.1$
-bash-4.1$ srvctl stop instance -d blrdb -i blrdb1 -failover
-bash-4.1$
-bash-4.1$ srvctl start instance -d blrdb -i blrdb1

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.