cancel
Showing results for 
Search instead for 
Did you mean: 
Login & Join the DevCentral Connects Group to watch the Recorded LiveStream (May 12) on Basic iControl Security - show notes included.

Problem this snippet solves:

Creates a virtual server referencing a pool with a basic monitor, a basic tcp profile, and a generic clientssl profile.

Product/Version Details

How to use this snippet:

  • Replace the destination variable value in the "@define @destination" line with the desired address of the virtual server.
  • Replace the members variable value in the "@define @members" line with the list of actual pool members providing the service.
  • Optional: Customize the monitor profile settings to provide the level of monitoring appropriate for your environment.
  • Optional: Customize the clientSSL profile settings to include the appropriate SSL certificate for the service.
  • Optional: Customize the TCP profile settings as required to support the service in your environment.

Code :

@name "exchange07-ClientAccess_imap4-SSL"
@description "Exchange 7 Client Access imap4 SSL"
@published yes
@require_verify no
@allow_persist no
@define @members description "IMAP4 Pool Members" editable visible default "10.133.20.55:imap 10.133.20.56:imap"
@define @destination description "IMAP4 Virtual" editable visible default "10.133.20.200:imaps"

#F5[Local Traffic / Monitor]
#F5[$target_partition$]
monitor exch_imap4 {
   defaults from tcp
   interval 30
   timeout 91
}

#F5[Local Traffic / Pool]
#F5[$target_partition$]
pool exch_imap4 {
   lb method least conn
   monitor all exch_imap4
   members
      @members
}

#F5[Local Traffic / Profiles / ClientSSL]
#F5[$target_partition$]
profile clientssl imap4_clientSSL {
   defaults from clientssl
}

#F5[Local Traffic / Profiles / TCP]
#F5[$target_partition$]
profile tcp exch_tcp {
   defaults from tcp
}

#F5[Local Traffic / Virtual Server]
#F5[$target_partition$]
virtual exch_imap4 {
   pool exch_imap4
   destination @destination
   ip protocol tcp
   profiles
      exch_tcp
      imap4_clientSSL
}
Version history
Last update:
‎12-Mar-2015 15:52
Updated by:
Contributors