• Font Size
  • S
  • M
  • L

Search via FAQ No.


  • No : 30723
  • Open Date : 2019/09/09 15:46
  • Print
NEW

[DataSpider Servista] Is there a way to disable triggers during switchover?

We plan to disable the trigger at the first service startup and check the script operation. After that, we will enable the trigger for the time of version upgrade or environment switchover. Is there a way to disable triggers during migration?
 
Category : 

Answer

Specification
 
There is no way to activate the DataSpiderServer if the trigger is disabled. Also you can not disable the triggers while DataSpiderServer is stopped.
 
Please disable the triggers in the prior environment to version upgrade or switchover, and then executes the version upgrade or the switchover operation.
 
Please refer to the following for how to disable the triggers at once.
 
Deactivation by CLI Console
 
By executing the following command in the CLI Console with the administrative user, you can disable all trigger at once.
 
trigger --all-disable
 
How to check the trigger status before disabling
 
If you execute the "trigger" command without an option as the administrator user, you can check the valid/invalid status of all triggers.
 
You can also execute the above command from the CLI batch and redirect it to a file and check which triggers were enabled before disabling.
 
For more information on redirecting CLI batch results to a file, please refer to FAQ No. 21207 for reference information
 
 
Reference Information
 
・CLI Console
 
・FAQ No.24441