APIPythonOpen-Source Solutions

  • 1.  JetStream: regular refresh for container

    Posted 10-08-2015 10:57:00 AM

    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.)


    #Self-Service


  • 2.  RE: JetStream: regular refresh for container
    Best Answer

    Posted 10-08-2015 12:32:00 PM
    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!


  • 3.  RE: JetStream: regular refresh for container

    Posted 10-08-2015 02:17:00 PM
    thank you, this works fine for me