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

Issue in upgrading VCSA 6.7 -> 7.0 (Failed Step 2 Install - A problem occurred while - Starting VMware Security Token Service...)

$
0
0

Hello,

 

We are currently seeing the following error when upgrading to VCSA 7.0 from 6.7, this error occurs durning step 2 of the new VCSA.

 

Error

Encountered an internal error. Traceback (most recent call last): File "/usr/lib/vmidentity/firstboot/vmidentity-firstboot.py", line 1752, in main vmidentityFB.boot() File "/usr/lib/vmidentity/firstboot/vmidentity-firstboot.py", line 367, in boot self.registerTokenServiceWithLookupService() File "/usr/lib/vmidentity/firstboot/vmidentity-firstboot.py", line 654, in registerTokenServiceWithLookupService raise e File "/usr/lib/vmidentity/firstboot/vmidentity-firstboot.py", line 650, in registerTokenServiceWithLookupService dynVars=dynVars) File "/usr/lib/vmware-cm/bin/cloudvmcisreg.py", line 710, in cloudvm_sso_cm_register serviceId = do_lsauthz_operation(cisreg_opts_dict) File "/usr/lib/vmware/site-packages/cis/cisreglib.py", line 1058, in do_lsauthz_operation ls_obj = LookupServiceClient(ls_url, retry_count=60) File "/usr/lib/vmware/site-packages/cis/cisreglib.py", line 314, in __init__ self._init_service_content() File "/usr/lib/vmware/site-packages/cis/cisreglib.py", line 294, in do_retry return req_method(self, *args, **kargs) File "/usr/lib/vmware/site-packages/cis/cisreglib.py", line 304, in _init_service_content self.service_content = si.RetrieveServiceContent() File "/usr/lib/vmware/site-packages/pyVmomi/VmomiSupport.py", line 556, in <lambda> self.f(*(self.args + (obj,) + args), **kwargs) File "/usr/lib/vmware/site-packages/pyVmomi/VmomiSupport.py", line 368, in _InvokeMethod return self._stub.InvokeMethod(self, info, args) File "/usr/lib/vmware/site-packages/pyVmomi/SoapAdapter.py", line 1448, in InvokeMethod conn.request('POST', self.path, req, headers) File "/usr/lib/python3.7/http/client.py", line 1252, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1298, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1247, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/vmware/site-packages/pyVmomi/SoapAdapter.py", line 1085, in connect six.moves.http_client.HTTPSConnection.connect(self) File "/usr/lib/python3.7/http/client.py", line 1414, in connect super().connect() File "/usr/lib/python3.7/http/client.py", line 938, in connect (self.host,self.port), self.timeout, self.source_address) File "/usr/lib/python3.7/socket.py", line 727, in create_connection raise err File "/usr/lib/python3.7/socket.py", line 716, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused

 

Resolution

This is an unrecoverable error, please retry install. If you encounter this error again, please search for these symptoms in the VMware Knowledge Base for any known issues and possible resolutions. If none can be found, collect a support bundle and open a support request.

 

We are currently unsure why this error is occurring. This error appears as the Security Token Service (STS) is starting up during the install.


Variety of GPS setiings for devices

$
0
0

Hello everyone wgo is reading this,

 

i'm new to the community and have a question for a customer of ours.

 

we support them with Android handheld terminals from Zebra (TC70 and TC57 mostly) an currently have the GPS turned off on all devices.

the customer made a request to have the GPS on with the least amount of battery loss as possible, which is easy doable.

 

the only questions that came to mind when i was looking into the variety of settings to chose is "what do they all mean specifically?"

 

location service configuration options:

- allow no location acces (would think this is pretty self explanatory)

- Set GPS location only (meaning only through GPS and no use of network location?)

- Set battery saving location updates only (meaning it will periodically turn on GPS to send location information?)

- Set high accuracy location only (meaning through GPS and network?)

 

 

i hope someone can help me answer these questions. i couldn't find any documents on the explanation, only the existence of those setting options.

vCenter Appliance 6.7 to 7 Upgrade Error: Migration Assistant is not running on Update Manager host machine

$
0
0

Hello there,

 

Whilst attempting to upgrade a vCenter 6.7U3 Appliance (6.7.0.45000, Build number 16708996) to VCSA7 (7.0.0d Build 16749653), two attempts have been unsuccessful, with below error at Upgrade Stage 2 where the VCSA7 appliance has been successfully deployed and migration of configs is to happen next.

 

Error: Migration Assistant is not running on Update Manager host machine HOSTNAME_FQDN

Resolution

Update Manager installed on HOSTNAME_FQDN will be upgraded as part of the vCenter Server upgrade process and will be migrated on the new vCenter Server Appliance. Run Migration Assistant on Update Manager host machine HOSTNAME_FQDN, and keep the Migration Assistant window open until the (vCenter Server) migration process completes

 

Warning: vCenter External Extensions

Description

This vCenter Server has extensions registered that cannot be upgraded to or may not work with the new vCenter Server. Extensions: Virtual Storage Console (by NetApp, Inc.) on https://IP_ADDRESS:8143/vSphereExtensionDescriptor.xml, Virtual Storage Console (by NetApp, Inc.) on https://IP_ADDRESS:8143/webclient_deployment_bundle,

 

Resolution

Please ensure extensions are compatible with the new vCenter Server and re-register extensions with the new vCenter Server after upgrade. Please refer to the vSphere documentation on extensions, and the upgrade and interoperability guides.

 

Upon checking the vCenter Server UI, did note that Update Manager shows “An unexpected error has occurred" and have been unable to resolve this even after deploying a new VCSA6.7U3 and importing a backup. Update Manager Service however is started and restarting the service or appliance has no impact on the error.

 

After the VCSA Upgrade fails, it leaves the VCSA Management Interface showing “Update installation in progress”, and have to overcome it via the steps in https://kb.vmware.com/s/article/67179

 

Any suggestions or guidance? Have a Support SR open since last week but responses are too slow and suggested responses haven't helped yet.

Boxer email app configartion

$
0
0

Hi All,

 

Is there some way to configure Boxer app to use VPN (VMwareTunnel) and connect to email server directly via VPN not using EAS. When I try to assign Boxer app to some devices it's asking to configure email settings and there is a field which asks for EAS server and it's must have field. So that mean Boxer can only be use via EAS server?

 

 

 

installing vib files

$
0
0

Hi,

 

There is requirement to install DELL RecoverPoint splitter on all the esxi hosts in my environment to provide DR capabilities for the VM's running on these hosts.

 

This splitter comes as vib file.

 

Please let me know how to install this vib file on all the hosts using vRO workflow.

Smartcard on Linux clients: firefox does not start

$
0
0

Hello,

 

I cannot start thunderbird, firefox every morning, when I start my work day.The problem is smartcard related and only occurs on a Linux client.

I have this behaviour usually when I go home in the evening and reconnect to a locked session in the morning

 

What happens:

 

Firefox and thunderbird do not start anymore, "sudo -s" or "pkcs11-tool -L"  command hangs.

 

The VM, on which this happens, is a RedHat 7.8 with the necessary smartcard fixes see [1], otherwise SCard does not work at all.

 

What needs to be done, for working SCard, is explained here:

 

[1] https://communities.vmware.com/thread/613996

 

But SCard,firefox,thunderbird,... works fine, when connected to the VM from Windows clients!

 

My VM runs: RHEL 7.8 with Horizon 7.9 or 7.10 ,windows clients works, no problem.

 

What happens on the Linux Thinclient?

 

pcscd is complaining:

 

pcscdaemoni.c 137 SVServicerunLoop : Problem during the context thread creation

winscard_svc.184 CreateContextThread Too many contex running 200

pcscdaeon.c 137:SVServicerunLoop Problem during the context thread creation

 

When I look a the source:

 

listSize = list_size(&contextsList);

if (listSize >= contextMaxThreadCounter)

{

        Log2(PCSC_LOG_CRITICAL, "Too many context running: %d", listSize);

        goto out;

}

 

So, after some time (evening to morning), something is using all context threads and this is the reason why firefox,thunderbird, pkcs11-tool -L ,etc.. hangs.

Rebooting the Thinclient works, and moving the session to another hosts works too to let firefox,thunbird etc. run.

Up to now, I cannot reproduce the bug, I must wait for it, for ~12 hours.

Native (Internal) Apps failing to install (Windows) -> "Failed to sanitize cache"

$
0
0

Hi,

 

We're trying to deploy several internal apps (MSI based installers) but they fail instantly - looking at the registry key under "Queue" (HKLM\Software\AirWatchMDM\AppDeploymentAgent\S-1-5-18):

LastErrorHRESULT = Failed to sanitize the cache directory

 

I've tried deleting the cache directory altogether (%programdata%\AirWatchMDM\AppDeploymentCache) - the directory gets recreated and the directory with the app's uniwue code gets created but it remains empty.

 

Searching Google and this forum comes up with nothing - the most we have is the "Cheat Sheet" that confirms the error code, but no remedy for the issue.

Does anyone have any tips for this issue?

 

Thanks,

Shane

[vRA 8.2] - vRealize Suite Lifecycle Manager : An unexpected error occurred.

$
0
0

Hello,

 

on vRLCM 8.2 when we try to access at "LifeCycle Operations"

 

 

 

we get this error :

 

 

Do you have an idea please ?

 

All others services work : locker, Contant management, etc.....


Multiple monitors not working with vmware workstation player 16

$
0
0

Hi,

 

with latest vmware workstation player 15 version I could create ubuntu 20.04 VM, install open-vm-tools-deskop and use multiple monitors of my host.

 

With player 16 that is not possible anymore. Nothing happens if I select another option, the VM remains running on just one display. Within the VM, I can also see only 1 display.

 

This is reproducible with latest vmware workstation player 16, Windows 10 1809 and Ubuntu 20.04 as guest.

Log Insight content pack for Horizon Blast protocol?

$
0
0

I was amused to see there is no Blast support in the current Horizon Content Pack for vRealize Log Insight. Only PCoIP dashboards?

 

And I suppose there gonna be no such pack anymore?

Vcenter Failure

$
0
0

Hello

 

 

I have a question on old Vmware 4.1 - hope someone can assist

 

 

The setup consits of some hosts esxi 4.1  which were connected to vcenter 4.1 and using Datastores and VDS configured at Vcenter Level.

 

 

Now the Vcenter Server (Windows 2008 R2) has corrupted and beyond repair. All the VMs are working fine accessing the Datastores and VDS which was configured with Vcenter.

 

 

We need to build a new Vcenter. Unfortunately, there is no backup.

 

 

My Questions

1. How Do I deregister the ESxi and join to New Vcenter

2. IF the ESXi joins to new Vcenter will it still see the Datastores and VDS ? if not then what option do I have to retain the Datastore and VDS configuration

 

 

Thank You

Host usage report

$
0
0

Hi All,

 

I'm trying to generate the report for ESXi Host, CPU and Memory usage and send over mail after exporting into csv, but it fails with an error. Looking for help to fix the error.

 

PS D:\scripts> .\Host-report.ps1

At D:\scripts\Host-report.ps1:16 char:55

+     foreach ($cluster in Get-Cluster -Server $vcenter) }

+                                                       ~

Missing statement body in foreach loop.

At D:\scripts\Host-report.ps1:42 char:5

+     }

+     ~

Unexpected token '}' in expression or statement.

At D:\scripts\Host-report.ps1:46 char:1

+ }

+ ~

Unexpected token '}' in expression or statement.

    + CategoryInfo          : ParserError: (:) [], ParseException

    + FullyQualifiedErrorId : MissingForeachStatement

 

 

 

$userbane = "admin"

$encrypted = Get-Content D:\Scripts\scriptsencrypted_paswd_admin.txt | ConvertTo-SecureString

 

 

$Cred = New-Object System.Management.Automation.PsCredential($userbane, $encrypted)

 

 

 

 

$vCenters = (Get-Content "C:\Temp\VC.txt")

 

 

 

 

foreach ($vcenter in $vcenters) {

 

 

    Connect-VIServer $vcenter -Credential $Cred

 

 

 

 

    foreach ($cluster in (Get-Cluster -Server $vcenter)){

 

 

$report += Get-VMHost  |

 

 

Select Name,

 

 

    @{N='CPU GHz Capacity';E={[math]::Round($_.CpuTotalMhz/1000,2)}},

 

 

    @{N='CPU GHz Used';E={[math]::Round($_.CpuUsageMhz/1000,2)}},

 

 

    @{N='CPU GHz Free';E={[math]::Round(($_.CpuTotalMhz - $_.CpuUsageMhz)/1000,2)}},

 

 

    @{N='Memory Capacity GB';E={[math]::Round($_.MemoryTotalGB,2)}},

 

 

    @{N='Memory Used GB';E={[math]::Round($_.MemoryUsageGB,2)}},

 

 

    @{N='Memory Free GB';E={[math]::Round(($_.MemoryTotalGB - $_.MemoryUsageGB),2)}}

 

 

    @{N='datastore Capacity GB';E={[math]::Round($_.StorageUsageGB,2)}},

 

 

    @{N='datastore Used GB';E={[math]::Round($_.StorageUsageGB,2)}},

 

 

    @{N='datastore Free GB';E={[math]::Round(($_.StorageUsageGB - $_.MemoryUsageGB),2)}}

 

 

 

 

    }

 

 

    Disconnect-VIServer -Server $vcenter -Confirm:$false

 

 

}

 

 

$report | Export-Csv -path c:\Temp\HostReport.csv -NoTypeInformation -UseCulture

 

 

$sMail = @{

 

 

    From                       = 'domain.com'

 

 

    To                         = 'domain.com'

 

 

    Subject                    = 'Remote Site Host Report'

 

 

    Body                       = "Report. Sending now."

 

 

    Attachments                = 'C:\Temp\HostReport.csv'

 

 

    Priority                   = 'High'

 

 

    DeliveryNotificationOption = 'OnSuccess', 'OnFailure'

 

 

    SmtpServer                 = 'smtp.domain.com'

 

 

}

 

 

Send-MailMessage @sMail

 

 

 

Thanks

V

License assigning issue after upgrade vCenter to version 7

$
0
0

Hi everyone,

I just upgraded our vCenter server from version 6.5 to version 7 update 1. The problem is after upgrading I can not assign my old vCenter license to new server. Also I have the same issue with vSAN licenses. I attached a picture of my License page to this message. As you can see in the attached file the first row is the Evaluation license for vCenter server and below that you can see vSAN licenses that are unassigned.

 

thanks so much for your help and support.

Kiumars

VCSA 7 backup via SCP

$
0
0

Hi Community,

 

I previously used SCP to backup my 6.5 VCSA to a Linux server. Looking at the documentation for v7 SCP is not mentioned any more. Has anyone come across this in their upgrades? Does it still work?

 

TIA,

David

vRA 8.2 - Custom role and cloud templates

$
0
0

Hello,

 

I discovered the new feature "custom role" and it's great ! That's exactly what I need but I have an issue and I would like to know if I use it correctly.

 

I created a custom role names "Deployer" which allows :

- View deployments

- Deploy Cloud Templates

I want this role to be able to deploy cloud templates (blueprints) and see the status of deployments.

 

When I login with a user with this role, I only see deployments and cloud templates, that's great.

My issue is : In the "design" table, where the cloud templates are located, I can also "create" a cloud template ! And I don't want to role to be able to do this. Only admin will be able to create new cloud templates.

Is it a "bug" or I'm not using it correctly ?

 

Thank you in advance.

 

Best regards.


USB video Capture in VM possible??

$
0
0

I just bought video capture VHS to USB dongle to record tapes to digital format, however i'm a Mac user

 

When i connect the usb device to Mac, System Profiler lists it, but there is silence from VMware Fusion (Windows 10)

 

Not even a dialog "What do you want to do with this" ?  as its the first tmei am connecting.

 

Looking under USB in VM config doesn't see it either, so i'm assuming that is the first hurdle to overcome.. I'm changed from USB3.1 to USB2.0 as the device is USB 2.0 only., so i figured that could of been why, but nope.

 

Any reason why Fusion isn't 'seeing' it ? When i plug in my HFS+ external USB HD, of course Windows can't connect to it, but it still appears under VM USB settings.

PowerCLi script to Upload files into datastores for multiple hosts in parallel

$
0
0

Hello Friends,

 

Recently i've got a scenario where i have to upload the files into multiple hosts in their local datastores around 2000+ boxes. I'm trying below scripts to upload the files to selected 50 hosts in parallel. but somehow script is not running as per our expectation. Any help would be highly appreciated here.

 

Script object: master script should initiate both file upload scripts in parallel for multiple hosts at a time.

 

Master script:

===========

$hosts= Get-Content "C:\HostList.txt"

 

 

foreach ($esx in $hosts) {

 

Write-Host "Running File upload1 script on host: $esx ..."  -ForegroundColor Yellow

#.\Test_FileUpload.ps1 -HostName $esx -User "XXXX"  -Pswd "XXXX"  

Write-Host "Running File upload2 script on host: $esx ..."  -ForegroundColor Yellow

#.\Test_FileUpload2.ps1 -HostName $esx -User "XXX"  -Pswd "XXXX"

}

 

script2:Test_FileUpload.ps1

===========

Param(

[string]$HostName,

[string]$User,

[string]$Pswd

)

 

$fileName = "C:\Users\New folder\DELL-T330\ESXi670-202008001.zip"

#$tgtFolder = 'ISO'

$StartTime = Get-Date

 

 

Write-Host "************************************************" -ForegroundColor Cyan

Write-Host "Please wait while connecting the host: $HostName " -ForegroundColor Yellow

Write-Host "************************************************" -ForegroundColor Cyan

 

 

Connect-VIServer -Server $HostName -user $User -Password $Pswd

Write-Host "connected to the server: $HostName" -ForegroundColor Green

 

 

$datastores = Get-VMHost $HostName | Get-Datastore | where{$_.name -like "datastore*"}

 

 

    foreach($ds in $datastores){

   

    New-PSDrive -Location $ds -Name DS -PSProvider VimDatastore -Root "\" > $null

    Write-Host "New ISO folder has been created under DS: $ds " -ForegroundColor Green

     New-Item -Path DS:\ISO -ItemType Directory

    

     $tgtFolder ='ISO'

     New-PSDrive -Location $ds -Name DS1 -PSProvider VimDatastore -Root "\" > $null

  

    if(!(Test-Path -Path "DS1:/$($tgtFolder)")){

        New-Item -ItemType Directory -Path "DS1:/$($tgtFolder)" > $null

    }

    Write-Host "DS copy is in-progres.. Pls wait" -ForegroundColor Yellow

    Copy-DatastoreItem -Item $fileName -Destination "DS1:/$($tgtFolder)"

   

    Remove-PSDrive -Name DS -Confirm:$false

    Remove-PSDrive -Name DS1 -Confirm:$false

}

 

Write-Host " DS copy task has completed for host: $fileName" -ForegroundColor Green

 

$EndTime = Get-Date

$TotalTime = New-TimeSpan –Start $StartTime –End $EndTime #| select -expandproperty Seconds

Write-Host "************************************************" -ForegroundColor Cyan

Write-Host "Total time taken to complete the ISO copy: $TotalTime " -ForegroundColor Green

Write-Host "************************************************" -ForegroundColor Cyan

 

 

script3:Test_FileUpload2

==========

Param(

[string]$HostName,

[string]$User,

[string]$Pswd

)

 

$fileName = "C:\Users\New folder\DELL-T330\VMware-VMvisor-Installer-6.7.0.update03-16316930.x86_64-DellEMC_Customized-A06.zip"

#$tgtFolder = 'ISO'

$StartTime = Get-Date

 

 

Write-Host "************************************************" -ForegroundColor Cyan

Write-Host "Please wait while connecting the host: $HostName " -ForegroundColor Yellow

Write-Host "************************************************" -ForegroundColor Cyan

 

 

Connect-VIServer -Server $HostName -user $User -Password $Pswd

Write-Host "connected to the server: $HostName" -ForegroundColor Green

 

 

$datastores = Get-VMHost $HostName | Get-Datastore | where{$_.name -like "datastore*"}

 

 

    foreach($ds in $datastores){

   

    New-PSDrive -Location $ds -Name DS -PSProvider VimDatastore -Root "\" > $null

    Write-Host "New ISO folder has been created under DS: $ds " -ForegroundColor Green

     New-Item -Path DS:\ISO -ItemType Directory

    

     $tgtFolder ='ISO'

     New-PSDrive -Location $ds -Name DS1 -PSProvider VimDatastore -Root "\" > $null

  

    if(!(Test-Path -Path "DS1:/$($tgtFolder)")){

        New-Item -ItemType Directory -Path "DS1:/$($tgtFolder)" > $null

    }

    Write-Host "DS copy is in-progres.. Pls wait" -ForegroundColor Yellow

    Copy-DatastoreItem -Item $fileName -Destination "DS1:/$($tgtFolder)"

   

    Remove-PSDrive -Name DS -Confirm:$false

    Remove-PSDrive -Name DS1 -Confirm:$false

}

 

Write-Host " DS copy task has completed for host: $fileName" -ForegroundColor Green

 

$EndTime = Get-Date

$TotalTime = New-TimeSpan –Start $StartTime –End $EndTime #| select -expandproperty Seconds

Write-Host "************************************************" -ForegroundColor Cyan

Write-Host "Total time taken to complete the ISO copy: $TotalTime " -ForegroundColor Green

Write-Host "************************************************" -ForegroundColor Cyan

 

 

Regards,

Swamy Naveen

VMware-view URLs

$
0
0

Hi All, Could someone help out with this one? I'm trying to use the following URL Post vmware-view://view.mycompany.com/Primary%20Desktop?action=start-session That will Start the vConsole for a giving Machine, the issue that i'm seeing is that I'm in the vDeskpool Entitlement but I'm getting the following "You are not entitle to that desktop or Application" If I click Ok and Select the vDesk Pool  within the VMware Horizon Client I'm able to then Sign into that desktop

Configuring NetApp Share through Content Gateway

$
0
0

I dunno if I am at the right place here to ask this question but since I struggle for some time to get it done I am trying my luck. We have a Workspace ONE deployment (at VMware´s Cloud) and have a NetApp Storage on premise. Now we want to access the NetApp Storage with the mobile devices through the ' Content Locker'  App. I am facing problems with configuring the repository in the Workspace ONE console. The link, how should the syntax for the link look like so that Workspace ONE server can access the repository?


We have a two UAG´s in place, one in the dmz and one in the same subnet as the storage.

SSDP blocker

$
0
0

Hi
I have a very wired problem with my VM.
I'm using WMware Workstation 15 Pro on Windows 10 and created an VM which is running a Debian Linux (Raspbian Desktop) which has setup a network bridge.
On the VM I'm scanning the network for SSDP requests but I'm not able to receive all SSDP packages for some reason.
I then startet to play with the network configuration of VMWare. If my host is connected by WiFi and I set the bridge setting to automatic or select the WiFi interface, I don't receive all SSDP packages within the VM. But on the host itself I receive all SSDP packages from the network.
If I then connect the host to the same network by ethernet cable and then set the bridge to the ethernet interface everything works fine. I receive all SSDP packages on the host as well as in the VM.
To me this makes no sense that it doesn't also work with the WiFi interface.
I converted the VM into a ovf to run it with virtual box and there everything worked with the WiFi interface.
Is this maybe a bug of VMWare?

 

Thanks for your help.

 

Kevin

Viewing all 176760 articles
Browse latest View live


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