Error with the iApp f5.microsoft_exchange_2010_2013_cas.v1.2.0 and a missing irule _sys_APM_ExchangeSupport_OA_BasicAuth

Hello everybody, I’m trying to create a new APM server with the iAPP f5.microsoft_exchange_2010_2013_cas.v1.2.0 (the lastest version) to provide access to my Exchange 2013 CAS But every time I tried, I have this error: 01070341:3: Virtual server /Common/EXCHANGE2013-APM.app/EXCHANGE2013-APM_edge references rule _sys_APM_ExchangeSupport_OA_BasicAuth which does not exist. And I don’t have any trace of an iRule called _sys_APM_ExchangeSupport_OA_BasicAuth My BIP-IP’s version is 11.2.1 Build 1179.0 Hotfix HF6

So if anyone have a solution or can send me the content of this irule it’ll be great !

Do you have APM licensed and provisioned on your device?

Do you have APM licensed and provisioned on your device?

No we have just activated the limited mode to test the solution. Do we need a full licence even for testing purposes ?

No we have just activated the limited mode to test the solution. Do we need a full licence even for testing purposes ?

The iApp contains a copy of the system irule and will build it on TMOS version 11.1, but expects the system iRule to be there in 11.2+. You can edit the iApp template and replace:

set is_bigip_11_2 [iapp_tmos_version >= 11.2.0]

with this:

set is_bigip_11_2  0

This will trigger the iApps internal copy of the iRule, but I cannot comment on whether other aspects of APM will work for you for testing with no license.

Thank you for your answer Fred but when I replace set is_bigip_11_2 [iapp_tmos_version >= 11.2.0] by set is_bigip_11_2 0 I have this error: script did not successfully complete: (can’t read “::apm__active_directory_server”: no such variable while executing "expr { $is_bigip_11_2 ? “domain-controllers [iapp_pool_members -aaa_domain -fields { host fqdn } $::apm__active_dir_servers] pool [iapp_conf create…” invoked from within “subst [string map “[iapp_substa apm_profile_tags($is_bigip_11_4,$do_eac_apm,$do_ntlm_auth)] $apm_policy_tags($do_eac_apm,$do_ntlm_auth)” …” (“foreach” body line 9) invoked from within “foreach key [lsort [array names apm_forms]] { Reassemble the array key into APM keywords and an APM object name. set component [l…” invoked from within “if { $do_apm } { Make APM adjustments by reading instructions from the apm_mods array. set apm_history(*) 1 foreach var [array names apm…” line:1612)

I didn’t expect that. I’ll have to set up a BIG-IP to match yours before I say any more. 11.2.1 and no APM. Stand by.

You need one more change, this time on the presentation side, to fool the iApp into thinking the version is 11.1. Replace

return [expr {$cnum >= 11020000}]

with

return 0

I should add that the cause of the missing APM system iRule is that you do not have APM licensed, as Michael suggested above in this post.

Thank you for your help Fred, the template works with your modifications and I can continue my tests I’ll ask my supervisor to look after a full licence of the APM module.