This website uses cookies to ensure you get the best experience on our website.
Learn more
OK
Skip to main content (Press Enter).
Sign in
Skip auxiliary navigation (Press Enter).
Liberate your data.
Skip main navigation (Press Enter).
Toggle navigation
Communities
Announcements
Delphix Products
Data Company Central
All Communities
Events
Data Company Summits 2023
Upcoming Events
Champions
Become a Champion!
Browse
Discussion Posts
Events
Library Entries
Documentation
Blogs
Webinars
Academy
Delphix Products
View Only
Community Home
Discussion
5.8K
Library
146
Blogs
107
Events
0
Members
4.8K
Back to discussions
Expand all
|
Collapse all
sort by most recent
sort by thread
Where is the output to stdout/stderr from hook operations (bash) captured?
Jump to
Best Answer
Hauke Ahlgrimm
08-02-2018 10:31:00 AM
Hi all, I'm new to cutomizing the provisioning of VDBs with hooks. Using bash type hooks, where can I ...
Matthew Griffith
08-02-2018 10:48:00 AM
Best Answer
Hi Hauke, Best practice is to write your bash script outside of Delphix and locate it on the target ...
Gianpiero Piccolo
08-02-2018 11:49:00 AM
Hi Matt, thank you for your information. When the target is a Oracle Rac, on which node will the execution ...
Hauke Ahlgrimm
08-02-2018 12:04:00 PM
Hi Matt, thanks fore the quick reply, this got me started well enough.
Hauke Ahlgrimm
08-02-2018 12:06:00 PM
delphix will pick a random node. for details see here: https://docs.delphix.com/display/DOCS50/Ora ...
1.
Where is the output to stdout/stderr from hook operations (bash) captured?
1
Recommend
Hauke Ahlgrimm
Posted 08-02-2018 10:31:00 AM
Reply
Options Dropdown
Hi all,
I'm new to cutomizing the provisioning of VDBs with hooks. Using bash type hooks, where can I find test that was beeing sent to stdout or stderr?
Thanks in advance!
#Virtualization
#OracleEBS
2.
RE: Where is the output to stdout/stderr from hook operations (bash) captured?
Best Answer
1
Recommend
Champion
Matthew Griffith
Posted 08-02-2018 10:48:00 AM
Reply
Options Dropdown
Hi Hauke, Best practice is to write your bash script outside of Delphix and locate it on the target server. You then call the script from within the hook. The benefit with this method is you have complete control over input and output and ensure logging and debugging is exactly how you want it. Delphix provide a bunch of variables you can use too. I've written a SQL Server blog post that mentions the variables (although it is a little out of date now but useful nonetheless) but the same applies to Linux based systems.
https://thedatalobby.kuzodata.com/delphix-sql-server-hooks/
3.
RE: Where is the output to stdout/stderr from hook operations (bash) captured?
0
Recommend
Gianpiero Piccolo
Posted 08-02-2018 11:49:00 AM
Reply
Options Dropdown
Hi Matt, thank you for your information. When the target is a Oracle Rac, on which node will the execution be done? Thanks Regards Gianpiero
4.
RE: Where is the output to stdout/stderr from hook operations (bash) captured?
2
Recommend
Hauke Ahlgrimm
Posted 08-02-2018 12:04:00 PM
Reply
Options Dropdown
Hi Matt, thanks fore the quick reply, this got me started well enough.
5.
RE: Where is the output to stdout/stderr from hook operations (bash) captured?
2
Recommend
Hauke Ahlgrimm
Posted 08-02-2018 12:06:00 PM
Reply
Options Dropdown
delphix will pick a random node. for details see here:
https://docs.delphix.com/display/DOCS50/Oracle+Hook+Operation+Notes?_ga=2.60381421.1319826276.1533209042-1697284693.1516610926
×
New Best Answer
This thread already has a best answer. Would you like to mark this message as the new best answer?
Copyright 2023. All rights reserved.
Powered by Higher Logic