APIPythonOpen-Source Solutions

  • 1.  Automating the CLI

    Posted 03-12-2014 07:20:00 PM
    The documentation indicates you can submit jobs remotely via SSH.  But I can not find out how to submit an entire script remotely.  We want to build scripts and submit as part of an automation exercise for Kaiser.

    Any help would be appreciated.
    #api


  • 2.  RE: Automating the CLI
    Best Answer

    Posted 03-12-2014 07:33:00 PM
    Tim, there is no way to submit an entire script remotely.  The CLI provides a set of commands that can be run to accomplish individual tasks.  The script must run elsewhere, and call into the Delphix Engine's CLI for each command.  Instructions for saving a public key to automate the connection can be found at http://docs.delphix.com/display/DOCS40/CLI+Cookbook%3A+Configuring+Key-Based+SSH+Authentication+for+...
    We also provide a REST API which may work better for automation, which is documented here:
    http://docs.delphix.com/display/DOCS40/Web+Service+API+Guide
    Using the Web Services, you would still need to run the script elsewhere, and make a series of REST calls to the API.