How to use -mapfile option in dx_provision_vdb utility

  • 1
  • 1
  • Question
  • Updated 10 months ago
  • Answered

I am trying to use -mapfile option under dx_provision_vdb utility, where I need to have below replacements/mappings. But it is keep failing. I don't find any suitable example to refer. Please suggest how that works?

Requirement is to replace "/oracle/ora01/s12102b" with "/ora01" which I have placed as below in a file and passing as parameter- 
-------mapfile----- 
/oracle/ora01/s12102b:/ora01

command : 
-------------- 
./dx_provision_vdb [other parameters] -mapfile /opt/oracl/emapfile 

Problem with mapping file. VDB won't be created. at script/dx_provision_vdb.pl line 446.
Photo of Sushil Krishn

Sushil Krishn

  • 160 Points 100 badge 2x thumb

Posted 10 months ago

  • 1
  • 1
Photo of fMarcin Przepiorowski

fMarcin Przepiorowski, Employee

  • 1,070 Points 1k badge 2x thumb
Hello,

I found an issue - this is a bug in dxtoolkit, introduced after API changes.
I have created an issue in github - please monitor it when this issue will be resolved.

https://github.com/delphix/dxtoolkit/issues/50

I hope to do it in next dxtoolkit release. If this issue is urgent please contact your Delphix CSM 
to discuss it.

regards,
Marcin
Photo of Sushil Krishn

Sushil Krishn

  • 160 Points 100 badge 2x thumb
Thanks Marcin to look into it and to create follow-up request.
We are trying to automate provision process in our environment, where file mapping is a mandatory requirement.
I will inform to CSM about this issue.
Is it possible to provide next estimated Release dates (approx) of dxtoolkit?

Thanks,
Sushil
Photo of fMarcin Przepiorowski

fMarcin Przepiorowski, Employee

  • 1,070 Points 1k badge 2x thumb
Hello

I fixed bug in the code. 
I'm going to build a new release shortly. What OS are you using ? I will prioritize a build for it .

regards,
Marcin
Photo of Sushil Krishn

Sushil Krishn

  • 160 Points 100 badge 2x thumb
Hi Marcin,

Thank you for the quick action.
We are using Enterprise Linux 6 & 7 for the most of environments
Also we have Solaris 10 in use.
Please let me know when it is ready to use and thanks for prioritizing it.

Regards,
Sushil
Photo of fMarcin Przepiorowski

fMarcin Przepiorowski, Employee

  • 1,070 Points 1k badge 2x thumb
Hi,

RH 6 and 7 version of fixed toolkit is ready to download.

https://github.com/delphix/dxtoolkit/releases/tag/v2.3.6

Let me know if this is working for you

regards,
Marcin
Photo of Sushil Krishn

Sushil Krishn

  • 160 Points 100 badge 2x thumb
Hi Marcin,

This works great! 
Thank you for providing the fix quickly, this will be really helpful. I appreciate it.
Whenever you get chance please provide solaris version as well.

Thank you!

Regards,
Sushil