2 Replies Latest reply on Dec 12, 2017 2:21 PM by rdb6777

    PI Web API with Network Load-Balanced AF Server

    rdb6777

      I am currently planning how to transition from a single server running AF Server, AF Analysis, and PI Web API to an environment where AF Server is on two machines network load-balanced with F5. I know I have to move AF Analysis to a standalone server and point it at the F5 VIP. In this type of HA configuration, where should the PI Web API ideally be installed?

        • Re: PI Web API with Network Load-Balanced AF Server
          kduffy

          Hi Becky,

           

          Optimal architectures can be situation dependent. I would say you question relies on a few things:

           

          Machine Resources:

          1. Are you heavily taxing any of the machines with either AF or Analytics? If one of these is true, I would say putting it on the other machine is the best approach.

          2. Are you looking to put it onto one of the existing machines, or are you open to spinning up 1 or 2 more machines for dedicated PI Web API usage?

           

          Usability:

          1. Are you looking to have high availability of the PI Web API? It's very common for the PI Web API itself to be behind an NLB, so it would make sense to piggy back on the AF implementation and the Web API to those machines.

          2. Are you going to heavily use the PI Web API, or is it mainly for the PI Vision search pane (and the indexed search crawler)? For people that are primarily using the PI Web API within PI Vision, then installing the PI Web API directly on the PI Vision server(s) is typically the best approach. If, however, you're going to be using it heavily for a custom application/website, then I would consider dedicated machines for the Web API.

           

          Kelsey