Are you the publisher? Claim or contact us about this channel


Embed this content in your HTML

Search

Report adult content:

click to rate:

Account: (login)

More Channels


Showcase


Channel Catalog


Channel Description:

Latest Forum Threads in VMware Communities

older | 1 | .... | 6714 | 6715 | (Page 6716) | 6717 | 6718 | .... | 6759 | newer

    0 0

    Good Morning,

     

    I followed the SDK installation guide and the prerequisite installation guide to the letter.


    I installed the vSphere Perl SDK for vSphere 6.7 and I installed all these Perl modules indicated by the SDK:

     

    When executing the vifs command I get the following error:

     

    [root ~]# /usr/bin/vifs --help

    Can't locate loadable object for module Data::UUID in @INC (@INC contains: /usr/lib64/perl5/libwww-perl-5.837/lib /usr/lib64/perl5 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/share/perl5 .) at /usr/share/perl5/VMware/SSOConnection.pm line 27.

    Compilation failed in require at /usr/share/perl5/VMware/SSOConnection.pm line 27.

    BEGIN failed--compilation aborted at /usr/share/perl5/VMware/SSOConnection.pm line 27.

    Compilation failed in require at /usr/share/perl5/VMware/VICommon.pm line 25.

    BEGIN failed--compilation aborted at /usr/share/perl5/VMware/VICommon.pm line 25.

    Compilation failed in require at /usr/share/perl5/VMware/VIRuntime.pm line 15.

    Compilation failed in require at /usr/bin/vifs line 29.

    BEGIN failed--compilation aborted at /usr/bin/vifs line 29.

    [root ~]#

     

    On the indicated routes if the file UUID.pm is found, for example:

     

    [root@ ~]# ls -alh /usr/lib64/perl5/libwww-perl-5.837/lib

    total 24K

    drwxr-xr-x 2 root root   36 Aug  7 07:22 .

    drwxr-xr-x 3 root root   17 Aug  6 10:23 ..

    -rw-r--r-- 1 root root  14K Aug  6 10:23 GUID.pm

    -r--r--r-- 1 root root 4.5K Aug  7 07:22 UUID.pm

    [root@ ~]#

     

    Another situation is that despite having installed the Perl modules, the SDK script at the end indicates that these modules are missing, I have done it several times with the same result.

    Operating system: Red Hat Enterprise Linux Server release 7.5 (Maipo)


    0 0

    Hi all,

     

     

    I am looking for javascript to check average performance statistics of CPU of cluster for last 7 days.

    Please provide me javascript for this.

    I have to use this  script in vRealize orchestrator to fetch average performance statistics of CPU of cluster for last 7 days.


    0 0

    Do not have the option in pull down menu for Flash Virtual Disk is Settings.  I can see NVME devices and can configure as VFMS but no option for VFFS? Running Eval 6.7.


    0 0

    we are facing strange problem.

    User started complaining cannot get their desktop.

    when i saw, all VDI desktops are powered off.

    When I tried to refresh the VDI image, it simply is booting into PXE.

     

    Any hints in troubleshooting problem


    0 0

    Hello,

     

    Not sure if anyone else is experiencing this, but we are currently using a floating non-persistent pool running Windows 10 LTSB 2016 build (Build 1607). We are running App Volumes 2.12, and using both Appstacks and Writable Volumes UIA+profile template to support certain user-installed apps.

     

    Starting last month, after updating the parent image with the latest cumulative update and creating a test pool to test out the changes with existing appstacks and writables, I found out that the start menu has stopped working altogether. Clicking on the start button doesn't show the menu at all. Curiously, clicking on the Search button does bring up the search menu.

     

    The Event Logs seem to indicate that Microsoft.Windows.ShellExperienceHost AppX Package has been broken, with the following messages recorded on Application event log and Event Viewer -> Applications and Services Logs\Microsoft\Windows\Apps\Microsoft-Windows-TWinUI/Operational log every time I clicked on the start button.

     

    Activation of app Microsoft.Windows.ShellExperienceHost_cw5n1h2txyewy!App failed with error: Invalid value for registry See the Microsoft-Windows-TWinUI/Operational log for additional information.

     

    Activation of the app Microsoft.Windows.ShellExperienceHost_cw5n1h2txyewy!App for the Windows.Launch contract failed with error: Invalid value for registry.

     

     

    I have already tried to re-register the Microsoft.Windows.ShellExperienceHost and Microsoft.Windows.Cortana AppX Packages, as it seems to be one of the remediation suggestions over the web, but alas, it didn't work. The powershell I tried running under elevated powershell prompt are:

    Get-AppXPackage -Name Microsoft.Windows.ShellExperienceHost | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

    Get-AppXPackage -Name Microsoft.Windows.Cortana | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

     

    I tried to reset the TileDataLayer database too by stopping the State Repository and Tile Data Model server services, and deleting off the %localappdata%\TileDataLayer folder and let it recreate it, but no luck so far.

     

    Because of this, I am stuck on leaving the Windows 10 build on 14393.693, which is based on January cumulative update. Also, this problem is still present with the recently released April cumulative update.

     

    Anyone else having this problem?


    0 0
  • 01/02/19--03:35: vSphere tagging permissions
  • Hello there.

    I have two vcsa 6.7u1 in linked mode lab environment. Active directory user have Administrator privileges for one of those vcenters (including tags permissions), but if he tries to create tag he got message the he doesn't have permissions to do that, and furthermore, option of creating category is greyed out. Well, it seems that tags and categories dont have any direct bond to the particular vcenter (oppsotie to custom attributes) and relate to the entire inventory (to the root). And actually if I give the AD user global permissions, then he can manage tags and categories (he can create them too).

    So I guess the correct way to give user permissions to manage tags/categories without granting him global administrator permissions, is to create separate role (e.g. "TAGadmin") with only tags permissions and associate user with this role on global level and not on the vcenter level. Am I right?


    0 0

    I have three hosts with the following hardware for Homelab :

    1x USB for ESXi installation

    1x 250GB SSD for vSAN cache

    1x 500GB SSD for VSAN

     

    On the 250GB SSD is now the scratch partition created. I can not use it as a VSAN cache now. The disc can not be deleted.

     

    Is there a way to move the scratch partition to USB?

    Or other suggestions?


    0 0

    Hello,

     

    I try to connect a webcam to a vm.

    I connect the usb webcam on the esxi (usb).

    On the vm, the webcam is detected, the driver is installed, but i have a blank window on my software. I have no picture.

     

    Have you got an idea for this problem (video card parameters? driver on esxi ? etc...)

     

    Thanks.


    0 0

    Hello Everyone,

     

    Can we get the lists of recently added VM's to VC or environment on a weekly basis or daily basis from power cli?

     

    thanks

    vmk


    0 0

    Hallo,

    Ich versuche bei dem USB-Controller KTU3FR-4P von inatek Passtrhough zu aktivieren.

    Er wird in dern verfügbaren Geräten auch gelistet und ich kann auch mit "Passthrough umschalten" den Status auf "Aktiviert / Erfordert Neustart" setzten.
    Nach einem Neustart ist er nur leider nicht Aktiv sondern immernoch auf "Aktiviert / Erfordert Neustart".

     

    Weiß jemand woran das liegen kann?

     

    Viele Grüße

    Paul


    0 0

    I am in a new role supporting Horizon with App Volumes (2.14) after spending about 6 years with Horizon but only a standard license.  I replaced the VDI person so I'm trying to figure out how things are setup as well as make changes to improve things.  I think I understand the basics with App Volumes, but hope someone can help with a question.

     

    Background: We have 2 VDI Datacenters: USA East Coast and USA West Coast using instant clones.  Users are directed to one DC or the other based on their office location (different connection strings, not Global Load Balance).  Each DC has it's own golden image and two App Volume Manager servers (as well as connection brokers, UEM server etc.). The golden images have their registry updated to reflect Manager2 in addition to the preconfigured Manager1.  This works as expected.

     

    I was told that the west golden image had some changes to it that the east golden image had not had yet so rather than try to figure out what those were (patches? apps installed? driver changes?) I followed this blog post Managing Horizon Gold Images Across Multi-Site Deployments - VMware Blogs  to effectively copy the golden image from west to east.  I then powered it up in the east DC, changed the Manager1 and Manager2 IPs (I actually exported that registry section (HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\svservice\Parameters) from the west golden image and imported it in the east golden image), shut down the golden image, took a snapshot, and created a test pool matching the settings of the current live pool including putting the machines in the same OU etc but only made 10 machines instead of the 1800 in production.

     

    After the machines were ready, I connected in and none of the apps are on the desktop.  So apparently there is more to the app volume agent install than the service running and relying on the registry to point to the manager.

     

    So my question:  What is the best way to handle this if I want to update just 1 golden image and then copy it to the other DC and use it there?  Can I just uninstall the App Volumes Agent and reinstall it on that copy of the golden image? Is there some other change besides just the registry hive?

     

    Thanks in advance for any help with this.

    Craig


    0 0

    Im trying to enable passthrough for ASM1062 and USB 3.1 via thunderbolt interface to a guest.

     

    As you can see i have the option to "enable" passthrough, when i toggle enable it shows as "enable/restat", after restart it shows "enable/restart" again and after a second reboot its disabled.

    26HUXcX.png

    Im unsure if why it jumps back to disable after enable, advice would be appreciated


    0 0
  • 12/13/18--05:27: import vapp
  • Hello,

     

    I have issues when importing an *.ovf file, on a NUC8i7HVK.

    I'm using this menu : "host > Create/Save a VM", then I follow wizard to deploy a new *.vf + *.vmdk machine.

    Download task goes fine, but "Import VApp" looks unresponsive (stuck at 100%) for a couple of hour, and then disapears.

    I updated license from "1 month trial" to "Free Registered License", but it doesn't helps.

     

    Last week, I was able to create up to 3 VMs, now I removed 2 of then but I'm unable to re-create them with same *.vmdk/*.ovf files.

     

    I'm new to ESXi, so I don't know much if there is logs to analyze this issue.

     

    Could you please give me some help ?

     

    BR,

    Alex.


    0 0

    Dear community,

     

    we made some modifications of the snapvol.cfg, so we are always replacing the .cfg in the template.

     

    The reason is, we are using persistant machines. (It works fine for us)

    We noticed, that the new snapvol.cfg in the template_workstation has the following parameter.

     

    Any ideas, why this parameter was changed in V2_13? What did this parameter mean? This looks for me like a template for writables.

     

    V. 2_14_2 template_workstation

    scope=global

    type=writable

     

     

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

    # File system

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

     

     

    virtualize=\

     

     

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

    # Registry

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

     

    < V. 2_13 (old snapvol.cfg)

    type=application

    os=64

     

     

     

     

    scope=global

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

    # File system

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

    virtualize=\

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

    # Registry

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


    0 0

    I wish to increase a VM disk size. Is this possible in the 6.7 web client?

    I have searched but been unable to find how to do this.

    Thanks in advance.


    0 0

    Hi,


    I have a script to detach CD/DVD for all VMs running on the specified datastore and print the result if successful or not.

    My problem is for one of the VM, the script paused and I have the following "Virtual Machine Message" in vCenter:

     

    "The guest operating system has locked the CD-ROM door and is probably using the CD-ROM, which can prevent the guest from recognizing media changes. If possible, eject the CD-ROM from inside the guest before disconnecting. Disconnect anyway and override the lock?"

     

    The answer could be yes or no but I have to click manually.

    How can I insert in my script to continue the process by answering yes or no automatically?

     

     

    function Detach-CD-DS{
    param([string] $Datastore)
    $VM = Get-VM -Datastore $Datastore | sort Name
    Foreach ($_ in $VM)
         {
              if ($_ | Get-CDDrive | Set-CDDrive -NoMedia -Confirm:$false -WarningAction:SilentlyContinue)
              {write-host "CD/DVD detach ok for VM:"$_.Name}
              else
              {
              write-host "CD/DVD detach failed for VM:"$_.Name
              }
         }
    }

     

    2013-03-27_14h16_11.png

     

    The VM is a Cisco VSG VM and has a CD/DVD attached that is connected and that connect at power on  (ISO image is located on the VM folder).

     

    My goal is to move all the VMs running on this datastore to another datastore and I would like to make sure no CD/DVD are attached to them.

     

    I have noticed that when I move this particular Cisco VM to another datastore, the ISO image move at the same time. Not true for other VMs with Media attached to them (e.g. Windows VM with a Windows ISO image attached).

     

    So what I would like is to detach CD/DVD from all VMs and if it's a Cisco VM, answer to the Virtual Machine Message in VC by yes or no for the script to continue.

     

    Thank you for your help.


    0 0

    I am not able to attach a USB HDD to a virtual machine.

    The disk has previously been attached to another virtual machine,

    but it isn't showing in the UI-configuration of any of my VMs.

     

    One vmx file has this entry, that maybe causes the issue:

         usb.autoConnect.device0 = "path:1/9 autoclean:1"

     

    I suppose editing the vmx and rebooting should solve the issue.

     

    But is there a way to detach it without rebooting the VM?


    0 0

    Hi

     

    I would like to get a xls or csv report that extract coredump partition, canonnical name and hostname of following list of host.

    If no coredump active, it will show on the report not set or not configure.

     

    Here's what I've started:

     

     

    $Target = Get-Datacenter DCNAME | Get-VMHost | sort Name

    Foreach ($vmhost in $Target) {

    $esxcli = Get-EsxCli -VMhost $vmhost

    #$esxcli.system.hostname.get()

    $esxcli.system.coredump.partition.get()

    }

    Write-Host "Done" -ForegroundColor DarkGreen

     

    This script only extract configured naa devices as coredump without hostname and validation.


    0 0

    On Workstation 11 I am getting the following error message attempting to start a copied VM:

     

    File not found: C:\Share\Copy of the XP VM C drive\Windows XP Professional Template 50GB-000005-cl1-000014-cl1.vmdk

    This file is required to power on this virtual machine. If this file was moved, specify the new location

     

    The .VMX file did specify the following:

     

    scsi0:1.present = "TRUE"

    scsi0:1.fileName = "C:\Share\Copy of the XP VM C drive\Windows XP Professional Template 50GB-000005-cl1-000014-cl1.vmdk"

    scsi0:1.mode = "independent-persistent"

     

    But these lines have been removed.  I've attached the edited VMX file that causes Workstation to generate the error.

     

    If this VMDK file is no longer specified in the VMX file, where is Workstation getting the name of the file when it produces the error message?  Why is it producing this error message?

     

    Steps I've taken to try to resolve this:

     

    1.  Close and re-open Workstation.

    2.  Reboot the host machine (Windows Server 2012 Essentials R2)


    0 0

    Hello,

    I currently have the following setup:

    VMs are sometimes being provisioned in networks, where other VMs, not provisioned by vRA, reside. The IPs in these networks are handed out by DHCP (on a NSX-V edge).

    I need to be able to provision and add new adapters to the vm in this DHCP-provisioned network.

     

    The deployment itself seems to work fine. I have created a new external network profile, that has no IP ranges set, only the basic options. I had no other ooption but to select the vRA IPAM endpoint, even though I do not want to use it in this case. This profile is attached to some reservations, then it is mapped to the dvs port group (network), where DHCP hands out the adresses. During provisiong, the network adapter of the vm gets connected to this portgorup and after power-on an IP gets assigned.

     

    However, when I want to add a new adapter to the VM and select the DHCP-provisioned network during the Reconfigure Action in the Network Tab, the request fails:

    java.lang.RuntimeException: [Error code: 42000 ] - [Error Msg: Infrastructure service provider error: The list of unallocated IP addresses for the network profile [MyProfileName] has been exhausted.]

     

    What would be an elegant solution to this problem? Is it possible to create a network profile that would not be tied to the vRA IPAM? The only purpose of this profile would be to attach the adapter to the selected port group. Similar how you could do it back in vRA 6 with a private network profile.


older | 1 | .... | 6714 | 6715 | (Page 6716) | 6717 | 6718 | .... | 6759 | newer