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

VMwWKS15: Will Not Close Or Power Off

$
0
0

Having just installed Workstation 15 Player I have to say I am Not impressed at all!

 

While the program its self works and does what it needs to do, the damn thing will Not Power Off! I cant even get it to close properly.

 

Tell this VM player to close is like waiting for paint to dry, I have let it go over night and has still not closed. Pressing the "X" at the top right gives:

 

"Player is Currently Closing. The virtual machine can be power off it it is not responding."

 

Pressing okay on this just adds salt to my frustration by continuing with a second error;

 

"Error while powering off: The virtual machine is not powered on"!?

 

What the *****?

 

 

Now I apologize for my tone, but if this VM isn't powered on then why cant it close its self? Why every time I want to turn off this VM am I Forced to end its process tree? This wouldn't be so bad if it didn't continue to use the memory allocation after having told it to shutdown and instead of sitting here in a limbo state went back to the launch screen where you can pick which VM you want to launch.

 

Is VMware Player 15 in early access or some form of beta still?


Could not open /dev/vmmon: Broken pipe.

$
0
0

upgraded to mojave on mac vmfusion is no longer working same problem as everyone else.

would greatly appreciate the help.

vRA 7.2 - vRO 7.2 - loading all CAFE VMs with Server.findAllForType not working on bigger groups

$
0
0

Hi,

I'm one emmbeded vRA 7.2 Orchestrator instance. I've configured a few Cafe Hosts and try to query them vor VMs.

For my workflow I need to load all VMs in the system. I did this so far with

var vCACCAFEVMs = Server.findAllForType("vCACCAFE:CatalogResource");

However, this does not seem to work with one hosts, where about 140 VMs are placed. Smaller Hosts, where about 10 VMs are laced currently, are loading the VMs fine.

When I try to check on the VMs in the plugin directly (under the vRA Hosts), after clicking on the "Items" folder no items are loaded.

 

Is there a way to efficienlty load all Cafe VMs in a short time? I found a quick workaround but it's taking about 15-20 minutes instead of 1-2 as it was previously...

Gather vRA Deployment Data in vRO

$
0
0

Environment: vRA/vRO 7.2 and vSphere6.0

 

The following code has been used to get the request ID from deploymentID and the related deployment data which includes VM and Load Balancer details. However, when that particular tenant(vCACCAFEHost) VMs crossed 100 it throws with "exceed limit" error.

 

var items = vCACCAFEEntitiesFinder.getCatalogResources(vCACCAFEHost);

for each (item in items) {

  if (item.providerBinding.bindingId == deploymentId) {

    var requestId = item.requestId;

  }

}

 

Error

Request was denied due to exceeded resource size limit. The maximum number of resources allowed is 100

 

So by following the links VMware Knowledge Base, How to get resource action request information have tried the below method but error out as "Invalid data access API use". So, checking further and any tips are appreciated.

 

var deploymentId = "dep_id";

function getRequestIdFromDeploymentId(deploymentId) {

     var filter = new Array();

     filter[0] = vCACCAFEFilterParam.equal("parentResourceId", vCACCAFEFilterParam.string(deploymentId));

     var query = vCACCAFEOdataQuery.query().addFilter(filter);

     var odataRequest = new vCACCAFEPageOdataRequest(1 , 200 , query);

     var service = vCACCAFEHost.createCatalogClient().getCatalogConsumerResourceService();

     System.log ('req:' + odataRequest);

     var items = service.getResourcesList(odataRequest);

     System.log('items :' + items);

          for each(item in items) {

               if (item.resourceTypeRef.getLabel() == "Deployment") {

                    System.debug("resourceTypeRef Id: " + item.resourceTypeRef.getId());

                    return item.resourceTypeRef.getId();

               }

          }

throw 'Could not get request ID.';

}

Install a second RDS server

$
0
0

Hi All,

 

So everything is working great with my horizon installation.  We are now finding it impossible to apply updates\reboot the RDS server due to the volume of users using it at all hours of the day.  So we would like to install a secondary RDS server so it can load balance and so we can move all users to one RDS server while we perform maintenance on it.  So far we are only using this for publishing applications, no VDI.

 

Just wondering what the course of action here is.

 

TIA

Confused on vSAN licensing.

$
0
0

I've seen multiple guides on setting up vSAN and there doesn't seem to be any mention of a license being required. When do you actually need to buy a vSAN license? Does a vSphere Enterprise Plus license cover the vSAN portion? I haven't managed to find any documentation that explains this in a clear manor. What are the limitations of not having a vSAN license? I was thrown into a very neglected vSphere environment and the vSAN license has long expired but everything seems to be working just fine, the only issue I ran into was when I tried to re-claim a disk that flagged an error stating that I needed a vSAN license. Any tips or advise are much appreciated.

New installation of Vmware fusion 11 pro on macos Mojave Could not open /dev/vmmon: Broken pipe

$
0
0

Why is this happening on a an upgrade to the lates version on the latest version of Macos....

 

Any clues

 

I am getting fed up with these sort of issues with VMware when Parallels works perfectly...

 

 

????

External Hard Drive Not Recognized

$
0
0

I am running VM Fusion 10.1.5 on my iMAC with High Sierra  10.13.6.  My issue is Windows does not recognize my Seagate External Backup Plus External Hard Drive.

 

It appears on my Desktop on my Mac but is not there on Windows.  I called Seagate and they informed had me replace my external drive because Windows no longer supports the FreeAgent backup.  Now with the new Seagate formatted for Windows, it is still not there.

 

Help Please,

 

Gary


DHCP Options Filling my logs

$
0
0

I get the following type of messages on my ESXi host vmkernel log:

 

dvfilter-switch-security: SwSecDhcpParse:260: nic-7186913-eth0-dvfilter-generic-vmware-swsec.1: No lease time option in DHCPACK

 

We get a new entry every few seconds and it really pollutes the logs.  Everything seems to be working find and the only DHCP server on our networks fine as well.

 

Anyone know whats causing this of there is a way to filter it from our vmkernel logs?

Can I do a free exam VMware Network Virtualization Fundamentals 2016 and obtain a certificate?

$
0
0

Can I do a free exam VMware Network Virtualization Fundamentals 2016 and obtain a certificate?

Using UEM to Capture Acrobat DC Pro login

$
0
0

Has anyone managed to use UEM to Caputre Acrobat DC Pro Login details?

 

User is getting prompted to login every time..

The Connection to Blast and PCoIP desktop black screen via UAG.

Powercli Script to Capture Cluster utilization

$
0
0

Hello All,

 

I'm having having difficulties to create a script that will give me the following:

Cluster CPU, Memory and vSAN Usage. Number of hosts, number of VMs

Needs to export as html and collect the information from multiple vcenter.

Would be something like

Total CPU, CPU Usage, CPU Free, Total RAM, RAM Usage, RAM Free, Total Capacity, Used Capacity, Free Capacity, N° Hosts, N°VMs

 

I have this, but i need it at the cluster level, i think is easier, but you know more than me :)

 

 

 

 
$Output =@();
$hosts = @();
 
Connect-VIServer$hosts -User "ey\a2139242-3" -Password "F3#~5ct7~kdYxNm"
 
$a = "<style>"
$a = $a + "BODY{background-color:white;}"
$a = $a + "TABLE{border-width: 1px;border-style: solid;border-color: black;border-collapse: collapse;}"
$a = $a + "TH{border-width: 1px;padding: 1px;border-style: solid;border-color: black;background-color:PaleGoldenrod}"
$a = $a + "TD{border-width: 1px;padding: 1px;border-style: solid;border-color: black;background-color:white}"
$a = $a + "</style>"
 
Write-Host ("Getting Cluster Information from $hosts")
 
$vcenters| % {
$cluster =Get-cluster -Name *VSAN*
get-cluster$cluster | get-vmhost | % {
$vmhost =$_
$VMHostView = $VMHost | Get-View
$VMs = $VMHost | Get-VM#| ? { $_.PowerState -eq "PoweredOn" }
$TotalRAMGB = [math]::round($vmhost.MemoryTotalGB)
$TotalRAMUsageGB = [math]::round($vmhost.MemoryUsageGB)
$TotalRAMfreeGB = [math]::round($TotalRAMGB-$TotalRAMUsageGB)
$PercRAMUsed = [math]::round(($TotalRAMUsageGB/$TotalRAMGB)*100)
$TotalRAMReservedFree = [math]::round(($TotalRAMGB/100)*15)
$TotalRAMAvailable = [math]::round(($TotalRAMfreegb-$totalramreservedfree))
 
$temp = New-Object PSObject
$temp | Add-Member -pass NoteProperty "VMhost"$vmhost.Name
$temp | Add-Member -pass NoteProperty "ClusterName"$cluster.name
$temp |Add-Member -pass NoteProperty Sockets $VMHostView.Hardware.cpuinfo.NumCPUPackages
$temp |Add-Member -pass NoteProperty Cores $VMHostView.Hardware.cpuinfo.NumCPUCores
$temp |Add-Member -pass NoteProperty Threads $VMHostView.Hardware.cpuinfo.NumCPUThreads
$temp |Add-Member -pass NoteProperty VMCount (($VMs | measure-object).Count)
$temp |Add-Member -pass NoteProperty vCPU (0 + ($VMs | measure-object -Sum NumCPU).Sum)
$temp |Add-Member -pass NoteProperty vCPUperCore ((0 + ($VMs | measure-object -Sum NumCPU).Sum)/$VMHostView.Hardware.cpuinfo.NumCPUCores)
$temp |Add-Member -pass NoteProperty "RAMGB"$TotalRAMGB
$temp |Add-Member -pass NoteProperty "RAMUsageGB"$totalramusageGB
$temp |Add-Member -pass NoteProperty "RAMFreeGB"$totalramfreeGB
$temp |Add-Member -pass NoteProperty "RAMUsage%"$PercRAMused
$temp |Add-Member -pass NoteProperty "RAMReservedGB(15%)"$totalramreservedfree
$temp |Add-Member -pass NoteProperty "RAM Available for NEW VMs in GB"$totalramavailable
 
$Output+=$temp
}
}
 
$Output | ConvertTo-Html -Head $a | Out-File C:\Users\nicolas.porta\Desktop\xrails_hosts.htm -width 400
Disconnect-VIServer * -confirm:$false

 

PowerCLI Invoke-VMScript Sporadic Execution

$
0
0

Issue Details: 

 

1. We use PowerCLI to get values from VMs.  There are instances where the values fail to return.  It is our belief that this worked flawlessly before and we can show that it still does in some instances.  We developed a test script to reproduce the problem as well as show instances where things appear to work correctly.  This script connects to a machine we chose.  We provide administrative credentials and the script returns the value 12345.  It does ten iterations of this task.  We expect 10/10. 

 

 

$creds = Get-Credential

$successes = 0; while ($true) {

$output = Invoke-VMScript -VM "MyVM" -ScriptText "return '12345'" -GuestCredential $creds

$output

if ($output.ScriptOutput) {$successes++}

if ($successes -eq 10) {break}

}

 

 

 

When we run this script against some servers it works flawlessly.  That is the return is 10/10.  When we look at the VM > Tasks & Events > Events  we see the following successive events which are normal.

 

(1) Guest operation Create Temporary File performed.

(2) Guest operation Start program performed.

(3) Guest operation List processes Performed.

(4) Guest operation List processes Performed.

(5) Guest operation Initiate File Transfer from Guest Perform.

(6) Guest operations Delete File performed.

 

 

The system repeats these events for each successful iteration.

 

 

2.  Our test script will make as many iterations as possible to get 10 successful results.   Ideally, it would only have to make 10 attempts to get 10 results.  But when there are failures, we have to make more than 10 attempts to get the desired results. I have seen it take as many as 19 attempts to get 10 successes.

 

 

3. As an additional data point, When running this script against the domain controller in an environment it works flawlessly.  However, when running against a domain joined machine in the domain, the problem happens. If I watch the creation of the Powershell## file in the temp directory on the system.  The ones that copy with 0 bytes are the ones that fail. 

 

 

Any ideas?

 

 

 

 

Thanks!

Issues with running Get-Service on a remote VM

$
0
0

Hello,

 

I'm trying to create a script that will run the Get-Service command on a VM.  If I just want to look at all services that's rather easy by having this in the script:

 

$script = "Get-Service -Name *"

  Invoke-VMScript -vm $vm -ScriptText $script -ScriptType PowerShell -GuestCredential $GuestCredential | sort Name | Format-List | Out-File $log -append

 

With all the other proper stuff, like VM name, guest credentials, etc.  However that can be a huge list and I want to have an option to select either running or stopped services as well.  I notice when I run this command on my local machine it works properly:

 

Get-Service | ?{$_.Status -like 'Running'}

 

But when I put that into the $script line above and run it on a VM it throws this:

 

.Status : The term '.Status' is not recognized as the name of a cmdlet, function, script file, or

               operable program.

               Check the spelling of the name, or if a path was included, verify that the path is correct and try

               again.

               At line:1 char:20

               + & {Get-Service | ?{.Status -like 'Running'}}

               +                    ~~~~~~~

                   + CategoryInfo          : ObjectNotFound: (.Status:String) [], CommandNotFoundException

                   + FullyQualifiedErrorId : CommandNotFoundException

 

So I'm not quite sure why it fails like that when running on a VM.  Here's what I have in the script:

 

Get-Datacenter -Name $dc[$answer - 1].Name | Get-Folder -Type "VM" | sort Name | Format-Table
$myfolder = Read-Host "Select a folder"
Get-Folder "$myfolder" | Get-VM | sort Name | Format-Table
$vm = Read-Host "Enter VM Name" #Enter VM name#

$log = Read-Host "Enter a log file name i.e. services.txt"
$GuestCredential = Get-Credential -Message 'Enter the credentials to access the VM' #Provide Guest OS credentials

$servicesanswer = 0

Write-Host "1 for started services"
Write-Host "2 for stopped services"
Write-Host "3 for all services"

while(1,2,3 -notcontains $servicesanswer) {
$servicesanswer = Read-Host "Select the services you wish to view"
}

if($servicesanswer -eq 1){
  $script = "Get-Service | ?{$_.Status -like Running}"
  Invoke-VMScript -vm $vm -ScriptText $script -ScriptType PowerShell -GuestCredential $GuestCredential | sort Name | Format-List | Out-File $log -append
  }
elseif($serviceanswer -eq 2){
  $script = "Get-Service | ?{$_.Status -like Stopped}"
  Invoke-VMScript -vm $vm -ScriptText $script -ScriptType PowerShell -GuestCredential $GuestCredential | sort Name | Format-List | Out-File $log -append
  }
elseif($serviceanswer -eq 3){
  $script = "Get-Service -Name *"
  Invoke-VMScript -vm $vm -ScriptText $script -ScriptType PowerShell -GuestCredential $GuestCredential | sort Name | Format-List | Out-File $log -append
  }

 

I had also noticed when I would select option 2 or 3 it would go to the loop at the end of the script and want to start over or exit.  I've tried changing those elseif's to just 'if' but that didn't make a difference either.  What am I missing here?


Any script idea for assigning a new IP, Netmask and hostname to a vmx(VM) before powering it up?

$
0
0

So I did a snapshot using the hitachi CCI technology, I then presented the datastores/snapshot to VMware, then took the vmx file from the datastore to the inventory, I need a script to bring up the snapshot on a new ip address, netmask and hostnames so as to avoid conflict from the main main machine I got the snapshot from.

Your help will be appreciated.

Unmount and Delete multiple datastore

$
0
0

Hi all,

I have a vcenter 6.0, hosting multiple vms.

 

I need to unmount and detach 100+ datastores to fulfil a storage decommission.

VMs are already migrated.

 

Am looking for  a script, that can check the pre-requisite, if pre-requisite passed, then unmount and delete the datastore.

Could someone help me in this regard, please.

 

Thankyou...

Update manager not showing HTML5 mode

$
0
0

Hi,

 

Recently we have upgrade Vcenter server from Version 6.0.0 Build 3617395 to Version 6.7.0.1150 Build 8833108 on windows server 2012 r2. previously VSphere Update Manager (VUM) not installed after upgrade Vcenter server (6.7.0.1150) we have installed fresh VSphere Update Manager (VUM) it is installed successfully but my concern is Update Manager (VUM) not showing in Vsphere client HTML5 on menu shortcut and in the place of monitoring but when we logged in Vsphere web client (Flex) it is showing attached screen shot for your reference kindly help.Image1.png

image2.png

How to get GuestProcessInfo from VMware vSphere API

$
0
0

How to get GuestProcessInfo from VMware vSphere API ?

Please give an example of the data obtained as follows

Unable to change auto-negotiate mode to 10000Mb Full Duplex

$
0
0

Hi All,

 

needed your help in this scenario,  tested in other way after applying HP Blade SPP, before applying the host profile the "configure speed" showing as 10000Mb.

After applying the host profile its showing as "auto-negotiate" mode where unable to change the settings to 10000Mb Full Duplex mode (dvS).

 

other hosts are working fine with the Distributed V.Switch "configure speed" 10000Mb.

VMware tech support suggested for nic firmware upgrade, but as the other hosts working with same nic firmware. Why should I go for nic firmware upgrade.

 

Kindly please help me at the ealiest.

 

Before applying the host profile

 

 

After applying the host profile

Viewing all 180460 articles
Browse latest View live


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