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

Re: VM Crashing ESXi on Certain Files


Re: Windows 7 updates issues

$
0
0

SOLVED.

 

My problem was nearly identical to yours. My solution on this was to reset the Windows Update components. After performing a clean install of Windows 7 Pro in the VM Workstation 12 Player (created a 100GB size Virtual drive), I was having this same problem. It is a Windows issue with the Microsoft Update Service, not a VM issue. My Windows Update would hang on "checking for updates". The folder where updates are downloaded to (C:\Windows\SoftwareDistribution\Download) never populated with anything. I tried loading updates manually and that did not work either. I finally came across this:


Microsoft Knowledgebase Article 971058. I don't know why this was not the first thing to come up when searching becasue this seems to be a fairly common issue at the moment. Either way, the file you need to execute is called "WindowsUpdateDiagnositc.diagcab" and can be download here:

 

https://support.microsoft.com/en-us/kb/971058

 

This cab file will scan your Windows Update settings and *should* fix some issues. Once its done, click Finish.

 

When this was complete, I went into Windows Update and clicked "checked for updates". In the first 5 minutes the status bar would move and stop repeatedly (as it had done before to some extent). I didnt think the problem was solved, however, when I went into the "C:\Windows\SoftwareDistribution\Download" folder, I found files populating. It took hours to finally get all the updates, but it seems to be functioning correctly now.

 

Hope this helps.

Re: VM Removable Devices does not detect all USB devices under Workstation 12.5

$
0
0

Hello ggeihso3,

 

Sorry that you ran into such issue. Can you collect support information via the followings?

1) Power on the VM and observe that the issue appears

2) Click Help->Support->Collect Support Data and select the running VM

 

When it finishes, please upload the support file. Thanks!

Re: After delete snapshot most file in datastore missing

$
0
0

Hi ThompsG,

 

Thanks for the heads up.

 

Yes, im thinking of performing native OS backup before amend anything.

 

The VM is still running and the application is working. I can remotely access the server without issue. I only cant access on vSphere console.

 

Regards,

Iskandar

Can not accumulated data via Excel sheet

$
0
0

Dears,

 

I have wrote a script about collect a accumulated data  via Excel sheet, But  I run  this  script and there is no response.      Does syntax is wrong for while loop?      I  apprecaiated your kindly reply ,thanks very.

 

 

 

 

 

 

 

Param([string]$file)

$excel = New-Object -ComObject Excel.Application

$excel.Visible = $False

$workbook = $excel.Workbooks.Open($file)

$sheet = $workbook.Worksheets.Item("PC服务器虚拟机")

$i = 4

$project = $sheet.Cells.Item($i,1).text

$Name = $sheet.Cells.Item($i,3).text

$Temp = $sheet.Cells.Item($i,5).text

$NumCpu = $sheet.Cells.Item($i,6).text

 

 

$NumMem = $sheet.Cells.Item($i,7).text

 

 

$SizeDisk = $sheet.Cells.Item($i,8).text

 

 

$Clustername = $sheet.Cells.Item($i,13).text

$ESXi = $sheet.Cells.Item($i,14).text

$Vlan = $sheet.Cells.Item($i,17).text

 

 

 

 

$value = @{"Itemname" = "$project" ;

"vmname" = "$Name" ;

"Tempname" = "$Temp";

"NumCpu" = "$NumCpu";

"NumMem" = "$NumMem";

"SizeDisk" ="$SizeDisk";

"Clustername" = "$Clustername";

"ESXi" = "$ESXi" ;

"Vlan" = "$Vlan" }

 

 

 

 

$vms = @()

while ( $value.vmname -ne "" )

 

{

  $vms += $value

  $i++

  }

 

$excel.Workbooks.Close()

$excel.Quit()

Re: Function to remove vms from DRS GROUP

$
0
0

Hi LucD- I've been digging around and am looking for the same solution as the OP. I have an existing DRS rule (VM's to Host's) in my cluster with about 150 VM's in the VM DRS group - I'd like to remove about 60 VM's from this group. It doesn't appears that this cmdelt will perform that task. Am I missing something? Thanks in advance!

Re: shared local storage DL 360G9

$
0
0

other than vsan, scaleIO, there is another product available called StorMagic. however, it all needs licenses.

Re: VMWare Player unrecoverable error: (vthread-11)


Re: Update from Workstation 12.1.1 to 12.5 / LPT Port Issues

$
0
0

Hi I have similar issues with printing to LPT1. However in my case; 12.5 pro (from a clean install on a window 10 host. After upgrading from 12.1 caused the printing issues) has a mind of its own. Keep showing a new default printer icon. Accept that the new printer instead of having the LPT1 port. Has TPVM port. I have no problem test printing to that printer. Only my mid 1980s DOS/Clipper program must print to LPT1.

 

I can keep removing the new default printer and set the default back to the original icon. Now if I start a print job before the new default printer is show. I get small box to the left/middle showing a tick arrow down(as if to download with no printer activity).

 

Yes, I have the weekend reinstalled and repaired Etc without any luck or success   . It was suggested in another post (with regards parallel port printing issues) to check for "vmparport" to make sure has been started. I did, I have no reference or service to it in my system.

 

Thank you in advance for any advise or suggestions .

Re: Almost no Internet after installing VMWare

$
0
0

Thanks for using VMware WS.

Which version WS used?

Do you have some security policy configured:

Configure network connection restrictions with Group Policy

 

Windows has secure config policy which might only allows 1 connection to outside and windows selects using virtual adapters: vmnet1 or vmnet8  which marked as 'faster' cabled ether instead of the 'slow' wifi.

Maybe either try to disable the secure policy or try WS 12.5

Re: Beware 12.5 - networking issues

$
0
0

could you try the workaround:

 

1.       Uninstall the 12.5

2.       Reboot the host.

3.       Install the 12.5

4.       Reboot the host.

5.       Open Virtual Network Editor, give the admin privilege to the Editor by Click the Change Settings button. (Skip this step if you login the Host OS as administrator and there is no “Change Settings” button)

6.       Do not remove VMnet1 and VMnet8, instead, select VMnet1, uncheck “Connect a host virtual adapter to this network”, select VMnet8, uncheck ”Connect a host virtual adapter to this network”.

7.       Run ipconfig, there is no VMnet1 and VMnet8 adapter.

8.       Run a VM check the bridged network is working

9.       Reboot the Host, run a VM to check the network again.

 

Or: try to change the regkey:

##regedit

  Computer\HKLM\SYSTEM\ControlSet001\services\VMnetUserif:

     Start REG_WORD 0x00000003(3)

change from 3 to 0x00000002(2)

Re: Bridged issue (half) solution

$
0
0

or try to the following workaround:

 

 

could you try the workaround:

 

1.       Uninstall the 12.5

2.       Reboot the host.

3.       Install the 12.5

4.       Reboot the host.

5.       Open Virtual Network Editor, give the admin privilege to the Editor by Click the Change Settings button. (Skip this step if you login the Host OS as administrator and there is no “Change Settings” button)

6.       Do not remove VMnet1 and VMnet8, instead, select VMnet1, uncheck “Connect a host virtual adapter to this network”, select VMnet8, uncheck ”Connect a host virtual adapter to this network”.

7.       Run ipconfig, there is no VMnet1 and VMnet8 adapter.

8.       Run a VM check the bridged network is working

9.       Reboot the Host, run a VM to check the network again.

 

Or: try to change the regkey:

##regedit

  Computer\HKLM\SYSTEM\ControlSet001\services\VMnetUserif:

     Start REG_WORD 0x00000003(3)

change from 3 to 0x00000002(2)

Re: powercli to install vmware tools on windows 7

$
0
0

i mounted the cdrom & ran directly on OS

 

 

 

    $CDRom = Get-WmiObject -class Win32_CDROMDrive | select Drive | ForEach {$_.Drive}

    $setExe = '\setup.exe'

    $arguments = '-s -v-qn ADDLOCAL=ALL REBOOT=R'

    $ExecuteEXE = Join-Path -Path $CDRom -ChildPath $setExe

    Start-Process -FilePath $executeEXE -ArgumentList $arguments

 

 

No err but tools are not installed

Re: powercli to install vmware tools on windows 7

Re: Function to remove vms from DRS GROUP

$
0
0

You should be able to retrieve the current VM group with the Get-DrsVmGroup cmdlet.

Then you remove the 60 you doin't want in there, and use a Set-DrsVmGroup to set the updated VM group


Re: powercli to install vmware tools on windows 7

$
0
0

Ok, leave out the 'qn' parameter, that way the installation will not be silent anymore.

And you should see what is happening

Re: Cluster with two CPU versions and EVC disabled

$
0
0

Am not sure if you can do this but you can try to automate Windows patch installation and power Cycle VM using VMware Orchestrator+PowerShell.

 

something like Jason did for updating VM template but you need to adjust it for your running VMs.

Virtually Jason: Updating VM Templates with vRealize Orchestrator, Part 1

 

If you can afford downtime for VMs running on those 3 hosts, I would suggest enabling EVC in Cluster -

 

Disable HA in existing cluster.

Disconnect those 3 hosts and then remove from vCenter.

Add disconnected 3 hosts in vCenter under datacenter ( not in same old Cluster)

Enable HA and EVC in existing Cluster which has 6 hosts and VMs running.

 

Now Power Off VMs running on One of the three ESXi Host and move those VMs to old Cluster and Power on those VMs again.

Once all VMs migrated from that hosts, add that ESXi host in DRS Cluster which has EVC enabled.

 

You can automate these task using PowerCLI.

Power Off VMs

Migrate VM

Power On VM

Put host in MM

Add host in Cluster

 

you can accomplish this task with maximum 5/10minute downtime for each VM.

 

At end of this migration, you will have HA/DRS Cluster with EVC enabled and then DRS will take care of balancing load across all hosts.

 

 

-

Haridas

Re: Cannot change network to bridged: No unbridged host adapters

$
0
0

Hi, tweakmon:

 

   Really sorry for the inconvenience brought to you,  hope this workaround works for you:

 

Install WS12.5 and change the regkey:

##regedit

  Computer\HKLM\SYSTEM\ControlSet001\services\VMnetUserif:

     Start REG_WORD 0x00000003(3)

change from 3 to 0x00000002(2).

Finally restart your host

Re: External Plugin registered using HTML bridge fails to load in HTML5 Web Client

$
0
0

Thanks for the updates, Laurent.

>>It's strange that our URL would work and not the other.  Do you see any error in the browser console?

No errors found in the browser. On click of the plugin tab, its just triggers the plugin url and reloads back the Summary page. The plugin url also works fine as its the same url at the cluster level too which works.

Below are the logs at the browser console:

For Host level:

XHR finished loading: GET "https://10.192.206.110:9443/ui/navigation/data/com.emulex.ocm.vcwebclient.E…objectId=urn:vmomi:HostSystem:host-47:cd85f482-82e3-4443-8cdd-f588ca1d6eb4".
XHR finished loading: GET "https://10.192.206.110:9443/ui/navigation/data/vsphere.core.host.view?objectId=urn:vmomi:HostSystem:host-47:cd85f482-82e3-4443-8cdd-f588ca1d6eb4".
XHR finished loading: GET "https://10.192.206.110:9443/ui/data/properties/urn:vmomi:HostSystem:host-47:cd85f482-82e3-4443-8cdd-f588ca1d6eb4?properties=@generation".

For Cluster level : (no error)

XHR finished loading: GET "https://10.192.206.110:9443/ui/navigation/data/com.emulex.ocm.vcwebclient.E…omi:ClusterComputeResource:domain-c35:cd85f482-82e3-4443-8cdd-f588ca1d6eb4".
XHR finished loading: GET "https://10.192.206.110:9443/ui/cluster-ui/resources/cluster/views/settings/Drs.html".
XHR finished loading: GET "https://10.192.206.110:9443/ui/cluster-ui/resources/cluster/views/settings/VSphereHa.html".
XHR finished loading: GET "https://10.192.206.110:9443/ui/cluster-ui/resources/cluster/views/settings/Evc.html".
XHR finished loading: GET "https://10.192.206.110:9443/ui/resources/ui/views/tabs/MultiExtensionView.html".
XHR finished loading: GET "https://10.192.206.110:9443/ui/cluster-ui/resources/cluster/views/settings/VmAndHostGroups.html".
XHR finished loading: GET "https://10.192.206.110:9443/ui/cluster-ui/resources/cluster/views/settings/VmAndHostRules.html".
XHR finished loading: GET "https://10.192.206.110:9443/ui/data/properties/urn:vmomi:ClusterComputeResource:domain-c35:cd85f482-82e3-4443-8cdd-f588ca1d6eb4?properties=@generation".
XHR finished loading: GET "https://10.192.203.155:8443/elxvcplugin/flex/VIPlugin_cluster.html".
XHR finished loading: GET "https://10.192.206.110:9443/ui/data/properties/urn:vmomi:ClusterComputeReso…ain-c35:cd85f482-82e3-4443-8cdd-f588ca1d6eb4?properties=name,primaryIconId".
XHR finished loading: GET "https://10.192.206.110:9443/ui/resources/ui/views/tabs/vxNaviTocHeadersTemplate.html".
XHR finished loading: GET "https://10.192.206.110:9443/ui/resources/ui/routing/SandboxTemplate.html".
XHR finished loading: GET "https://10.192.206.110:9443/ui/extensions/vsphere.core.cluster.settingsCate…omi:ClusterComputeResource:domain-c35:cd85f482-82e3-4443-8cdd-f588ca1d6eb4".
GET https://10.192.203.155:8443/elxvcplugin/flex/history/history.js
GET https://10.192.203.155:8443/elxvcplugin/flex/history/history.css
XHR finished loading: GET "https://10.192.206.110:9443/ui/data/properties/urn:vmomi:ClusterComputeResource:domain-c35:cd85f482-82e3-4443-8cdd-f588ca1d6eb4?properties=@generation".

Re: Null child found template inventory

$
0
0

My mystery has been solved!!  For some odd reason, there was a virtual machine with the same name as the template in the "Discovered virtual machine" folder. I can assure you no one in my organization created this VM. Only part I remember doing was "Converting" the Template to a VM then powering it on to hopefully sync/stabilize the Inventory processes in both vRA and vCenter then re-converting back to template.

 

Here's another twist, the VM (with the same name as the Template), which was found in the "Discovered virtual machine" folder, only appeared once I restarted the virtual center instance!! After I deleted it, my problem was resolved.

 

I also discovered a few of the other missing Templates within that same folder were equally marked as "orphaned".  Once they were deleted as well, the original (valid) corresponding Templates were also re-discovered by the vRA Data Collection process....Odd indeed.

 

Anyway, figured I'd update in case anyone else experiences this same anomaly.

Viewing all 197225 articles
Browse latest View live




Latest Images