Script to Disable a DN

Is it possible to write a script that disables a DN when an application is down ?
if yes, please share some pointers please

Disable a DN…means mess with CfgServer. Scripts are usually to read data or interact with objects, not change CfgServer objects status. You are asking for a CfgServer SDK client to change a CfgServer object. You would need to build it.

And why?

2 Likes

do you means alarm reaction script?

there no function on SCS.

if your meaning when specific application down, not routing that dn,

in IRD, using ‘ServerStatus’ and ‘ExcludeAgents’ function

1 Like

Depending on your TServer disabling a DN might not prevent calls going to it. On some objects the disable feature does nothing.

Assume the intention is to stop call flow when a related service is down. Might be best to use a route point loaded on the DN and have a strategy do some magic.