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

Set-HVPool to disable a dynamic linked clone pool doesn't work

$
0
0

Hi,

 

we are using Horizon 7.3.2 and PowerCLI 10.0.0.0 (before 6.5.4 but with same results).

 

I just want to disable several pools and don't want to go through the admin console, because this will take a lot of time.

 

So I used the command "Set-HVPool -PoolName "1531-28" -Disable", but I got the following error:

 

Exception calling "Desktop_Update" with "3" argument(s): "ExceptionType : VMware.Hv.InvalidArgument

ErrorMessage : Invalid value for member

ParameterName : automatedDesktopData.vmNamingSettings.patternNamingSettings.namingPattern"

At C:\Program Files\WindowsPowerShell\Modules\VMware.Hv.helper\VMware.HV.Helper.psm1:6171 char:8

+        $desktop_helper.Desktop_Update($services,$item,$updates)

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

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

    + FullyQualifiedErrorId : VimException

 

Maybe the hv.helper has an issue, so I tried the same with the direct API approach, with the more or less same result:

 

Script (without the Connect-HV and other basic stuff):

 

function Get-MapEntry {

  param(

    [Parameter(Mandatory = $true)]

    $Key,

    [Parameter(Mandatory = $true)]

    $Value

  )

  $update = New-Object VMware.Hv.MapEntry

  $update.key = $key

  $update.value = $value

  return $update

}

 

$Pools = Get-HVQueryResult -EntityType DesktopSummaryView

 

foreach($desktop in $Pools)

{

    if($desktop.DesktopSummaryData.Source -eq "VIEW_COMPOSER" -and $desktop.DesktopSummaryData.Name -eq '1531-28')

    {

        $updates = Get-MapEntry -Key "desktopSettings.enabled" -Value $false

        $disablePool = $viewapi.Desktop.Desktop_Update($desktop.Id, $updates)

     }

}

 

Result:

 

Exception calling "Desktop_Update" with "2" argument(s): "ExceptionType : VMware.Hv.InvalidArgument

ErrorMessage : Invalid value for member

ParameterName : automatedDesktopData.vmNamingSettings.patternNamingSettings.namingPattern"

At C:\Scripte\powershell\VMware_View\View732\DisablePools.ps1:63 char:9

+         $disablePool = $viewapi.Desktop.Desktop_Update($desktop.Id, $ ...

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

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

    + FullyQualifiedErrorId : VimException

 

Can someone help me here?


Problem mit USB Geräten unter W10 (Host) und WS 12.5.9

$
0
0

Hallo,

ich arbeite mit VM WS 12.5.9. Als Host habe ich ein Notebbook mit Windows 10 1607. Seit kurzem habe ich mit meinen virtuellen Maschinen folgendes Problem:

Wenn ich USB Sticks oder z.b. eine Kartenleser in einer VM nützen will, dann kann ich die Geräte als „removable Devices“ auswählen um sie mit der VM zu verbinden. Allerdings werden diese dann nicht als „connected“ angezeigt. Will ich sie ein zweites mal verbinden, dann erhalte ich per Dialog die Fehlermeldung „unkwon error“. Nach ca. 60sec. bekomme ich eine Fehlermeldung, das die diese Gerät nicht verbunden werden konnte "Driver error".

Egal was ich versuche, es bleibt bei dem Verhalten. An den Maschinen liegt es nicht. Unter einem WIN7 Host gibt es damit keine Probleme. Die USB Geräte funktionieren auf dem HOST auch einwandfrei. 

Wenn ich VM WS deinstalliere und neu installiere, dann funktioniert alles einwandfrei. Allerdings nur bis zum nächsten Host Neustart. Dann ist der Fehler wieder da.

Sieht also so aus als würde WIN10 irgendwelche VM-Ware Treiber austauschen.

Ich habe mal eine Logfile angehängt. Die Maschine habe ich nur gestartet und dann ein bis zwei mal versucht einen USB stick zu verbidnen. Das Logfile ist voll von Fehlermeldungen. Ich kann damit allerdings nicht viel anfangen.

Hat diese Probleme noch jemand? Wäre schön, wenn jemand einen Tip für mich hätte.

 

MFG

SPS Service

Re: MS Visio Pro 2013 AppStack

$
0
0

I did the following. This Visio was a one-off for a specific user, however, a KMS or MAK key mass deployment should work.

 

  1. Install Microsoft Office on my packaging machine.
  2. Provision the Visio appstack in my manager and use that provisioning machine.
  3. Install Visio and assign your license
  4. Finish provisioning the appstack and assign.
  5. Once completed revert my provisioning machine back to its snapshot.

RDSH host reverts changes

$
0
0

Sorry for this long post, but this problem is driving me crazy.

 

I am building a new horizon 7.4 environment.   I have two hosts dedicated to running RDSH servers for published apps.   Originally, i deployed a new 2012r2 server from my default template (note that this template has been used to deploy hundreds if not thousands of VMs).  I joined this new server to domain, did all the configuration, patching etc based on Carl Stahlhoods site for setting up an RDSH host.   Then I cloned this server to two new servers (sysprepped of course) to be used as my RDSH farm servers.  I created the farm in view administrator, attached an appstack with a single app in it and published that app.  I was able to successfully launch that app so everything was good.  

A few weeks ago, the servers went through our normal patching cycle and after patching came back as not compliant.  so we installed the patches again, rebooted, not compliant.   Upon troubleshooting we found that the patches would install, but when the servers were rebooted the patches would show as not installed.  So i downloaded the patches to the C drive of one of the servers, installed the patches and rebooted again.  Not only did the patches show not installed, but the patch files that I had downloaded to the C drive were gone.  I thought maybe appvolumes had something to do with it, so i detached the appstack and tried again, same result.   At this point, i didnt know what else to try, so i deleted these two VMs, but instead of cloning my RDSH "master" i deployed 2 new VMs from my original template and went through a manual configuration process on both of these.   Installed all patches, etc, attached my appstack, recreated my farm in view administrator and republished my app.  That was last week.

 

This morning i was re-mediating some security vulnerabilities and when i attempted to RDP to these 2 servers, all i got was a black screen for about 60 seconds and then it disconnected.  So i power cycled one of them and tried to logon to the console, but i couldnt get ctrl-alt-delete to work.  Again RDP gave me a black screen and then disconnected after 60 seconds.  So i thought i would try copying a file to the C drive of one of them and rebooting.  After the reboot, the file was gone just like I experienced after normal patching.

 

I have no snapshots on these.  The original master RDSH VM that i created does not experience this issue.  The only difference between that one and these new ones is the original master never had the view agent installed.   My Appvolume Manager servers, file server, connection server etc, all were deployed from my original template and do not have this issue.

 

Has anyone else seen this happen with RDSH hosts or any server for that matter?  Any help would be greatly appreciated.

Re: vROPS 6.6.1 with Horizon View Adapter 6.4.0

$
0
0

After the recommendation of my TAM, I updated my vrops module view to the latest one (guess it is 6.5.x) to resolve this problem, but the results still differs from vROPS and helpDesk inside Horizon View.

And yes we are using non persistent desktops because the main client usage is by default office, browser, email, nothing special. On a security perspective it is really helpful not store any data on the client itself, because after logoff the client is deleted and a new one is going to be created. User specified data (roaming) are redirected to a share by gpo.

With this mechnism we avoid a lot of attack vectors from outside by browsing or more simple: cloaked clients by time and usage.

Hope that was not too weird especiallly with my limited english language skills :-)

Re: Windows 10 1709 Calculator

$
0
0

Is there any reason why this method would not save changes to the default browser?  Works great for everything else.

 

Thanks.

Re: Certificate validation with Connect-VIServer (PowerCLI 10.0 & 6.5.4.7155375)

$
0
0

The message in the prompt about the CN mismatch is spurious and I've asked the support tech to submit a "feature" request to address that.

 

Beyond that, PowerCLI does not use the Windows certificate store so you must accept the prompt or manually add the certificate to the PowerCLI Trusted Certificate Store (PCTCS).

vSphere replication in a multi-site topology

$
0
0

I know SRM supports multi-site topologies, but what about vSphere Replication? Would it support a three (or more) site topology where:

  • Virtual Machines at Site A are protected at Site B

  • Virtual Machines at Site B are protected at Site C

  • Virtual Machines at Site C are protected at Site A

would you just use multiple vSphere Replication servers?

 

Thanks


Re: Horizon View doubles assignment of linked-Clone desktops 7.3.2

$
0
0

Hi,

 

we had the same issue.

 

On our side the issue was that the vms had 8GB Ram, but they were limited to 6GB, so over usage time this leads to balooning an the vm.

This balooning was a problem when DRS decides to move your vm to another host, in that case the migration took a lot longer than without balooning, so that the view agent was unavailable for too long and the user got a disconnect. If he tries to reconnect immediately view tries to reach the existing session but it is not present and this leads to a new session on a new vm within the pool.

Exactly then you will see duplicate sessions within Horizon View.

We fixed that by setting the limit for RAM on the VM on the exact same value as the given RAM, for example 8GB, so the limit is set to 8GB.

 

Maybe this helps.

 

Best Regards

Re: Horizon View doubles assignment of linked-Clone desktops 7.3.2

$
0
0

We do not overprovision memory or use limits so that's not the case for us.

Re: Blast Protocol Zero Client Recommendation

$
0
0

Same case here,

 

the HP t730 is one of the thin / zeroclients we are looking into.

 

We are currently using Fujitsu L620 with 4 display ports and therfore 4x 1920*1080.

 

The only ThinClient we found with 4 display ports is that HP t730 and as a surprise the HP Smart Zero OS supports PcOIP as well as BLAST (we are using Horizon 7.3.2 by the way).

 

We experiencing differences between BLAST and PCoIP on that. So BLAST is a lot slower and has more display issues like fragments and things like that, but maybe we need to customize the values. But PCoIP on the HP t730 works as well as the former Teradici (FujitsuL620) did and as bonus there no disconnects until now, only one short Black Screen without a disconnect, so maybe this HP t730 will be our next client to replace the teradici. Forgot to mention that the t730 has graphics unit that should be used for H.264 offloading but I am unable to check if this really works.

 

As a common suggestion we are looking for a client that will be usable for BLAST but not only for this, we want to be as flexible as possible so more protocols supported by the client will be fine. Also a big point is the management side. We are looking for something that is simple to manage, we all do not have the resources to spend a lot of time into managing thinclients. The HP Smart Zero Services are easy, but you have no control or feedback or a database for history, it is just fire and forget. There is a HP Device Manager to achieve such functionality but it needs a lot of ports to be opened for Broadcast, Multicast and so on, which is a nightmare on a network with a lot of VLANs,

 

So we are still searching for something better to fill the gap with teradici.

Right ISO for upgrading ESXi from 5.5 to 6.5

$
0
0

Hi,

 

I have a Dell PowerEdge R430 running Dell customized 5.5 image. My question is does it matter if I use VMware's own 6.5 ISO or Dell customized 6.5 ISO to perform the upgrade? VMware upgrade doc seems to suggest VMware's own 6.5 ISO will preserve custom Dell drivers but I am wondering if Dell customized 6.5 ISO has new or improved drivers on it which may be more suitable for the upgrade?

 

Thanks,

Re: can I work on server during PV?

$
0
0

Hello markp56038,

 

 

From what I have read, it seems most have success with NOT initially selecting 'Perform Final Sync' option but instead to run the P2V then after this has completed to use the manual synchronize option.

Documentation may give further insight:

https://www.vmware.com/pdf/convsa_61_guide.pdf (can't find 6.2 guide -_-)

 

 

Bob

Re: DynamicOps.Tools.EncryptionKeyTool.exe Error, Padding is invalid and cannot be removed

$
0
0

I'd suggest to open SR with vmware and get this looked at.

there are at least a couple of things that can lead to that but more details and some troubleshooting might be needed

Re: vRA 6.2.5 with vSphere/vCenter 6.5 (U1)

$
0
0

I wouldn't bet on this being validated internally esp. with 6.2.5 EOL at the end of 2018.
But you can ask vmware support this and should be able to get an answer.

 

On the other hand, 6.2.5->7x is a tough migration for complex / heavily customized setups;
again you can reach out to support (or your TAM, if you have such) and ask for help thru this process.

check this page - VMware vRealize Automation – Upgrade Center


Re: VRA VAMI PAGE FAILED TO INITIALIZE

Re: Right ISO for upgrading ESXi from 5.5 to 6.5

$
0
0

You should always use the vendor-customized ISOs when doing installations and upgrades.

7.3 Custom Property "Show in Request" at BG Level shows both at Deployment AND Machine levels

$
0
0

I have a situation where I have a property where the value needs collected for only one BG.

 

The blueprints are shared for all BGs so I put the new unique property at the BG level. Well, it shows twice, once at the deployment level then again down at the machine component. Is there any way to have this property only shown once?

Re: MS Visio Pro 2013 AppStack

$
0
0

Thanks, that’s exactly what I have been doing. Installing Office in the packaging machine and than installing Visio while in provisioning mode. After installing running commands cscript ospp.vbs /sethst:mykmsserver and ospp.vbs /act both with successful and than closing the provisioning. Still runs through the configuration process on first launch and than actiavtes but this needs to be done every login to a instant clone desktop. Trying to see if I could add something on the parent to prevent this.

 

Thanks

Re: How to make dynamic folder creation in vSphere for vRA blueprint deployments?

$
0
0

Would it work if you had the EBS write the value of VMware.VirtualCenter.Folder perhaps at VMPSMasterWorkflow32.Requested PRE?

Viewing all 232631 articles
Browse latest View live


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