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

NSX performance issues

$
0
0

Hi all, I have an NSX home lab running. Here a basic overview of the setup:

 

My PC is on the 192.168.1.x/24 network. UniFi USG as the gateway

ESXi Hosts, vCSA, NSX Manager, NSX Control cluster are on the 10.0.0.0/24 network, tagged VLAN 2, on a 10Gbit switch. Also on this network (and switch) is a QNAP NAS. Again, using the UniFi USG as the gateway.

I don't think it matters but I am running vSAN and they are using a directly connected network for vSAN and vMotion. Witness traffic is tagged on the 10.0.0.0/24 VMk where the witness appliance resides.

I have two logical networks, 5001 and 5002, 172.16.0.0/24 and 172.16.10.0/24 respectively.

I have one Edge gateway. This has an interface for 5001 and 5002. It also has an interface on the VLAN 2 port group for external traffic.

The VMs on the 5001 and 5002 networks use the edge as their gateway. The edge uses the UniFi USG as it's gateway.

I then have a static route on the UniFi USG which directs 5001 and 5002 traffic to the interface on the VLAN 2 port group of the Edge.

 

Not the most complex of setups I don't think. I wasn't sure if I needed an Edge for each logical network but it's working fine with just the single one.

 

Running iPerf tests from host to host I get the expected 10Gbps speed.

Running iPerf tests from the host to the QNAP NAS I get 10Gbps.

Running it from my PC to a VM on a logical network I get 1Gbps (PC is only 1Gbit, as is the UniFi USG).

 

The issue that I am having is RDP performance from my PC to a VM is poor, it's like it's on 10 frames a second. It does this if the VM is in the VLAN 2 port group of if it's connected to either logical switch.

 

I'm guessing here that it's the UniFi USG causing the issues? I do have a pfSense appliance I could try I guess.

 

The second issue I am having is if I do an iPerf test between VMs, either on the same logical network or seperate networks, traffic appears limited, peaking around 5Gbps but around 2-3 average.

 

This leads me to believe that the issue is in the edge configuration somehow, or is this normal behaviour? I'd have thought I would see the full 10Gbps.

 

Thanks!


UAG Load Balancing using HAProxy

$
0
0

Hi community, this problem has been bugging me for a while now so I figured I'd reach out to the community and hopefully get this thing working! Bear with me, this is a long one....

 

I work for a service provider and want to building out a scalable UAG-pair-per-tenant design behind a pair of HAProxy load-balancers for external (i.e. over the Internet) access. Note that we are using the Horizon DaaS product not the Horizon View product. Apart from the difference in name, I believe the UAG functions identically in both environments.

 

My final solution would be two pfSense (community edition) firewalls with the HAProxy package installed on both to provide HA and load-balancing functionality to the tenant UAGs behind them. As we onboard more tenants, I would add another pair of UAGs for each. HAProxy will selectively pick which UAG is required for the incoming connection based on SNI. For example:

  • TenantA  - external URL: daas.tenanta.com
  • TenantB - external URL: daas.tenantb.com
  • and so on....

Connections arriving at daas.tenanta.com will be directed to a UAG pair for tenantA. Connections arriving at daas.tenantb.com will be directed to a UAG pair for tenantB. And so on and so forth.

 

As this is my first attempt at building out a HAProxy solution I've decided to keep it simple and use just one pfSense/HAproxy load-balancer, one UAG and one tenant. This is what I have now:

  • Single pfSense firewall with HAProxy package installed
  • Single UAG (10.0.0.5) for tenantA
  • external URL daas.tenanta.com with public  IP address (1.1.1.1)
  • One internal-facing VIP (10.0.0.1) which acts as the gateway for the UAG
  • Firewall does 1:1 NAT from daas.tenanta.com to VIP (i.e. 1.1.1.1 -> 10.0.0.1)
  • Firewall rules allowing any -> VIP for ports 443, 8443 and 4172.
  • UAG is configured using apsetup.sh script. It configures the following settings:
    • proxyDestinationURL: https://tenant_appliance_ip
    • pcoipExternalUrl: 1.1.1.1:4172
    • blastExternalUrl: daas.tenanta.com:8443
    • tunnelExternalUrl: daas.tenanta.com:443
  • UAG gateway is the VIP (10.0.0.1)
  • HAProxy configuration:
    • One frontend for ports 443, 8443, 4172
    • Three backends for ports 443, 8443 and 4172 all with tenantA UAG as backend server
      • I've also tried one backend for just port 443 with tenantA UAG as backend server as this seems to work for Blast connections via browser
    • Frontend acl uses SNI for daas.tenanta.com to send to tenantA UAG backend

 

In this given configuration, I've observed the following:

  • Browser access to both the user portal (daas.tenanta.com) and admin portal (daas.tenanta.com/admin) work fine
  • Initiating a Blast connection to the desktop via the browser, works fine.
  • Using the Horizon Client, I can authenticate successfully but then get the "could not establish tunnel connection" error message. This is what I ultimately need to get working!

 

Some things I'm not sure about:

  • Should I be using layer 4 (tcp) or layer 7 (ssl/https) load balancing?
  • Should I have multiple backends, one for each port
  • I really want to use source IP affinity as per Load Balancing across VMware Unified Access Gateway Appliances as I think HAProxy can see the client IP address. (i.e. in the HAProxy logs I can see the client IP address.) I don't really want to go with the other two methods if I can help it.
  • Why does Blast via a browser work when I just have one backend listening on 443? When I do a netstat on my client I can see an active connection to 1.1.1.1:8443.

 

Some things I've tried:

  • Note that when I revert the solution to just a plain firewall bypassing the load-balancer, everything (browser and Horizon client) works fine. i.e. traditional port-forwarding/NAPT to the UAG with FW ACLs allowing any -> UAG:443,8443,4172.
  • I've also used a second tenant to test the SNI ACL and that seems to work fine too. i.e. I can use blast via browser to both daas.tenanta.com and daas.tenantb.com.
  • Collected debug logs on Horizon View client
  • Analysed debug logs on tenant appliance
  • Analysed UAG logs
  • In the above three log collections, I saw nothing obvious to my untrained eyes

 

I'm really at my wits end here so any help would be much appreciated!

Shutdown VM's specific lists of VM's from lists at the Cluster level and power on later after power on after performing changes on hosts

$
0
0

Hi Everyone,

    I'm looking for the Power cli script to shutdown the  specific VM's from lists at the Cluster level  and once the changes on Hosts i.e. EVC mode enabled

 

    then all the powered off VM's needs to power on back. Thanks in advance

 

 

thanks

vmk

VMware ESXI Control Panel (Automatically install VM Operating System & Traffic Monitoring)

$
0
0

AutoVM is an open source Virtual Private Server (VPS) manager based on in VMware ESXI, gives you full control and automation of hosting companies and VPS Sellers.

With AutoVM you can assign unique panel for each user to make them fulfilled all about VPS Related.

This must be noticeable as AutoVM additional tools , except Automatic Monitoring you can give your billing managements to AutoVM! So you can give more-fast services to your customers.

 

Some of the features


  • Bandwidth monitoring and manage VPS traffic usage.
  • Install easily without any changes on the ESXI servers.
  • Free modules for manage VPS on the WHMCS client area.
  • Auto Provisioning VM After Payment Successfully.
  • Auto assign IP and Network adapter once VM created.
  • Auto installation of the operating system.
  • Ability to assign the existing VM created for WHMCS users.

 

Prerequisite


the AutoVM platform is designed to be compatible with default VMware ESXI settings and does not require any changes on the network design. To launch the AutoVM platform, you can run it on the hosting control panel such as CPanel or DirectAdmin.

 

Get Started with free licence


To get and setup the system, please visit the installation article. If you have any questions, please read the FAQ section. If you do not find your answer, please contact us from Client area.

 

Screenshot_۲۰۱۸۰۲۰۴_۱۱۴۲۵۴.png

Disappearing printers

$
0
0

Hello:

I am curious if others are having this issue.  I am not entirely sure but I suspect it's an issue with Writable Volumes, because deleting and re-creating the Writable for affected users is fixing the issue.

Users connect in from clients running Windows 10 LTSB, running the Horizon Client 4.9 software.  Recently after we upgraded to AppVol 2.14.2, users are calling in regarding one or both of the locally installed printers on the clients are disappearing in the VM.  The printers in the VM are passed through by ThinPrint from the client.  I have not been able to pinpoint the issue but I think it might be AppVol doing something with the printers.

Is there anything I can check or look at, to try and pinpoint this?  I've started to look through AppVol logs.  I have seen past activity with AppVol and printers and wondering if the 2.14 version does something different as we had not had this problem until now.

Thanks in advance.

Windows 10 Start Menu

$
0
0

Just a quick background of my environment....

 

Horizon 7.6

App Vol 2.14

UEM 9.14

Windows 10 Enterprise 1803 

 

I recently upgraded to Horizon 7.6 due to compatibility issues with previous version and Win10 Ent 1803.  I now have an environment that is compatible according to VMware.  I am having the same old start menu and search issues that should be resolved.  If i have app vol installed on the image then the start menu and search functions are broken.  If I just remove App Vol and recompose the pool then it works again.  It doesn't seem to be related to a writable being attached.  I tested with and without.  I also already added the line to disablehotplug as recommended by VMware. 

 

Any other ideas? 

Vcenter Server 6 does not create logs

$
0
0

Hi for all! Please Help!

I have Vcenter Server 6.0 on the Windows platform. I recently found that does not create logs in directory C:\ProgramData\VMware\VMware VirtualCenter\Logs.

In particular, I would like to read the latest VPXD logs, but in this folder I only see very old files in this folder.

The Vcenter service starts from a domain account. I checked NTFS permissions on the \Logs folder for the user from which the service is started.  It's okay! Disk space available.

 

I opened the console and went to Home-Administration-system Log-MyVcenter, from the drop-down list I chose Vcenter Server Logs (vpxd-3122.log). I decided to look for this file on the Vcenter server, but did not find this file.

 

What needs to be done for to lags emerged in C:\ProgramData\VMware\VMware VirtualCenter\Logs?

how to clone a vm & set ipv6 use powercli?

$
0
0

how to clone a vm & set ipv6 use powercli?

I can clone a vm with POWERCLI using a Customization Specification to set IPv4 as the specified IP address? But I didn't find how to set up IPv6.


conflicts caused by vim25.jar when registering a plugin

$
0
0

I have my plugin registered to vCenter client,but I have some questions about vim25.jar.

I declare com.vmware.vim25 and com.google.gson as import-package in the MANIFEST.MF of myService.jar.

manifest.png

The two jars are alse declared In the plugin-package.xml as followed, and we put them into the /plugins directory.

        <bundlesOrder>

           <!-- List the jar bundles from the /plugins directory in loading order:

              3rd party libraries first then your java service bundles. UI war bundles

              are not needed here, they will be loaded automatically after the jars.

              Bundle Ids must match the Bundle-SymbolicName in each plugin's MANIFEST.MF

           -->

           <bundle id="com.vmware.wsvim25" />

           <bundle id="com.google.gson" />

           <bundle id="myService" />

        </bundlesOrder>

 

Even though I don't konw why the two jars are specially declared here and how they work, I just do that as my former developers did.

Then a problem has come to me. When another plugin is installed, it conflcts with mine. I found that vim25.jar in the /plugins directory is the cause.

I tried the solution in OSGi-specific recommendations. I edited the MANIFEST.MF of myService.jar as followed.

manifest-edit.png

Then I removed the jar both from the plugin-package.xml and the /plugins directory.

My plugin can be registered successfully, but when the program uses vim25.jar, some Exception comes out.

The Excetion report is attached. It seems that vim25.jar cannot be found.

Could anyone tell me how to deal with this? Thank a lot.

 

 

 

 

The sdk to check if vmotion is possible between two hosts has changed in 6.5 to checkmigrate_task. Earlier it was validatemigtration. The validation test types, passed as parameter to the SDKs has even changed in 6.5. I have observed some vmotion incompat

$
0
0

The sdk to check if vmotion is possible between two hosts has changed in 6.5 to checkmigrate_task. Earlier it was validatemigtration. The validation test types, passed as parameter to the SDKs has even changed in 6.5. I have observed some vmotion incompatible errors when validatemotion is used but for the same scenario, the checkmigrate_task sdk seems to have skipped those validations. Confirm if there are any other SDKs to check vmotion compatibility test.

Operational Summary Report - Download and Details

$
0
0

UPDATE (October 2nd, 2018)

 

ATTENTION PRODUCTION SUPPORT CUSTOMERS

 

With the release of Skyline Advisor, Production Support customers will no longer receive an Operational Summary Report (OSR). Production Support customers can view all their proactive findings and recommendations within Skyline Advisor. You will no-longer have access to the OSR download portal, nor will you be able to download OSRs from within Skyline Advisor.

 

----------

 

The Operational Summary Report (OSR) provides you with the Findings and Recommendations proactively identified by Skyline. You will receive an email notification each time a new Operational Summary Report is available for you to download.

 

Premier Services customers: You will continue to receive your Operational Summary Report (OSR) as part of your regular engagement with your Support Account Manager/Engineer. This is an additional benefit to you as part of your Premier Services contract that includes regular, interactive discussions and consultative recommendations from a dedicated VMware Technical Support Engineer. Premier Services customers will not be able to retrieve their Operational Summary Report using the link below. If you have any questions please contact your Support Account Manager/Engineer.

 

Production Support customers, download your Operational Summary Report here:

Download Your Operational Summary Report

 

Use your My VMware account to login and download your Operational Summary Report. The Operational Summary Report contains a Deployment Summary, a Recommendation Summary and the individual Findings and Recommendations discovered by Skyline.

  • The Deployment Summary provides you with a high-level inventory of all the objects associated with the corresponding vCenter Server or NSX Manager.
  • The Recommendation Summary helps you understand where your most critical potential issues exist, so that you can proactively begin resolving these potential issues before they become problems within your environment. Each Finding is given a severity level of Critical, Moderate or Trivial. For each vCenter Server and NSX Manager, a summary for
  • Each potential issue is provided to you as a Finding and Recommendation. Each Finding contains a description of the issue along with recommendation to resolve the potential issue. These recommendations could include Knowledge Base articles, best practices, white papers or some other form of official VMware documentation. Each Finding has the following properties:
    • FindingID: Each Finding has a unique FindingID that allows you search for additional details related to the Finding.
    • Date Actioned: The date the potential issue was discovered by Skyline.
    • Priority: Critical, Moderate or Trivial, based upon the potential impact the issue could have on your environment.
    • Number of Findings: The number of objects that could be impacted by the potential issue. If you have more than 1 vCenter Server and/or NSX Manager attached to the Skyline Collector, the number of objects for each vCenter Server and/or NSX Manager will be displayed.
    • Issue Description: A description of the potential issue
    • Recommendations: A Knowledge Base article, best practice, white paper or other form of official VMware documentation that provides you with additional details about the issue as well as step-by-step for how to resolve the potential issue.

 

When you are ready to begin remediating a Finding within your environment, you can use the rules.zip file to find the details for each of the objects potentially impacted by the potential issue. For example, you are reviewing a Finding within the Operational Summary Report and see that 5 objects could be impacted within the vCenter Server or NSX Manager. However, you don't know which 5 objects. Open the rules.zip file, search for the unique FindingID associated with the Finding you are reviewing, open that file and you can now see which 5 objects (ESXi hosts, virtual machines, distributed switch, datastore, etc.) are impacted by that Finding.

 

You can also use the unique FindingID if you have a question about the issue and/or recommendation within the Skyline Community. This enables the Technical Support Engineers moderating the Skyline Community to identify the particular Finding you have a question about as well as further helping you remediate the potential issue.

 

Disclaimer: The processes, methods and content utilized and/or provided for the duration of the pilot may not reflect the final implementation of proactive support with Skyline services for Production Support entitled customers. The delivery of the Findings and Recommendations through the Operational Summary Report may not reflect the final implementation of proactive support with Skyline services for Production Support entitled customers.

VM Guest HDD percentage

$
0
0

$report1 = Get-Datastore "yyyyyy" |Get-VM |

Select Name,

@{N="GuestUsageGB";E={[math]::Round(($_.Guest.Disks | %{$_.CapacityGB - $_.FreeSpaceGB} | Measure-Object -Sum | Select -ExpandProperty Sum),1)}},

@{N=“GuestCapacityGB";E={[math]::Round(($_.Guest.Disks | %{ $_.Capacity / 1GB} | Measure-Object -Sum | Select -ExpandProperty Sum),2)}},

@{N=“FreeSpaceGB";E={[math]::Round(($_.Guest.Disks | %{ $_.FreeSpace / 1GB} | Measure-Object -Sum | Select -ExpandProperty Sum),2)}},

@{N="GuestUsage(%)";E={[math]::Round(($_.Guest.Disks | %{ 100-(100*($_.FreeSpaceGB / $_.CapacityGB))} | Measure-Object -Average | Select -ExpandProperty Average),2)}},

@{N='SnapshotSizeGB';E={[math]::Round((Get-Snapshot -VM $_ | Measure-Object -Property SizeGB -sum).Sum,2)}}

 

 

$sum = $report1 | Measure-Object -sum "GuestUsageGB","GuestCapacityGB",“FreeSpaceGB"

$row = "" | Select "GuestUsageGB","GuestCapacityGB",“FreeSpaceGB"

$row."GuestUsageGB" = 'Total'

$row."GuestUsageGB" = $sum | where{$_.Property -eq "GuestUsageGB"} | select -ExpandProperty Sum

$row."GuestCapacityGB" = $sum | where{$_.Property -eq "GuestCapacityGB"} | select -ExpandProperty Sum

$row."FreeSpaceGB" = $sum | where{$_.Property -eq "FreeSpaceGB"} | select -ExpandProperty Sum

 

 

$report1 += $row

 

 

$report1 | export-csv VMHDD_REPORT_$datefile.csv -NoTypeInformation

 

I am using the above script to get Guest HDD usage but having issue at (Guestusage %) percentage, its not providing the correct values.

Does the VDP and vSphere Replication work together

$
0
0

Dear Experts,

 

           Can the vsphere replication can replicate the VM protected by the VDP?

 

         Can the VDP backup VM protected by the vSphere Replication?

 

Thanks.

Unusable metrics

$
0
0

I'm new to vROps, and I've been to ICM class and have three Kindle books, and am reasonable at Googling, but I can't find documentation on this. I have one particular property I'm trying to use in a custom view: diskspace | snapshot | snapshotAge. I see that it's included in the default snapshot view (Virtual Machines with Snapshot), and the Data is there by default in my custom view that I copied from that, but I can't select it in the list of Properties (or Metrics) when customizing my view.

 

Ultimately, I would like to be able to use diskspace | snapshot | snapshotAge as a filter for my view, but I'm taking baby steps right now, just trying to add it to my view at all.

 

I enabled all snapshot metrics and properties in my active policy, and I do see Age in "All Metrics" when I select a VM with snapshots.

 

I did try exporting and editing the xml to get it to use it as a filter, but that only raised more questions. I added a different metric as a filter, and it shows up in the gui, but not in the xml. Unless it's one of these attributes-selector things.

 

Any advice would be much appreciated.

 

Thanks!

Issue validating credentials

$
0
0

Getting the same error as it looks like most people are getting.  Is there any reason why you can't just post a solution?

 

There was an issue with validating your login credentials against our backend database.

For Premier Services entitled customers (BCS/MCS/HCS/Telco), please file a Support Request under Product "Skyline Advisor" to get assistance: https://www.vmware.com/group/vmware/get-help/

For Production entitlement support customers, please proceed to the Skyline communities for assistance: https://communities.vmware.com/community/vmtn/skyline


Error while running script in VM

$
0
0

Hi,

 

When I use "Run script in VM guest" workflow on one of my Windows server, I sometimes receive the following error:

A general system error occurred: vix error codes = (3016, 0)

I searched this error and found out it means that vmware tool is down.

When I checked the server, the vmware tool was OK and started.

I also tried to restart vmware tool service.

However, the error still occurs when running this workflow.

 

Any idea?

 

Thanks!

 

 

 

Skyline Advisor doesn't show any inventory

$
0
0

I deployed a Skyline appliance last week and got it connected to my vCenter 6.5 appliance.  The collector shows green for all statuses but Skyline advisor shows 0 VCs collected, 0 hosts, 0 VM's.  I have configured a custom role with read-only plus the 4 global permissions that VMware says are needed for Log Assist, but Log Assist also has no inventory to select.  I haven't found anything in VMware KB or on the web for similar issues.

Wrong date on VAMI interface

$
0
0

This seems like a issue, date/time is correct if I logon to the console of the appliance within vsphere but if I login to the VAMI site, and check for updates it has the day of the week wrong as well as the date.  For clarity I checked for updates this AM and applied the 2.0.0.2 update.

Not Saving Active Directory Configuration 2.0.0.2

$
0
0

1. It is awkward that the fields look prepopulated with the port number but it is actually just a suggestion.  The font is the same whether it is filled in or not filled in.  Maybe it should be a different font for the suggestion that for the completed field.

2.  After I get all of the setting in the fields and type my AD Group and click Add Group, then click Set Active Directory Configuration, I get the response Configured successfully!  Then I try to login with either just my username or domain\username or my UPN, it does not seem to work.  Then when I go back in to check my Active Directory Configuration, it is turned back to No instead of Yes.

How to create a VM using ovftool on ESXi host

$
0
0

I have an ESXi host. And I installed the ovftool in a remote linux host. I want to create VM using ova file which is located in a ftp server. I always get errors when issuing ovftool command. Could somebody please provide the correct command line?

 

Issue 1: I have download ova file to ESXI host. Error out when probing the ova file

[root@sftp ~]# ovftool https://10.245.x.x/folder/test/lnvgy_sw_lxca_64-2.4.0_vmware_x86-64.ova?dcPath=ha%252ddatacenter&dsName=ThinkAgileTestUtility                 [5] 30009

[root@sftp ~]# Enter login information for source https://10.245.32.221/folder/test/

Username: root

-bash: root: command not found

 

Issue 2:

[root@sftp ~]# ovftool -ds=ThinkAgileTestUtility --network=VM Network https://10.245.x.x/folder/test/lnvgy_sw_lxca_64-2.4.0_vmware_x86-64.ova?dcPath=ha%252ddatacenter&dsName=ThinkAgileTestUtility vi://root:password@10.245.x.x:443/

[5] 29988

-bash: vi://root@10.245.x.x:443/: No such file or directory

Viewing all 178257 articles
Browse latest View live




Latest Images