Forum Discussion

amolari's avatar
amolari
Icon for Cirrus rankCirrus
Jul 08, 2014

APM customization in iApp

I need to modify a template (Citrix iApp) to add a simple APM customization (layout of the logon screen, such as header picture that I would previously upload to the BIGIP). This, to be able to maintain the strict mode. Anyone could please point me to some documentation/examples to do that? Thanks Alexandre

 

6 Replies

  • Greg_Crosby_319's avatar
    Greg_Crosby_319
    Historic F5 Account

    Hi Alexandre,

     

    You could turn off strictness, make your modifications, and re-enable strictness, however, if you rerun the iApp you will most likely lose any custom settings. Another option is to set the template to "None - do not use a template" which will make it so the iApp is not easily reconfigured after all the customization is in place.

     

  • the goal is to have app people just rerun the iApp if any change happens on the app servers (new one, change of IP etc). Strictness is necessary. Having a TMSH script in the iApp (not visible for configuration) could do that task?

     

  • Fred_Slater_856's avatar
    Fred_Slater_856
    Historic F5 Account

    Alexandre, APM is meant to be configured using the visual editor (VPE), and F5 recommends against configuring it with TMSH. Since iApps generally configure with TMSH, this puts us all in a bit of a pinch. I wrote a tool to assist with APM configuration in TMSH, which I used in the f5.citrix_vdi templates: see https://devcentral.f5.com/wiki/iApp.iApp-Utility-Package.ashx and jump down to iapp::apm_config. Unfortunately, even with the tool, it is still more difficult than it should be. If you choose to try it, first configure an example of what you want using the VPE. Then, display the result in tmsh to see what will be required in your iApp. Feel free to post back here if you get stuck. -Fred

     

  • thank you. It seems most of apm customization is not in tmsh. My goal is to have the admin create the basic Citrix configuration (VS, pools, APM customization) in the Common partition. Then create an iApp that only add/modifies the objects in the pools, on a partition. That way, partition users can only modify backend servers config but the structure is managed by a higher-level admin. Feasible?

     

  • Fred_Slater_856's avatar
    Fred_Slater_856
    Historic F5 Account

    In general, iApps were designed to control a given application, but not to share or even restrict access to that control. You are not the first to voice the need for iApps to read an existing config and then manage portions of it with role-based access (RBAC). That capability is coming in a future release of not just the Citrix iApp, but the entire iApp framework. For now, however, you will probably need to use one of the workarounds that Greg suggested above.

     

  • I have configured an app service with the Citrix VDI iApp and the performed some APM layout customization (advanced and modifying a couple of css). If I reconfigure the App service, I do see that I do not loose layout customizations, except

     

    • modification done directly in the css files
    • the link to the uploaded user images are broken (but images are still there)

    Would be great to have iApp not touching any of those parameters, as iApp doesn't supports APM layout customization.