# two VTScada redundant runtimes,how to get the operational status of the primary and backup servers

**URL:** <https://forum.vtscada.com/t/two-vtscada-redundant-runtimes-how-to-get-the-operational-status-of-the-primary-and-backup-servers/936>\
**Category:** General Discussions\
**Created:** [February 18, 2025, 9:25am UTC](https://forum.vtscada.com/t/two-vtscada-redundant-runtimes-how-to-get-the-operational-status-of-the-primary-and-backup-servers/936 "2025-02-18T09:25:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jerry](https://forum.vtscada.com/user_avatar/forum.vtscada.com/jerry/32/879_2.png) [@Jerry](https://forum.vtscada.com/u/Jerry)\
**Post date:** [February 18, 2025, 9:25am UTC](https://forum.vtscada.com/t/two-vtscada-redundant-runtimes-how-to-get-the-operational-status-of-the-primary-and-backup-servers/936/1 "2025-02-18T09:25:29Z")

</div>

When two VTScada servers are redundant, how to get the operational status of the primary and backup servers and then display them on the screen。

Thank you

---

<div class="post-metadata">

**Author:** ![ArghDave](https://forum.vtscada.com/user_avatar/forum.vtscada.com/arghdave/32/483_2.png) [@ArghDave](https://forum.vtscada.com/u/ArghDave)\
**Post date:** [February 18, 2025, 2:12pm UTC](https://forum.vtscada.com/t/two-vtscada-redundant-runtimes-how-to-get-the-operational-status-of-the-primary-and-backup-servers/936/2 "2025-02-18T14:12:18Z")

</div>

Hi Jerry, here are two easy ways to do that…

The **VTScada Workstation Status Tag** allows you to monitor and individually alarm critical computer resources including CPU usage, virtual memory used, and hard drive space.

> **[Monitor Servers, Disk Space, and Memory](https://www.vtscada.com/help/Content/D_TroubleShoot/D_MonitorServers.htm?Highlight=Workstation%20Health%20Monitoring)**

Additionally, the standard **VTScada Services Page** and widget allows you to monitor the status of every networked service in your application, view the architecture of your server lists, and to control which workstation should be the current server for any service. It does not provide a method for creating or modifying a server list. The status of each service is presented from the point of view of the workstation on which you are viewing this page. This workstation’s understanding of the status of each service could potentially be different from another workstation’s.

> **[Services Page](https://www.vtscada.com/help/Content/D_RemoteApps/D_ServiceStatusPage.htm?Highlight=services%20page)**

---

<div class="post-metadata">

**Author:** ![ArghDave](https://forum.vtscada.com/user_avatar/forum.vtscada.com/arghdave/32/483_2.png) [@ArghDave](https://forum.vtscada.com/u/ArghDave)\
**Post date:** [February 18, 2025, 4:00pm UTC](https://forum.vtscada.com/t/two-vtscada-redundant-runtimes-how-to-get-the-operational-status-of-the-primary-and-backup-servers/936/3 "2025-02-18T16:00:54Z")

</div>

Because VTScada Systems can have any number of servers with distributed services, The best way to accomplish this is typically to use an expression which determines which PC is the current server or if the current service is running on the primary server.

For example, in one of my demo applications, I have the following text expression which has the output Primary Server || Backup Server based on the status of the alarm notification service:

```auto
\RPCManager\IsPrimaryServer("ModemManager") == 1
? "Primary Server"
: "Backup Server"

```

There are several methods to determine this, but the expression above should be safe to use in a two-server system without an advanced server list.
