Quantcast
Channel: VMware Communities : Popular Discussions - VMware vCenter Converter SDK
Viewing all 6223 articles
Browse latest View live

Monitor the progress of the submitted job -ConverterServerConversionManagerCreateJob

$
0
0

Hi All,

 


I am trying to  perform a p2v conversion using the converter 5.5 sdk . I was able to set all the properties and submit the job.

 


I have used ConverterServerConversionConversionJobInfo result = converterService.ConverterServerConversionManagerCreateJob(converterServerContent.conversionManager,jobSpec,null);  to submit the job.

 


I wanted to know is there a way we can monitor the progress of the task in percentage and the status of the task .

 


When i check the

 


ConverterServerConversionConversionJobInfo   class also has MOR to the job and scheduled task . but i am currently struck at how to use them to find the progress of the submitted job.

 


Thanks,

 


Kiran


"could not determine if the source system was 32 or 64 bit;"

$
0
0

While trying to convert a CentOS Linux machine, I'm getting this error while querying the source spec.

[Converter Agent SysInfoQuery] could not determine if the source system was 32 or 64 bit; return code 1; result: Unable to open connection. Host doesn't exist.

 

It crashes here:

 

computerInfo = _converterServer._converterService.ConverterQuery(_converterServer._converterServerContent.queryManager,_liveSourceSpec);

 

Where the _liveSourceSpec is being built using the following. All parameters are correct and I have checked connectivity using SSH.

 

BuildLiveSourceLocation(String sourceName, String sourceUsername, String sourcePassword,String osType,String sslThumbprint)   
{

       ConverterComputerSpecLiveComputerLocation liveSourceLocation = newConverterComputerSpecLiveComputerLocation();

                liveSourceLocation.hostname = sourceName;

                liveSourceLocation.username = sourceUsername;
liveSourceLocation.osType = osType;

liveSourceLocation.verifyPeer =
true;

liveSourceLocation.verifyPeerSpecified = true;
liveSourceLocation.sslThumbprint = sslThumbprint;

       if (osType.ToLower().Equals("linuxos"))       
{

      liveSourceLocation.port = 22;

           liveSourceLocation.portSpecified = true;       
}

return liveSourceLocation;

   
}

Specify destination datastore

$
0
0

Can anyone tell me how to specify the destinaion datastore for a conversion task.  For now, it is choosing a (seemingly random) default datastore based on the host (also a seemingly random default selection).

 

I can't seem to find anything about a datastore in the target definition.

 

Thanks,

William

Problem with duplicate volume IDs

$
0
0

I have this small block of code that goes through each disk and sets it to thin provisioned while setting up the job spec.

 

if (_vmThinProvision)
{    ConverterStorageParamsManagedTargetDiskParams targetDiskParams = new ConverterStorageParamsManagedTargetDiskParams();    converterStorageParams.targetDiskParams = new ConverterStorageParamsTargetDiskParams[_computerInfo.hardwareInfo.storage.disk.Length];    for (int diskCount = 0; diskCount < _computerInfo.hardwareInfo.storage.disk.Length; diskCount++)    {        targetDiskParams.sourceDiskId = _computerInfo.hardwareInfo.storage.disk[diskCount].diskId;        Console.WriteLine(targetDiskParams.sourceDiskId);        targetDiskParams.diskType = "vmfsMonolithicFlatThinProvisioned";        targetDiskParams.datastoreName = _vmDatastoreName;        converterStorageParams.targetDiskParams[diskCount] = targetDiskParams;     }
}

 

Lets take an example where a system has 3 disks. In the above code, if I just set up each disk manually instead of having it in a loop (same exact code, just taking the loop out and hard-coding the array index), it works fine. Each disk and volume gets its own ID and the conversion works properly.

 

For some reason when I implement the loop, it seems to pick the same disk 3 times instead of the 3 different disks and, as would be expected, confuses the heck out of the VSS service. See the log below from the source system.

 

2012-02-22T10:03:54.782-05:00 [05180 info 'task-29'] CloneTask::SetupTask
2012-02-22T10:03:54.782-05:00 [05180 info 'task-29'] CloneTask::InitializeSourceComputer
2012-02-22T10:03:55.251-05:00 [05180 info 'task-29'] VolumeBasedCloneTask::CreateSubTasks: Creating SingleVolumeCloneTask subtask with used space of 122512128512 bytes and a contribution percentage of 33
2012-02-22T10:03:55.251-05:00 [05180 info 'task-29'] VolumeBasedCloneTask::CreateSubTasks: Creating SingleVolumeCloneTask subtask with used space of 122512128512 bytes and a contribution percentage of 33
2012-02-22T10:03:55.251-05:00 [05180 info 'task-29'] VolumeBasedCloneTask::CreateSubTasks: Creating SingleVolumeCloneTask subtask with used space of 122512128512 bytes and a contribution percentage of 33
2012-02-22T10:03:55.251-05:00 [05180 info 'task-29'] SingleVolumeCloneTask: estimated time to clone volume [\WindowsBitmapDriverVolumeId=[69-A9-7F-F0-00-7E-00-00-00-00-00-00]] in seconds = 6074
2012-02-22T10:03:55.251-05:00 [05180 info 'task-29'] SingleVolumeCloneTask: estimated time to clone volume [\WindowsBitmapDriverVolumeId=[69-A9-7F-F0-00-7E-00-00-00-00-00-00]] in seconds = 6074
2012-02-22T10:03:55.251-05:00 [05180 info 'task-29'] SingleVolumeCloneTask: estimated time to clone volume [\WindowsBitmapDriverVolumeId=[69-A9-7F-F0-00-7E-00-00-00-00-00-00]] in seconds = 6074
2012-02-22T10:03:55.251-05:00 [05180 info 'task-29'] CloneTask::InitializeTargetComputer
2012-02-22T10:03:55.251-05:00 [05180 info 'task-29'] CloneTask updates, state: 1, percentage: 0, xfer rate (Bps): <unknown>
2012-02-22T10:03:55.251-05:00 [05180 info 'task-29'] VolumeBasedCloneTask::StartNextTrackingBitmap: no bitmap ID specified for the next cloning iteration, will not track changes
2012-02-22T10:03:55.251-05:00 [05180 info 'task-29'] VolumeBasedCloneTask::IsSnapshottingRequested: source volume snapshotting was  requested
2012-02-22T10:03:55.251-05:00 [05180 info 'task-29'] VolumeBasedCloneTask::CollectVolumeIdsToSnapshot: we will try to snapshot volume \WindowsBitmapDriverVolumeId=[69-A9-7F-F0-00-7E-00-00-00-00-00-00]
2012-02-22T10:03:55.251-05:00 [05180 info 'task-29'] VolumeBasedCloneTask::CollectVolumeIdsToSnapshot: we will try to snapshot volume \WindowsBitmapDriverVolumeId=[69-A9-7F-F0-00-7E-00-00-00-00-00-00]
2012-02-22T10:03:55.251-05:00 [05180 info 'task-29'] VolumeBasedCloneTask::CollectVolumeIdsToSnapshot: we will try to snapshot volume \WindowsBitmapDriverVolumeId=[69-A9-7F-F0-00-7E-00-00-00-00-00-00]
2012-02-22T10:03:56.173-05:00 [05180 error 'task-29'] Converter::AtomicVssVolumeSnapshotSet::CreateSnapshotSet: VSS snapshot failed: Unable to create a snapshot for volume \\.\Volume{db72d0dc-4b08-11de-abf5-002219c7d318}, \\.\Volume{db72d0dc-4b08-11de-abf5-002219c7d318}, \\.\Volume{db72d0dc-4b08-11de-abf5-002219c7d318}. Error code 2147754765 (0x8004230D)

 

You may noticed I put a little console.writeline in there to show me the ID. They are different at that point. Sometime between there and the job submission process the IDs get all fudged up.

 

Again, if I just take out the loop and hard-code the indexes, it works fine. Any ideas? This one has really stumped me.

 

Thanks,

error in submitting job to VMware converter through SDK

$
0
0

HI,

 

      I modified the sample java program to create a VM in F:\ drive and added couple parameters to accept directory from the properties file instead of saving the converted VM to vCenter. However, I get error saying it cannot recognize the configuration file. Anyone can help on this error? Thank you

 

Error from the sample program:

AxisFault
faultCode: ServerFaultCode
faultSubcode:
faultString: The source configuration file is invalid, corrupted or not recogni
zed.
faultActor:
faultNode:
faultDetail:
        {urn:converter}ConverterImportSourceInvalidConfigInfoFault:<source>F:\VM
Image\VM1\WIN-PC</source>
The source configuration file is invalid, corrupted or not recognized.
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
rce)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at java.lang.Class.newInstance0(Unknown Source)
        at java.lang.Class.newInstance(Unknown Source)
        at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer
.java:104)

 

 

 

My properties file looks like this:

 

physicalsource.address=192.168.1.121

physicalsource.username=192.168.1.121\\administrator

physicalsource.password=**********

physicalsource.ostype=windowsOs

physicalsource.agentport=9089

physicalsource.reboot=false

vcserver.address=WIN-PC

vcserver.targetname=WIN-PC

vcserver.username=192.168.1.121\\administrator

vcserver.password=**********

vcserver.directory=F:\\VMImage

conversion.job.name=P2VSDKJob1

conversion.job.description=This is a Live Windows P2V job from SDK

conversion.vmtocreate.name=VM1

conversion.vmtocreate.vcpu=1

conversion.vmtocreate.memory=512

converterserver.address=192.168.1.121

converterserver.username=WIN-PC\\administrator

converterserver.password=*********

 

Thank you.

ETgoh

Error: Failed to Connect to Converter Server

$
0
0

I'm trying to do a basic P2V conversion with the Converter SDK for .Net; however I keep receiving Failed to Connect to Converter Server.  I'm running the SDK on the Converter Server.  Any help would greatly be appreciated.

 

my properties file is pretty basic:

 

physicalsource.address=192.168.1.32
physicalsource.username=192.168.1.32\rootcd
physicalsource.password=**********
physicalsource.ostype=linux
physicalsource.agentport=9089
physicalsource.reboot=false
vcserver.address=192.168.80.2
vcserver.username=192.168.80.2\administrator
vcserver.password=**********
conversion.job.name=P2VConversionJob1
conversion.job.description=MyNewVMTest
conversion.vmtocreate.name=MyNewVM
conversion.vmtocreate.vcpu=1
conversion.vmtocreate.memory=4096
converterserver.address=192.168.80.5
converterserver.username=192.168.80.5\administrator
converterserver.password=**********

 

Below is the results.  And I'm not sure what else I need included.  I disabled all server firewalls for now as well to ensure they weren't getting in the way.

 

C:\_cd\sdk\samples\DotNet\cs\SubmitWinP2VJob\bin\Debug>ConverterSamples.exe cd.p
roperties
Caught Exception :  Name : WebException Message : Unable to connect to the remot
e server Trace :    at System.Net.HttpWebRequest.GetRequestStream(TransportConte
xt& context)   at System.Net.HttpWebRequest.GetRequestStream()   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodN
ame, Object[] parameters)   at ConverterApi.ConverterService.ConverterRetrieveServiceContent(ManagedObjec
tReference _this)   at ConverterSamples.ConverterConnection.Connect(String serverUrl, String user
name, String password) in c:\_cd\sdk\samples\DotNet\cs\SubmitWinP2VJob\Converter
Connection.cs:line 51
ERROR: Failed to Connect to Converter Server.
C:\_cd\sdk\samples\DotNet\cs\SubmitWinP2VJob\bin\Debug>

Scripting VMware Converter

$
0
0

I apologize for the very basic question.

I need to convert some VMs during the night, to save resources.

Is there any way to create a script to launch Converter at a given time to convert a given VM?

Regards

marius

Receiving Error When building

$
0
0

I haven't edited any of the SDK files, I just wanted to build them while I test things out in Java for the converter SDK.

 

When I build, I receive the following error:

 

 

C:\sdk\samples\Axis>build

Generating converter stubs from wsdl

- Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.

{urn:vim25}DynamicArray already exists

{urn:vim25}DynamicData already exists

{urn:vim25}DynamicProperty already exists

 

 

My assumption is that I'm missing the activation.jar and the javax.mail.jar files somewhere; but I've added them to every \lib location that I can think of.

 

Has anyone corrected this issue before?

 

After building, when I run:    java -cp %LOCALCLASSPATH% SubmitWinP2VJob/Program

 

I get the errors:

 

- Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.

 

ERROR: Failed to Connect to Converter Server.

 

 

Any help is appreciated,

 

Thanks,

Craig


Target Disk Cloning API vs Client

$
0
0

Hello. I am working with the vCenter Converter Standalone Server API and have ran in to an odd issue when performing the cloning using the API that I can not replicate with the Client.

 

When cloning with the client I am breaking out the source physical machine's volumes to separate virtual disks: I.E. C: and D: where on one physical disk and are now being put on their own thin provisioned virtual disk.

This works no problem from the client and I get a working vm in the end.

 

When cloning with the API it appears I am performing the same exact task from what I have been able to compare. Based off SDK dotnet example I expanded the BuildCloningParams method under the Programs class with the following code using hardcoded values:

 

      List<ConverterStorageParamsVolumeCloningParams> targetvolumes1 = new List<ConverterStorageParamsVolumeCloningParams>();
      List<ConverterStorageParamsVolumeCloningParams> targetvolumes2 = new List<ConverterStorageParamsVolumeCloningParams>();
      List<ConverterStorageParamsTargetDiskParams> targetdisks = new List<ConverterStorageParamsTargetDiskParams>();

 

      ConverterStorageParamsVolumeCloningParams targetVolume1 = new ConverterStorageParamsVolumeCloningParams();
      ConverterStorageParamsTargetDiskParams targetDisk1 = new ConverterStorageParamsTargetDiskParams();

 

      ConverterStorageParamsVolumeCloningParams targetVolume2 = new ConverterStorageParamsVolumeCloningParams();
      ConverterStorageParamsTargetDiskParams targetDisk2 = new ConverterStorageParamsTargetDiskParams();

 

      targetVolume1.sourceVolumeId = "\\WindowsBitmapDriverVolumeId=[C8-BA-43-2A-00-80-00-00-00-00-00-00]";
      targetvolumes1.Add(targetVolume1);
      targetDisk1.volumesToClone = targetvolumes1.ToArray();
      targetDisk1.sourceDiskId = "disk-1002";

 

      targetVolume2.sourceVolumeId = "\\WindowsBitmapDriverVolumeId=[C8-BA-43-2A-00-80-00-00-0A-00-00-00]";
      targetvolumes2.Add(targetVolume2);
      targetDisk2.volumesToClone = targetvolumes2.ToArray();
      targetDisk2.sourceDiskId = "disk-1002";

 

      targetdisks.Add(targetDisk1);
      targetdisks.Add(targetDisk2);

 

      converterStorageParams.targetDiskParams = targetdisks.ToArray();
      converterStorageParams.vmxDatastoreName = "********-datastore01";

 

The job is successfully created and it goes through the same steps from the client Tasks view. I also check vCenter to be sure the right volumes are broken out to separate virtual disks on the target vm.

Once the progress hits 98% the Task view shows the following errors:

 

Error: An error occurred during reconfiguration.

Warning: Unable to update drive letters for the destination volume layout.

Warning: Unable to update BCD on the destination machine's system volume.

 

I have perused vmware's KB articles and the best match I have found is this:

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1037507

 

Exporting the logs does show a match to what that article describes. However, when checking the source machine's boot config through bcedit I get the following:

 

Windows Boot Manager

--------------------

identifier              {bootmgr}

device                  partition=C:

description             Windows Boot Manager

locale                  en-US

inherit                 {globalsettings}

default                 {current}

displayorder            {current}

toolsdisplayorder       {memdiag}

timeout                 30

resume                  No

 

Windows Boot Loader

-------------------

identifier              {current}

device                  partition=C:

path                    \Windows\system32\winload.exe

description             Microsoft Windows Server 2008

locale                  en-US

inherit                 {bootloadersettings}

osdevice                partition=C:

systemroot              \Windows

resumeobject            {2a1e1d63-0b44-11dd-9c71-dce6a05ee2b0}

nx                      AlwaysOff

 

This looks correct. Also the cloning job issued by the client works just fine. It's just issuing what appears to be the same job from the API is causing a problem.

Welcome VMware vCenter Converter SDK Developers !

$
0
0

Folks,

 

We are excited about adding the VMware vCenter Converter SDK to our Developer Community. We look forward to getting your feedback and helping us grow our Community.

How to set the network on the destination vm?

$
0
0

Hi, I trying to set the destination network of VM but always selects the default. I'm converting a local VM (.vmx file) to an ESXi host using the SDK. Can someone share an example on setting the destination network name? Thanks!

ConverterApi, Linux P2V

$
0
0

How do I configure the helper VM required for Linux P2V based on ConverterAPI?

 

Tos2k

How to add new nic for target VM using vCenter Converter SDK?

$
0
0

Hi all ,

I can use vCenter Converter Standalone program to add new nic for VM .

Then I tried to use following code to add a new nic for VM , but it failed.

The log shows invalid argument for adding nic.

What should I modify for these parameters?

 

ConverterNetworkParams network = new ConverterNetworkParams();
      ConverterNetworkParamsNicParams nic_info[] = new ConverterNetworkParamsNicParams[1] ;
      nic_info[0] = new ConverterNetworkParamsNicParams();
      nic_info[0].setConnected(true);
      nic_info[1].setConnected(true);
      nic_info[1].setConnected(true);
      network.setPreserveNicCount(false);
      network.setPreserveNicMapping(false);
      network.setNic(nic_info);
      cloningParams.setNetworkParams(network);

 

Thanks

Scott

Configure network on the vm.which is converted using vcenter converter tool

$
0
0

     Hi All,

 

I am converting a physical machine to virtual. in the process I add couple of nic;s to the the vm that is being created. I wanted to know is there a way we can assign the static ip address on the nic;s using vsphere converter api or vsphere api.

 

i.e i want to confiure the eht0 and eth1 on the virtuak machine during the convertion process or after the conversion by reconfiguring vm.

 

Thanks,

Kiran

Convert VMs into ESXi - Automate

$
0
0

Hello

I have Virtual Machines created with VMWare Workstation. How can i automate the task of taking these VMs into ESXi just like how we convert them using vCenter converter from standalone client.  Any command line or APIs that i can use? Any help here is really appreciated.

 

Thanks

Ram


DotNet C# Sample - SSL3_GET_RECORD:wrong version number

$
0
0

Hi,

 

using Converter 5.0.0-470252 and SDK 5.0.0-470252

 

I try running the DotNet Sample from the SDK.

 

I used two ways:

* Windows XP SP3 with VS2005 and .Net 2.0

* Windows 7 SP1 with VS2010 SP1 and .Net 4.0

 

I get following runtime error and can not send any jobs to the conversion server:

 

Caught SoapException -  Actor :  Code : ServerFaultCode Detail XML : <detail><Sy
stemErrorFault xmlns="urn:converter" xsi:type="vim25:SystemError" xmlns:vim25="u
rn:vim25" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><vim25:reason>SS
L Exception: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number</v
im25:reason></SystemErrorFault></detail>
ERROR: Failed to submit P2V Conversion Job.

 

I tried running the server on http as a workaround which I could not solve doing.

 

I did changing the server configuration at C:\ProgramData\VMware\VMware vCenter Converter Standalone\converter-server.xml and restarting the Server-Service

- ssl node section can not be removed as told -> service will not restart

- ssl subnodes removed, server took default certs -> it still tried running ssl on somewhere defined certs?

- all usessl properties turned to false -> server still wanted to use certs ... ?

- I generated and trusted self signed certs for server (since the delivered one will not work at all), did not solve the problem but cert problem went away

- tried managing the endpoints (e) using httpOnly or httpAndHttps ...

- tried putting debug to logging property -> log said it does not understand debug

- taking away ports for 443 did not work

 

- Firewall on the server is turned off.

 

How and where can I change the SSL version?

How can I modify the server config to run in http mode?

 

How can I send a job running using a commandline tool or the Soap-Interfaces?

 

Regards.

Which version of Java could successfully run the converter SDK Java samples?

$
0
0

Hi All,

 

I have set up the VMware-converter-sdk-5.1.0-1087880  sample Java and run it based on java 1.6, and it keep throwing NoClassFound errors.

 

1. I have added javaMail.jar to fix the build.bat complains.

2. put rt.jar from JDK1.4.2 to fix the missing class error" sun.security.provider.Sun"

3. Now I hit the new error "com.sun.net.ssl.internal.ssl.Provider "

I am kind of give up for keep adding new jars, Anyone have an idea or hit the similar problem before?

If you have successfully run the Sample java, could you please let me know which version of Java you have used? Thanks very much for your help.

 

 

Java -verison: 1.6.0

Axis : 1.4

OS:   windows 2003

 

If the solution will be grab a new rt.jar, could I just copy over the rt.jar instead of upgrade the java ? My other applications somehow need the java to stay in 1.6.0.

 

Update: add C:\j2sdk1.4.2_08\jre\lib\rt.jar to local classpath, which has the sun class, but show me the new missing class: com.sun.net.ssl.internal.ssl.Provider  -_-

 

Anyone

 

Error message:

 

D:\VMware-converter-sdk-5.1.0-1087880\sdk\samples\Axis>java -cp %LOCALCLASSPATH%

SubmitWinP2VJob/Program submitwinp2vjob.properties

 

 

Exception in thread "main" java.lang.NoClassDefFoundError: sun.security.provider

.Sun

        at java.lang.J9VMInternals.verifyImpl(Native Method)

        at java.lang.J9VMInternals.verify(J9VMInternals.java:72)

        at java.lang.J9VMInternals.verify(J9VMInternals.java:70)

        at java.lang.J9VMInternals.initialize(J9VMInternals.java:134)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

 

 

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct

orAccessorImpl.java:41)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC

onstructorAccessorImpl.java:39)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:515)

        at org.apache.commons.discovery.tools.ClassUtils.newInstance(ClassUtils.

java:160)

        at org.apache.axis.AxisProperties$1.run(AxisProperties.java:183)

        at java.security.AccessController.doPrivileged(AccessController.java:202

)

        at org.apache.axis.AxisProperties.newInstance(AxisProperties.java:166)

        at org.apache.axis.components.net.SocketFactoryFactory.getFactory(Socket

FactoryFactory.java:75)

        at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:1

87)

        at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.ja

va:404)

        at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)

 

 

        at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg

y.java:32)

        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)

        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)

        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)

        at org.apache.axis.client.Call.invokeEngine(Call.java:2784)

        at org.apache.axis.client.Call.invoke(Call.java:2767)

        at org.apache.axis.client.Call.invoke(Call.java:2443)

        at org.apache.axis.client.Call.invoke(Call.java:2366)

        at org.apache.axis.client.Call.invoke(Call.java:1812)

        at com.vmware.converter.ConverterBindingStub.converterRetrieveServiceCon

tent(ConverterBindingStub.java:32608)

        at SubmitWinP2VJob.ConverterConnection.connect(ConverterConnection.java:

70)

        at SubmitWinP2VJob.Program.run(Program.java:73)

        at SubmitWinP2VJob.Program.main(Program.java:48)

Caused by: java.lang.ClassNotFoundException: sun.security.provider.Sun

        at java.lang.Throwable.<init>(Throwable.java:80)

        at java.lang.ClassNotFoundException.<init>(ClassNotFoundException.java:7

6)

        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:643)

        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:345)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:609)

        ... 29 more

Welcome VMware vCenter Converter SDK Developers !

$
0
0

Folks,

 

We are excited about adding the VMware vCenter Converter SDK to our Developer Community. We look forward to getting your feedback and helping us grow our Community.

C# examples failing with "Unable to recognize the server type or version when connecting to the host"

$
0
0

I'm trying to submit a job for conversion P2V from a c# app. I've tried running the app remotely and locally but I keep getting this error (here's the full error):

<detail><InvalidArgumentFault xmlns="urn:converter" xsi:type="vim25:InvalidArgument" xmlns:vim25="urn:vim25" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><vim25:faultCause><vim25:fault xsi:type="ConverterNotSupportedConnection"><hostName>RSMITH</hostName></vim25:fault><vim25:localizedMessage>Unable to recognize the server type or version when connecting to the host 'RSMITH'.</vim25:localizedMessage></vim25:faultCause></InvalidArgumentFault></detail>

 

RSMITH is the name of the machine with the VCenter Converter Standalone (5.0) and where I wan tthe VM to go. It's a Windows 7 SP1. I'm running .net 4.0 winform.

 

Any suggestions? I'm pretty much running the example out of the box, except for wrapping a winform around it instead of a console app.

Scripting VMware Converter

$
0
0

I apologize for the very basic question.

I need to convert some VMs during the night, to save resources.

Is there any way to create a script to launch Converter at a given time to convert a given VM?

Regards

marius

Viewing all 6223 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>