Quantcast
Channel: VMware Communities : Discussion List - All Communities
Viewing all 176483 articles
Browse latest View live

esxi server upgrade for 5.5 to 6.5 appliance all or one

$
0
0

Is it possible to migrate you virtual servers from a esxi host which is 5.5 to a esxi host that is 6.5 while upgrading the 5.5 to 6.5?


Restrict VM console access

$
0
0

Hi

 

For some (Windows-based) virtual machines, we need to restrict access to the VMware console. The VMware administrators should not be able to view / access the Windows' desktop and RDP should be the only way to log on to the machines. This is mainly because the VMware admins have no rights on the OS level of the Windows machines.

 

Is there a way to restrict this, without allowing the VMware admins to overcome the restriction? I was thinking about configuring the Windows firewall to close down any port used by the VMRC, if this would be possible?

 

Best regards,
Tim

redimensionnement de disque

$
0
0

Bonjour,

 

J'aurais quelques petites précision au sujet de vsphere.

 

Je voudrais redimensionner la taille d'un disque (D:) sur une vm en fonctionnement et je souhaiterais savoir les effets possibles de la manipulation sur la vm (si elle vas redémarer, si le changement est immédiat ou prend il effet au redémarrage).

 

Merci

cordialement.

get-stat timestamp difference

$
0
0

I dont know why there is difference in timestamp shown in UI and timestamp in get-stat of a ESXi server.

 

In the attached figure, you can see the current time is today's date: 2018/06/19

 

but when i get get-stat in powercli window.

i get

 

MetricId                Timestamp                          Value Unit

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

mem.usage.average       6/20/2018 9:09:20 AM                   0 %

mem.usage.average       6/20/2018 9:09:00 AM                   0 %

mem.usage.average       6/20/2018 9:08:40 AM                0.99 %

mem.usage.average       6/20/2018 9:08:20 AM                0.99 %

 

the timestamp shown is tomorrow's...

 

Is there anything which i have to change.

Get-VM Error after PowerCLI Upgrade

$
0
0

Hi,

 

I am unable to use get-vm command after the PowerCLI upgrade from 6.5.3 to 10.1.1

 

Below is the latest PowerCLI version details

 

Name                            Version
----                            -------
VMware.DeployAutomation         6.7.0.8250345
VMware.ImageBuilder             6.7.0.8250345
VMware.PowerCLI                 10.1.1.8827524
VMware.Vim                      6.7.0.8343295
VMware.VimAutomation.Cis.Core   10.1.0.8377811
VMware.VimAutomation.Cloud      10.0.0.7893901
VMware.VimAutomation.Common     10.1.0.8342134
VMware.VimAutomation.Core       10.1.0.8344055
VMware.VimAutomation.HA         6.5.4.7567193
VMware.VimAutomation.HorizonView7.5.0.8827468
VMware.VimAutomation.License    10.0.0.7893904
VMware.VimAutomation.Nsxt       10.1.0.8346947
VMware.VimAutomation.PCloud     10.0.0.7893924
VMware.VimAutomation.Sdk        10.1.0.8342078
VMware.VimAutomation.Srm        10.0.0.7893900
VMware.VimAutomation.Storage    10.1.0.8313015

VMware.VimAutomation.StorageUtility 1.2.0.0

VMware.VimAutomation.Vds        10.1.0.8344219
VMware.VimAutomation.Vmc        10.0.0.7893902
VMware.VimAutomation.vROps      10.0.0.7893921
VMware.VumAutomation           

6.5.1.7862888

 

When I execute get-vm I am getting the below error

 

PS E:\myreports> get-vm

get-vm : 6/19/2018 2:49:27 AM   Get-VM          Value cannot be null.

Parameter name: array

At line:1 char:1

+ get-vm

+ ~~~~~~

    + CategoryInfo          : NotSpecified: (:) [Get-VM], VimException

    + FullyQualifiedErrorId : Core_BaseCmdlet_UnknownError,VMware.VimAutomation.ViCore.Cmdlets.Commands.GetVM

 

 

 

 

similarly, If I give the VM name, it works

 

PS E:\myreports> get-vm VCENTER55

 

Name                 PowerState Num CPUs MemoryGB

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

VCENTER55       PoweredOn  28       50.000

 

 

All my scripts are also failing

 

#Actual Script

Get-VM | Select @{N='VM Name';E={$_.Name}},

@{N="IP Address";E={@($_.guest.IPAddress[0])}},

@{N="VM_ID";E={@($_.ExtensionData.moref.value)}},

@{N="VM PowerState";E={@($_.PowerState)}},

@{N="Operating System"; E={@($_.guest.OSFullName)}},

@{N="CPU Count";E={@($_.NumCPU)}},

@{N="MemoryInGB";E={[math]::round($_.MemoryGB)}},

 

 

PS E:\myreports> .\4_POC_VM_Reporting.ps1

 

Name                           Port  User

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

10.16.15.26                  443   admin

Get-VM : 6/19/2018 2:36:10 AM   Get-VM          Value cannot be null.

Parameter name: array

At E:\myreports\4_POC_VM_Reporting.ps1:8 char:1

+ Get-VM | Select @{N='VM Name';E={$_.Name}},

+ ~~~~~~

    + CategoryInfo          : NotSpecified: (:) [Get-VM], VimException

    + FullyQualifiedErrorId : Core_BaseCmdlet_UnknownError,VMware.VimAutomation.ViCore.Cmdlets.Commands.GetVM

Host Win 10 and Workstation Pro 14: network share of host not accessible in VM

$
0
0

Hello,

 

I have an issue with the following configuration:

 

Host:

Computer Name: saturn

Windows 10 (Version 1709)

VMware® Workstation 14 Pro 14.1.2 build-8497320

network share: satshare1

 

VM:

Computer Name: xenon

openSUSE Leap 42.2

Network: NAT

 

I had no problems accessing the network share 'satshare1' from within the VM 'xenon'. Read and write to and from the share worked without any issue. But out of the blue I am not able to access the network share. I get the error message 'timeout on server saturn'. Even trying to re-mount the network share failed. I can access network shares (e.g. groupdata) from our NAS from within the VM. So generally the network access is working well from the VM.

 

I did some tests with another PC (real hardware) 'neptun' running Windows 7. From this PC I am able to connect to the share 'satshare1'.

 

The problem might be caused by software updates on my host system. I switched of the firewall on the host, same issue.

 

Any hints or ideas how to go on would be helpful.

 

Thanks for your attention,

 

Michael

vSphere 6.7 and Network I/O Control Version Compatibility

$
0
0

Upgrading DVS from 5.5 to 6.0 for the vCenter 6.0 Windows to 6.7 Appliance migration.  Is Network I/O Control Version 2 able to continue running in vSphere 6.7?

Vsphere 6.5 update 2 vCenter upgrade results in no access to vCenter via vsphere web client or html 5 client.

$
0
0

Get a JAVA/SSL error, trust anchors cannot be empty.  DNS/NTP working correctly.  This is on a linux appliance with embedded PSC.  Anyone see this?


_leaseDays' field must be INTEGER , Getting Error while Provisioning

$
0
0

I have one base blue print where i put lease time Min- 20 Days ---- Max 365 Days

I have another XAAS blueprint  which call Base blurpint . We are passing a exipre day for 30 days for that VM.

 

If i run XAAS blueprint where base blueprint does not have any  max lease days define -- It got success

If run only base blueprint with Set Lease Days --- No Error  -- Success

If i run XAAS blueprint with set 1month exp date where in base blueprint have min (20 day to 365 Days Max )   -   getting  Failed

and getting below error .

 

_leaseDays' field must be INTEGER

 

Variable input in vRO logs

 

"PpS.CategoryTag.VMTag.AppID": "ACDS",

  "0.XXX.request.appid": "ACDS",

  "PpS.CategoryTag.VMTag.PARID": "TEST",

  "0.XXX.request.app.select": "\"EFT Generator",

   "_leaseDays": 30

  }

  },

  "_archiveDays": 1,

  "_deploymentName": "TEST",

  "_leaseDays": 10,

  "_number_of_instances": 1

Remediation Pre-Check tells me DRS is not activated, but it *is*

$
0
0

Hi,

 

with VMWare VCenter Server 6.7 there is a cool new feature: the remediation pre-check.

Unfortunately it tells me that vSphere DRS is not activated in combination with the vCenter Server, but a few lines above it *is* activated (see sceeenshot). I'm also able to vMotion the vSphere server.

I'd appreciate some help/tips/hints.

 

Bye!

 

Screenshots below:

First: DRS is shown correctly as enabled:

And a few lines below it tells me I shall enable it:

HPE BL460c Gen9 - SD-CARD - VMware-ESXi-6.5.0-Update1-5969303-HPE-650.U1.10.1.0.14-Jul2017 - Install hangs on 85%

$
0
0

Hello together,

 

hopefully one of you have an Idea whats going on with this blade:

 

HPE ProLiant BL460c Gen9 - 32 GB SD-CARD - try to install with the following isos:

 

VMware-ESXi-6.5.0-Update1-5969303-HPE-650.U1.10.1.0.14-Jul2017

VMware-ESXi-6.5.0-5310538-HPE-650.10.1.0.47-Jul2017

VMware-ESXi-6.5.0-OS-Release-5146846-HPE-650.9.6.5.27-May2017

 

I got everytime the message:

 

vmkctl.HostCtlException: Unable to get node: Sysinfo error: Not foundSee VMkernel log for details

 

In the Attachment you find a lot of screenshots. Maybe one of you have an Idea.

 

Thanks for helping me!

 

Best regards

Sven-Jendrik

Intel Wireless 3168NGW Stone Peak passthrough on an ASRock Threadripper X399 platform, won't enable

$
0
0

Hello folks,

 

Attempting to passthrough a wireless card to a VM under esxi 6.7.  The device appears available for passthrough. If I check it, it says enabled/needs reboot, but then is not enabled (reverts to baseline) if I actually do reboot.  Data below.  (As an aside, the aquantia 10GBe appears STUCK on enabled/needs reboot, and multiple other passthrough devices work fine.) FWIW, I'm actually interested in using the Bluetooth to connect keyboard/mouse to the VM (I only have 3 USB hubs but need a forth, and no spare PCIE slots.)

 

System is an ASROCK Professional X399 with a Threadripper 1950x.

 

Stretched Cluster

$
0
0

Hello,

 

I have 3 servers in Site 1 and 3 servers in Site 2 connected through 10G L2 with HDD disks for capacity and SSD for caching. Can we configure stretched cluster between sites? can we use RAID1 with stretched cluster or we need RAID5/6?

And if RAID5/6 is mandatory for stretched cluster, should we need all-flash?

 

Regards,

Performance issue on PowerCli Linux

$
0
0

Hello

 

I'm currently working on retrieving stats for our VMs through PowerCli and I found that there is a huge performance difference between the Linux and Windows version.

The same request is taking 3m32s on Windows and 27m7s on Linux.
Which means that the Linux version is useless in this case.

 

Same version of Powershell-Core on the 2 servers, same version of Powercli.

Is this  lack of performance linked to Powershell Linux or to Powercli Linux ?

If it's linked to PowerCli Linux, is there a way to optimize performance at this level ?

The goal is to be able to run this request on Linux (in less than 5 min) in order not to have another Windows server for that... (cost of licence, etc...)

 

 

Linux (Centos 7)

PS /root> get-psversion

Major  Minor  Patch  PreReleaseLabel BuildLabel

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

6      1      0      preview.2

 

PS /root> get-powercliversion

PowerCLI Version

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

   VMware PowerCLI 10.1.0 build 8346946

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

Component Versions

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

   VMware Cis Core PowerCLI Component PowerCLI Component 10.1 build 8377811

   VMware VimAutomation VICore Commands PowerCLI Component PowerCLI Component 10.1 build 8344055

 

PS /root> $VMs = Get-Vm

PS /root> $VMs.count

685

PS /root> $metrics = "cpu.ready.summation","cpu.costop.summation","cpu.latency.average","cpu.usagemhz.average","cpu.usage.average","mem.active.average","mem.usage.average","net.received.average","net.transmitted.average","disk.maxtotallatency.latest","disk.read.average","disk.write.average","disk.numberReadAveraged.average","disk.numberWriteAveraged.average","net.usage.average","disk.usage.average","disk.commandsAveraged.average"

PS /root> Measure-Command {$Stats = Get-Stat -Entity $vms -Stat $metrics -Realtime -MaxSamples 15 -ErrorAction SilentlyContinue | Group-Object -Property {$_.Entity.Name}}

 

Days              : 0

Hours             : 0

Minutes           : 27

Seconds           : 7

Milliseconds      : 923

 

Windows (Windows 2016)

PS C:\Program Files\PowerShell\6-preview> Get-PSVersion

Major  Minor  Patch  PreReleaseLabel BuildLabel

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

6      1      0      preview.2

 

PS C:\Program Files\PowerShell\6-preview> Get-PowerCliVersion

WARNING: The cmdlet "Get-PowerCLIVersion" is deprecated. Please use the 'Get-Module' cmdlet instead.

PowerCLI Version

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

   VMware PowerCLI 10.1.0 build 8346946

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

Component Versions

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

   VMware Cis Core PowerCLI Component PowerCLI Component 10.1 build 8377811

   VMware VimAutomation VICore Commands PowerCLI Component PowerCLI Component 10.1 build 8344055

 

PS C:\Program Files\PowerShell\6-preview> $Vms = Get-VM

PS C:\Program Files\PowerShell\6-preview> $VMs.count

685

PS C:\Program Files\PowerShell\6-preview> $metrics = "cpu.ready.summation","cpu.costop.summation","cpu.latency.average","cpu.usagemhz.average","cpu.usage.average","mem.active.average","mem.usage.average","net.received.average","net.trans

mitted.average","disk.maxtotallatency.latest","disk.read.average","disk.write.average","disk.numberReadAveraged.average","disk.numberWriteAveraged.average","net.usage.average","disk.usage.average","disk.commandsAveraged.average"

PS C:\Program Files\PowerShell\6-preview> Measure-Command {$Stats = Get-Stat -Entity $vms -Stat $metrics -Realtime -MaxSamples 15 -ErrorAction SilentlyContinue | Group-Object -Property {$_.Entity.Name}}

 

Days              : 0

Hours             : 0

Minutes           : 3

Seconds           : 32

Milliseconds      : 110

 

Best Regards,

VCSA 6.7 Error while connecting to external Platform Service Controller - Certificate does not match host

$
0
0

Hi,

I installed Platform Service Controller 6.7. All went fine. Then I tried to install vCenter Server Appliance 6.7. While asking for external service controller I'm facing this error

The hostname of VPSC vm is exactly VPSC.mydomain.com and I verified it not only in web but also in a SSH session to VPSC VM but as you see it says as follows

 

 

Unable to validate the connectivity to the external Platform Services Controller.

Failed to validate sso.('VPSC.mydomain.com' doesn't match with hostname in Platform Services Controller certificate)

 

Any help will be appreciated

 

Thanks

 


Analysis dashboard is gone after upgrade to 6.7. Don't you now if is possible restore this tab somehow? It was my favorite dashboard :(

$
0
0

Analysis dashboard is gone after upgrade to 6.7. Don't you now if is possible restore this tab somehow? It was my favorite dashboard

Mouse Cursor Disappears when hovering over a window edge

$
0
0

Hi,

 

We just upgraded from Horizon 7.3.2 to 7.5.  Both connection servers and security gateway are upgraded.  I also did a full removal of the 7.3.2 agent from all parent VDIs and then a clean install of the 7.5 agent.  Snapshot, then publish the new image to our instant clone pools.  Our users have Client v4.7 on Win10 terminals for connecting to Horizon.

 

After the upgrade, all users in 3 separate IC pools lose the mouse cursor whenever they hover on a window edge.   Basically when the mouse pointer should change from an arrow to a "stretch" icon, it disappears instead.  The user can still left-click and drag the window size, function is not affected.  Has anyone else seen this behavior with 7.5?

 

Additional info about the VDIs:

Win10 v1607

AppVolumes 2.13.2

Writable Volume + UIA

 

This affect happens to everyone regardless of Desktop pool or various App Stack assignment.

 

Thanks,

Bob

Exception calling "EnableAlarmActions" with "2" argument(s):

$
0
0

Hi,

 

I am trying to write a script that gives me the option to enable/disable alarm actions on all my ESXi hosts attached to a particular virtual center. 

 

I've got the code mostly working but I'm getting this error when I execute the code"

 

Exception calling "EnableAlarmActions" with "2" argument(s): "

Required parameter entity is missing

while parsing call information for method EnableAlarmActions

at line 1, column 171

while parsing SOAP body

at line 1, column 64

while parsing SOAP envelope

at line 1, column 0

while parsing HTTP request for method setAlarmActionsEnabled

on object of type vim.alarm.AlarmManager

at line 1, column 0"

At \\fs-55-ah\vmgr$\home05\dscotti\Documents\Scripts\WIP\set esxi host alarm state.ps1:37 char:13

+             $alarmmgr.EnableAlarmActions($esx.ExtensionData.MoRef,$tr ...

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

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

    + FullyQualifiedErrorId : VimException

 

My script is attached. Any thoughts on what I've got wrong would be much appreciated.

 

Thanks

Dan

Unable to install VMtools on win2012r2 guest (host - ESXi 6.5)

$
0
0

Unable to install VMtools on win2012r2 guest (host - ESXi 6.5)

When I try to install VMWare tools on fresh VM (just installed Win server 2012 R2)

I get an error: "Failed - The required VMware Tools ISO image does not exist or is inaccessible."


full error message:

 

Failed - The required VMware Tools ISO image does not exist or is inaccessible.

 

 

  • Unable to install VMware Tools. An error occurred while trying to access image file "/usr/lib/vmware/isoimages/windows.iso" needed to install VMware Tools: 2 (No such file or directory). Please refer the product documentation or KB article 2129825 for details about how to get VMware Tools package for this guest operating system.
  • vix error code = 21001

Can't UNC to Instant Clone Desktops

$
0
0

We are deploying instant clone desktops running Windows 7 and have noticed that upon provisioning you cannot UNC to the machines.  After a manual reboot UNC seems to work.  Is this expected behavior, or is there something I am missing somewhere?

Viewing all 176483 articles
Browse latest View live


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