Quantcast
Channel: VMware Communities: Message List
Viewing all 251640 articles
Browse latest View live

New to horizon

$
0
0

Good day experts!

 

I have a question regarding how the user profiles are being presented to the user. We currently use XenApp and one issue we are having is that when a user logs in the Roaming Profiles are, for an unknow reason, are (sometimes) recreated with an iteration number instead that the system see that there's one existing and load that one. We don't know what's causing this but obviously it re-create a default set of parameters for all applications.

 

So my question is, does Horizon use the same time of Roaming profiles or is it, somehow, encapsulated in something else. So, would that issue be likely resolved with VMware VDI solution (because I doubth that Citrix XenDesktop use again Romaing PRofiles)

 

 

Thank you very much


Re: Upgrade Windows from disc image in existing VM?

$
0
0

You cannot directly upgrade from 32-bit Windows to 64-bit Windows.  I'm not sure if you can directly upgrade from WinXP to Win10, but I'm positive about the 32-to-64 bit process.

Re: 8.5 Keeps crashing

$
0
0

Yup, same issue here with El Cap and Windows 10 Enterprise.  Seems to happen more often when hovering over items that pop up dialogs or other information, but the crashes don't seem to have a pattern (so far). 

Re: Recommended Additions for Windows Settings

$
0
0

Updated the above post with settings for Windows Explorer.

Re: cannot disconnect cluster from transport zone

$
0
0

hi

 

ok I have created 3 portgroups - web/app/db

 

I have a vm on each portgroup

 

web - 192.168.10.10

app - 192.168.20.10

db - 192.168.30.10

 

on my physical network, if I have an identical vlan 192.168.10.x or 20.x or 30.x, how would my machines on the physical network access these vxlan servers and vice versa?

remove certain folders from datastore over 7 days old

$
0
0

I have a NFS datastore that has VM clones for backup purposes. These VM clones are not in the vCenter inventory. I would like to schedule something that only keeps 7 days worth of clones per VM. Also in this datastore the VM clones are named VMName_Backup_20160830221500, where the last element seems to have been generated using "Get-Date -Format yyyyMMddHHmmss"

 

I've put together the following, which can produce the list of datastore folders which should be deleted, but I am struggling remove the folders. Below "Remove-Folder $folder -DeletePermanently" is generating "Remove-Folder : Cannot bind parameter 'Folder'. Cannot convert the "VMware.Vim.HostDatastoreBrowserSearchResults" value of type "VMware.Vim.HostDatastoreBrowserSearchResults" to type

"VMware.VimAutomation.ViCore.Types.V1.Inventory.Folder"."

 

Is there a more elegant way to do this?

I tried this by extracting the clone date from the folder name etc.

 

 

$strDatastore = "Host0002_NFS_VMBack"

$CurrentDate = Get-Date -Format yyyyMMddHHmmss

 

If (-not (Get-PSSnapin VMware.VimAutomation.Core -ErrorAction SilentlyContinue))

    { Try { Add-PSSnapin VMware.VimAutomation.Core -ErrorAction Stop }

    Catch { Write-Host "Unable to load PowerCLI, is it installed?" -ForegroundColor Red; Break }

    }

Connect-VIServer -Server localhost

 

$ds = Get-Datastore -Name $strDatastore | % {Get-View $_.Id}

$fileQueryFlags = New-Object VMware.Vim.FileQueryFlags

$fileQueryFlags.FileSize = $true

$fileQueryFlags.FileType = $true

$fileQueryFlags.Modification = $true

$searchSpec = New-Object VMware.Vim.HostDatastoreBrowserSearchSpec

$searchSpec.details = $fileQueryFlags

$searchSpec.matchPattern = "*.vmdk"

$searchSpec.sortFoldersFirst = $true

$dsBrowser = Get-View $ds.browser

$rootPath = "[" + $ds.Name + "]"

$searchResult = $dsBrowser.SearchDatastoreSubFolders($rootPath, $searchSpec)

 

foreach ($folder in $searchResult)

{

    $folpath = $folder.FolderPath

    Write-Output $folpath

 

    $CloneDate = $folpath.substring($folpath.length - 11, 2) + "/" + $folpath.substring($folpath.length - 9, 2) + "/" + $folpath.substring($folpath.length - 15, 4)

    [datetime]$CloneDateTime = $CloneDate

    $DateDiff = (get-date).adddays(-7)

 

    if ($DateDiff -gt $CloneDateTime)

        {

            Remove-Folder $folder -DeletePermanently

        } else {

            Write-Output "To be retained as not over 7 days old!"

        }

}

 

Disconnect-VIServer -Confirm:$False

Remove-PSSnapin VMware.VimAutomation.Core

Re: Vital QIP integration with vRA 6.2

$
0
0

In our environment we use the ssh plugin and just run the cli.  Not very elegant but it works and for some reason our dns team does not want to support the api.  They say its buggy in whatever version we are running but I can neither confirm nor deny that statement.

Re: Espaço em disco - VDP

$
0
0

Qual a versão do seu VDP? Depois de ter deletado os backup antigos, quanto tempo se passou até você ver o status de armazenamento novamente? Alguma rotina de manutenção foi executada entre a deleção e a verificação? Considere parar os jobs de backup por 1 dia e aumente a janela de manutenção.


Re: Desktop Icon Size in Windows 10

$
0
0

yet again, you come through with the solution!  Thanks man!

Re: remove certain folders from datastore over 7 days old

$
0
0

The Remove-Folder cmdlet is for removing folders in the vSphere client. It is not for removing datastore folders. You can try to use the PowerCLI datastore provider to remove datastore folders. For example, you can use the following code to list the folders of a datastores.

 

$Datastore = Get-Datastore –Name Host0002_NFS_VMBack

New-PSDrive -Location $Datastore -Name ds -PSProvider VimDatastore -Root "\"

Set-Location ds:

Get-ChildItem

Re: VMware HTML Console SDK

$
0
0

Not sure if you're still experiencing issues, but I've recently embarked upon the HTML5 console journey and happened across this thread. From your first image, it looks like you're using the wrong type of ticket in the URL, but then in your second image, it looks like you have the correct ticket, but you should try including the port with the host, like:

 

wss://srv-sdesx2.onbase.net:443/ticket/{ticket_string}

 

Actually, the AcquireTicket page should tell you what port to use.

 

 

The problem I'm having with all of this is that the wmks approach only seems to work with ESXhost IPs, and I am trying to expose the console to external parties, so ESXhost IPs are pointless. I investigated another method, whereby I emulate the URL that vSphere Web Client generates for the built-in web console, which are in the format:

 

https://{host}:9443/vsphere-client/webconsole.html?vmId={vm_moId}&vmName={vm_name}&serverGuid={server_guid}&locale=en_US&host={host}:443&sessionTicket={AcquireCloneTicket_output}&thumbprint={ssl_thumbprint_from_sessionTicket}

 

However, as of vSphere 6.0, it seems that the Single Sign On (SSO) page is forced in between, so while I am able to craft the URL perfectly, once you click on the link the SSO page jumps in front and you must login to get to the web console.

 

If anyone knows of another approach, I'd be much appreciated.

Re: Virtual SAN Preferred and Recovery

$
0
0

Good afternoon, good question.  I would mix them so that there are equal resources at each site.  The idea for stretched vSAN is not necessarily for failover, like DR.  A VM should be able to run at either site, in the event of a site failure, the VMs at the failed site could then be powered on in the one that is working.  Thank you, Zach.

Error adding host to vCenter - AdapterServer Not Initialized

$
0
0

After purchasing vSphere Essentials I was able to add one of my ESXi boxes as a host to vCenter, however when adding the second it fails with the oh so specific "general system error".  In the hostd.log on the offending ESXi box it gives the error "AdapterServer caught exception: Not initialized".  I am unable to find any reference to that specific AdapterServer exception anywhere.

 

Has anyone experienced this error or perhaps be able to offer some guidance?

 

I've attached the relevant part of the hostd log file.

 

Thanks,

Keith

Re: Virtual SAN Preferred and Recovery

$
0
0

Well I would say that it depends on your business requirement vSohill

 

If you are going to use the secondary site as DR only (which will be just used just for couple of hours that too during primary site failure) then it will be a good idea to put high performance servers on the primary site so that they can add value to your workloads in terms of performance.


According to me, the ideal use case of VSAN stretched cluster is to utilize both the sites as active-active (production VMs running on both the site) and making sure that VMs run on the any of the site during the other site failure. That's why VMware recommends configuring the admission control policy to 50 percent for both memory and CPU for VSAN Stretched Cluster so that all the VMs can run on a single site at the the time of any one site failure.


Hope this helps.

You may also want to have a look at VMware Virtual SANTM 6.2 Stretched Cluster & 2 Node Guide

 

Cheers!

- Shivam

How to use PowerCLi to view VM NTP configuration?

$
0
0

We have clients that are configing both VMtools and Windows NTP time agents which causes some problems.

 

Is there any way to use PowerCLi to query vCenter and list the VMs NTP configuration or just display the current VM's configuration?

 

If so, can it also be used to reset the VM NTP config to off?

 

Cheers!


Disk Utilization Report for Multiple Drive

$
0
0

Hello ,

 

Can any body help me with the solution to get the Disk Utilization  Report for Multiple Drive. Means if i want to get utilization of C: Drive and D: Separately.

 

 

Thanks

Re: Workstation 12.5.0 crash 0xC0000374 (heap corruption) in VMX

$
0
0

It is impossible to work with version 12.5. In my company we have returned to the version 12.1

vROPs Custom Policy on Custom Groups not working

$
0
0

Hi,

 

This is what I'm trying to accomplish.  I need to create a custom policy and modify the "Usage Capacity" numbers and then apply the custom policy to a custom group.

 

What I've done:

 

1  - Created a custom group with the Compute Resource and Host Systems of my production DRS cluster and hosts.

2 -  Created a custom policy, based of the vSphere Solution's Default Policy, with the "Usage Capacity" settings as I want

3 -  Applied my custom policy to my custom group

 

I go to my custom group and now see that my custom policy is assigned.  EXPECTED behavior.

 

HOWEVER, if I go to the cluster, navigating through the vSphere World, the DRS cluster now says it is using my custom policy and NOT the default policy.

 

What am I doing wrong?

 

Many thanks!

 

Mike

esxi 6 file server question

$
0
0

Hey Guys,

 

So I have a dell poweredge 1950 with two hard drive bays, 1 is a 160GB where I store all of my VM's and the other one is a 1TB drive that I want to share out to the rest of my network as a file server.

 

So my question is how do I install ubuntu server in esxi 6 and share out that 1TB datastore to the rest of my network?

 

Do I have to install the ubuntu server on that 1TB harddrive and then create shared folders?  Or can I install the VM on the 160GB HD and then share out the entire 1TB datastore?

 

Any help would be welcomed for a noob!

 

Thanks

Re: VSAN FACE SSD

$
0
0

Just trying to clarify, can you send a screen shot of one of the hosts storage screens?

Viewing all 251640 articles
Browse latest View live




Latest Images