VMware {code} Community
f1racr
Contributor
Contributor

Scheduling a Converter 5.5 job

Hi guys,

I'm really struggling to find any information about how I can schedule a converter job to happen with V5 or V5.5 since VMware dropped the Vcenter plugin (daft decision in my book).

I've searched my ass off and still haven't found any solutions........... is there any script examples or anything like that I can use to schedule a server to do a P2V converter regularly ?


0 Kudos
3 Replies
patanassov
VMware Employee
VMware Employee

You can't schedule the initial conversion from within converter but you can write a tool that starts conversion jobs using the SDK and schedule it.

HTH

Plamen

0 Kudos
svmyt
Contributor
Contributor

You can do this with the Converter SDK as Plamen mentioned.You can specify the firstRun parameter of ConverterServerConversionConversionJobSpec object to contain a DateTime to start at a specific time. If you want a regular thing, you could host your console exe as a Windows Service and let it execute after regular intervals.

source: http://www.vmware.com/support/developer/converter-sdk/conv43_apireference/converter.server.job.JobSp...

0 Kudos
patanassov
VMware Employee
VMware Employee

It is better to use the OS scheduler (or something else) and not rely on firstRun parameter. This functionality is unsupported (as it is unavailable in the UI) and has never been tested . The code should work (besides it used to in converter as vCenter plugin) but ...

0 Kudos