Tip of the Day: vFile Hook Operation Types

  • 1
  • Announcement
  • Updated 4 years ago
Each hook operation represents a user-configurable action that the Delphix Engine will take. The operations can be configured to fail if they encounter an unexpected error. The failure of a hook operation will cause the enclosing provision or refresh job to halt. See operation-specific documentation below for details on when an operation is considered to have failed.

RunCommand Operation
The RunCommand operation runs a shell script on the target host. The shell command is run by the environment user from their home directory. All output of the script is captured by the Delphix Engine and logged. If the script fails, the output is displayed in the Delphix Admin web application and command line interface (CLI) to aid in debugging. The shell command must exit with an exit code of 0 if successful. All other exit codes will be treated as an operation failure.

RunExpect Operation


The RunExpect operation executes an Expect script on the target host. The Expect utility provides a scripting language that makes it easy to automate interactions with programs which can normally only be used interactively, such as ssh. The Delphix Engine includes a platform-independent implementation of a subset of the full Expect functionality.


The script is run on the target environment as the environment user from their home directory. All output of the script is captured by the Delphix Engine and logged. If the operation fails, the output is displayed in the Delphix Admin web application and CLI to aid in debugging.

The script must exit with an exit code of 0 if successful. All other exit codes will be treated as an operation failure.
Photo of Delphix FAQs

Delphix FAQs, Official Rep

  • 4,000 Points 4k badge 2x thumb

Posted 4 years ago

  • 1

Be the first to post a reply!