Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all 175326 articles
Browse latest View live

smtctl mitigation for Spectre is broken on the latest MacOS build

$
0
0

The mitigation described at VMware Knowledge Base (KB57138) is broken as of the latest MacOS build.

 

Steps to reproduce:

 

- Install the lastest MacOS on a Mac with a hyperthreading processor

- install the latest VMWare Fusion build

- install smtctl per KB57138

- create a VM and try to power it on

 

You will get "Cannot find a valid peer process to connect to".

 

Do "smtctl -m on", and the VM will then start. 

 

Tested on:

 

- 2018 Macbook Pro with i9 processor

- 2017 iMac with i7 processor

 

The guest OS is irrelevant; this is reproducible for all VMs when hyperthreading is disabled via smtctl.

 

Anyone else seeing this?


VMWare Workstation Pro 14 - Won't Start my win10 VM now. HELP PLEASE

$
0
0

I am having a severe problem with VMWare Workstation Pro 14.

I got notifications last week that there were updates.  I did the updates.

Though I am not sure that my issues are related to the updates, but it seems that my current

win10 VM that I have been using for quite a while has now degraded to an unusable state.

 

It will either not boot up (stays in the initial screen loading windows where the little animated circle is) or

it boots up and then essentially becomes unresponsive after a very short while...

 

I am not an expert on VMware but would love some advice on troubleshooting to see what is happening.

I really need the data on it.

published apps remote desktop connection

$
0
0

Hi,

We have granted remote desktop access to users as it is required for connection to remote apps.

Doing so, we also granting them access to the RDS server directly via RDP.

 

How can we prevent RDP connection to the server without disabling their access to remote apps.

 

Yazid-

Problem logging in with TrueSSO with VMWare verify not passing credentials

$
0
0

SSO is not working

 

Connection servers are enrolled to enrollment server

 

External access through external access using workspace  one is working

 

Saml is working correctly and both Connection servers are configured using SAAS Url for iDP

 

CA installed and certs are all valid

 

Connection Servers are showing invalid cert, but show valid in browser and are brokering connections

 

VMware Verify is working externally as well

 

Any ideas?

 

Ryan

Is True SSO supported with vIDM SaaS?

$
0
0

Hi,

 

We've implemented True SSO successfully with vIDM on-prem, however, is it supported if we wish to migrate to vIDM SaaS version?

 

thanks and regards,

CC

Script to automatically remove VM's older than 14 days.

$
0
0

Hi guys,

 

A while back Mr. LucD helped me with a script that automatically deletes any VM that has been powered off longer than 14 days. The script does work as intended but I wanted to see if someone could help me by modifying it so that instead of me having to update the script manually to exclude a VM from being deleted, we could simply make it so that if a virtual machine or multiple virtual machines are inside a folder, these would not get deleted. In other words, if we manually move a VM to a folder, the script will NOT remove any of the virtual machines inside it.

 

Below is the script I am using.

 

##Load all VMware related snap-ins

#Add-PSSnapin VMware.VimAutomation.Core

Get-Module -ListAvailable VM* | Import-Module

 

 

##vCenter connection information

$vcenter = 'vcenter instances'

$vcenteruser = 'vadmin'

$vcenterpw = ''

 

 

##Connects to all vCenter instances

Connect-VIServer $vcenter -User $vcenteruser -Password $vcenterpw

 

 

#Here's where you can exclude any virtual machines from being removed by the script. You will need to un-comment this line.

#You will also need to comment the $excludedVM = @{} line in order to honor this line.

#$excludedVM = 'Some VM' -----> This is where a folder would be a lot safer to use.

 

 

#Here's where you can ignore the exclusions. If you un-comment this line, all virtual machines that meet the 7 day criteria will be removed.

#If you comment this line, then you will need to un-comment the #$excludedVM = 'VM Name Line' in order to honor this line.

$excludedVM = @{}

 

 

#Here you're defining the any VM variable

$vms = @{}

 

 

#This piece will get all powered off VMs and exclude the ones from the list that were defined in the $excludedVM variable

Get-VM | where {$_.PowerState -eq "PoweredOff" -and $excludedVM -notcontains $_.Name} | % {$vms.Add($_.Name, $_)}

#Get-VM | where {$_.PowerState -eq "PoweredOff"} | % {$vms.Add($_.Name, $_)}

 

 

#Exclude any virtual machine that was powered off before the last 7 days

Get-VIEvent -Start (Get-Date).AddDays(-7) -Entity $vms.Values -MaxSamples ([int]::MaxValue) | where {$_ -is [VMware.Vim.VmPoweredOffEvent]} | Sort-Object -Property CreatedTime -Unique | % {$vms.Remove($_.VM.Name)}

 

 

#Remove the remaining VMs

#Remove-VM -VM $vms.Values -DeletePermanently -Confirm:$false -WhatIf

Remove-VM -VM $vms.Values -DeletePermanently -Confirm:$false

Windows 10 LTSC or SAC

$
0
0

I have a good understanding of the major differences of these two branches from a Microsoft viewpoint, but I would welcome feedback, or even a pointer to any official VMWare KB/documentation, as to the recomendation for which of these to use as the VDI Gold build.

 

Thank you

 

Phil

VMware ELA 4th Extension

$
0
0

Hello Experts,

 

Good Day!

I just need to know if we have any process for the customers who apply the 4th year extension of their existing ELA with VMware AirWatch Blue Management Licenses ?

 

If extension is possible then will customer has to renew all AirWatch Blue Management License purchased during the ELA (Commitment Volume at the start of the contract + New licenses purchased after).

 

 

NOTE: VMware AirWatch Blue Management Licenses doesn’t exists anymore.

 

Regards

PK


VMware ESXi 6.7 on HP Z2 Tower G4 Workstation wont install/boot in UEFI/legacy

$
0
0

I'm relatively new to ESXi. I ordered a new workstation PC and tried to install ESXi 6.7 in UEFI mode on it. The installation won't start in UEFI with the following message.

using simple offset uefi rts mapping policy 

It gets stuck after this message.

Right afterwards I tried to install in legacy. The installation finishes successfully however it won't boot afterwards stating that it can't find a disc to boot from.

The PC is on the latest BIOS version.

The following hardware is used:

  • Intel Xeon E-2176G 6C CPU
  • (4x16GB) DDR4 2666 DIMM ECC
  • NVIDIA Quadro P400 2GB (3)mDP GFX
  • 2x Intel I210-T1 Ethernet Server Adapter

Many thanks in advance!

 

Update: Using the HPE custom image results in the exact same behaviour

 

Nachricht geändert durch Christoph Muehlbacher

Multi-Instance of vRA/vRO

$
0
0

Hi There,

 

How to handle multiple instances of VRA/VRO to avoid data inconsistency?.

 

Scenario:  we have multiple instances of VRA / VRO in production and all instances are connected to only one XaaS DB.

 

For example: if a request from instance1 has inserted a record and a request from instance2 has deleted the same record at the same time hence there will be data inconsistency right.

 

So how do I maintain data consistency?

 

Regards,

Laxmi

Skyline Advisor Last Activity 4 Days Ago

$
0
0

After upgrading my collector to from 2.0.0.2 to 2.1.0, Skyline Advisor hasn't updated. All of the endpoints look good.

But advisor doesn't.

Any ideas?

PowerCLI script to get Server utilization report in JPEG format from Webclient

$
0
0

PowerCLI script for fetching utilization report from wbclient JPEG format specific date to date.

CPU : Usage%

Disk: highest Latency

Memory : Active

Network: Data recieve rate  

script_structure_powercli

$
0
0

Hi Luc ,

 

can you please check following script .this is to get some security info from esxi and network switches .this works fine except the orange line .

can you please modify orange line to use join .also can this be converted to excel file ??

 

$vcenter=read-host "please provide vcentername"

$credential_vcenter=get-credential

$conn=connect-viserver -server $vcenter|out-null

 

#only for distributed switches .

#for hostd presence we need openssh module though it shud be present by default.

$path = 'C:\Users\user1\Desktop\scriptfolder'

$security_parameters = @()

foreach($dc in get-datacenter)

{

$datacenter=get-datacenter $dc

write-host "cureent powershell version" -ForegroundColor Cyan

$PSVersionTable.psversion

 

foreach($ei in (get-vmhost -Location $datacenter))

{

 

 

 

 

 

 

$esxi=get-vmhost -name $ei

$distributedswitch = get-vmhost $esxi|Get-VirtualSwitch -Distributed

$ssh_running_remote = Get-VMHost $esxi | Get-VMHostService | Where {$_.key -eq "TSM-SSH"}

 

$promiscousmode=$distributedswitch.Extensiondata.Config.DefaultPortConfig.SecurityPolicy.AllowPromiscuous.Value

$forgedtransmit=$distributedswitch.Extensiondata.Config.DefaultPortConfig.SecurityPolicy.ForgedTransmits.Value

$mac_address_change=$distributedswitch.Extensiondata.Config.DefaultPortConfig.SecurityPolicy.MacChanges.Value

$vmkmgmt=Get-VMHostNetworkAdapter -VMHost $esxi -VMKernel|?{$_.ManagementTrafficEnabled -eq $true}

$dhcp_enabled=$vmkmgmt.DhcpEnabled

$ports_enabled=Get-VMHostFirewallException -vmhost $esxi -Enabled:$true

$local_tech_support=Get-VMHost $esxi | Get-View | Where {$_.Summary.Config.Product.Name -match "i"} | Select Name, @{N="localTechSuportModeEnabled";E={(Get-VMHost $_.Name | Get-VMHostAdvancedConfiguration -Name VMkernel.Boot.techSupportMode).Values}}

$local_tech_support.localTechSuportModeEnabled

if($local_tech_support.localTechSuportModeEnabled -eq $null)

{

$localtechsupportenabled="False"

 

}

$vmkernel=get-log -VMHost $esxi -Key vmkernel

 

if($vmkernel.entries -ne $null)

{

$presence_vmkernel="True"

}

 

 

 

 

$output = New-Object -TypeName PSObject

 

        $output|Add-Member -MemberType NoteProperty -Name 'esxiname' -Value $esxi.name

 

        $output|Add-Member -MemberType NoteProperty -Name 'distributedswitch' -Value $distributedswitch.name

              

        $output|Add-Member -MemberType NoteProperty -Name 'whetherremote_ssh_running' -Value $ssh_running_remote.running

        $output|Add-Member -MemberType NoteProperty -Name 'promiscousmode' -Value $promiscousmode

        $output|Add-Member -MemberType NoteProperty -Name 'forgedtransmit' -Value $forgedtransmit

        $output|Add-Member -MemberType NoteProperty -Name 'mac_address_change' -Value $mac_address_change

        $output|Add-Member -MemberType NoteProperty -Name 'vmkernellogs_presence' -Value $presence_vmkernel

        $output|Add-Member -MemberType NoteProperty -Name 'whether mgmt ip assigned by dhcp' -Value $dhcp_enabled

        $output|Add-Member -MemberType NoteProperty -Name 'ports enabled ' -Value $ports_enabled

        $output|Add-Member -MemberType NoteProperty -Name 'whether local tech support mode enabled ' -Value $localtechsupportenabled

 

 

 

 

 

 

 

 

 

        $security_parameters += $output

 

 

 

               }

              

              

               }

 

 

$security_parameters|out-file $path\secp.txt

VSAN VMs thin provisioning query

$
0
0

Hi Guys,

 

I have some doubt on VSAN VMs thin provisioning query.

 

Im using VSAN 6.7.0 update 1 and lot of Windows/linux VMs,NSX manager/vROPS available.

 

I created a new storage policy and not added any rule "Object space reservation to zero" in to my storage policy.Which means,all the newly created VMs will be thin provisioning by default.

 

I guess,without adding this rule,"Object space reservation to zero" in storage policy, all the VMs should be created as a thin provisioning. Am i right?

 

All the VMs(Windows/Linux VMs) are listed as "thin provisioning",however NSX/vrops(created from OVA) are listed as "thick provisioning lazy zeroed"( i checked from both HTML & flash web client).Is this known bug? Please suggest.

 

https://www.virtuallyghetto.com/2016/06/heads-up-ovfova-always-deployed-as-thick-on-vsan-when-using-vsphere-web-client.h…

 

 

Thanks,

Manivel RR

New-vm command for cluster admin user throws error: FullyQualifiedErrorId : Core_BaseCmdlet_UnknownError,VMware.VimAutomation.ViCore.Cmdlets.Commands.NewVM

$
0
0
For only one user cluster_admin. I am getting this error. It passes for all the rest users. Can anyone please help me out. Please note I am able to create vm via ui. the version of powercli i am using is 11.0 and vsphere version is 6.7u1. can anyone please help me out?

PowerCLIの出力をCSVにすると読めない文字になる

$
0
0

以下のコマンドでPowerCLIの出力をCSVにすると読めない文字になります。

 

【コマンド】

PS C:\WINDOWS\system32> $global:DefaultVIServers | Get-AdvancedSetting | Format-Table -Autosize -Wrap | Export-Csv -Encoding UTF8 -NoTypeInformation -Path C:\work\Exppppp.csv

PS C:\WINDOWS\system32> $global:DefaultVIServers | Get-AdvancedSetting | Format-Table -Autosize -Wrap | Export-Csv -Encoding Unicode -NoTypeInformation -Path C:\work\Exppppp.csv

PS C:\WINDOWS\system32> $global:DefaultVIServers | Get-AdvancedSetting | Format-Table -Autosize -Wrap | Export-Csv -Encoding Default -NoTypeInformation -Path C:\work\Exppppp.csv

 

【Exppppp.csv】※一部抜粋

"ClassId2e4f51ef21dd47e99d3c952918aff9cd","pageHeaderEntry","pageFooterEntry","autosizeInfo","shapeInfo","groupingEntry"

"033ecb2bc07a4d43b5ef94ed5a35d280",,,"Microsoft.PowerShell.Commands.Internal.Format.AutosizeInfo","Microsoft.PowerShell.Commands.Internal.Format.TableHeaderInfo",

"9e210fe47d09416682b841769c78b8a3",,,,,

"27c87ef9bbda4f709f6b4002fa4af63c",,,,,

"27c87ef9bbda4f709f6b4002fa4af63c",,,,,

"27c87ef9bbda4f709f6b4002fa4af63c",,,,,

"27c87ef9bbda4f709f6b4002fa4af63c",,,,,

"27c87ef9bbda4f709f6b4002fa4af63c",,,,,

"27c87ef9bbda4f709f6b4002fa4af63c",,,,,

"27c87ef9bbda4f709f6b4002fa4af63c",,,,,

"27c87ef9bbda4f709f6b4002fa4af63c",,,,,

"27c87ef9bbda4f709f6b4002fa4af63c",,,,,

"27c87ef9bbda4f709f6b4002fa4af63c",,,,,

"27c87ef9bbda4f709f6b4002fa4af63c",,,,,

"27c87ef9bbda4f709f6b4002fa4af63c",,,,,

"27c87ef9bbda4f709f6b4002fa4af63c",,,,,

"27c87ef9bbda4f709f6b4002fa4af63c",,,,,

"27c87ef9bbda4f709f6b4002fa4af63c",,,,,

"27c87ef9bbda4f709f6b4002fa4af63c",,,,,

"27c87ef9bbda4f709f6b4002fa4af63c",,,,,

"27c87ef9bbda4f709f6b4002fa4af63c",,,,,

"27c87ef9bbda4f709f6b4002fa4af63c",,,,,

"27c87ef9bbda4f709f6b4002fa4af63c",,,,,

"27c87ef9bbda4f709f6b4002fa4af63c",,,,,

 

解決方法をご教示頂けないでしょうか。

Can any one help to find out NAA status of ESXi hosts in cluster

$
0
0
Can any one help to find out NAA status of ESXi hosts in cluster

Appvolumes 2.16 has been released

$
0
0

As it seems yestarday version 2.16 of Appvolumes has been released as version 7.8 from View (but hey who cares ).

I will be test driving it today because they are lots of new features to get exited about..... ..

 

If anyone else is going to test 2.16 as has some input to deliver please feel free..

Multiple Essentials Kits

$
0
0

Hi folks,

 

I'm fully aware that if you buy multiple Essentials Kits, you have to set up multiple independent vCenters, with at most three servers on each. However, I was told today that you're not allowed to have more than one Essentials deployment per physical site. Anyone know whether this is true? I can't find any documentation supporting that. I found something like it in a document talking about "Essentials for Retail and Branch Offices", but that's a separate thing from ordinary Essentials, right?

 

Thanks in advance!

vmware tools

$
0
0

Здравствуйте. Прошу помощи в следующей ситуации.

Используем vSphere 4.1 upd.3.

После разворачивания виртуальной машинки Windows Server 2008r2 при попытке установки vmware-tools, произошла ошибка VirtualMachine.MountToolsInstaller" for object "" failed on vCenter Server

Зашел через WinSCP на хост в директорию vmimages/tool-isoimages, при попытке скопировать windows.iso на локальную машину, произошла ошибка, т.е. файл поврежден.

Скопировал windows.iso с другого хоста, удалил неисправный образ (чего видимо не следовало делать), попытался скопировать исправный образ на хост, произошла ошибка.

После этого пропал доступ к хосту через vSphere client и не реконнектится. Слава богу виртуалки на нем работают.

Как восстановить доступ и восстановить vmware tools?

Желательно разжевать т.к. с линуксом на вы(

Заранее спасибо.

Viewing all 175326 articles
Browse latest View live


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