sacha81 / XA-and-XD-HealthCheck

Citrix Virtual Apps and Desktops HealthCheck
http://blog.sachathomet.ch/xendesktop-and-xenapp-7-x-healthcheck-oops-i-did-it-again/
63 stars 34 forks source link

Script not working for Citrix Cloud setup #78

Open arbhavanam opened 2 years ago

arbhavanam commented 2 years ago

Hi,

I'm executing script from my machine (not a cloud connector) to get the report for Citrix Cloud Infra setup. Is the script work for citrix cloud from non cloud connector machines ? Am i missing any other configuration ?

FYI : I've already added the required details in parameters file like customer id & csv file with creds.

Regards

bretsteele commented 2 years ago

I'm wondering the same thing. Citrix told us not to install the SDK onto the cloud connector so trying to run this from a different server and having issues.

MikedaSpike commented 2 years ago

I'm using the script for a couple of years now for getting the health check on cloud. We run it on a cloud connector, but don't install the SDK on it !! I also did a smalll modification for the credentials part : Create on cloud an API file and save that as CSV On top of the script : Set-XDCredentials -CustomerId "xxxxxx" -SecureClientFile "C:\scripts\secureclientprod.csv" -ProfileType CloudAPI –StoreAs "prod" Get-XDAuthentication -ProfileName "prod" As the parameters.xml and the scripts we use are from 2020 on my server, I can't recall if this was the only thing I added to teh script for authentication (I know I made a modification to only create a report per zone (resource location) as we want to have sperate reports per resource location) I hope this helps

sacha81 commented 2 years ago

I intend to rewrite the whole code that it works fine with the API instead of this "handicraft work" :-) But need some time.

bretsteele commented 2 years ago

We ended up using a server that used to be a Cloud connector but was decommissioned from that role. It already had the SDK on it so I can't confirm Mike's setup, but this is working for us for now.

JamesWarrenWi commented 7 months ago

I have been using this routine with success monitoring my internal XA7 environment. We are POC Citrix Cloud. I've copied the routine to a different domain-joined system w/ the sdk installed. I have added the Set/Get-XD requirements to the top of the PS and I am getting 'some' data if I set ShowXenAppTable to '0' What value should I set in the xml for: DeliveryControllers (currently simply set to localhost as the existing routine runs from one of my internal DDC's) Would this be a Cloud 'system' as my internal DDC's will go away once I'm using the Cloud to manage the environment.

sacha81 commented 7 months ago

I've started a new repo and added my current personal used version which is far away from perfect but working for me because of the currently urgent need: https://github.com/sacha81/citrixclouddaaschecks/ please test and give a feedback