Terry Highfield
-
Posts
12 -
Joined
-
Last visited
-
Days Won
6
Content Type
Forums
Articles
Labs
Videos
TechZone
Citrix Community Articles
Events
Profiles
Posts posted by Terry Highfield
-
-
Is there any information in the events logs of that VDA?
-
There are these cmdlets:
get-brokersessionStop-BrokerSessionThe stop session cmdlet wouldn't close a specific application though. Why would you wish to do this from the XenDesktop controller?
Thanks,
Terry -
Hi something must have been uninstalled. The XenDesktop installer should show Studio as a option: After opening the installer and choosing XenDesktop or XenApp Studio will be an option on the right. Best to try to reinstall Studio.
-
Could you provide a screen shot of what you are seeing please?
-
No problem, glad it helped
-
Do you have any Catalogs using the Connection still? If so delete these and try removing the tasks again before proceeding...
After deleting any catalog that could be using the connection you may need to just resort to PowerShell to remove the connections (Perhaps MCS or Studio has gotten mixed up with background task due to not being able to use the connection anymore).
Add-PSSnapin Citrix.Broker.Admin.V2
Add-PSSnapin Citrix.Host.Admin.V2
Remove-Item -path "xdhyp:\HostingUnits\[HostingUnitName]"
Remove-BrokerHypervisorConnection -Name "[ConnectionName]"
Remove-Item -path "xdhyp:\Connections\[ConnectionName]"
If you refresh the nodes in studio (or just restart studio) the connection should be removed.
- 8
-
Ok, I'd attempt a more brute force approach then. The following commands will remove all the tasks that used to belong to the hosting unit (resource) that you wish to delete (I don't think it's a question of limiting them to particular images).
- Add-PSSnapin Citrix.MachineCreation.Admin.V2
- Get-ProvTask | Where-Object { $_.HostingUnit -eq "Put-Here-Your-Hosting-ID"} | Stop-ProvTask
- Get-ProvTask | Where-Object { $_.HostingUnit -eq "Put-Here-Your-Hosting-ID"} | Remove-ProvTask
you can retrieve the hosting unit id by calling Get
- Add-PSSnapin Citrix.Host.Admin.V2
- cd xdhyp:\HostingUnits\
- dir
(the hosting unit to find the id of will have the same name that you gave the hosting resource in studio - they are the same thing)
After running the commands above you should be able to remove the connection from Studio.
Note: If you associated more than one Resource with the connection that you wish to delete then you'll have to run the commands above for each Hosting Unit (Resource)
- 1
-
Hi,
What is it that you are trying to achieve with the command? MCS does run background disk cleanup tasks occasionally. I wouldn't advise just removing these tasks just to delete a host resource. If you remove the tasks then those disk images will not be cleared from your storage - is this your intention?Have you monitored the backgrounds tasks at all? What are their current states?
Terry
XD 7.9 - Error creating Delivery Group adding apps from startmenu
in XenDesktop 7.x
Posted
The VDA would have registered. The Get Start Menu apps call is a separate call. I'd be interested to see if there is an event log related to that. If not would you be able to obtain CDF traces (using CDF Control or Scout) to help me diagnose the issue please? Thanks.
The NullReferenceException you are seeing is unrelated. What MMC action are you using? Create or edit aplication?