JetStream: regular refresh for container

  • 0
  • 1
  • Question
  • Updated 3 years ago
  • Answered

Hi, Is there a way to refresh a container in JetStream nightly? I tried to add a refresh policy for the vDB but this is not possible. I also tries to use cli but with the same result.
(   Error: Failed to perform the operation because the database container "XX/XYZ" is part of a Jet Stream data layout.
  Action: Use the Jet Stream portal to manage this database container.)

Photo of Claudia Coomes-Brüesch

Posted 3 years ago

  • 0
  • 1
Photo of Tim Gorman

Tim Gorman, Field Services

  • 3,154 Points 3k badge 2x thumb
Official Response
Claudia,

The best way I know to do this is using a job scheduler external to Delphix (i.e. UNIX/Linux "cron", etc) to execute a script in the language of your choice (i.e. Windows powershell, UNIX/Linux shell, Python, Perl, etc) which connects into the Delphix CLI using SSH to run the following...

/jetstream container select "JS-container-name"; refresh; commit

where JS-container-name is the name of the JetStream container.  If the name contains spaces, then the double-quotes surrounding the name are required.

There are code examples to be found in the online documentation, including setting up SSH public-key authentication (a.k.a. "passwordless SSH") and other common operations like VDB refresh, rewind, and provisioning.

Hope this helps!