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

Unity mode with MacBook and 4k monitor - unfortunately does not work // Unity-Modus mit MacBook und 4k Monitor - funktioniert leider nicht

$
0
0

Hello everybody,

 

 

usually I do not write in forums because most of the answers to my questions are to be found online.

This time, Google is no help and I hope for support.

;o)

 

 

I have a MacBook Pro (15-inch, 2017), quad-core Intel Core i7, 16 GB RAM, Intel HD Graphics 630 (integrated) and Readeon Pro 555 (PCIe)

VRAM (dynamic, maximum): 1536 MB

macOS Catalina 10.15 (19A602)

 

 

Attached to a LG Ultrawide QHD 34-inch (3440 x 1440)

 

 

I use VMware Fusion version 11.5.1 (15018442) and have always worked in Unity mode (with a 29 "Ultrawide HD monitor from LG).

Now with the new 34 "monitor, the unity mode does not work anymore.

Only if I screw down the resolution to 2560 x 1080, Unity works.

In the standard resolution of the Mac / VMware does not manage it and I get an error message:

The display topology refresh request could not be completed for the guest. For low resolution, deselect "Use Full Retina Display Resolution" under Virtual Machine> Preferences> Graphics.

I have already set the maximum memory for graphics to the maximum possible 3072 MB. Unfortunately that did not help.

 

 

I really hope that it is not impossible.

:o)

 

 

Do you have an idea?

 

 

Thank you in advance and cordially regards

 

 

Martina B.

 

##############################################

 

Hallo zusammen,

 

 

in der Regel schreibe ich nicht in Foren, weil die meisten Antworten auf meine Fragen online zu finden sind.

Dieses Mal ist Google aber keine Hilfe und ich hoffe hier auf Hilfe.

;o)

 

 

Ich habe ein MacBook Pro (15-inch, 2017), Quad-Core Intel Core i7, 16 GB RAM, Intel HD Graphics 630 (integriert) und Readeon Pro 555 (PCIe)

VRAM (dynamisch, maximal): 1536 MB

macOS Catalina 10.15 (19A602)

 

 

Daran angeschlossen ein LG Ultrawide QHD 34-Zoll (3440 x 1440)

 

 

Ich nutze VMware Fusion Version 11.5.1 (15018442) und habe bisher immer im Unity-Modus gearbeitet (mit einem 29" Ultrawide HD Monitor von LG).

Jetzt mit dem neuen 34" Monitor funktioniert der Unitymodus nicht mehr.

Nur wenn ich die Auflösung auf 2560 x 1080 runterschraube, funktioniert Unity.

In der Standard-Auflösung schafft der Mac / VMware es nicht und ich bekomme eine Fehlermeldung:

Die Aktualisierungsanfrage für die Anzeigetopologie konnte für den Gast nicht abgeschlossen werden. Für eine niedrige Auflösung deaktivieren Sie "Volle Auflösung für Retina-Anzeige verwenden" unter "Virtuelle Maschine" > "Einstellungen" > "Grafik".

Den maximalen Arbeitsspeicher für Grafik habe ich schon auf die maximal möglichen 3072 MB hochgesetzt. Das hat aber leider nicht geholfen.

 

 

Ich hoffe sehr, dass es nicht unlösbar ist.

:o)

 

 

Habt Ihr eine Idee?

 

 

Vielen Dank im Voraus und herzliche Grüße

 

 

Martina B.


Custom Email Template Fields

$
0
0

Does anyone know if when creating a custom template there is a way to include VM tags in the email? Looking through the email template fling and what i can find I don't see any, but I figured it's worth asking. I want to include a field that identifies the app that the alert is firing for. So if server A is alerting for disk space, I want the email alert to include server A and a custom field called Application A that identifies the application

Is my computer weird or workstations pro 15.5 ?

$
0
0

Hi vm people

 

My computer setting is

 

CPU: 3900x

GPU: 2080 super

Mother board: x 470 pro

 

After installing Workstation Pro 15.5, if the computer gets caught with a small load (estimated), the computer goes down and slows down, eventually, the screen turns black and I have to force the computer to shut down.

 

 

Does anyone know the cause or suffer the same symptoms?

No visible ESX hosts

$
0
0

Aside from running some virtual machines in Workstation Pro, I use it to connect to our existing vcenter infrastructure.  Only thing is, I can't see any of our esx servers, I just see the all our virtual machines.  Any way to display the servers so I can manage them with Workstation Pro? 

 

I run Workstation Pro 15.5.1 on Linux Mint.

No 'Use Windows Session Authentication' tick box on ESXi 6.7 Web Client

$
0
0

I've recently created a new ESXi 6.7 host and upgraded to the latest patch

 

I've added it to our AD and I can login to the web client with my AD credentials however I would like to use the Windows Session Authentication function however I can't work out why I don't get the 'Use Windows Session Authentication' tick box on the web client.

 

I'm sure I am missing something simple but I can only seem to find articles on issues configuring AD integration and not being able to logon.

VMWare Machine Crashing Routinely - "Invalid MKSWindow definition" error

$
0
0

I'm running VMWare WorkStation 15 Pro version 15.5.1. My virtual machine is running THEOS as a OS, which I realize is unsupported, but it's the only OS my software will run on. The software my company uses was built in the 80s, and designed specifically for THEOS. So a different OS is not an option.

 

Every day, the virtual machine freezes up multiple times. The timing is random, and isn't linked to any user activities. Note that VMWare is still functional, but the virtual machine itself locks up and the only way to fix it is by powering down the virtual machine and restarting VMWare workstation. I've attached the full log file, but here is the relevant portion. This error sequence shows up repeatedly any time the machine crashes.

 

2019-10-31T11:51:09.579-05:00| svga| I125: MKSScreenShotMgr: Taking a screenshot

2019-10-31T11:51:09.614-05:00| mks| I125: SWBWindow: Number of MKSWindows changed: 2 rendering MKSWindow(s) of total 2.

2019-10-31T11:51:09.627-05:00| mks| I125: SWBWindow: Window #0 validation failed: no valid host window or host surface.

2019-10-31T11:51:09.627-05:00| mks| I125: SWBVmdb: Destroy SWB Window Id #0 because an invalid MKSWindow definition is recevied from UI over VMDB.

2019-10-31T11:51:09.628-05:00| mks| I125: SWBWindow: Number of MKSWindows changed: 1 rendering MKSWindow(s) of total 1.

2019-10-31T11:51:09.628-05:00| mks| I125: SWBWindow: Window #1 validation failed: no valid host window or host surface.

2019-10-31T11:51:09.628-05:00| mks| I125: SWBVmdb: Destroy SWB Window Id #1 because an invalid MKSWindow definition is recevied from UI over VMDB.

2019-10-31T11:51:09.628-05:00| mks| I125: GDI-Backend: stopped by HWinMux to do window composition.

2019-10-31T11:51:09.628-05:00| mks| I125: SWBWindow: Number of MKSWindows changed: 0 rendering MKSWindow(s) of total 0.

2019-10-31T11:51:11.966-05:00| mks| I125: SWBWindow: Number of MKSWindows changed: 1 rendering MKSWindow(s) of total 1.

2019-10-31T11:51:11.966-05:00| mks| I125: GDI-Backend: successfully started by HWinMux to do window composition.

 

I've reached out to VMWare support, but they won't help me due to the fact that I'm not running a supported OS. Hoping someone here has had a similar issue. Thanks in advance!

MAJOR BUG: VMWARE Workstation PRO 15.5 FREEZES HOST if it uses ANY encryption!

$
0
0

I recently upgraded to 15.5 and what a mistake. If I use a VPN on the VM or even on the HOST (Windows 10) it freezes the entire host and corrupts the vmdk file. Same thing if you try to use disk encryption. I have tried Manjaro and Ubuntu guests (latest version) with the same result! Removing the encryption software fixes the VM and allows things to run.As soon as I start any encryption oriented backbone it freezes solid. I am going to uninstall and downgrade to 15.1 which didn't have this. All of my drivers and system are up to date.

 

Contact me on Linked-in for more info

https://www.linkedin.com/in/robert-simmons-a3985240

 

Razer Blade 15 RTX Early 2019

System SKU: RZ09-02888E92

Keyboard: Corsair K70 Low Profile

Mouse: Logitech GPro wireless

eGPU: Razer Core X Chroma

eGPU Card: EVGA NVidia GeForce 2080 Ti

Memory: 64GB

SMBIOS Version: 3.2

Processor: Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz, 2201 Mhz, 6 Core(s), 12 Logical Processor(s)

Razer Blade 15 RTX Early 2019

ESXi 6.0 and Emulex LPe11000 (possibly other Emulex cards that aren't working oob)

$
0
0

I'm posting this so others might not have to spend hours on the line with support figuring this out.

My environment is older and has the Emulex LPe11000 hba cards.  This card isn't discovered oob.

Obviously a problem right.  After spending hours on the phone with VMWare support they pointed me to Emulex.

The issue really is that some of VMWare's support personnel don't know where they keep all the VIB files for their OS.

I was able to find the attached VIB here.  Import this and apply it and your Emulex card will start working and you can take your hosts up to ESXi 6.

http://vibsdepot.hp.com/hpq/mar.30.2015/


How to get stats from VROPS via REST API

$
0
0
Hi all, we are trying to use REST API via PowerShell to get information from VROPS.
However, it isn't working, and the documentation isn't particularly helpful, so here I am.

I can authenticate fine and get a list of the resources I want to get stats for, in the particular case, 3par resources.
Looking at https://MyvROpsServer/suite-api/docs/rest/index.html, it looks like I need to make a request to https://MyvROpsServer//suite-api/api/resources/{$ResourceID}/stats/query,
but this gives me a "Invoke-RestMethod : The remote server returned an error: (400) Bad Request." error.

Here is my code:
$Headers = New-Object "System.Collections.Generic.Dictionary[[String],[String]]"
$Headers.Add("Accept", "$Type")
$Headers.Add("X-vRealizeOps-API-use-unsupported", 'true')
$Type = "application/xml;charset=utf-8"
$ResourcesURL = $BaseURL + "resources/$ResourceID/stats/query"
$Stats = Invoke-RestMethod -Method POST -uri $ResourcesURL -Credential $cred -ContentType $Type -Headers $Headers

So in short, does anyone know which REST API command would give me the equivalent of PowerCLI's Get-OMStat?
Or perhaps know of a place that has good examples?
I have also been trying to format some XML to send in the body, but again, without some useful examples, I haven't been able to get that to work.

VMware Workstation Pro can't run on Windows

$
0
0

Hi Everyone,

 

Windows 10 has installed the new cumulative update - KB4524147 and KB4517211 but VMware Workstation (build 14.1.3-9474260 and I also tried the build 15.0.2-10952284) software can't start. The following message is displayed:

 

1.png

 

I dont't think that it's a good solution to just remove the Windows Update. Is there any other known fix for this issue?

Parity Initialization Progress - CLI Created Logical Volume

$
0
0

Servus Community,

 

Yesterday we created a new logical volume in the Command Line Interface with the following command:

 

/opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 create type=ld drives=1I:1:17,1I:1:18,1I:1:19,1I:1:20,1I:1:21,1I:1:22,1I:1:23 raid=6

 

The volume was immediately visible in the web GUI of our ESX 6.5 and we were able to create a new data store there. This is also usable and we already install some VMDKs there.

 

What we don't know is the status of the Parity Initialization Progress display, which is still at 0%. For another volume, which already existed and was not created with the CLI, but in the controller BIOS, it will be displayed there: Initialization Completed:

 

For the new, CLI created volume we got this output:

 

---snip---

/opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 ld 2 show

 

Smart Array P440ar in Slot 0 (Embedded)

 

   Array B

 

      Logical Drive: 2

         Size: 5.46 TB

         Fault Tolerance: 6

         Heads: 255

         Sectors Per Track: 32

         Cylinders: 65535

         Strip Size: 256 KB

         Full Stripe Size: 1280 KB

         Status: OK

         Unrecoverable Media Errors: None

         MultiDomain Status: OK

         Caching:  Enabled

         Parity Initialization Status: In Progress

         Parity Initialization Progress: 0% complete

         Unique Identifier: 600508B1001C4828A9D9A8C1870E0F8A

         Logical Drive Label: 06C4F007PDNLH0BRH78D1217CE

         Drive Type: Data

         LD Acceleration Method: Controller Cache

---snap---

 

And for the existing, controller BIOS created Volume, we got this output:

 

---snip---

[root@localhost:/opt/smartstorageadmin/ssacli/bin] ./ssacli ctrl slot=0 ld 1 show

 

Smart Array P440ar in Slot 0 (Embedded)

 

   Array A

 

      Logical Drive: 1

         Size: 6.55 TB

         Fault Tolerance: 6

         Heads: 255

         Sectors Per Track: 32

         Cylinders: 65535

         Strip Size: 256 KB

         Full Stripe Size: 1536 KB

         Status: OK

         Unrecoverable Media Errors: None

         MultiDomain Status: OK

         Caching:  Enabled

         Parity Initialization Status: Initialization Completed

         Unique Identifier: 600508B1001C0FC35B29727B79F53993

         Logical Drive Label: 01B0CE71PDNLH0BRH78D12FD28

         Drive Type: Data

         LD Acceleration Method: Controller Cache

---snap---

 

We assume that the output 0% is incorrect, but it would be interesting what we have to do, to update it, to the current correct value...

 

Thx & Bye Tom

Deployment Error after vCenter restart

$
0
0

Hi,

 

I had to restart my vCenter 6.7.0.40000 and since then, everytime I login to the web interface, i receive the following alert:

 

[ERROR] ce-extension-mngr-pool-13494 70001003 100090 200007 com.vmware.vise.vim.extension.PluginStatusTaskManager             DEPLOYMENT_FAILED: Error deploying plugin package com.vmware.vcIntegrity.vcIntegrity:6.7.0.41905. Reason: Deployment error. java.util.zip.ZipException: error in opening zip file

        at java.util.zip.ZipFile.open(Native Method)

        at java.util.zip.ZipFile.<init>(ZipFile.java:225)

        at java.util.zip.ZipFile.<init>(ZipFile.java:155)

        at java.util.jar.JarFile.<init>(JarFile.java:166)

        at java.util.jar.JarFile.<init>(JarFile.java:130)

        at com.vmware.vise.extensionfw.impl.BundleInfoLoader.getManifest(BundleInfoLoader.java:136)

        at com.vmware.vise.extensionfw.impl.BundleInfoLoader.getSortedBundleInfos(BundleInfoLoader.java:76)

        at com.vmware.vise.extensionfw.ExtensionManager.loadBundleInfos(ExtensionManager.java:1743)

        at com.vmware.vise.extensionfw.ExtensionManager.getPackageDeployData(ExtensionManager.java:1696)

        at com.vmware.vise.extensionfw.ExtensionManager.addPluginPackages(ExtensionManager.java:448)

        at com.vmware.vise.extensionfw.impl.ExtensionServiceImpl.addPluginPackages(ExtensionServiceImpl.java:164)

        at sun.reflect.GeneratedMethodAccessor990.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:498)

        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)

        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)

        at com.sun.proxy.$Proxy67.addPluginPackages(Unknown Source)

        at com.vmware.vise.vim.directory.extensions.DirectoryExtensionManager.downloadAndDeployPackage(DirectoryExtensionManager.java:413)

        at com.vmware.vise.vim.directory.extensions.DirectoryExtensionManager$1.call(DirectoryExtensionManager.java:335)

        at com.vmware.vise.vim.directory.extensions.DirectoryExtensionManager$1.call(DirectoryExtensionManager.java:328)

        at java.util.concurrent.FutureTask.run(FutureTask.java:266)

        at com.vmware.vise.util.concurrent.QueuingCachedThreadPool$QueueProcessor.run(QueuingCachedThreadPool.java:1229)

        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

        at java.util.concurrent.FutureTask.run(FutureTask.java:266)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

        at com.vmware.vise.util.concurrent.WorkerThreadFactory$1.run(WorkerThreadFactory.java:64)

        at java.lang.Thread.run(Thread.java:748)

 

How can I fix this? The config hasn't changed and the only thing that's ocurred is the restart.

 

Thanks in advance.

Horizon Client Kiosk

$
0
0

I am attempting to deploy a group of Chromebooks that will automatically launch a Horizon desktop without needing the user to authenticate for a classroom scenario. I am managing the Chromebooks centrally via Google admin and I have successfully configured the Horizon Client to launch from Kiosk mode with a JSON file that provides connection server settings. My connection server has been configured to authenticate on MAC addresses and the automatic login functionality was successfully tested with a WYSE thin client.

I cannot replicate this with automatic connection with the Chromebook. The client will launch, and select the default connection server, but the client will not authenticate without entering a credential. I suspect that am missing a configuration setting in the JSON file that will trigger the client to authenticate via the machine's MAC. I've attempted several variations of the JSON file similar to the one below (sourced from https://chrome-experts.neverware.com/s/article/Deploying-Configuring-VMware-Horizon-View-in-Kiosk-mode-using-Google-Admi… ) with no success. Can anyone provide any insight?

 

{
  "broker_list": {
      "Value": {
           "settings": {
                "server-list": [{
                     "server": "172.16.12.76",
                     "default": true,
                     "description": "CloudReady Lab",
                     "domain": "Cloudsteady.lab"
                }]
          }
      }
  }
}

Chrome "Remember this action" checkbox removed for SSO and Remote Console launch in vSphere

$
0
0

A recent update to Chrome 77 intentionally removed the "remember this action" checkbox when launching applications through the browser. There are a ton of Google forum posts about how this has broken various applications, but for vSphere, it's mostly just a nuisance to have an extra button click required to log in and open a remote console. Here is the workaround they've given us:

 

https://support.google.com/chrome/thread/14194567?msgid=15347344

 

Basically, modifying a Chrome settings file to add the applications as an excluded "scheme" from this "security feature." But there's no information about how to determine what this scheme name is for the application you're looking to whitelist. Does anyone know what the scheme name is for vmware-cip-launcher.exe and the VMware Remote Console, or where that name could be found?

 

Thanks!

 

Additional references:

 

Full thread of workaround: Chrome 77, "always open these types of links in the associated app" is missed!!! - Google Chrome Help

Chrome commit: 4e0e7e532b04eef14f05077872629a2ccb763530 - chromium/src - Git at Google

Error: VMRC - Failed to initialize SSL session to remote host

$
0
0

Hi,

I have a new macbook pro running High Sierra and i'm unable to use VMRC due to the error: Failed to initialize SSL session to remote host. No problems with webui, just vmrc. ssh is enabled.

 

My old MBP (running High Sierra also) is still working fine with VMRC to the same hosts (hosts are running 5.5 with the latest 1.29 Web UI)

 

Both MBPs are on the same network, using the same dns (which has been suggested in other articles might be an issue with the dns resolution).

 

Does anyone have any ideas what's missing on the new MBP preventing VMRC from initializing?

 

Thanks.


Fusion 11.5 vcenter remote control lost connection

$
0
0

I'm able to use Fusion 11.5 to connect to vCenter (ESX 6.7). When I use remote control a VM I lost focus to the VM. Nothing is responding. When I close the remote control and will open the VM again I get a dark grey black screen. Same issue with remote control in Chrome to vCenter. Then it will opens fusion and I've te same issue. When I use VMware Remote Console instead of Fusion also the same issue.

 

I close Fusion and start Fusion again, connect to vCenter and open a VM no problem. After a few minutes remote control freeze. I stil can see the VM but cannot select or do anything inside the VM.

Quit Fusion en start Fusion again. Issue is since upgrading Fusion to 11.5 and macOS to Catalina (10.15).

 

Please help

Strange SQL error during SSO section of vRealize Automation Installation Wizard - minimal install

$
0
0

Hi guys,

 

Got a bizarre error here during the automation wizard for 7.0.1:

 

PreparedStatementCallback; SQL [INSTER INTO installation_wizard_params (node, page, role, instance, param, value, sequence) values (?, ?, ?, ?, ?, ?, ?)]; ERROR: insert or update on table "installation_wizard_params" violates foreign key constraint "installation wizard params pk" Detail: Kye (node)=(cafe.node.128400245.15991) is not present in table "cluster_nodes".; nested exception is org.postgresql.util.PSQLException: ERROR: insert or update on table "installation_wizard_params" violates foreign key constraints "installation_wizard_params_pk" Detail: Key (node)=(cafe.node.128400245.15991) is not present in table "cluster_nodes".

 

Capture.JPG

 

The above error happens during the Single Sign-On section of the installation wizard. It read like a glitch to me, so I ran through a few different options to make sure I'm not just mis-matching passwords or not hitting the requirements:

Capture1.JPGCapture2.JPG

 

I've tried a password that matches the root password for the box/appliance and ones that are nothing similar to anything in the environment. Nothing seems to be working.

 

 

Anyone have a workaround for this, or am I doomed to a manual install?

 

Thanks,

Cameron

vRA 7.4 simple install error

$
0
0

When attempting the simple install of vRA 7.4 we recieive this error during the Single-SignOn Section and cannot proceed. The IaaS server has passed all pre-reqs. Anyone else run in to this or can offer a solution?

 

PreparedStatementCallback; SQL [INSERT INTO installation_wizard_params (node, page, role, instance, param, value, sequence) values (?, ?, ?, ?, ?, ?, ?)]; ERROR: insert or update on table "installation_wizard_params" violates foreign key constraint "installation_wizard_params_pk" Detail: Key (node)=(cafe.node.892755478.14503) is not present in table "cluster_nodes".; nested exception is org.postgresql.util.PSQLException: ERROR: insert or update on table "installation_wizard_params" violates foreign key constraint "installation_wizard_params_pk" Detail: Key (node)=(cafe.node.892755478.14503) is not present in table "cluster_nodes".

 

 

 

 

Mov move mobile device to a new user

$
0
0

Hello All,

       I was recently brought in to the fold of AirWatch Workspace one. My predecessor enrolled all devices under one user. Is there a way to move devices from one user to another with out having to un-enroll the device?

Is PowerCLI assigning the incorrect deviceId for PCI Passthrough?

$
0
0

Version stuffs:

 

PS C:\project> $PSVersionTable

 

Name                           Value

----                           -----

PSVersion                      5.1.17763.771

PSEdition                      Desktop

PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}

BuildVersion                   10.0.17763.771

CLRVersion                     4.0.30319.42000

WSManStackVersion              3.0

PSRemotingProtocolVersion      2.3

SerializationVersion           1.1.0.1

 

 

PS C:\project> Get-Module -ListAvailable | Where-Object { $_.CompanyName -like "VMware*" } | Select-Object ModuleType,Version,Name | Format-Table -AutoSize

 

ModuleType Version         Name

---------- -------         ----

    Script 6.7.0.11233116  VMware.DeployAutomation

    Script 6.7.0.11233116  VMware.ImageBuilder

  Manifest 11.5.0.14912921 VMware.PowerCLI

    Script 6.7.0.14898114  VMware.Vim

    Script 11.5.0.14898113 VMware.VimAutomation.Cis.Core

    Script 11.0.0.10379994 VMware.VimAutomation.Cloud

    Script 11.5.0.14898112 VMware.VimAutomation.Common

    Script 11.5.0.14899560 VMware.VimAutomation.Core

    Script 6.5.4.7567193   VMware.VimAutomation.HA

    Script 11.5.0.14900247 VMware.VimAutomation.Hcx

    Script 7.10.0.14653756 VMware.VimAutomation.HorizonView

    Script 11.3.0.13990093 VMware.VimAutomation.License

    Script 11.5.0.14900141 VMware.VimAutomation.Nsxt

    Script 10.0.0.7893924  VMware.VimAutomation.PCloud

    Script 11.5.0.14898111 VMware.VimAutomation.Sdk

    Script 11.0.0.10380515 VMware.VimAutomation.Security

    Script 11.5.0.14899557 VMware.VimAutomation.Srm

    Script 11.5.0.14901686 VMware.VimAutomation.Storage

    Script 1.3.0.0         VMware.VimAutomation.StorageUtility

    Script 11.2.0.12483615 VMware.VimAutomation.Vds

    Script 11.5.0.14912923 VMware.VimAutomation.Vmc

    Script 10.0.0.7893921  VMware.VimAutomation.vROps

    Script 2.0.0.0         VMware.vSphereDSC

    Script 6.5.1.7862888   VMware.VumAutomation

 

 

PS C:\project>

 

#####

#####

 

First attempt using the most simple syntax:

 

$VMs = Get-VApp $vApp | Get-VM | Sort-Object | ? { $_.Name -notmatch '.*CONSOLE.*|.*DC1|.*GW' }

 

$kitBfc = $VMhost | Get-PassthroughDevice | Where-Object -Property Name -EQ 'Emulex LightPulse LPe16000 PCIe Fibre Channel Adapter' | Sort-Object -Property Uid | Select-Object -Skip 0 -First 8

$kitAfc = $VMhost | Get-PassthroughDevice | Where-Object -Property Name -EQ 'Emulex LightPulse LPe16000 PCIe Fibre Channel Adapter' | Sort-Object -Property Uid | Select-Object -Skip 8 -First 8

 

$skip = 0

 

foreach ($VM in $VMs) {

    $VM.ExtensionData.Reload()

    $VM | Get-PassthroughDevice | Remove-PassthroughDevice

 

    $VM | Add-PassthroughDevice -PassthroughDevice $($kitBfc | Select-Object -Skip $skip -First 2)

}

<#

RESULTING VMX

-------

 

pciPassthru0.id = "00000:031:00.0"

pciPassthru0.deviceId = "0xffff"

pciPassthru0.vendorId = "0x10df"

pciPassthru0.systemId = "5dc21a50-2fb7-fe86-c9f1-4c5262353bbc"

pciPassthru0.present = "TRUE"

 

pciPassthru1.id = "00000:031:00.1"

pciPassthru1.deviceId = "0xffff"

pciPassthru1.vendorId = "0x10df"

pciPassthru1.systemId = "5dc21a50-2fb7-fe86-c9f1-4c5262353bbc"

pciPassthru1.present = "TRUE"

 

WHEN ATTEMPTING TO START:

The systemId does not match the current system or the deviceId, and the vendorId does not match the device currently at 31:0.0.

 

#>

 

#####

#####

 

Then attempted using the syntax from here: https://communities.vmware.com/thread/573657

 

$VMs = Get-VApp $vApp | Get-VM | Sort-Object | ? { $_.Name -notmatch '.*CONSOLE.*|.*DC1|.*GW' }

 

$kitBfc = $VMhost | Get-PassthroughDevice | Where-Object -Property Name -EQ 'Emulex LightPulse LPe16000 PCIe Fibre Channel Adapter' | Sort-Object -Property Uid | Select-Object -Skip 0 -First 8

$kitAfc = $VMhost | Get-PassthroughDevice | Where-Object -Property Name -EQ 'Emulex LightPulse LPe16000 PCIe Fibre Channel Adapter' | Sort-Object -Property Uid | Select-Object -Skip 8 -First 8

 

$skip = 0

 

 

foreach ($VM in $VMs) {

    $VM.ExtensionData.Reload()

    $VM | Get-PassthroughDevice | Remove-PassthroughDevice

   

    # https://communities.vmware.com/thread/573657

 

    $currentFC = $kitBfc | Select-Object -Skip $skip -First 2

 

    $spec = New-Object VMware.Vim.VirtualMachineConfigSpec

    $spec.deviceChange = New-Object VMware.Vim.VirtualDeviceConfigSpec[] (2)

 

    $spec.deviceChange[0] = New-Object VMware.Vim.VirtualDeviceConfigSpec

    $spec.deviceChange[0].operation = 'add'

    $spec.deviceChange[0].device = New-Object VMware.Vim.VirtualPCIPassthrough

    $spec.deviceChange[0].device.key = "-100"

    $spec.deviceChange[0].device.backing = New-Object VMware.Vim.VirtualPCIPassthroughDeviceBackingInfo

    $spec.deviceChange[0].device.backing.deviceName = $currentFC[0].Name

    $spec.deviceChange[0].device.backing.id = $currentFC[0].ExtensionData.PciDevice.Id

    $spec.deviceChange[0].device.backing.deviceId = $currentFC[0].ExtensionData.PciDevice.DeviceId

    $spec.deviceChange[0].device.backing.systemId = $currentFC[0].ExtensionData.SystemId

    $spec.deviceChange[0].device.backing.vendorId = $currentFC[0].VendorId

    $spec.deviceChange[1] = New-Object VMware.Vim.VirtualDeviceConfigSpec

    $spec.deviceChange[1].operation = 'add'

    $spec.deviceChange[1].device = New-Object VMware.Vim.VirtualPCIPassthrough

    $spec.deviceChange[1].device.key = "-100"

    $spec.deviceChange[1].device.backing = New-Object VMware.Vim.VirtualPCIPassthroughDeviceBackingInfo

    $spec.deviceChange[1].device.backing.deviceName = $currentFC[1].Name

    $spec.deviceChange[1].device.backing.id = $currentFC[1].ExtensionData.PciDevice.Id

    $spec.deviceChange[1].device.backing.deviceId = $currentFC[1].ExtensionData.PciDevice.DeviceId

    $spec.deviceChange[1].device.backing.systemId = $currentFC[1].ExtensionData.SystemId

    $spec.deviceChange[1].device.backing.vendorId = $currentFC[1].VendorId

 

    $VM.ExtensionData.ReconfigVM_Task($spec)

 

 

    $skip = $skip + 2

    $VM.ExtensionData.Reload()

}

 

<#

RESULTING VMX

-------

 

pciPassthru0.id = "00000:031:00.0"

pciPassthru0.deviceId = "0x8980"

pciPassthru0.vendorId = "0x10df"

pciPassthru0.systemId = "5dc21a50-2fb7-fe86-c9f1-4c5262353bbc"

pciPassthru0.present = "TRUE"

 

pciPassthru1.id = "00000:031:00.1"

pciPassthru1.deviceId = "0x8980"

pciPassthru1.vendorId = "0x10df"

pciPassthru1.systemId = "5dc21a50-2fb7-fe86-c9f1-4c5262353bbc"

pciPassthru1.present = "TRUE"

 

WHEN ATTEMPTING TO START:

The systemId does not match the current system or the deviceId, and the vendorId does not match the device currently at 31:0.0.

 

#>

 

#####

#####

 

Finally assigned using HTML5 UI

 

<#

 

EXPECTED VMX

 

    pciPassthru0.id = "00000:031:00.0"

    pciPassthru0.deviceId = "0xe200"

    pciPassthru0.vendorId = "0x10df"

    pciPassthru0.systemId = "5dc21a50-2fb7-fe86-c9f1-4c5262353bbc"

    pciPassthru0.present = "TRUE"

   

    pciPassthru1.id = "00000:031:00.1"

    pciPassthru1.deviceId = "0xe200"

    pciPassthru1.vendorId = "0x10df"

    pciPassthru1.systemId = "5dc21a50-2fb7-fe86-c9f1-4c5262353bbc"

    pciPassthru1.present = "TRUE"

 

NO ISSUE BOOTING

 

#>

 

What's going on here?

 

Also, how can one add a code box to this editor?

I tried <pre></pre> and <code></code>

Viewing all 175326 articles
Browse latest View live


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