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

App Volumes not getting applied to instant clone

$
0
0

I have no idea where this is getting posted, nor even where to look to see if anybody else has had this issue.

 

My company has several ESXi hosts, etc and so forth.

I have the trial of Horizon 7 and app volumes.

 

I have created a instant-clone pool which seems to work fine.

I setup and installed App Volumes.

 

Did all the steps to create an AppStack to push out Notepadd++.   (should be simple enough)

installed it on the provisional system, completed, rebooted, etc, etc....

all seems good.

I then assign the appStack to a user.

That user then logs onto one of the instant clones......

No Notepad++.

 

I don't see any mention of it even trying to apply.

zero mention of it at C:\Program Files (x86)\CloudVolumes\Manager\log

 

any ideas one what to look at?

I tried contacting support, but becasue i am using the trial, they told me to F off.


How will the IoT change our daily lives,

$
0
0

Hi,

How will the IoT change our daily lives, what impact will it have on sustainability and what shouldn’t be connected?

answer my question, pls

Cannot Set BIOS Boot Order Using VIM25 API From C#

$
0
0

(I did find a reference to a similar post about this from 2013 but no answers AFAICT and no code https://code.vmware.com/forums/2416/vsphere-management-sdk#463881|2319617)

I am using the C# (targetting 4.5 .NET) bindings for the VIM25 API and I am trying to set the boot order.

The code snippet is:

cfgSpec.bootOptions = new VirtualMachineBootOptions();
cfgSpec.bootOptions.bootOrder = new VirtualMachineBootOptionsBootableDevice[1];
cfgSpec.bootOptions.bootOrder[0] = new VirtualMachineBootOptionsBootableCdromDevice();
tmor = Service.ReconfigVM_Task(vmRef, cfgSpec);

The ReconfigVM_Tasl fails with an error about incorrect paramter.

The VM in question does have a CD/DVD device attached on IDE 1:0 and the ISO image has been attached via another API call.

Looking for any ideas why this would be the case?

Thanks

Writable Volume : Limit the attachment of user writables to specific computers

$
0
0

Hi

 

it is possible to put several prefixes afterwards in a Writable Volume: Limit the attachment of user-written items to specific computers?

 

Exemple : admin-1; tele-1

 

Thank

Nested virtualization on Workstation 14 PRO on AMD Ryzen

$
0
0

Hello to all, I'm trying to build my own home lab for VMware solution testing, mainly to learn about the technologies and how to get arround them (install, configure, manage kind of stuff).

My setup is as follows:

CPU: AMD Ryzen 1700X, MB: Asrock X370 Taichi UEFI 4.80, 64 GB RAM, Windows 10 Pro with Workstation 14 pro installed atop of it (latest patches on both OS and workstation).

 

I am able to install a virtual ESXi host (6.5U2) on top of the setup and it runs OK. But when I create a VM on top of this virtual ESX when the VM starts and after it tries to boot, the VM crashes and just powers off. Sometimes it goes through boot OK and starts to load the iso, but then the whole virtual ESX crashes. I tried importing a VM from template to the virtual ESX, but this has the same results.

 

I tried a couple of UEFI version on the MB, different OS versions and Workstation versions, different OS iso files, but the results are still the same. I have another Intel based PC at home (old i5) and that one works OK and is able to run nested virtualization without any problem (same SW setup).

Is this some limitation of the architecture, or is nested virtualization simply not allowed on Ryzen CPUs? Any way arround it, other than selling this setup and buying a new one?

host_upgrade_patch_esxi_powercli

$
0
0

Hello Luc,

 

Good morning,

 

few days back i discussed with you regarding powercli script to upgrade esxi hosts.

below is the code  with few modification like

1:including both upgrade and patch baseline in single command .

2:assigning license key .

 

i was hoping  below code will loop on each esxi host of cluster as we are using foreach but it did not happen and stuck at following

 

 

also the upgrading host bar does not progress as we thought as per code below.

 

 

 

 

 

 

 

 

#code

 

 

$vcenter=read-host "vcenter name"

$cred=Get-Credential

 

 

$std_version=Read-Host "what version you want to upgrade to"

 

 

$std_build=read-host "what build you want to update to"

$license=read-host "specify license key"

connect-viserver -server $vcenter -Credential $cred

#$baseline_cisco= get-baseline -Name 'Cisco Custom ESXi 6.5 Upgrade'

import-module vmware.vumautomation

 

$baseline_dell=get-baseline -name "ESXi6.5Upgrade-Dell"

$baseline_dell_patch=Get-PatchBaseline -Name "ESXI 6.5 20180604001_19thAug2018"

 

#above can be different baseline also depending on the model. 

$cluster=read-host "cluster name"

set-cluster -Cluster $cluster -DrsAutomationLevel FullyAutomated

Set-Cluster -Cluster $cluster -HAAdmissionControlEnabled $false

 

$hosts_cluster=get-vmhost -location $cluster

$count=$hosts_cluster.count

$count

 

# start vmotion test is done using vmotion_test_function

 

 

 

 

 

 

 

 

 

 

 

 

foreach ($esx in $hosts_cluster)

{

$esxi=get-vmhost -name $esx

write-host "currently working on "$esxi.name -ForegroundColor Green

if ($esxi.version -ne  $std_version -and $esxi.build -ne $std_build)

 

{

 

    write-host $esxi.name  "needs to be upgraded to " $std_version "and" $std_build -BackgroundColor Yellow

 

 

 

   write-host "putting host" $esxi.name "in mainteneace mode"

 

 

 

    $maint = Set-VMHost -VMHost $esxi -State Maintenance -RunAsync

 

Do

 

  {

 

    Write-Host -NoNewline '.'

 

    sleep 1

 

    $esxi = Get-VMHost -Name $esxi.name

 

  } until ($esxi.State -eq "maintenance" -and $maint.PercentComplete -eq 100)

 

Write-Host "`rDone"

 

Write-Output "Task '$($maint.Description)/$($maint.Id)' for $($maint.Result.Name) ended with status $($maint.State)"

 

}

else

{

write-host $esxi "is on standard version and build"

}

 

 

if($esxi.Manufacturer -match "Dell Inc.")

{

 

Attach-Baseline -Entity $esxi -Baseline $baseline_dell,$baseline_dell_patch

$update_esxi=Update-Entity -Baseline $baseline_dell,$baseline_dell_patch -Entity $esxi -runasync

 

while('Running','Queued' -contains $update_esxi.State){

 

    Write-Progress -Activity 'upgrading host  ' -PercentComplete $update_esxi.PercentComplete

 

    sleep 2

 

}

Write-Output "Task '$($update_esxi.Description)/$($update_esxi.Id)' for $($update_esxi.Result.Name) ended with status $($update_esxi.State)"

 

#assigning license to upgraded host

 

 

set-vmhost -vmhost $esxi -LicenseKey $license

 

#taking host out of maintenance mode.

Set-VMHost -VMHost $esxi -State Connected

 

Start-Sleep -Seconds 240

}}

 

 

 

is it possible for you take a look one more time on above code.

How to ues esxtop to check %RDY

$
0
0

I use esxtop check CPU, but I cannot check %RDY.

1.PNG

resxtop failed

$
0
0

I have a ESXi Server.

 

Using vSphere Management Assistant connection ESXi Server failed.

1.PNG

 

But ping is OK

2.PNG

 

What should I do?


vSAN licensing

$
0
0

Hi All,

 

I have 10 ESXi hosts.Each ESXi host has 2 CPU sockets.I'm going to make a new cluster for vSAN along with these 10 ESXi hosts.

 

With respect to licensing,i need to purchase a seperate license for vSAN and  need to get seperate license for ESXi host ?

 

Please confirm.

Attached existing disk to a Vm already created

$
0
0

Hi

I didn't found how to attached a existing disk on a vm already in use with Powercli

My disk is in the datastore Vol7_Cl3 folder Vm3 and I want to attach it to the vm Vm3

 

thanks a lot

Nicolas

AppVols 2.14 error installing with embedded SQL Express

$
0
0

Just wondering if anyone else has seen this. Installing App Volumes 2.14 on Windows Server 2016 Standard in my home lab. I choose to install a local SQL Server Express Database but I get this error:

 

"Error installing SQL Express. You must install it on your own to complete the installation. Would you like to proceed?".

 

I've attached a screenshot.

 

Windows build is 14393.rs1_release.160715-1616.

.Net 3.5 is installed.

Running install using domain administrator account.

 

Thanks,

Neil.

Retain screen scaling choice in UEM

$
0
0

Hi all

 

First time poster here. We're just moving away from Persona Management to UEM and we've been able to address various issues that have cropped up, but this has me stumped.

 

We're running Win7 desktops on Horizon 7.0.2 and we have a few users who like to manually increase their viewing scale to improve legibility.

 

We disabled the "Toggle Display Settings Control" setting in the View Agent GPO a long time ago to enable users to swap between 100%, 125% and 150% scaling in Control Panel > Display. Then Persona would save their choice and scale the screen appropriately at next logon.

 

Now we've moved to UEM the setting is lost at logoff and nothing I've tried seems to work. I tried using the DPI settings in Windows Common Settings to create a config file having read others saying that worked for them, but no luck.

 

If I edit my scaling I can see the value changes for LogPixels under HKCU\Control Panel\Desktop, but I've been unable to get UEM either capture or inject that setting.

 

I would be grateful for any advice. Many thanks.

 

All the best

vSphere 6.5 Host Profile issue

$
0
0

Good morning all,

 

I am currently experiencing an issue where my Host Profile Compliance status remains 'Unknown'. My ESXi host is currently at VMware ESXi, 6.5.0, 5310538 version and I am using Google Chrome with Flash to view the vSphere Web Client.

 

I have attempted to remediate the host and have confirmed the State/Tasks is in the "Ready to remediate" state, but once it completes it remains in the 'Unknown' status.

 

 

1) Is this an issue with the current ESXi version my host is at and maybe need to apply the latest ESXi patches?

2) Do I need to edit the Host Customization's further?

3) Could it be due to the fact that I am using a cross of vSS and vDS switches (vSwitch 0 = Management, vSwitch 1 = iSCSI/vMotion, vDS = port groups). This configuration was setup to utilize a third party platform.

3) Is there something else that I'm not doing that may be causing this issue?

 

Any assistance would be greatly appreciated.

Missing Files in Datastore

$
0
0

Our vSphere somehow was using a shared volume from another server which was recently formatted to be use as NTFS.  The time I discovered it, the ESXi v4.1 host was still okay until one day when browsing the Datastore, it doesn't show the files (like the .vdhk, etc.).  Even when I do an SSH session, when I go to the folder, it's totally not showing anything.  However, VMs are still running but having issues like we are not able to update the contents inside anymore.

 

I guess because of the conflict in the SAN volume, it damaged the file system of the ESXi 4.1.

 

Is there anyway we can still recover the VMs? Salvage the virtual disk to be run on another ESXi?

 

I'm not a linux person so I'm sorry if I not able to put in all the details.  Hoping for someone can guide me.


Thanks in advance!

Error Cannot complete login due to an incorrect user name or password. when using loginUsingSAMLToken

$
0
0

Hello,

I m trying out vsphere SDK 6.0 java samples for management API .

 

run.bat com.vmware.vsphere.samples.LoginByTokenSample https://<IP of vcenter>/sts/STSService/vsphere.local administrator@vsphere.local mypassword https://<IP vcenter>sdk

 

 

but connection to vcenter failed with following error. However I am able to log in to vcenter via web client using same credentials.  Even I was able to login to VAPI endpoint that is vCloud suite endpoint service using vCloud suiteSDK 6.0 sample (TaggingWorkflow) but could not get to log in to vcenter.

Here is the ouput of LoginByTokenSample that I'm getting:

Acquiring a bearer token using the AcquireBearerTokenByUserCredentialSample sample

Token details:

        AssertionId = _faf5786a-286b-43b0-b66e-4f26d833997d

        Token type = Bearer

        Issued On = 2017-11-15T09:23:48.077Z

Bearer Token received....

Connecting to the vCenter https://X.X.X.X/sdk....

Invoking the loginUsingSAMLToken method

Exception in thread "main" com.vmware.vim25.InvalidLoginFaultMsg: Cannot complete login due to an incorrect user name or password.

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

        at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:135)

        at com.sun.xml.internal.ws.client.sei.StubHandler.readResponse(StubHandler.java:238)

        at com.sun.xml.internal.ws.db.DatabindingImpl.deserializeResponse(DatabindingImpl.java:189)

        at com.sun.xml.internal.ws.db.DatabindingImpl.deserializeResponse(DatabindingImpl.java:276)

        at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:104)

        at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:77)

        at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:147)

        at com.sun.proxy.$Proxy46.loginByToken(Unknown Source)

        at com.vmware.vsphere.samples.LoginByTokenSample.getSessionCookieUsingBearerToken(LoginByTokenSample.java:299)

        at com.vmware.vsphere.samples.LoginByTokenSample.loginUsingSAMLToken(LoginByTokenSample.java:191)

        at com.vmware.vsphere.samples.LoginByTokenSample.main(LoginByTokenSample.java:229)

Done.

 

Any help or how to debug this issue is greatly appreciated.


Get Security Tags via NSX API

$
0
0

Hello,

 

I try to get and set Security Tags via the vCD NSX API Endpoint;

 

{{vCD-URL}}/network/services/securitytags/<OrgVDC-ID>/tag

 

This Call results in a 404 Error.

 

Security Groups for example work fine with the sam OrgVDC-ID:

 

{{vCD-URL}}/network/services/securitygroup/scope/<OrgVDC-ID>

 

Any hint whats wrong here?

 

Best regards,

Markus

 

qfle3 Driver VXLAN Offload Enabled?

$
0
0

Hello,

 

we are wondering about the default Settings regarding Offloading Features of our QLogic 57810  NICs with qfle3 Driver.

 

"offload_flags         uint                  Offload flags: 1 (cso) 2(tso) 4(vxlan offload) 8(Geneve offload). Default: 15 "

 

 

esxcli system module parameters list -m qfle3
Name                  Type           Value  Description                                                                                                                                                                                      
--------------------  -------------  -----  ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
DRSS                  array of uint         Number of RSS Queues associated with default queue: 0 (Disabled), 2 (min), 4 (max). Default: Disabled                                                                                            
RSS                   array of uint         Number of RSS Queues: 0 (Auto) or 1 to 4 (fixed queue number). Default: Auto                                                                                                                     
debug_mask            uint                  Enabled debug mask (default: 0)                                                                                                                                                                  
dropless_fc           uint                  Pause on exhausted host ring. 0: Disable (Default) 1: Enable                                                                                                                                     
enable_fwdump         uint                  Enable/Disable the firmware dump file. Set to 1 to enable firmware dump, Set to 0 to disable firmware dump [Default]                                                                             
enable_lro            uint                  Enable/Disable the TPA (LRO) featureSet to 0 to disable TPA, Set to 1 to enable TPA [Default]                                                                                                    
enable_vxlan_filters  uint                  Enable/Disable the VXLAN Rx filters.Set to 0 to disable VXLAN Rx filtersSet to 1 to enable VXLAN Rx filtersDefault: 0                                                                            
fairness_threshold    uint                  When set to 1 will enable the fairness threshold; 0 by Default                                                                                                                                   
hw_vlan               uint                  Enable/Disable VLAN removal/insertion by hardware. 0: Disabled and 1: Enabled. Default: 1                                                                                                        
intr_mode             uint                   Interrupt Mode: 0 (AUTO), 1 (IRQ), 2 (MSI), and 3 (MSI-X). Default: Auto                                                                                                                        
max_vfs               array of uint         Number of VFs to be enabled for each pci function. Default:0, Valid values: 0:Disable, 1 to 64                                                                                                   
mtu                   uint                  MTU when the driver is loaded. Range: 0-9000. (default: 1500)                                                                                                                                    
offload_flags         uint                  Offload flags: 1 (cso) 2(tso) 4(vxlan offload) 8(Geneve offload). Default: 15                                                                                                                    
rx_filters            int                   Define the number of RX filters per NetQueue-1: use the default number of RX filters based on availability:0: Disable use of multiple RX filters; 1,2,3,...: Will force the number of RX filters to use for NetQueue; Default: -1
rxqueue_nr            uint                  Number of Rx Queues: 0 (Auto) or 1 to 8 (fixed queue number). Default: 4                                                                                                                         
rxring_bd_nr          uint                  Number of RX BD Buffers: 4096(min) 16384(max), will round up to nearest power of two. Default: 4096                                                                                              
txqueue_nr            uint                  Number of Tx Queues: 0 (Auto) or 1 to 8 (fixed queue number). Default: 4                                                                                                                         
txring_bd_nr          uint                  Number of TX BD Buffers: 4096(min) 16384(max), will round up to nearest power of two. Default: 4096               

 

What means the default 15?

 

Best regards,

Markus

Horizon View 7.4 - delayed audio with inbound PSTN calls to Skype for Business

$
0
0

Hi there,

Does anybody have any experience of the Virtualization Pack for Skype for Business? We are just moving to View 7.4.0 and have the desktops running in Optimised Mode with SfB, it all looks good apart from inbound calls from PSTNs fail about 50% of the time (which is obviously a rather big issue!).

- Only impacts PSTN calls, Skype to Skype calls are fine

- Outbound calls to PSTN are fine

- Conference calls including PSTN are fine

- Everything was working fine on our old 6.x Horizon View with the old Microsoft Lync VDI PlugIn

When the inbound PSTN call fails, you will see the toast notification come through which you click to answer. The window then pops up, immediately says you are on Hold and then disconnects the call. As mentioned above, this happens around 50% of the time.

We believe the audio on the Skype side is taking too long to start, evidenced by when calls come through our contact centre (Anywhere365) there is a long, noticeable, delay before skype’s audio starts. As A365 treats every call as a conference this is why the call isn’t dropped, like it is when it is a direct call to an individual.

Has anybody else experienced this? Anything we’ve found on the web suggests to upgrade to 7.4, which isn’t much use! Also have a ticket open with vmware but nothing has come back so far.

View 7.4.0

Agent 7.4.0

Client 4.7.0

SfB 2015 Server CU5

SfB 2015 Client 15.0.5059

Can I extend an evaluation license

$
0
0

I have installed ESXi 6.0 with an evaluation license.However I cannot power on the virtual machines since the licenses have expired.

Is there a way I can extend the license so that I can finish the testing for a POC.

fail to setup vCenter

$
0
0

There is error "Failed to write hostname and hostnametype to registry" when I try to setup a VCSA on my server. I tried a few times(on vmware workstation, on ESXI, and from windows) but everytime I met the same problem. The version is 6.7d.

Viewing all 181132 articles
Browse latest View live


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