Forum Discussion

InquisitiveMai's avatar
Icon for Cirrostratus rankCirrostratus
Nov 04, 2022

Multiple ports in a Single Health Monitor and LTM policy to Send Traffic to a single pool

Is it possible to have a single Health Monitor to Monitor a server with multiple ports ex:100 ports For the VIP should we have VIP_X with port 0 and a pool with port 0 and then a LTM policy with thi...
  • Hi InquisitiveMai , 
     > I think there is no such an Active health monitor to monitor multiple service ports on single server. 
    But , you can Create multiple custom health monitor , let we say you have 4 ports ( 20 , 30 , 40 , 50 ) over TCP Connections enabled in your real server , you can create a custom TCP monitor for 20 , 30 , 40 , 50 in "Alias Service Port "field with a tcp parent profile , After that go to ( Local traffic , Nodes , Select your node ) , select Node specific monitor and  you can assign all 4 custom monitors which recently created , also change Availablity Requirement to " at least 1 " to make sure that all of your services will not be down if there is an outage happen to one of them , and you will be able to detect if one of your services become down from its specific monitor but you maintain all of other connections for the rest of your services thanks to  ("Availablity Requirement to " at least 1 " ). 
    > you can check this snap shot from my virtual environment : 

    > For LTM Policy : 
    I do not know why you want to create LTM Policy to forward traffic as all of your traffic will be forwarded to the Virtual server assigned pool , I mean that all of your traffic even in different services ports should be forwarded to the           " Pool_mem:0" which is the only member option in your pool that you assign to your "virtual_server:0". 
    I am sorry for not understanding well this point. 
    > If you asking about TCP port ranges in LTM policies you can try this : 

    > But if you mean that you want only the Specified range to pass and reach your "Pool_mem:0 " and drop the other ports. 
     in this case you can create 2 rules in a LTM policy , first rule contains such the last snap shot I sent recently and the second rule to deny the rest of traffic that coming in other service ports that not specified in your range , the final policy should be like this : 

    > Sorry I do not have a test server has multiple services to test this workaround , I hope this will help you and clarify to me if i miss-understand you. 

    Mohamed Kansoh