The CreatorCon Call for Content is officially open! Get started here.

Service Mapping - Citrix based Application

Jobi
Giga Contributor

Service Mapping for Citrix based Application Genie.

Trying to use Entry point type "Xenapp or Presentation Server Components Endpoint"

4 things to add- Host, Port, Farm, Icon Path.

First 3 values i good get. But for Icon path iam not sure what could be the value to be added .

In App connections part for Citrix Xenapp or Presentation Pattern, i see the input from Icon path is splited using delimiter "##".

The expected input is type##args##name##path.

Could someone help me with this - like what should be the input added for Icon Path.

ANy example would be very helpful.

 

Thank You.

9 REPLIES 9

johnnyjava
Kilo Guru

I've worked with the Citrix patterns a bunch, and it seems to cause a bit of confusion for everyone.

The Controller pattern will gather applications using "Citrix.Broker.Admin.V2 Get Broker-Application" and I believe the value it gets back in the CommandLineExecutable field is what is expected in the icon_path.

None of my clients tend to know the farm name or icon_path values, so I've modified the pattern to grab all the applications by removing the -Name argument from that ps_cmd for powershell.

When we review the discovery logs, all the applications are listed, and then the Citrix SME on the client side can tell me which applications are part of the particular Citrix icons for the service we are mapping.

Usually there are more than 1 of them that are part of this service, so we would need to add additional entrypoints for each.

Jobi
Giga Contributor

Thanks johnny.

 

I did tried to follow the steps mentioned by you.

In debug Mode, useing he command Prompt editor, i tried to run below command.

 

Command- "powershell \"Add-PSSnapin Citrix.Broker.Admin.V2; Get-BrokerApplication | select CommandLineExecutable,CommandLineArguments,WorkingDirectory,ApplicationType,BrowserName | Format-List\""

 

But i got below error. Is this something you will be able to help me. Thank you..

Add-PSSnapin : The Windows PowerShell snap-in 'Citrix.Broker.Admin.V2' is not installed on this machine.
At line:1 char:13
+ Add-PSSnapin <<<<  Citrix.Broker.Admin.V2; Get-BrokerApplication | select Com
mandLineExecutable,CommandLineArguments,WorkingDirectory,ApplicationType,Browse
rName | Format-List
    + CategoryInfo          : InvalidArgument: (Citrix.Broker.Admin.V2:String) 
    [Add-PSSnapin], PSArgumentException
    + FullyQualifiedErrorId : AddPSSnapInRead,Microsoft.PowerShell.Commands.Ad 
   dPSSnapinCommand
 
The term 'Get-BrokerApplication' is not recognized as the name of a cmdlet, fun
ction, script file, or operable program. Check the spelling of the name, or if 
a path was included, verify that the path is correct and try again.
At line:1 char:59
+ Add-PSSnapin Citrix.Broker.Admin.V2; Get-BrokerApplication <<<<  | select Com
mandLineExecutable,CommandLineArguments,WorkingDirectory,ApplicationType,Browse
rName | Format-List
    + CategoryInfo          : ObjectNotFound: (Get-BrokerApplication:String) [ 
   ], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

When I last got that error message, I was told that I was connecting to the Storefront Controller, rather than the Delivery Controller.

Can you ask your Citrix admin about that?

The other thing that can happen is that the admin plugin may not be active on the Windows box hosting Citrix. I've run into this before and it's a real pain. I would confirm that the PSSnapin for Citrix exists. By the way Johnny that's really cool that you modified that any chance you have an export of the citrix pattern with those changes that you could share? I've been meaning to do the exact same thing for my own purposes of troubleshooting but never gotten around to it.