Are you the publisher? Claim or contact us about this channel


Embed this content in your HTML

Search

Report adult content:

click to rate:

Account: (login)

More Channels


Channel Catalog


Channel Description:

Most recent forum messages

older | 1 | .... | 4671 | 4672 | (Page 4673) | 4674 | 4675 | .... | 5396 | newer

    0 0

    When I try this code in 6.0 I just get multiple errors.

     

    $vmName = "MYVM"

    $tgtDatastore = "TestSAN"

    $tgtCluster = "GD SVRM"

    $tgtPool = "Resources" - I notice i cannot define a resource pool for this DC.

     

     

    $vm = Get-VM -Name $vmName

    $ds = Get-Datastore -Name $tgtDatastore

    $esx = Get-Cluster -Name $tgtCluster | Get-VMHost | Get-Random

    $rp = Get-ResourcePool -Name $tgtPool

     

     

    $spec = New-Object VMware.Vim.VirtualMachineRelocateSpec

    $spec.Datastore = $ds.ExtensionData.MoRef

    $spec.Host = $esx.ExtensionData.MoRef

    $spec.Pool = $rp.ExtensionData.MoRef

    $vm.ExtensionData.RelocateVM($spec,"defaultPriority")

     

     

    Exception setting "Datastore": "Cannot convert the "System.Object[]" value of

    type "System.Object[]" to type "VMware.Vim.ManagedObjectReference"."

    At C:\movevm.ps1:12 char:1

    + $spec.Datastore = $ds.ExtensionData.MoRef

    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

        + CategoryInfo          : NotSpecified: (:) [], SetValueInvocationExceptio

       n

        + FullyQualifiedErrorId : ExceptionWhenSetting

     

     

    Exception setting "Pool": "Cannot convert the "System.Object[]" value of type

    "System.Object[]" to type "VMware.Vim.ManagedObjectReference"."

    At C:\movevm.ps1:14 char:1

    + $spec.Pool = $rp.ExtensionData.MoRef

    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

        + CategoryInfo          : NotSpecified: (:) [], SetValueInvocationExceptio

       n

        + FullyQualifiedErrorId : ExceptionWhenSetting

     

     

    Exception calling "RelocateVM" with "2" argument(s): "A specified parameter

    was not correct: spec.location.datastore"

    At C:\movevm.ps1:15 char:1

    + $vm.ExtensionData.RelocateVM($spec,"defaultPriority")

    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

        + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException

        + FullyQualifiedErrorId : VimException

     

     

    Any help would be appreciated.


    0 0

    Hi Cintos, I've used the key mentioned, "vmhgfs,RDPNP, LanmanWorkstation,web client". I could access the vmware folder but I had every time to wait some minutes that Windows loads them. I don't know why.


    0 0

    Hello,

     

    You should select "Move".

     

    The thing that happens when you select "Copied" is that the hardware of your VM gets a new set of ID's.

    So for your operating system it is similar to changing the hardware, this will cause things like network addresses changing.

    This is good when you have a copy as then you can start up 2 copies and access both of them from the network.

    It is bad if you have a guest OS that is linked to the hardware such as Microsoft's OS's. Selecting copy might lead to having to re-activate the operating system.

     

    As you want to use the same OS from within different host OS's, the normal action is "Move" as it doesn't change anything for your guest OS.

    --

    Wil


    0 0

    I see that you can do this at the storage cluster level, Virtual machine settings and select the VM, select disabled but the VM still does a storage vMotion the next day after. We have storage DRS set up with a manual and automated schedule. The automated schedule seems to override the disabled VM setting.


    0 0

    That's good to hear. I tested out the svdriver.sys file and it fixed the issue but created more problems for me than it fixed. After replacing it I couldn't get the start menu, or settings app to work at all. Also couldn't right click any icons in the taskbar. Waiting for an update from support and keeping an eye on the vmware downloads to see when a new version shows up.


    0 0

    LucD I have similar errors. Can you help me solve my errors?

    $vmName = "MYVM"

    $tgtDatastore = "TestSAN"

    $tgtCluster = "GD SVRM"

    $tgtPool = "Resources"

     

     

    $vm = Get-VM -Name $vmName

    $ds = Get-Datastore -Name $tgtDatastore

    $esx = Get-Cluster -Name $tgtCluster | Get-VMHost | Get-Random

    $rp = Get-ResourcePool -Name $tgtPool

     

     

    $spec = New-Object VMware.Vim.VirtualMachineRelocateSpec

    $spec.Datastore = $ds.ExtensionData.MoRef

    $spec.Host = $esx.ExtensionData.MoRef

    $spec.Pool = $rp.ExtensionData.MoRef

    $vm.ExtensionData.RelocateVM($spec,"defaultPriority")

     

     

    Exception setting "Datastore": "Cannot convert the "System.Object[]" value of

    type "System.Object[]" to type "VMware.Vim.ManagedObjectReference"."

    At C:\movevm.ps1:12 char:1

    + $spec.Datastore = $ds.ExtensionData.MoRef

    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

        + CategoryInfo          : NotSpecified: (:) [], SetValueInvocationExceptio

       n

        + FullyQualifiedErrorId : ExceptionWhenSetting

     

     

    Exception setting "Pool": "Cannot convert the "System.Object[]" value of type

    "System.Object[]" to type "VMware.Vim.ManagedObjectReference"."

    At C:\movevm.ps1:14 char:1

    + $spec.Pool = $rp.ExtensionData.MoRef

    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

        + CategoryInfo          : NotSpecified: (:) [], SetValueInvocationExceptio

       n

        + FullyQualifiedErrorId : ExceptionWhenSetting

     

     

    Exception calling "RelocateVM" with "2" argument(s): "A specified parameter

    was not correct: spec.location.datastore"

    At C:\movevm.ps1:15 char:1

    + $vm.ExtensionData.RelocateVM($spec,"defaultPriority")

    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

        + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException

        + FullyQualifiedErrorId : VimException

     

     

    I cant seem to get your code to work on any of my 3 hypervisors.


    0 0

    Hi ThompsG,

     

    Thanks for your reply.

    I dot think I have done something with extends but I would not burn my hand for this.. like always in the IT... everything is only 99% sure

     

    I'm also not sure if I was able to mount them persistently..last reboot they are again gone but I could mount them again without troubles. for the moment I'm more scared about not seeing the 4th disk at all

    [root@lowpoweresxi:~] esxcli storage vmfs extent list

    Volume Name     VMFS UUID                            Extent Number  Device Name           Partition

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

    IntelSSDR1boot  5621369e-ce7f03a6-0c14-001e67c0eb6f              0  eui.afd9954900d00000          3

    HitachiR6data   5636599a-ec393a50-e673-001e67c0eb6f              0  eui.b0655a3500d00000          1

    SamsungR5data   564888b6-dad30975-b86a-001e67c0eb6f              0  eui.3069235000d00000          1

    [root@lowpoweresxi:~]

     

    I also checked with gparted bootCD.. the disk is there I see my 100G partition so it looks like only esx for some reason dont like it

     

    logs:

    https://drive.google.com/file/d/0Bz-WHVvmcmQeQWR1VVNnbEFXWXM/view?usp=sharing

     

    I also tried with esx boot usb stick but this also show me only 3 disks +usbstick and my 2nd SSD datastore is not visible

    Regards

    ASD


    0 0

    vmware_conv_failure.png

    vm doesnt boot up after the online conversion due to the above error...

     

    I was trying the online migration, it actually picks up a new disk for the /boot/efi rather than creating a seperate partition on the boot-disk itself like in the source. is there a way to control this behavior ?


    0 0

    HTML Client SDK Fling 5 is available today!

    Go to the vSphere HTML5 Web Client Fling page, click on the drop down in the left and select  html-client-sdk-6.5.0-4450180.zip

     

    The updated Getting Started PDF file is included in the .zip.

    The release notes for Fling 5 are attached here.


    0 0

    I can't even run the installer. Just get "Image not recognized" when running installer. Same for 6.0.6 and V8...

     

    Guess I'll be switching to VirtualBox


    0 0

    Oops. My bad. 8.5 installer re-download looks like it may be working. 6.0.6 still doesn't though...


    0 0

    Hi!

     

    Just curious whether there could a feature to blank the screen upon user connection? We're trying to figure out a way to support users privacy on Linux VDI similarly as it's done on Windows. Windows agent suppresses console screen when user has a session on.

     

    Setting

    RemoteDisplay.maxConnections = "0"

    on .vmx files

     

    removes the ability to use interactive console but what's going on the screen can be still easily captured even through api just by

     

    https://vcenter.host.name/screen?id=MoRef_ID

     

    Also any suggestion how to audit usage of such API?

     

    This is moreover a question of being compliant with privacy regulations than an actual problem, but still, this should not be that easy. We only have a one set of administrator with global full privileges.


    0 0

    I completely removed 6.0.6 and re-installed.  Same problem.  I then tried V 7.0, same problem.

     

    I downloaded a free 30 day trial of 8.5, and it all works great. 

     

    Looks like any version prior to 8 will not work on Sierra.....


    0 0

    Thanks artmerk. Just saved me a couple of hrs... Now I need to work out if I'm prepared to fork out for the upgrade or head down the virtualbox route...


    0 0

    Is it possible to allow users to keep their desktop icons settings with linked clones? The base image has a set that overwrites whatever the users have added or whatever they delete when we re-compose.


    0 0

    vCenter 4.1/Inventory/Networking/Ports

     

    So far,  there seems to be zero noise out there about 1) how to clear the stats to start fresh,  and 2) how to interpret the stats themselves.

     

    Anyone know?

     

    Thanks.

     

    Gregg


    0 0
  • 09/29/16--13:06: vCenter Host Gateway
  • What is the minimum license required to assign a Hyper-V host using vCetner Host Gateway?  I cannot find anything in documentation saying it needs licensing, but it is requiring me to assign a license.


    0 0
  • 09/29/16--13:10: Re: vCenter Host Gateway
  • Hi cclos,

    In my opinion all third-party hosts are treated as a regular ESXi hosts in terms of licensing.

     

    hph,

    Petko Minkov


    0 0

    I do see "Up to 8-way virtual SMP", but the license on the same configuration tab is "VMware vSphere 5 Enterprise Licensed for 2 physical CPUs (unlimited cores per CPU) ".


    0 0

    Hi Steve, I have the snapshot for Windows 10 build 1607 so I made some tries but the problem that I have to wait minutes when open shared folders are present. I've checked these registry Keys:

    HKEY_LOCAL_MACHINE\ SYSTEM\CurrentControlSet\Control\NetworkProvider\Order

    The Key ProviderOrder is: "vmhgfs,RDPNP, LanmanWorkstation,webclient"

     

    I've checked also this key:

    HKEY_LOCAL_MACHINE\ SYSTEM\ControlSet001\Control\NetworkProvider

    The key ProviderOrder is: "vmhgfs,RDPNP, LanmanWorkstation,webclient"

    These Keys are correctly in this way, so I didn't modify them, because I've uninstalled and reinstalled vmware tools. So for now I've back to Windows 10 1511.

    Thanks


older | 1 | .... | 4671 | 4672 | (Page 4673) | 4674 | 4675 | .... | 5396 | newer