Configuring Custom Scripts
Follow the instructions in the “Configuring Oracle Site Guard” chapter of Site Guard Administrator’s Guide to configure the Pre Scripts and Post Scripts shown below, using the shown parameters for Script Type, Operation, and Role and running on the given target host. Scripts must be configured to run as the user specified in the Custom Scripts section.
 
Script
Target Host
Script Type
Operation
Role
Notes
sg-nmsstart
NMS Server
Post-Script
Start
N/A
 
sg-nmsstop
NMS Server
Post-Script
Stop
N/A
 
sg-nmsstop
NMS Server
Post-Script
Switchover
Primary
 
sg-nmsswitchover
NMS Server
Post-Script
Switchover
Standby
 
sg-nmsswitchover
NMS Server
Post-Script
Failover
Standby
Only used by Failover
sg-nmsreadonly
NMS Server
Pre-Script
Failover
Primary
Only used by Failover Patching
sg-createrestorepoint
Database Server
Pre-Script
Failover
Primary
Only used by Failover Patching