Is there a way to write to all members of a collective using an SDK call? I have a manual entry spreadsheet that could be opened on any computer and need it to write out to a collective. Trying to avoid loading ICU and BuffSS on numerous machines.
No, you can either fan the data using PI Buffer Subsystem or you need to send the data to each member of the collective separately.
If this has to be a spreadsheet I would personally prefer the second option.
Another alternative just coming into my mind would be using PI to PI Interface for the replication to secondary collective member(s) after updating them on the Primary.
If you're going to use an interface I'd use UFL. Have your application drop a file into a share and load it in.
Gregor BeckAnother alternative just coming into my mind would be using PI to PI Interface for the replication to secondary collective member(s) after updating them on the Primary.
And what if the primary server is down for maintenance?
And while we're on the subject - how can one detect if the different collective members are up and running? I need to detect if the primary server is down - in order to make our Sharepoint webparts read-only.
Have you looked into IPICollective.MemberAvailability? Please check this thread for some more details and an example. I'm guessing your code has to include the logic to handle this case as you would do with any PI Server (non-collective). One special difference is that configuration changes cannot be applied to secondary PI Servers.
How can you get an SDK value-write call go through the buffer subsystem so that it is automatically fanned to the collective?
Edit: found it. In the PI SDK Utility. need at least PI SDK 2010
@Max: I am glad you find the information. Just to help others that would read this thread later, the two methods UpdateValue and UpdateValues from the PI SDK are intercepted by the PI SDK buffer component for fanning out the data to multiple PI Data Archives (PI Servers).
Retrieving data ...