If I want to change the ActiveFunctionResourcesThreshold, do I then need to restart DataMiner?
How does this manual change sync across the cluster?
Or is there an slnet call for this?
Hi Tim,
You can change the configuration of the ProtocolFunctionManager using the helper, without a DMA restart. The configuration change will be synced in the cluster automatically. See below for an example script:
using Skyline.DataMiner.Automation;
using Skyline.DataMiner.Net.Messages;
namespace Script
{
public class Script
{
public void Run(Engine engine)
{
var protocolFunctionHelper = new ProtocolFunctionHelper(engine.SendSLNetMessages);
var currentConfig = protocolFunctionHelper.GetProtocolFunctionConfig();
currentConfig.ActiveFunctionResourcesThreshold = 123; // Change to desired value
protocolFunctionHelper.SetProtocolFunctionConfig(currentConfig);
}
}
}