Can I use CLI command in Prehook from Delphix Engine GUI ?

  • 0
  • 1
  • Question
  • Updated 2 weeks ago
  • Acknowledged
I am trying to change status of Logsync from Enable to Disable, then take a SnapSync of dSource and then lastly enable logsync.
I am able to complete the above using CLI interface ssh <user>@<engine> 
database
...
update
set=...
commit;

But I want to add the CLI command to PreHook and PostHook for SynapSync....please suggest . Thanks in Advance. 
Photo of Chitranjan Belwariar

Posted 2 weeks ago

  • 0
  • 1
Photo of Tim Gorman

Tim Gorman, Delphix Field Services

  • 3,836 Points 3k badge 2x thumb
Chitranjan,

Please let me understand what you want to do...

  1. Disable LogSync
  2. SnapSync
  3. Enable LogSync

Is that correct?

If so, what are you attempting to accomplish?

Before you continue down this path, please be aware that gathering of archived redo logfiles is absolutely required during SnapSync.  So, turning off LogSync then performing SnapSync will cause an alternate mechanism for gathering archived redo log files to be used.  That is, the SnapSync job itself will add additional RMAN commands to collect archivelogs.

It is better to just leave LogSync running through the SnapSync.

Are you trying to conserve storage on your virtualization engine?

Please let me know what you think?

Thanks!

-Tim