Hi Dojo,
Im using some calls from the dataminer web services API, specifically the Get Elements for View GetElementsForView | DataMiner Docs. My question is whether I should expect to see the same set of elements in the view if the DMA's hosting some of my elements goes down (whether for maintenance, upgrades, restarts)? Meaning if the DMA hosting element 1 goes down, would I still get element 1 from my request?
Also, if I was or wasnt using Swarming in my targeted system, how would that also affect the response I get?
In short: you will receive an exception if a hosting agent goes down.
Full description: the GetElementsForView call will send a GetLiteElementInfo SLNet message. For every element received from that message, it will request its severity by sending a GetAlarmStateMessage to SLNet. That latter message will be forwarded to the host of the element. If that host is down, a DataMinerCommunicationException will be thrown instead.
Swarming will not change this behavior: messages will be still be forwarded to the hosting agent, so the same exception will be returned with swarming enabled. If you do manage though to manually swarm the element (elements are not swarmed automatically yet) to a host that is up and running, no request will be forwarded to an offline agent and thus your message would return the same set of elements as if all agents were up and running.