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

Re: How to check ESXi root password for all VMhost in the VCenter ?

$
0
0

Our ESXi hosts recently got locked out. Is there any powercli to know the current status of ROOT account if its locked or failed logon attempts.


Re: No sensors defined - Error

cpu mask

$
0
0

Dear All,

 

How we can enable cpu masking for a vm in vcenter 7

Re: Users are forcibly logged off on recompose task

$
0
0

Hi Shreyskar,
The Horizon and agent versions are 7.10
When i schedule a Recompose task, the disconnected machines are forcibly log off after 6-8 hours.

Until yesterday I had the "Forcibly disconnect users" setting on the Global Admin page set to 20 hours (by minutes) and I saw yesterday on the connection server logs a value that called: "LogOffAfterDisconnectTimeout=1200".

This is the exact amount of time that was configured on the Global Admin page I've mentioned.

 

From what I understand from this value is that a log off process is happening after 20 hours and not disconnect as I understand from the Global Admin.

This is very confusing setting. Something is wrong here I think.

 

Yesterday I've changed the "Forcibly disconnect users" setting to Never and I recomposed again. I'll check on Sunday if there is any change for good.

 

Thanks.

Re: vSphere HA

$
0
0

No, your VMs would be in the same power state after the event as they were before - a powered off VM won’t “restart” as it wasn’t “started” at the time.

vMotion a VM between clusters

$
0
0

Hi,

 

I Have a vCenter Server with 2 different datacenters. Each datacenter contains a cluster. I want to move a VM (vMotion) a VM from the cluster in datacenter 1 to the cluster in datacenter 2.

The VM is using the same storage and network.

 

When using the move-vm command I've got the following error:

 

$datacenenter = Get-datacenter -name 'dc02'

 

Move-VM -VM 'TEST' -Destination 'esxi01.network.local' -InventoryLocation $datacenter
Move-VM : 5/28/2020 8:04:26 AM  Move-VM         Could not obtain the result of task '/VIServer=@lvmvc001:443/Task=Task-task-64416/'. Task name is 'RelocateVM_Task'. The following error occured: 
Unexpected error occured. Cannot convert type 'DatacenterMismatchArgument' to 'Object'.
At line:1 char:1
+ Move-VM -VM 'TEST1' -Destination 'esxi01.network.local' -Inve ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    + CategoryInfo          : NotSpecified: (:) [Move-VM], VimException    + FullyQualifiedErrorId : ViCore_TaskCoreService_ConvertTaskResult_Failed,VMware.VimAutomation.ViCore.Cmdlets.Commands.MoveVM

 

Does anybody knows what is wrong?

Re: cpu mask

Re: How to check ESXi root password for all VMhost in the VCenter ?

$
0
0

You can query the events (provided you keep them for sufficiently long).

The event should say when it happened and for how long the account will be locked.

 

$esxName='MyEsx'

Get-VIEvent-Entity $esx-Start (Get-Date).AddMinutes(-15)-MaxSamples ([int]::MaxValue)|

where{$_-is[VMware.Vim.EventEx]-and$_.EventTypeId-eq'esx.audit.account.locked'}

 


Re: vMotion a VM between clusters

$
0
0

I think a Datacenter is not a valid value for the Location parameter.

Afaik, the Destination accepts a VMHost, a Cluster, or a ResourcePool.

Re: Certification Path after VMware Cloud Foundation Training

$
0
0

I‘m not aware of any VCF certification. There might be a VTSP for partners, but nothing for end users.

 

What training did you take?

Re: vMotion fails because host can't see datastore...but vCenter shows host with datastore mounted

$
0
0

I'm afraid that you cannot add the v5.5. host to vCenter 6.7 ( see VMware Product Interoperability Matrices).

Although in some cases "not supported" may not necessarily mean that something doesn't work,but in this it looks like this.

 

André

vSphere licensing issue when adding host

$
0
0

Hi everyone,

 

We have a Vsphere Essentials 6.7 license and 3 hosts (2 CPU each) - VCS6-ESSL-C (vCenter 1 instance) and VS6-ESSL-C - for 6 CPUs.

We have added two of the hosts without issues but when adding the third host and assigning the license we get an error:

"License not available to perform the operation.

The VMware vSphere 6 Essentials license for "Host" 89.252.241.75 does not include "vSphere vMotion". Upgrade the license."

We never licensed vMotion nor we use it. The three hosts are identical from software point of view:

Client version: 1.33.4

Client build number: 14093553

ESXi version: 6.7.0

ESXi build number: 15160138

 

Another thing I tried is to assign the license manually through the ESXi interface (by providing the key) and then to readd the host. This time when adding the host it recognized that the license is already installed but again got the same error.

 

How do we get around this? We dont need, use or licensed vMotion and I dont understand why it is coming up at all... Initially the hosts had the Evaluation license (it hasnt expired) and I know it includes vMotion but it worked for the other two hosts.

 

Thank you

Re: vMotion a VM between clusters

$
0
0

I've got the same error when only using the -destination parameter. The host specified is in the other datacenter and cluster in the same vCenter.

 

get-vm -name 'test' | move-vm -destination 'esxi01.lab.local'
move-vm : 5/28/2020 8:38:52 AM  Move-VM         Could not obtain the result of task
'/VIServer=7@lvmvc001:443/Task=Task-task-64426/'. Task name is 'RelocateVM_Task'. The following error
occured: Unexpected error occured. Cannot convert type 'DatacenterMismatchArgument' to 'Object'.
At line:1 char:31
+ ... m -name 'LADMINWEB001' | move-vm -destination 'esxi01.lab.local'
+                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    + CategoryInfo          : NotSpecified: (:) [Move-VM], VimException    + FullyQualifiedErrorId : ViCore_TaskCoreService_ConvertTaskResult_Failed,VMware.VimAutomation.ViCore.Cmdlets.Comm   ands.MoveVM

Re: vSphere licensing issue when adding host

$
0
0

Do you have configured vMotion by accident? If so please unconfigure it because you cant apply or downgrades licenses when features are enabled/configured.

 

Regards,
Joerg

Re: vMotion a VM between clusters

$
0
0

Can you check if the RelocateVM method works?

 

$vmName="test"

$tgtDatacenter="<target-datacenter>"

$tgtDatastore="<target-datastore>"

$tgtVMHost="esxi01.lab.local"

$tgtPool="<target-resourcepool>"


$vm=Get-VM-Name $vmName

$dc=Get-Datacenter-Name $tgtDatacenter

$ds=Get-Datastore-Name $tgtDatastore-Location $dc

$esx=Get-VMHost-Name $tgtVMHost-Location $dc

$rp=Get-ResourcePool-Name $tgtPool-Location $dc


$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")


Re: Multimedia Keys in RDP Session within Horizon Client not working

$
0
0

Hello

 

thanks for your quick response.

 

For thre first hop we are using Horizon Client, the second hop is done by normal MS RDP.

 

 

Unfortunately the mentioned REG-Key does not exist below Policies-Key.

 

I may try creating them ....

 

 

Thanks in advance

Marco

Re: Cannot Open VM folder in url in vCenter appliance 6.7

$
0
0

Hi Guys,

we have same issue since updating our vcenters from 6.7U2 up to 6.7U3f.

Does anybody opened an issue ticket for vmware to investigate this?

 

best regards

vCheck keep prompting for credential

$
0
0

HI All,

 

When i'm trying to run the vCheck as batch file, but it still promoting for credential though i have stored the credential using the command.

 

New-VICredentialStoreItem -Host USvc1 -User domain\myvmk -Password Password@123

 

 

 

 

 

Thanks

V

Inactive data store unable delete from inventory

$
0
0

i need to know the way to delete data store from Vc data center. i try to right click and delete data store but the option became invisible.. any suggestion how to remove it.??

it tried to add host which using same data store giving error msg..esx05.PNG

Re: vCheck keep prompting for credential

$
0
0

How did you configure the vCenter in 00 Connection Plugin for vCenter.ps1 ?

Is there a line with $Server?

Did you assign the same value as you used on the Host parameter in the New-VICredentialStoreItem?

Viewing all 245504 articles
Browse latest View live


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