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

Status of other host hardware objects error after upgrade to ESXi 6.7

$
0
0

Hi Guys,

 

I get a error message at vCenter 6.7.0U1 on ESXi host after upgrade ESXi 6.5 to 6.7 on HP DL380 Gen10.

 

VMware-ESXi-6.7.0-9484548-HPE-Gen9plus-670.10.3.5.6-Sep2018.iso

 

Screenshot - 11.11.2018 , 10_20_32 AM.jpg

 

It suspect there have "System Chassis 1 UID" Unknown as below.

Screenshot - 11.11.2018 , 11_16_50 AM.jpg

 

I check with HP iLO, can't found any related to system chassis, I all 3 ESXi 6.7 get the same issue after upgrade to ESXi 6.7.

 

Any idea?

 

Regards

Thanks...KEN


Default To Pasting Last Copy Instead of List Pop-Up For Copy/Paste?

$
0
0

Is there a way to set VMWare Fusion to not present a list of the recently copied text items but rather simply just paste the last copied item? I've noticed when I copy text on my MacOS and then go to paste it in the VM Windows guest OS, a little pop-up comes up with a list of the 5 most recently copied items. I'd like it to simply default to the last copied item. Any settings that can be adjusted for this?

 

Thanks

Cannot install Fusion on macOS Catalina

$
0
0

Getting a weird error while trying to install Fusion on macOS Catalina...

 

Untitled.png

Synchronizing Time

$
0
0

Why sometimes does Date/Time in taskbar in Windows not always equal to Time Zone? Does VMWare "Synchronize" option take priority ?

 

You install Windows server, and must manually select time zone after...  as well as clock on taskbar is incorrect..  where as in Windows 7 time/date are both correct, but Time Zone is incorrect.. (before installing Tools)

Trust Store Errors

$
0
0

After upgrading a Dell server from 6.5 to 6.7 U3 (with the Dell custom ESXi image), I am getting the following errors in the logs - hundreds of times per minute.

 

The only way to stop them is to stop the sfcb service.... any idea how I can fix this?

 

sfcb-HTTPS-Daemon[2102801]: Error locating the client trust store

sfcb-HTTPS-Daemon[2102801]: file: /build/mts/release/bora-16580937/cayman_sfcb/sfcb/src/httpAdapter.c line 2024, complete, ssl process exiting exit code 56.

TKGI 1.8 license requirement?

ESXi 6.7 vSAN host experiences a purple diagnostic screen at bora/modules/vmkernel/lsomcommon/ssdlog/ssdopslog.c:130

$
0
0

Setup:

 

1.vCenter 6.7 build 16708996

2.Hosts 6.7 build 15160138

3.VSAN disks on version 10.0

 

  I've been having trouble with that and i'm no idea how to fix it,.

 

 

2d41c6feca8b5f3bfaff7348e53dcf7.png

Merging Excel file

$
0
0

Hello,

 

Can someone please tell me how

 

I am using the below script to merge excel file, got from LucD

script is working for the first 10 excel files but not working for another set.

 

$sourceFolderPath = "D:\Consolidated\2"

$XLfiles = Get-ChildItem $sourceFolderPath -Filter *.xlsx

foreach ($XLfile in $XLfiles) {

       Import-Excel $XLfile.FullName | Export-Excel $OutputFilePath -WorksheetName $XLfile.BaseName  

}

Set-PSRepository cmdlet

 

This is the error I am getting :

 

Failed importing the Excel workbook 'D:\RVTool\Consolidated\2\Test.xlsx' with worksheet '': Duplicate column headers found on row '1' in columns '70 71'. Column headers must be unique, if this

is not a requirement please use the '-NoHeader' or '-HeaderName' parameter.

At C:\Program Files\WindowsPowerShell\Modules\ImportExcel\7.1.1\Public\Import-Excel.ps1:216 char:21

+ ...     catch { throw "Failed importing the Excel workbook '$Path' with w ...

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

    + CategoryInfo          : OperationStopped: (Failed importin...ame' parameter.:String) [], RuntimeException

    + FullyQualifiedErrorId : Failed importing the Excel workbook 'D:\RVTool\Consolidated\2\Test.xlsx' with worksheet '': Duplicate column headers found on row '1' in columns '70 71'. Column he

   aders must be unique, if this is not a requirement please use the '-NoHeader' or '-HeaderName' parameter.


Replace Bios.UUID after clone (copy uuid to clone)

$
0
0

Good evening,

we do run a test lab with some bigip appliances. As we play around with them and usually mess them up i wanted to create a clone to have a full backup of a clean appliance.

i figured out when i copy the bios.uuid i will not loose the activated license and so i do not need to bother the vendor again and again.

 

I am stuck in my scheduled task with the replacement. The tasks run shutdown the vm and take the clone.

I have to run these actions in jobs don't ask me why. I could figure out why the "pure" commands do not work.

 

So here is the piece where i am stuck... And i would love if someone could enlighten me to get this to run.

I tagged the machines so the bios.uuid will not get replaced on other machines. Having the vendor details of the vm would be much cooler and i might open another post about this.

 

So i get the uuid from the master vm

# Get BIOS UUID

$uuid = Get-VM $vmname | %{(Get-View $_.Id).config.uuid}

And geht the Tag of the vm

# Get Tag of Virtual Machine (if assigned)

$tag = Get-VM $vmname | Get-TagAssignment | select Tag

 

$vmname is the master

$firstbackupname is the name of the clone

 

And here is the code which should replace the uuid on the vm ($firstbackupname)

 

if ($tag -match "F5") {

                       LogWrite ""

                       LogWrite "Task Backup - F5 Tag assigned. Changing UUID"

                       Start-Job -ScriptBlock {

                                                $spec = New-Object VMware.Vim.VirtualMachineConfigSpec

                                                $spec.uuid = $uuid

                                                $firstbackupname.Extensiondata.ReconfigVM_Task($spec)

                                               }

                       Get-Job | Wait-Job

                       LogWrite "-OK-----------------> Changed UUID to $uuid"

                      }

 

The scenario does shutdon the vm, wait for shutdown then take a clone and now it should copy the master uuid to the clone. Right after the vm gets a power on.

 

I would be very happy if you coudl help me out here.

thank you very much for any tip and help.

 

best wishes armin

Connecting multiple vCenter with encrypted credential

$
0
0

Hi All,

 

I want to run the script for multiple vcenter with saved credential C:\credential.ps1 file. Looking for help to modify the script. Right now, i have to connect each vcenter and run the script.

 

will the below command will work ? Any pointers will be much appreciated.

 

$Creds = Get-Credential -Message "Enter username and password" -ErrorAction SilentlyContinue

$vCenters = (Get-Content "C:\VC.txt")  

 

 

 

 

$report = foreach ($vCenter in $vCenters) {

 

 

    Connect-VIServer $vCenter -Protocol https -Credential $Creds | Out-Null

 

 

foreach($cluster in Get-Cluster){

    $esx = $cluster | Get-VMHost

  

   

    $cluster | Select        @{N="DCname";E={(Get-Datacenter -Cluster $cluster).Name}},

        @{N="Clustername";E={$cluster.Name}},

        @{N="Total Physical Memory (GB)";E={($esx | Measure-Object -Property MemoryTotalGB -Sum).Sum}},

        @{N="Configured Memory GB";E={($esx | Measure-Object -Property MemoryUsageGB -Sum).Sum}},

        @{N="Available Memory (GB)";E={($esx | Measure-Object -InputObject {$_.MemoryTotalGB - $_.MemoryUsageGB} -Sum).Sum}},

        @{N="Num of CPUs)";E={($esx | Measure-Object -Property NumCpu -Sum).Sum}},

        @{N="Total CPU (Mhz)";E={($esx | Measure-Object -Property CpuTotalMhz -Sum).Sum}},

        @{N="Configured CPU (Mhz)";E={($esx | Measure-Object -Property CpuUsageMhz -Sum).Sum}},

        @{N="Nuber of VMs";E={($esx | Get-VM).count}},

        @{N="Number of ESXi Hosts";E={$esx.count}}

 

 

 

 

        $endpoint = "https://api.powerbi.com/beta/a1f1e214-7ded-45b6-81a1-9e8ae3459641/datasets/6ab225bd-c265-4649-b971-a3a438d04b1f/rows?key=dL9orzw1YMWColkVEJRMjoosEIOC5ESr%2BkNovk4fJYMYAPNWE%2FweU1Aiu1YjGwFkozKKhuqCuDtbpZztuGJAJg%3D%3D"

$payload = @{

"Available Memory (GB)" =($esx | Measure-Object -InputObject {$_.MemoryTotalGB - $_.MemoryUsageGB} -Sum).Sum

"Configured Memory GB" =($esx | Measure-Object -Property MemoryUsageGB -Sum).Sum

"Total Physical Memory (GB)" =($esx | Measure-Object -Property MemoryTotalGB -Sum).Sum

"Clustername" =$cluster.Name

"Num of CPUs" =($esx | Measure-Object -Property NumCpu -Sum).Sum

"Total CPU (Mhz)" =($esx | Measure-Object -Property CpuTotalMhz -Sum).Sum

"Configured CPU (Mhz)" =($esx | Measure-Object -Property CpuUsageMhz -Sum).Sum

"Datacenter" =(Get-Datacenter -Cluster $cluster).Name

"Number of VMs" =($esx | Get-VM).count

"Number of ESXi Hosts" =$esx.count

}

Invoke-RestMethod -Method Post -Uri "$endpoint" -Body (ConvertTo-Json @($payload))

 

 

        }

 

 

Thanks

V

ESXi6.7U3における外付けUSB-HDDの利用について

$
0
0

ESXi6.7U3のDatastore用ストレージとして、4TB(Buffalo社製)のUSB-HDDを利用したいのですが、

ESXiホストにUSB-HDDを接続して、vmfsでフォーマットを行おうとしても失敗してしまいます。

下記がフォーマット時の手順となるのですが、解決策をご存知の方がいましたらご教示ください。

 

[root@esxi:~]

[root@esxi:~] lsusb

Bus 001 Device 002: ID 0411:02e8 BUFFALO INC. (formerly MelCo., Inc.)

Bus 001 Device 001: ID 0e0f:8003 VMware, Inc. Root Hub

[root@esxi:~]

[root@esxi:~]

[root@esxi:~] ls /dev/disks/

mpx.vmhba34:C0:T0:L0                                                         vml.01000000003030313035333530303037343636373448442d4c452d

mpx.vmhba34:C0:T0:L0:1                                                       vml.01000000003030313035333530303037343636373448442d4c452d:1

t10.ATA_____CT500MX500SSD1__________________________2010E291C797________     vml.0100000000323031304532393143373937202020202020202043543530304d

t10.ATA_____CT500MX500SSD1__________________________2010E291C797________:1   vml.0100000000323031304532393143373937202020202020202043543530304d:1

[root@esxi:~]

[root@esxi:~]

[root@esxi:~] partedUtil mklabel /dev/disks/mpx.vmhba34\:C0\:T0\:L0 gpt

[root@esxi:~]

[root@esxi:~]

[root@esxi:~] partedUtil getptbl /dev/disks/mpx.vmhba34\:C0\:T0\:L0

gpt

60800 255 63 7814037168

[root@esxi:~]

[root@esxi:~]

[root@esxi:~] partedUtil setptbl /dev/disks/mpx.vmhba34\:C0\:T0\:L0 gpt "1 2048 976751999 AA31E02A400F11DB9590000C2911D1B8 0"

gpt

0 0 0 0

1 2048 976751999 AA31E02A400F11DB9590000C2911D1B8 0

[root@esxi:~]

[root@esxi:~]

[root@esxi:~] vmkfstools -C vmfs6 -S usb-datastore /dev/disks/mpx.vmhba34\:C0\:T0\:L0:1

create fs deviceName:'/dev/disks/mpx.vmhba34:C0:T0:L0:1', fsShortName:'vmfs6', fsName:'usb-datastore'

deviceFullPath:/dev/disks/mpx.vmhba34:C0:T0:L0:1 deviceFile:mpx.vmhba34:C0:T0:L0:1

ATS on device /dev/disks/mpx.vmhba34:C0:T0:L0:1: not supported

.

Checking if remote hosts are using this device as a valid file system. This may take a few seconds...

Creating vmfs6 file system on "mpx.vmhba34:C0:T0:L0:1" with blockSize 1048576, unmapGranularity 1048576, unmapPriority default and volume label "usb-datastore".

Failed to create VMFS on device mpx.vmhba34:C0:T0:L0:1

Usage: vmkfstools -C [vmfs5|vmfs6|vfat] /vmfs/devices/disks/vml... or,

       vmkfstools -C [vmfs5|vmfs6|vfat] /vmfs/devices/disks/naa... or,

       vmkfstools -C [vmfs5|vmfs6|vfat] /vmfs/devices/disks/mpx.vmhbaA:T:L:P

Error: Connection timed out

[root@esxi:~]

[root@esxi:~]

VCSA web client down multiple times and high cpu usage after update to 7.0.0d

$
0
0

 

 

 

 

 

 

VCSA web client down multiple times and high cpu usage after update to 7.0.0d. Can anyone help with this issue ?

VMware import virtual machine .ovf .ova file

Importing a Snapshot

$
0
0

For one of my Assessments I was given a snapshot for windows server 2019 containing some pre-made info. However, I can't figure out how to import the snapshot over to my VMware and launch it. Does anyone have any suggestions?

Basic combination of metrics - what is the general*right approach

$
0
0

Hi there, I've been battling away for about a week now and though I should just reach out.

Iv'e used vrops in the distant past but now things are getting serious.

 

We have a number of independent sites around the place that are isolated vSphere stacks.

In each of these stacks are a number of core workloads, backups, vCenters, etc

 

I am looking to find a way to create a report that shows the total stats, CPU/MEM/DISK, this bit is easy.

But I am looking to exclude all the core workloads, so a basic total of the entire vsphere environment metrics mentioned minus the core workloads metrics

 

Most of these machines live in a few folders under vSphere hosts and clusters.

 

Whats the general approach here?  Should I be creating a super metric? put tags on vsphere folders and filter on this, filter a super metric that is a sum?

 

I had been doing quite a bit of testing and reading on this but there are so many ways to do things but as yet have not been successful.

 

Any help steering me in the right direction would be appreciated.


Setup failed to install the VSock Virtual Machine Communication Interface Sockets driver automatically. This driver will have to be installed manually

$
0
0

Environment:

Application: VMWare Workstation Pro 16

Host: Windows 10 x64 (19041.508)

Guest: Windows 7 x64

 

Problem:

When installing VMWare tools this error is displayed and "Shared Folders" do not work.

"Setup failed to install the VSock Virtual Machine Communication Interface Sockets driver automatically. This driver will have to be installed manually."

 

Notes:

- The problem did not exist with VMWare Workstation Pro 15.5.6

- The problem does not exist with Windows 10 x64 guest

- The problem does not exist when installing VMWare tools extracted from VMWare Workstation Pro 15.5.6 on Windows 7 x64 virtual machine created in VMWare Workstation Pro 16

___VMware_Conv_SA___

$
0
0

Hey there.

 

After i've installed Vmware converter all, in my laptop probook 640g2, it blocked because the vmware created user ___VMware_Conv_SA___ and this user conflicted with the HP software security and blocked my bios.

 

Now... when i try to start my laptop, the pasword for user ___VMware_Conv_SA___ is requested.

 

I would like any assistance for know the password of user for unlock my probook bios.

 

Regards

 

Rafael

Updating from ESXi 5.0 to 7.0?

$
0
0

I have an ESXi server that I use for development VM's, using the free license, because I don't need any fancy VM management software.  I'm going to be upgrading the hardware soon to make a bit more room, and need to update the ESXi version to take advantage of the increased memory (moving from 32GB to 128GB).

 

Storage on the system is in the form of three hardware RAID volumes.  ESXi is installed on a RAID1 array, and two separate RAID10 arrays are used for VM storage.

 

What's the best course of action to do an upgrade?

 

Is it feasible to upgrade in place from 5.0 to 6.0.0 U2, then to 6.7 U2, then to 7.0?  Do I need to somehow find these versions, or are they downloaded as part of the upgrade process?  Do I need to somehow get a license key for them?

 

Can I safely install 7.0 directly without wiping out my existing VM's?  I'm aware this would require re-configuring the host itself, which isn't a big deal.

 

I've already registered for the 7.0 key and have the ISO.

 

Thanks in advance for any help.

vSAN all-flash lab failures

$
0
0

Hi vSAN folks. I'm building a lab and I'm aware my hardware choice is not officially supported, but also aware that it's a popular choice even with some VMware engineers.

I'm wondering if anybody out there has a VMware vSAN environment running successfully on NUC10i7FNH hardware, or NUC10s in general? Or does anybody recognise the error?

I've set up a 3 node cluster for a small vSAN all-flash eval lab. Lab hardware overview:

  • 3x NUC10i7FNH3
  • 3x Samsung PM883 960GB 2.5" SATA3 Enterprise SSD/Solid State Drive (Capacity Tier)
  • 3x WD Black 250GB SN750 NVMe SSD (Flash Tier)

I've built the cluster and everything looks great for a bit. Then the hosts start to mark their disk group as failed!The errors in the logs which seem relevant:

  • This occurs at exactly the point when the disk group is marked as Unhealthy, on each host. I know it usually represents a disk error/write failure/faulty media, but in this case all disks have been swapped and this happens on all NUCs. The media itself isn't failing, but for some reason it's returning an I/O error, causing it to be marked as dead:
    WARNING: LSOMCommon: IORETRYParentIODoneCB:2219: Throttled: split status I/O error
    WARNING: PLOG: PLOGElevWriteMDCb:746: MD UUID 52b7d790-0e5d-a8b2-c290-8db105925979 write failed I/O error

 

  • This error is repeated fairly frequently in the logs:
    WARNING: NvmeScsi: 149: SCSI opcode 0x1a (0x453a411fe1c0) on path vmhba1:C0:T0:L0 to namespace t10.NVMe____WDS250G3X0C2D00SJG0______________________50E0DE448B441B00 failed with NVMe error status: 0x2
    WARNING: translating to SCSI error H:0x0 D:0x2 P:0x0 Valid sense data: 0x5 0x24 0x0
    WARNING: NvmeScsi: 149: SCSI opcode 0x85 (0x453a40fbc680) on path vmhba1:C0:T0:L0 to namespace t10.NVMe____WDS250G3X0C2D00SJG0______________________50E0DE448B441B00 failed with NVMe error status:
    WARNING: translating to SCSI error H:0x0 D:0x2 P:0x0 Valid sense data: 0x5 0x20 0x0

 

  • Maybe not relevant, but during Boot I can see:
    nvme_pcie00580000:NVMEPCIEAdapterInit:446:workaround=0
    WARNING: Invalid parameter: vmknvme_client_type -1, set to default value 1.
    WARNING: Invalid parameter: vmknvme_io_queue_num 0, set to default value 1.
    WARNING: NVMEPSA:2003 Failed to query initiator attributes: Not supported

 

Here are some things I've tried, in an effort to narrow this down:

  • This happens with both ESXi 6.7 Update 3, and ESXi 7. (I have built both environments from scratch to test this, no change. Latest updates are applied to both.)
  • I suspected it was because of some incompatibility with the NVME disk brand, so I have replaced the NVME disks I originally bought (Samsung 970 EVO Plus) with WD Black SN750 in all hosts. No change at all.
  • I tested with a 4th host, same issue
  • I upgraded the SSD used for capacity tier to a disk that's on the HCL (Samsung) and the nature of the errors and events logged didn't change, still no joy.
  • I've tried this on original NUC firmware v37 and the latest v39
  • I've entirely disabled power management in the BIOS
  • I've tried UEFI and Legacy boot

I have been looking at this for a week or two now, and it's causing me more grey hair. Does anybody have any ideas, or even better, a NUC10 environment where this works?

After sleep w10 host, can not ping guests (vmware workstation pro 15.5 & 16.0)

$
0
0

Hello Community!

 

Appreciate a lot your support

 

Issue scenario:

Guest VMs (CentOS and Win7) do have internet connection (they can connect internet. they can ping to 8.8.8.8)

From Host (Win10), it is unabled to ping to each VM. (i required to have a ssh connection)

All is managed as NAT connections.

 

Workaround:

I noticed that modifying VNE (by restoring default) i can connect ping, ssh, ftp, etc to guests.

I rather import a fixed configuration so NAT subnet has the range i need in my Centos.

I had no luck with repair option, neither with uninstall/install option.

 

 

Nevertheless, if I suspend/shutdown Host, the issue comes back.

If i just close the VMWare Workstation application and open it again all still works ok (avoiding suspend the host)

 

I tryied also creating a new CentOS guest. It works with default values, but it looks like is not related to guest machines.

I checked vmware services in host w10, they were always up an running in automatic.

I checked vmware.log but it does not seem to fail anything.

 

Looks like it is any firewall in win10, but do not know where to look and, it is fixed by restoring VNE configuration.

Any suggestion?

 

Thanks

 

 

-- Sep 22--

I upgrade to vmware workstation 16.0, the issue is still present. so i uninstall this version and install back to the 15.5.

Is there a way to totally remove the app, so i start from zero? (cleaning all paths, regedit, etc.)

Viewing all 172599 articles
Browse latest View live


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