terraform-provider-bigip icon indicating copy to clipboard operation
terraform-provider-bigip copied to clipboard

bigip_ltm_pool Pool Member-Level Settings- Priority Group and Health Monitors Member Specific

Open acolonacn opened this issue 2 years ago • 2 comments

Hello,

When trying to configure pools at the node level, there is no option to do so in Terraform. Looking for an option to set node/member level configuration, including setting the Priority Group Level and ,in Advanced Configuration, setting the Health Monitors to Member Specific. image

image

acolonacn avatar Feb 21 '23 21:02 acolonacn

Hi, thanks for reporting. Added to the backlog and internal tracking ID for this request is: INFRAANO-1141, thanks!

pgouband avatar Mar 16 '23 18:03 pgouband

Hi @acolonacn, presently we have support for adding priority group to member support is available in bigip_ltm_pool_attachment resource.

working config:

resource "bigip_ltm_monitor" "pa_tc1" {
  name     = "/Common/test_monitor_pa_tc1"
  parent   = "/Common/http"
  send     = "GET /some/path\r\n"
  timeout  = "999"
  interval = "990"
}
resource "bigip_ltm_pool" "pa_tc1" {
  name                = "/Common/test_pool_pa_tc1"
  load_balancing_mode = "round-robin"
  monitors            = [bigip_ltm_monitor.pa_tc1.name]
  allow_snat          = "yes"
  allow_nat           = "yes"
  minimum_active_members = 2
}

resource "bigip_ltm_pool_attachment" "pa_tc7" {
  pool                  = bigip_ltm_pool.pa_tc1.name
  node                  = "1.1.11.2:80"
  ratio                 = 2
  connection_limit      = 2
  connection_rate_limit = 2
  priority_group        = 2
  dynamic_ratio         = 3
}

But if you are looking for adding support of Health Monitor member specific we are working adding this support with JIRA-1141, please correct me my understanding:

resource "bigip_ltm_pool_attachment" "pa_tc7" {
  pool                  = bigip_ltm_pool.pa_tc1.name
  node                  = "1.1.11.2:80"
  ratio                 = 2
  connection_limit      = 2
  connection_rate_limit = 2
  priority_group        = 2
  dynamic_ratio         = 3
  monitor = "/Common/test_monitor_pa_tc1 and /Common/gateway_icmp"
}

RavinderReddyF5 avatar May 04 '23 15:05 RavinderReddyF5