Add a PI Collective member info PI WebAPI controller
As an end-user, I want to be able to see to which PI Collective member I am connecting to. I also want to be able to toggle programmatically from one PI Collective member to the other so I can make sure the informaiton I am seeing is aligned and in synch accross all PI Collective members without going into thick PI clients or through log files.
This is a novel idea for monitoring PI Collective health, but there are no plans to add this ability to PI Web API. What advantages do you see in using PI Web API here?
One more suggestion: In the PI OLEDB provider, this information is surfaces via the PICONNECTION virtual table. Maybe this could be used as a structural idea for how to add this to the Web API. I.e. add "PIConnection" or "ConnectionInfo" to PI Web API's DataServer > Get screen.
What are the advantages? [from Frank Garriel]
It appears that primary and secondary collective members may be out of sync. Not sure why, but some of *our* customers state this as an operational issue. Being able to see which member one is actually connected to will help mitigate this issue.
BTW, We are using the PIServer->Collective->CurrentMember in the AFSDK, but that won't work for PI Web API users.