Quantcast
Channel: VMware Communities: Message List

Re: ESXi 5.x flash memory recovery tool and guide.


Re: Shrink server on VM

0
0

As it was said before, of shrinking the disk you can use converter or edit the VMDK.
but if it is a storage allocation issue you are looking into, you can storage vmotion the VM into another datastore and change the provisioning to thin

Re: Multiple Vcenter Servers.

0
0

For what it seems permissions are not properly configured on both VCSA's

Re: embed web console of html5 client into my app

0
0

Moderator: Thread moved to the vSphere area.

Re: VCI Sponsor requested

0
0

If the VATCs won't sponsor you, that usually means they also wouldn't have any freelance/contract work for you even if you were a VCI - perhaps there are already enough active VCIs in your geographical area/region.

Re: SCSIcanonicalname?

0
0

Try something like this

 

$cluster=Get-View-ViewType ClusterComputeResource -Property Name -Filter @{Name='cluster'}

Get-View-ViewType VirtualMachine -SearchRoot $cluster.MoRef-PipelineVariable vm |

ForEach-Object-Process {

    $vm.Config.Hardware.Device|where{$_ -is [VMware.Vim.VirtualSCSIController]} |

    ForEach-Object-Process {

        $ctrl= $_

        $vm.Config.Hardware.Device|where{$ctrl.Device-contains $_.Key} |

        ForEach-Object-Process {

            New-Object-TypeName PSObject -Property ([ordered]@{

                VMname=$vm.Name

                SCSIController=$ctrl.DeviceInfo.Label

                DiskName= $_.DeviceInfo.Label

                SCSI_ID="$($ctrl.BusNumber) : $($_.UnitNumber)"

                DeviceName= $_.DeviceInfo.Label

                DiskFile= $_.Backing.FileName

                DiskSize= $_.CapacityInKB*1KB/1GB

                DiskType=&{if($_.Backing.Gettype().Name -match'flat'){'Flat'}

                    else{

                        if($_.Backing.CompatibilityMode-match'physical'){'RawPhysical'}else{'RawVirtual'}

                    }}

                CanonicalName=&{

                    if($_.Backing.Gettype().Name -notmatch'flat'){

                        $dev= $_

                        $esx=Get-View-Id $vm.RunTime.Host

                        $lun=$esx.Config.StorageDevice.ScsiLun|where{$_.Descriptor.Id-contains$dev.Backing.DeviceName}

                        $lun.CanonicalName

                    }

                }               

            })

        }

    }

#}

} |Sort-Object-Property VMname, Diskname |Out-GridView

Re: IMM Ip Address through PowerCLI

0
0

What post are you referring to?

Ova deployment failing in Vcenter 7.0

0
0

I am trying to deploy ova using my http server link which is a remote server and getting following error.

Unable to retrieve manifest or certificate file"

When I check " vsphere_client_virgo.log" following are the errors

"waitForSession : reached terminal state ERROR while waiting for IMPORT_SELECTING_OVF_PARAMS"

 

 

I tried the same http link with my vcenter 6.7 and it works fine. Both 6.7 and 7.0 are in same network switch and VLAN.

 

Can you please help on this?

 

Thanks


Re: IOInsight not working (VCF 4.1)

0
0

Any logs I can look at to see what's happening? Seeing this too on a VCF on VxRail system (4.1 on 7.0.100/7.0 U1)

Re: IOInsight not working (VCF 4.1)

0
0

I have opened a SR for this issue, it is still under investigation.

As far as I know the vsanhealth log is interesting here.

absent of uploading preconfigured profiles for macOS

0
0

So when i have an preconfigured signed profile downloaded from here step 4 point 1 for macOS I can't install from terminal any-longer since Apple has removed that option from version 10.15.4. WS1 doesn't support uploading of profiles for macOS currently, not sure if it's in the roadmap for future updates though(Jamf has it).

Deploying via mdm is the only solution when having a custom profile(if you don't wanna install them manually on the device).

 

Does anyone have any inside on this particular issue or a similar and have solved it?

 

/M

Re: Connecting networks inside guest VM

0
0

Bluefirestorm, can you please explain how can you be so sure that it is not a bug of vmware?

What is your explanation for the fact that with direct bridging it works while with NAT it doesn't, then?

 

IMO it might be, because switching between NAT and VMNet2 (direct bridging) is an action that takes place outside the VM, but still happens in the VMware framework (VMware's virtual router).

I am not saying that i am sure it is a VMware bug, i am just considering the possibility for the aforementioned reasons

 

Back to the topic:

It is known that Windows' Internet Connection Sharing is not perfect but more or less it works.

And in my specific use case it is the only thing that works if i can use direct bridging.

Bridging the 2 network adapters in the VM (selecting the 2 adapters from control panel, right click on the selection and choose "bridge connections" from the menu) does not work even if i use static ip addresses (BTW, if i try to do the same on the host (this is allowed) i end up with an "unexpected error" message so it is useless).

 

Does anybody know a different method to connect two networks in Windows 10 rather than ICS and network adapters bridging?

Maybe some obscure shell commands can do the job?

Or maybe i need to install some additional software inside my VM?

 

Cheers

Re: Connecting networks inside guest VM

0
0

As I said, there are two different subnets active with the VMnet2 and VMnet3 in the same VM. If you had two network cards with different subnets on a physical machine with that setup you would encounter similar routing problems. So it has nothing to do with VMware.

 

You may not need ICS at all in this situation. Just have two virtual NICs connected to NAT in the same VM to be in the same subnet; so that the VM has internet access, the IOT device has internet access. I think I would stop here now.

Re: SCSIcanonicalname?

0
0

Thank you!

 

For good measure, is there a way to run it per VM also? i.e. give it the VM name somehow?

 

I tried replacing the forst 2 lines with

 

$VM = get-view –viewtype VirtualMachine –filter @{“Name”=”VMNAME”}

 

but that leaves out the canonical name...

 

Re: SCSIcanonicalname?

0
0

Replace the first 2 lines

 

$cluster=Get-View-ViewType ClusterComputeResource -Property Name -Filter @{Name='cluster'}

Get-View-ViewType VirtualMachine -SearchRoot $cluster.MoRef-PipelineVariable vm |

 

by

 

Get-View-ViewType VirtualMachine -Filter @{Name='vmname'} -PipelineVariable vm |

 


Re: IMM Ip Address through PowerCLI

0
0

Finally I found its bug in 6.7 u3

 

I  have 6.7 u3 environment and 6.5 Enviorment( we have lenovo/dell/Hp)

When I run wsman connection from powerCLI its getting connected successfully for 6.5 environment irrespective of any hardware vendor

but when I run wsman connection against to 6.7 its always failing, I guess something is changed in 6.7.

Re: Setting TimeZone on a VM

0
0

Since you want to configure the same time zone for all, depending on the DEM version (version 2006 and higher), you will be able to configure the time zone system based using a Startup Task (Computer Environment tab) and utilizing PowerShell's cmdlet Set-TimeZone (https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/set-timezone?view=powershell-6).

 

This way you are managing the setting from DEM instead of using a computer-based GPO. By configuring it on a computer level using a Startup Task, you are not bothering the user during or after logon.

Re: SCSIcanonicalname?

Re: IMM Ip Address through PowerCLI

Re: VCI Sponsor requested

0
0

scott28tt thank you for pointing this out. In that case, can I look for sponsorship outside EMEA?

Re: DEM, Teams and O365 Outlook profile

0
0

Hi RachelW,

 

Unfortunately the picture didn't seem to come through with you last post.

 

But regarding the Logon Task or Shortcut. What you can do is create a Logon Task with the command to execute Teams (use asynchronous). You can use conditions to have this executed for (for instance) a sub set of users.

The other option is to place a shortcut in the Startup folder. This way the shortcut is executed after logon. You can use conditions to have this executed for (for instance) a sub set of users.

Re: VCI Sponsor requested

0
0

The VCI program is global, so theoretically the answer is yes. Whether VATCs in further away territories would sponsor you would be the question...


VM auto start in workstation pro 16

0
0

How can get the virtual machine auto start after the host reboot in workstation pro 16 note: there is no shared vm feature in workstation pro 16

Re: VM auto start in workstation pro 16

0
0

Since VMware unfortunately decided to remove this feature, your options are basically to stay with v15, or create/find a script that will start VMs using e.g. the task scheduler.


André

Re: Is anyone having trouble enroling an Android Enterprise recenrlty

0
0

Can you share more info about your environment? On-premises or dedicated/shared SaaS? The version of the UEM console? Any particular make and model of Android devices?

Re: Is anyone having trouble enroling an Android Enterprise recenrlty

0
0

Noticed it on multiple Shared Saas Tenant on devices running Android 10 - Samsung using KNOX and just DPC. Still trying to test it on other non-Samsung devices.

Re: Replaced XP with Windows 10

Advice on server hardware specification

0
0

Hi All,

 

Can I ask for a bit of advice.  I am looking at a HPE Server (ML350 Gen10) for a client (accounting firm) and wondered what specification you would use for the following scenario.

 

1 x VM - Windows Server 2019 / DC and network services / SQL Express running 2 server apps (IRIS and Virtual Cabinet)

- Note: SQL Express has a max database size limit of 10GB

- IRIS Server - Requirements 2 GHZ Processor / 16GB RAM / 300GB disk space

- Virtual Cabinet Server - Requirements 3Ghz Processor / 4GB RAM / 300GB disk space

 

1 x VM - Windows Server 2019 / RDS / 9 users running:

- Sage - Requirements 2Ghz Processor / 8GB RAM / Min 5GB disk space

- IRIS Client - Requirements 3Ghz Processor / 4GB RAM / Min 15GB disk space

- Virtual Cabinet Client - Requirements 2Ghz Processor / 4GB RAM / 150GB disk space

 

The current server is as follows:

- 1 x HP ML350p Gen8 with 24GB RAM / Raid 10 SAS drives

- Vmware ESXi 5.0 (Yes, this definitely should be upgraded)

- Services: DC running the server software detailed above.

 

The current Windows PC's are as follows:

- i5 or i7 Processor with a minimum 8GB of RAM.  They are never maxed.

 

Any advice on the right specification hardware and the correct VMware licensing would be greatly appreciated.

Re: IMM Ip Address through PowerCLI

0
0

exactly I was reading same document, but replaced dell customised VIB from dell but I have Lenovo but issue with VMware they have to replace some VIB's


Re: issues retrieving physical disks status in ESXi 6.0.0

0
0

Followed a suggestion from Lenovo support I installed CIM provider which was reporting as missing:


[root@esxi60:/var/log/vmware] esxcli software vib install -d VMW-ESX-6.0.0-emulex-cim-provider-11.4.142.11-01-offline_bundle-6422346.zip

Installation Result

Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.

Reboot Required: true

VIBs Installed: EMU_bootbank_emulex-cim-provider_11.4.142.11-01OEM.600.0.0.2768847

VIBs Removed:

VIBs Skipped:

 

esxcli software vib list | grep cim

emulex-cim-provider            11.4.142.11-01OEM.600.0.0.2768847      EMU     VMwareAccepted    2020-11-04

 

This was followed by a reboot but unfortunately my problem persists. The CIM provider still reports to be missing. ESXi can only see virtual drives in degraded state (which is a false positive) and hasn't got a clue about individual disks and their health

Re: Advice on server hardware specification

0
0

Not that easy to answer without knowing anything about the current resource usage.

In case the 3GHz is a hard requirement your options regarding CPUs is limited anyway. For the remaining hardware, make sure that it's supported (e.g. the RAID controller, ...), and sufficient (for RDS you should calculate virtual RAM = physical RAM).

Regarding the licensing, it depends on your needs. In case that you want to be able to run VM based backups, you need to have a paid license. With a single host, an Essentials Kit should do.


André

Re: VM auto start in workstation pro 16

0
0

Thank you André for your reply

but how can you explain the way of using script

Nat source ip address not in API?

0
0

Dear all,

 

I figured out that "Source IP Address" and "Source port" does not show up in API but does in the NAT tab of the WebUI.

Any idea about where I could find them?

 

API version=34.0

 

Best regards,

Fred

2020-11-04 14_59_35-Datacenter.eu site 1 - Edge Gateway - General.png

2020-11-04 15_00_45-Postman.png

 

version=34.0

Re: Horizon Win10 logon black screen delay

0
0

Did you ever find a solution?  Startup apps are taking longer, and the registry entry isn't helping.

Re: vRA 8.2 - vm with cloud.vsphere.network deploying with NSX network every time

0
0

No network constraints on the project.

Same tag on network profile and attached network.

Re: USB datastore disappears after trying to create VM

0
0

I had a very similar problem. Every time I tried to create a new VM and needed to upload an ISO file, the datastore just disappeared. I personally believe this was due to my USB storage I was using just could not handle that write operation or was overheating or something like that. I added a second USB storage device and it all worked fine and has never gone down. ESXi is still running from the original USB storage though, it was a SanDisk mini 128GB thumb drive (the super small ones) Some USB storage is just not great I think.

 

I hope that helps? Sorry I did not keep any logs or anything like that to prove it out.


Help regarding down sizing a vmware. Hidden snapshot inside? 200 GB

0
0

Dear,

 

I have a vmware machine that has grown to big.

The local folder is about 192 GB

 

If I check the disk inside vmware(win10) the size is 85 GB

From settings there are 200GB allocated.

I think there are a issue regarding snapshot. I did delete snapshots a while
back(from the menu), but I think one off the VMDK files is that file..

 

I have taken a backup off the folder, and when I deleted the disk an re-attached
vmdk file, I was able to boot the old snapshots.

 

Can anybody gives me a hint?

Disk info

Not preallocated

Multipple files

 

Files

Win10.vmdk

 

Win10-00001.vmdk

Win10-00001-s001.vmdk

Win10-00001-s002.vmdk

Etc…

 

Win10-00002.vmdk – This seems to be the running version

Win10-00002-S001.vmdk

Win10-00002-S002.vmdk

  1. Etc.

 

Win10-S001.vmdk

Win10-S002.vmdk

  1. Etc.

 

 

 

 

 

BR

Service failed on vrops

0
0

I was looking at the f5 LB that we have in front of our vrops and noticed 2 of the noes were shown as offline. |Looking ta the health moniter it is using a API call GET /suite-api/api/deployment/node/status\r\n

 

When i run those against the two that are shown as offline i get

 

This matches up with want i am seeing in the F5.

 

If i then run the suite-api/api/deployment/node/services/info which all need to be online for the above to go on line i get

 

 

 

All is good except the last one. I cant for the life of me find how to troubleshoot this or any documentation on the agent on the vrops appliance its self. I can fine loads of stuff on remote agents but not this. Anyone any ideas what the command line is to at least try and start it.

 

Edit: vrops 8.2

Re: After fresh install of a VCSA 7.0 U1 FQDN Problems during Configuration

0
0

I'm having the same issue. Shame VMware is taking error message lessons from Microsoft. Thankfully in my case I am not in a hurry and just preparing for a new build in January, but very disappointed with this.

Re: VMware Workstation unrecoverable error: (vcpu-0)

Re: Horizon Win10 logon black screen delay

0
0

I started from scratch and completely rebuilt a new VM using the 1171 Windows 10 and Server 2016 template.

 

There are a few things i did differently on my new built which have seemed to help in my case.  I noticed beforehand the logon would be quicker, but that black screen would stick there for like 20-30 seconds in my case along with startup items taking longer to startup.

 

The 3 things that i looked into.

From HKLM

1.  I removed 'Shorten timeout of desktop session switch' from the template before optimizing.

2.  I removed 'Enable verbose status messages' before optimizing.

Scheduled Tasks

3.  I removed 'Provisioning Logon' before optimizing.  I have no clue what this did, but anything that related to 'logon' i removed.

 

Deleted The StubPath value (not the entire key) from the below locations

Delete HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\{2C7339CF-2B09-4501-B3F3-F3508C9228ED}\StubPath

Delete HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\{6BF52A52-394A-11d3-B153-00C04F79FAA6}\StubPath

Delete HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\{89820200-ECBD-11cf-8B85-00AA005B4383}\StubPath

Delete HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\>{22d6f312-b0f6-11d0-94ab-0080c74c7e95}\StubPath

 

I'm not sure if it will work for you, but that's what i've done so far.

Re: Replaced XP with Windows 10

DNS

0
0

Hello,

 

Can someone please tell me:

 

I have a text file called 'Server_IP' and in that sheet it has all the IPs.

Is there anyway I can script and get the DNS names by doing nslookup of that IPs and get the result in excel sheet (Can save it in D drvie) like below:

 

(Column A)     (Column B)

Server IP         Server Name


NSX-T Declarative API

0
0

I need to use declarative API to perform some automation tasks, for this instance i need to create few segments.

 

Below code is to create just a single segment and i am putting a Patch request to https://nsx-fqdn/policy/api/v1/infra

 

{

 

    “resource_type”:“infra”,

    “children”:[

        {

        “resource_type”:“ChildSegment”,

        “Segment”:{

            “resource_type”:“Segment”,

            “display_name”:“Post01”,

            “id”:“Post01”

                   }

        }     

                ]

}

 

But i get the below error, can anyone please help to get this right
{

 

    "httpStatus":"BAD_REQUEST",

    "error_code":220,

    "module_name":"common-services",

    "error_message":"Unexpected character ('“' (code 8220 / 0x201c)): was expecting double-quote to start field name"

}

Re: vsphere down

Re: Network services vSAN

0
0

He is using v7, has no flex client anymore ;-)

Re: Network services vSAN

0
0

I think he meant vSphere H5 client as opposed to host UI client.

 

Bob

Re: Stormagic svsan 6.2 plugin installation

0
0

Thanks Andre I did try to run the installer with "-" option, but it still gives the same error. I also checked the md5 hash, and it looks ok. By the way, after I upgraded the vcenter I changed the name of the vcenter server. I'm not sure if that's related or not. Samer

Re: Drivers for RealTek  rtl8125 2.5gb NIC, controller

0
0

My H2+ is looking for that VIB, could you share it ?

Re: Moving VCenter 6.5

0
0

Hello all,  I realized I better just upgrade o 6.7 so in doing that I move it to local storage and enabled scheduled backup and all is well.  Now I can add a 3rd host running ESXi 6.7  and start moving VMS's over and upgrade h/w  etc...






Latest Images