I have an interesting application where I need to start and stop other windows services on a redundant pair of ignition gateways. I’m looking for a way to pull the current redundancy status locally, and based on that start or stop another service. Does anything like this exist to pull there redundancy status locally?
Output is JSON semicolon-delimited. Typical:
ContextStatus=RUNNING;PlatformName=Grim83a;Version=8.3.2;PlatformEdition=;Plugins=;AllowDesignerSSO=false;RedundancyStatus=Master;RedundantState=Good;RedundantNodeActiveStatus=Active;RedundantBackupAddresses=192.168.26.12:80:443;OS=Linux;RuntimeVersion=17.0.16;RequireSsl=false;launcherApiVersion=5;UseCondensedDialogFont=false;
1 Like
You can also look at the output of gwcmd -i, though it may not have what you want (and is somewhat less friendly to parse than the status endpoint).