Hook operations enable the execution of custom tasks at specific points in the process of linking sources and managing virtual datasets. This feature is particularly useful in scenarios such as preventing monitoring systems from activating during the startup and shutdown of Virtual Databases (VDBs). Users can utilize pre and post-hooks to execute necessary scripts during VDB start/stop operations.
The execution environment for hook scripts varies depending on the operating system:
Unix-based OS: Hook scripts will be executed using bash.
Windows OS: Hook scripts will be executed using PowerShell.
Each Delphix Continuous Data object possesses a unique set of hooks. For efficient management across multiple datasets, you have the option to create hook templates. These templates allow you to apply the same hook configuration to numerous objects, streamlining the process (as discussed in the corresponding section later on this page).