Delphix Products

 View Only
  • 1.  Get Mount details of datasets

    Posted 01-31-2023 03:28:00 PM
    Hi, 

    is there anyway to get the mount path of d-source and VDBs?

    ------------------------------
    Vijayender Singidi
    ------------------------------


  • 2.  RE: Get Mount details of datasets

    Posted 02-01-2023 08:16:00 AM
    Hi Vijayender

    Are you wanting this programmatically, or on a display?

    ------------------------------
    Larry Morgan
    Principal Solutions Engineer
    Delphix
    ------------------------------



  • 3.  RE: Get Mount details of datasets

    Posted 02-01-2023 08:50:00 AM
    would like to get the mount details with API call to write a program.

    ------------------------------
    Vijayender Singidi
    ------------------------------



  • 4.  RE: Get Mount details of datasets
    Best Answer

    Posted 02-06-2023 01:45:00 PM

    Hi Vijayender,

     

    Multiple ways to do this...

     

    The data you are looking for is the "mountBase" property.

     

    Here is a quick example on how to get it using CLI (I like CLI because its easy)...

     

    $ ssh admin@<your Delphix Compliance Engine IP or Hostname

    <provide password>

    Delphix> source

     

    (at this point you could do list to see all sources)

     

    Delphix> list

     

    Then you can get the details for a single VDB...for example ORADEV

     

    and then look at all the properties of ORADEV by using the "ls" command... you will notice the "mountBase" properties…

     

    Tip... you get get the mountBase for ALL your objects by going up a level and using the list command + specify what properties you want to see…

     

    Take time to experiment using CLI in scrits/shell to automate tasks (example: script that create file containing the list of all mount points for all your objects)

     

    Doc on CLI: https://documentation.delphix.com/docs/command-line-interface-overview

     

    If you want to do the CURL/REST API route, now you know that "mountBase" is the property you want.

     

    For APIs, we have some good example to get you started at https://documentation.delphix.com/docs/api-cookbook-common-tasks-workflows-and-examples

     

    Hope this helps.

     

    Serge



    ------------------------------
    Serge De La Sablonniere
    Master Solutions Engineer
    Delphix
    ------------------------------