gridSetup.sh -switchGridhome
The gridSetup.sh -switchGridhome
command changes the
active Oracle Grid Infrastructure home from the configured home to the current home from
which you are running this command.
Syntax
gridSetup.sh -switchGridhome [-zeroDowntimeGIPatching [-skipDriverUpdate]]
[-rollback -oldHome old_GI_Home [-clusterNodes list_of_nodes]]
[-drainTimeoutInSeconds number_of_seconds] [-resume]
Parameters
Table A-5 gridSetup.sh -switchGridhome Command Parameters
Parameter | Description |
---|---|
-help |
Displays the |
-zeroDowntimeGIPatching |
Switch the active Oracle Grid Infrastructure home to the current home without stopping the databases and services. |
-skipDriverUpdate |
Specify this option to skip updating the operating system drivers, such as Oracle ACFS and Oracle ASMFD. Note: If the patch that you are installing contains operating system driver updates, then you must use |
-rollback {-oldHome |
-clusterNodes} |
Switch back to the previous Oracle Grid Infrastructure home when the patching operation fails. When you use this option, specify the old Grid Infrastructure home and the list of cluster nodes on which you want to perform the rollback operation. |
-drainTimeoutInSeconds |
Drain the database services before stopping the database instances on the current node. Specify the drain timeout value in seconds. |
-resume |
Resume operation to run pending and failed jobs. |
Usage Notes
You cannot use the -zeroDowntimeGIPatching
and -rollback
options together.
Example
gridSetup.sh -switchGridhome -zeroDowntimeGIPatching -skipDriverUpdate -drainTimeoutInSeconds 60