Quantcast
Channel: VMware Communities: Message List
Viewing all 251313 articles
Browse latest View live

Provisioning VM on Datastore cluster(Storage POD)

$
0
0

Hi,

I am trying to create VM on a Storage POD. I have set all the parameters as in http://sourceforge.net/p/vijava/discussion/826592/thread/315e8db0,

 

I am getting invalid request all the time. Here is the sample code

 

StorageDrsVmConfigInfo vmconfigInfo = new StorageDrsVmConfigInfo();

    vmconfigInfo.setBehavior(StorageDrsPodConfigInfoBehavior.automated.name());

 

 

    VmPodConfigForPlacement vmPodConfig = new VmPodConfigForPlacement();

    vmPodConfig.setStoragePod(storagePod.getMOR());

    vmPodConfig.setVmConfig(vmconfigInfo);

 

 

    //Storage Pod Sslection spec

    StorageDrsPodSelectionSpec storageSelSpec = new StorageDrsPodSelectionSpec();

    storageSelSpec.setStoragePod(storagePod.getMOR());

    storageSelSpec.setInitialVmConfig(new VmPodConfigForPlacement[]{vmPodConfig});

 

 

    VirtualMachineCloneSpec cloneSpec = new VirtualMachineCloneSpec();

    cloneSpec.setPowerOn(true);

    cloneSpec.setTemplate(false);

 

 

    //Storage Placement spec

    StoragePlacementSpec placementSpec = new StoragePlacementSpec();

    placementSpec.setCloneName(vmName);

    placementSpec.setVm(master.getMOR());

    placementSpec.setCloneSpec(cloneSpec);

//    placementSpec.setConfigSpec(new VirtualMachineConfigSpec());

    placementSpec.setPodSelectionSpec(storageSelSpec);

    placementSpec.setType(StoragePlacementSpecPlacementType.clone.name());

    placementSpec.setFolder(folder.getMOR());

    placementSpec.setHost(host.getMOR());

    placementSpec.setResourcePool(resourcePool.getMOR());

    StorageResourceManager service = new StorageResourceManager(serviceInstance.get().getServerConnection(), storagePod.getMOR());

    StoragePlacementResult placementRes = service.recommendDatastores(placementSpec);

    Task task = service.applyStorageDrsRecommendationToPod_Task(storagePod, placementRes.getRecommendations()[0].getKey());

 

I use vijava 5.1. But still getting same exception. Please help me in solving this. I am stuck.

 

Thank you in advance


Re: VM Player failed to power on Virtual machine

$
0
0

Hi Vicky_27, and welcome to the VMware Communities!

 

Your virtual machine has an advanced configuration option which will cause it to suppress any error messages, which would make things a little bit confusing.  Your first priority should be to turn that option off, unless you have a really good reason to need to suppress error messages.

 

Close VMware workstation.  Navigate to the virtual machine's folder (E:\SOASTA\CloudTest Lite.vmwarevm) and locate the virtual machine's configuration file (CloudTest Lite.vmx).  (You might need to configure Windows Explorer to show file extensions.)  Open it in Notepad or your favorite plain-text editor.  Find the line that says

 

   msg.autoAnswer = "TRUE"

 

and delete that line.  Save the file and quit Notepad.

 

That will not itself fix the immediate problem, but it should at least allow VMware Player to show you an error message explaining why it was failing.  If you power on the VM now, you should see the error:

 

   The IDE device (disks/CD-ROM) configuration is incorrect. There is an IDE slave with no master at ide0:1. This configuration does not work correctly in virtual machines. Move the disk/CD-ROM from ide0:1 to ide0:0 using the configuration editor.

 

So, to fix the problem, you can use Player to edit the VM's settings.  Choose the virtual hard disk at IDE 0:1 (the one with the filename Virtual Disk 2.vmdk), choose the Advanced... button in the bottom-right corner, and change the virtual device node from IDE 0:1 to IDE 0:0.  Save the configuration and power on the VM.

 

Hope this helps!

--

Darius

Re: Wizard onFinish event?

$
0
0

The Finish button always closes the wizard dialog so you don't have a choice.  If you want to process everything without exiting the wizard you can add your own button to do so and leave Finish to just close the dialog.

Location of users info for those Users Imported from LDAP in vCloud

$
0
0

Anyone who can tell me what is the location of users info for those Users Imported from LDAP in vCloud?

Re: Recover Grayed out

$
0
0

So, if you would like to recover using the Web Client, you should remove the VM from SRM protection group. Or you can recover it as part of SRM recovery plan. For the initial full sync still not complete, you could use initial seed file for the VM copied on the target site. That way VR will sync only the differences between source and target vmdk files and this will greatly speed up the initial full sync process.

Re: View Composer 6 Installation fails

Re: VMware Workspace 2.0 SSL format

$
0
0

Your private key, does it say -----BEGIN RSA PRIVATE KEY----- in the beginning?

 

Workspace requires a -----BEGIN RSA PRIVATE KEY----- private key and wont work with a -----BEGIN PRIVATE KEY----- private key.

Re: How to increase Number of CPU Cores on ESXi 5.0 from 4 to 8


Re: VM Player failed to power on Virtual machine

$
0
0

Hi Darius,

 

Thanks for the helping me. I have configured the error message settings and IDE disk. I am not getting below error now.

 

The IDE device (disks/CD-ROM) configuration is incorrect. There is an IDE slave with no master at ide0:1. This configuration does not work correctly in virtual machines. Move the disk/CD-ROM from ide0:1 to ide0:0 using the configuration editor.


However there is a second error which states


Binary translation is incompatible with long mode on this platform. Long mode will be disabled in this virtual environment. Applications requiring long mode will not function properly


Kindly please help on this. If there is any alternative.

Re: K20Xm with ESXi 5.5 - Code 10 when installing driver

$
0
0

Hi, sp00led! Do you fixed your problem? Your Nvidia K20c is working on ESXI(vDGA)? I am have Nvidia K40m. And it don`t work on my supermicro server. Thanks! Regards!

Re: VMware Workstation 10.x.x.x User Interface Crashing

VM Workstation Network Card Type

$
0
0

Hello,

 

     When adding an network card in ESXi, the card type can be selected eg. E1000 and others.

 

     Is there any way to select an network card type in workstation 9/10 (I required the following Intel 82577LM, 82574L and CT type card) ?

Re: Prevent Virtual Machines with Floppy Disks

$
0
0

That is indeed a strange issue, which I have not faced yet. But can you provide a few more details on your setup like:

HW Version?

Are you deploying from Webclient?

 

As a workaround for the time being, when deploying from template, before completing the process, you can select Edit Settings [Experimental feature] and click finish.

Re: Some questions regarding the Wavemaker fling

$
0
0

you might want to take a look at the perspectives fling.

 

I think it is more tailored to the conditions you are trying to simulate / create.

 

you can use this to publish workflows to an AD user group and allow execution of said workflows etc (essentially providing self service in a rather simple way)

 

it is however unsupported, but i think its pretty awesome regardless.


Problems Cloning VM - Orchestrator Ubuntu 12.04 with multiple nic

$
0
0

I have a problem cloning Ubuntu 12.04 with VMware Tools instaled and deleting /etc/udev/rules.d/70*

 

I made a template with one nic attached. When in clone this template via workflow with one nic everything is fine. But when I clone this template using more than one nic (eg 2 oder 3 ) i recive the message"waiting 60 more second for network ...."  when the guest system boots. After the 60 seconds all nics are present and work as wished. When I reboot the system there is also this message. How can i fix this? I can not find a solution. With centos I don't have this problem. Is there another place where the mac of the nics are stored in ubuntu then in the udev rules?


Re: Passing array values from .NET using vmo web control to VCO

$
0
0

i have a number of samples for the soap interface if that is what you are trying to do.

 

however in saying that I found the soap interface has a few issues,

 

1) it memory leaks

2) its deprecated anyway

 

therefore unlikely this is going to be much use for you. I have been too lazy to convert to rest at this point.


Re: ESXi Ramdisk Full - [] directory

$
0
0

I'm not sure if this is conclusive or not (I only have one host that boots from an HDD), but this [] directory only seems to appear on hosts that boot from SD Cards as opposed to from those machines with HDDs.  I don't think this should make a difference, but it is one of the few differences between the two hosts.  Any ideas?

Re: unable to add NFS share to Datastore Cluster

$
0
0

Hi, thx for the advice. You were right; nevertheless, the solution found was to remove the actual datastore and recreat it to include the NFS share.

thanks again

Traffic between an ESXi host and vCenter Server is Secured???

$
0
0

Dear Team,

 

Request you to let me know is the traffic between an ESXi host and vCenter server (vice- versa) is secured ???

 

VC and ESXi version is 5.1U1a

 

regards

Mr VMware

Database Retention policy

$
0
0

Dear Team,

 

In the below snap check box is not checked for "task retained for" and "Events Retained for". what does it mean it will retain task for 180 days or indefinitely.

 

  Database Retention.JPG

 

regards

Mr VMware

Viewing all 251313 articles
Browse latest View live


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