Delphix Toolkits (dxToolkit and dxmToolkit)

 View Only
  • 1.  correct osname for dx_ctl_engine_upgrade commands

    Posted 01-04-2024 04:53:00 PM

    We are attempting to use the dxtoolkit to upgrade our virtualization engines. As part of the upgrade process we are using the verify and apply action, but cannot determine the correct -osname to provide. The guest OS of the VM is Ubuntu Linux 64-bit. What should we be passing as osname in this case?

    The wiki page for dx_ctl_engine_upgrade does have a header for examples, but is empty. It would be helpful if there were a few example commands provided.

    Thanks!

    Kyle



    ------------------------------
    Kyle Sweers
    ------------------------------


  • 2.  RE: correct osname for dx_ctl_engine_upgrade commands

    Posted 01-04-2024 05:19:00 PM
    Edited by Matt Watson 01-04-2024 05:19:24 PM

    I don't have a dxtoolkit environment setup at the moment to test this, however I believe this is the Delphix version you wish to upgrade to, eg "6.0.17.0", "9.0.0.0", etc. Can you try that and see if it works as expected?



    ------------------------------
    Matt Watson
    Delphix
    ------------------------------



  • 3.  RE: correct osname for dx_ctl_engine_upgrade commands

    Posted 01-04-2024 07:33:00 PM

    Thanks for the response Matt, I appreciate it!

    I am not quite following what you're suggesting to test. Our problem is that we don't know what value to pass for "osname" parameter in the dxtoolkit command. Here is the command we are passing:

    "./dx_ctl_engine_upgrade -engine <engineName> -action verify -filename 'Delphix_7.0.0.0_2023-01-10-09-46_Standard_Upgrade.tar' -osname ubuntu -debug"

    ...and here is the error:

    "Version ubuntu not foundVersion with osname ubuntu not found in Delphix Engine. Apply will not be performed"

    We have tried several values for osname, to no avail, so there is where we need some guidance.

    Our engines are on version 6.0.12.1 so our upgrade path is 6.0.12.1 -> 7.0 -> 18.0

    Thanks,

    Kyle



    ------------------------------
    Kyle Sweers
    Database Engineer
    Paychex, Inc.
    ------------------------------



  • 4.  RE: correct osname for dx_ctl_engine_upgrade commands
    Best Answer

    Posted 01-05-2024 03:08:00 AM

    I think osname is only required after you have already uploaded the upgrade image, 

    so you would do:

    - Upload the image with:

    ./dx_ctl_engine_upgrade -engine <engine name> -action upload -filename 'Delphix_7.0.0.0_2023-01-10-09-46_Standard_Upgrade.tar'

    - Verify the image with:

    ./dx_ctl_engine_upgrade -engine <engine name> -action verify -osname 7.0.0.0

    - Apply the image with:

    ./dx_ctl_engine_upgrade -engine <engine name> -action apply -osname 7.0.0.0


    ------------------------------
    Matt Watson
    Delphix
    ------------------------------



  • 5.  RE: correct osname for dx_ctl_engine_upgrade commands

    Posted 01-05-2024 07:19:00 AM

    Thank you Matt!

    After omitting -filename, and specifying the DelphixOS version as -osname, our commands are working as expected.



    ------------------------------
    Kyle Sweers
    Database Engineer
    Paychex, Inc.
    ------------------------------