Forum Discussion

Ken_B_50116's avatar
Ken_B_50116
Icon for Cirrostratus rankCirrostratus
Feb 23, 2016

How to set different Priority Groups while adding nodes to pool with TMSH?

Version 11.4.1 and 11.5.0. I want to use a single TMSH command to create a pool and add 2 nodes each with a different Priority Group. Is this even possible? I am trying this in tmsh ltm:

create pool pool_psc_p1_2_443 members add { view-p1-psc3:443 } priority-group 10 add { view-p1-psc4:443 } priority-group 1 monitor vmware_psc_monitor_TCP load-balancing-mode round-robin

...but I get this error:

Syntax Error: "priority-group" unknown property

I think I will have to first create the pool, then go back and modify it. I find the BigIP command line and TMSH difficult enough already, so I am inclined not to keep fiddling with it to try to make this work.

The TMSH guide for 11.4.1 is rather useless for me here because the examples "delete pool my_pool" and "list pool my_pool" are a slightly a bit too overly simple.

  • try this

    create pool pool_psc_p1_2_443 members add { view-p1-psc3:443 { priority-group 10 } view-p1-psc4:443 { priority-group 1 }} monitor vmware_psc_monitor_TCP load-balancing-mode round-robin

  • Hi Paul ,

     

    Can you please let me know the command to set priority group activation ? I have been searching in entire devcentral but didnt find anything. what and where to add for the PGA less than 1 in the below command.

     

    create pool pool_psc_p1_2_443 members add { view-p1-psc3:443 { priority-group 10 } view-p1-psc4:443 { priority-group 1 }} monitor vmware_psc_monitor_TCP load-balancing-mode round-robin

     

    • John_Alam's avatar
      John_Alam
      Icon for Employee rankEmployee

      set the min-active-members to something grerator than 0

      modify ltm pool <pool-name> min-active-members 1