Actions

Difference between revisions of "Redundancy"

From Zenitel Wiki

(VSOP Filter)
(ICX-AlphaCom redundancy)
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{I}}
 
{{I}}
This articles shows possible solutions for redundancy with the ICX-AlphaCom server.
+
This article shows possible solutions for redundancy with the ICX-AlphaCom server.
  
 
==ICX-AlphaCom redundancy==
 
==ICX-AlphaCom redundancy==
For redundancy between ICX-AlphaCom servers, see [[Redundant Servers (High Availability)]].
+
For redundancy between ICX-AlphaCom servers, see [[Redundant Servers - ICX-AlphaCom]].
  
 
*High availability and fault tolerant solution maximizing uptime during
 
*High availability and fault tolerant solution maximizing uptime during
Line 14: Line 14:
 
<br style="clear:both;" />
 
<br style="clear:both;" />
  
==Power Supply==
+
==Power Supply redundancy==
 
The ICX-AlphaCom normally has one power supply, and it only supports one power input. Using third party products it is possible to Increase durability by adding a solution for redundant power.
 
The ICX-AlphaCom normally has one power supply, and it only supports one power input. Using third party products it is possible to Increase durability by adding a solution for redundant power.
  
[[File:Redundant Power Supply ICX.png|thumb|left|700px|Redundant Power Supply solution using Phoenix Contact products]]
+
Such a full redundant system might look like this:[[File:Redundant Power Supply ICX2.png|thumb|left|700px|Principal sketch for redundancy system]]
 
<br style="clear:both;" />
 
<br style="clear:both;" />
  
The optional TKIS-2 is used in case it is a full redundancy system, with [[Redundant Servers (High Availability)|redundant ICX-AlphaCom servers]].
+
An example Power Supply configuration with optional TKIS-2 to provide Power Supply and ICX-500 monitoring:
  
The TKIS-2 will then always be registered and can be used to monitor the power supplies as well as the ICX-AlphaCom. Such a full redundant system might look like this:
+
[[File:Redundant Power Supply ICX.png|thumb|left|700px|Redundant Power Supply solution using Phoenix Contact products]]
[[File:Redundant Power Supply ICX2.png|thumb|left|700px|Principal sketch for redundancy system]]
 
 
<br style="clear:both;" />
 
<br style="clear:both;" />
  
Line 32: Line 31:
 
The ICX-AlphaCom does not have a serial port and must use an [[ICX - Serial communication|Ethernet-to-serial converter]]. Since the ICX-AlphaCom redundancy system is using a singular IP address as the operational IP address the solution is to have the converter pointed at the operational IP address, and will work fine, independent on which server is the active one.
 
The ICX-AlphaCom does not have a serial port and must use an [[ICX - Serial communication|Ethernet-to-serial converter]]. Since the ICX-AlphaCom redundancy system is using a singular IP address as the operational IP address the solution is to have the converter pointed at the operational IP address, and will work fine, independent on which server is the active one.
  
==Monitoring in VS Operator==
+
==Monitoring==
The VS Operator can be used together with a redundant system, and it must then communicate with the Operational IP address.
+
Monitoring the redundancy and logging is explained in this article: [[IPHA - Monitoring server status]]
 
 
=== Redundant Servers ===
 
Here is a description on how to set up monitoring so the ICX-AlphaCom statuses can be viewed in VSOP.
 
[[File:IPHA example1.png|thumb|left|500px|Redundancy monitoring]]
 
<br style="clear:both;" />
 
 
 
==== AlphaPro Events====
 
In AlphaPro configure these two events:
 
[[File:IPHA Event2.png|thumb|left|500px|Redundancy monitoring event]]
 
<br style="clear:both;" />
 
 
 
Action commands:
 
''$ST L%1.dir W200 L991''
 
''IF %chg(1,0)''
 
''IF %op(%syse(230),==,0)''
 
''IF %syse(232)''
 
''WUDD 101 1''
 
''STOP''
 
''ENDIF''
 
''WUDD 101 2''
 
''STOP''
 
''ENDIF''
 
''ENDIF''
 
''IF %syse(232)''
 
''WUDD 101 3''
 
''STOP''
 
''ENDIF''
 
''WUDD 101 4''
 
<br />
 
 
 
[[File:IPHA Event1.png|thumb|left|500px|Timeout event]]
 
<br style="clear:both;" />
 
 
 
Action commands:
 
''IF %op(%udd(101),=,1)''
 
''@*D1 M7F01 L(1)9600 U0 W1 W2 W0 W0 W0''
 
''ENDIF''
 
''IF %op(%udd(101),=,2)''
 
''@*D1 M7F01 L(1)9600 U0 W2 W1 W0 W0 W0''
 
''ENDIF''
 
''IF %op(%udd(101),=,3)''
 
''@*D1 M7F01 L(1)9600 U0 W1 W3 W0 W0 W0''
 
''ENDIF''
 
''IF %op(%udd(101),=,4)''
 
''@*D1 M7F01 L(1)9600 U0 W3 W1 W0 W0 W0''
 
''ENDIF''
 
<br />
 
 
 
==== VSOP Icons ====
 
Create two icon sets (the icons used in this example is created in PowerPoint):
 
1 - The GPD Icons used for the ICX statuses:
 
[[File:IPHA example3.png|thumb|left|200px]]
 
<br style="clear:both;" />
 
 
 
Navigate to the Iconsets menu and click Add, then choose GPD:
 
[[File:IPHA example2.png|thumb|left|500px|1: Click Icon Sets <br> 2: Click Add <br> 3: Select GPD]]
 
<br style="clear:both;" />
 
 
 
Add your four custom icons as GPD state 0-3:
 
[[File:IPHA example4.png|thumb|left|500px|1: Give the Icon Set a name <br> 2: Click Add and select GPD state (0-3) <br> 3: Open image definition window <br> 4: Upload custom image <br> 5: Uncheck image stretching (if needed)]]
 
<br style="clear:both;" />
 
 
 
2 - The Node Icon used to show if the Operator is online with the Operational IP address or not:
 
[[File:IPHA example5.png|thumb|left|200px]]
 
<br style="clear:both;" />
 
 
 
Navigate to the Iconsets menu and click Add, then choose Node:
 
[[File:IPHA example6.png|thumb|left|500px|Adding Node Icon Set]]
 
<br style="clear:both;" />
 
 
 
Add your two custom icons as Node state 0-1:
 
[[File:IPHA example7.png|thumb|left|500px|Adding custom icons]]
 
<br style="clear:both;" />
 
 
 
==== VSOP Map ====
 
Navgigate to the Map pages menu and add a custom background:
 
[[File:IPHA example8.png|thumb|left|500px|1: Click Map pages <br> 2: Click Add <br> 3: Give the Map a name <br> 4: Load the image to be used as a background <br> 5: Adjust aspect ratio]]
 
<br style="clear:both;" />
 
 
 
==== VSOP Startup script ====
 
If the VSOP is started after the IPHA monitor scripts have already run in the ICX-AlphaCom Event Handler, the status is unknown for the VSOP, so a startup script is needed the force the Event Handler to resend the status:
 
[[File:IPHA example9.png|thumb|left|500px|1: Click Menu <br> 2: Click Global Settings <br> 3: Enable Startup script <br> 4: Click the three dots to open the editor <br> 5: Add a script to start a 10 second timer]]
 
<br style="clear:both;" />
 
App.STE ("$ST L101 W100 L991");
 
 
 
==== VSOP Filter ====
 
In order to catch the custom parameters sent from the Event Handler we need a filter, and this filter must be tied to an Intercom station.
 
[[File:IPHA example10.png|thumb|left|500px|1: Click Filter sets <br> 2: Click Add <br> 3: Select Station]]
 
<br style="clear:both;" />
 
 
 
Create a custom filter:
 
[[File:IPHA example11.png|thumb|left|500px|1: Give the filter a name <br> 2: Select '''On Custom params''' <br> 3: Enter a text to be shown in the VSOP Journal <br> 4: Enter the script]]
 
<br style="clear:both;" />
 
int n1 = App.Params.Get("cp1", 0);
 
int n2 = App.Params.Get("cp2", 0);
 
App.SetGPDState("Primary", n1, true, true);
 
App.SetGPDState("Secondary", n2, true, true);
 
 
 
 
 
''Primary'' and ''Secondary'' refers to the name of the GPD's as set here:
 
[[File:IPHA example12.png|thumb|left|500px|1: Select the GPD <br> 2: Click Selected Object in the menu <br> 3: Enter ''Primary'' as Source name. <br> Repeat for the ''Secondary'' GPD, but with ''Secondary'' as Source name.]]
 
<br style="clear:both;" />
 
 
 
==== Adding devices to VSOP ====
 
Add two GPD devices, one Node device and one Station device.
 
 
 
*Right click the Node device and select the custom NodeStatus Icon Set.
 
*Right click the GPD devices and select the GPD custom Icon Set.
 
*Right click the station (''dir no 9600'') and select the custom station filter made for redundant server monitoring.
 
 
 
Place the icons on the map by drag and drop.
 
 
 
=== Monitoring Redundant Power supplies ===
 
The Power Supplies can be monitored, and faults and warnings can be logged.
 
 
 
Here is a description on how to set up monitoring so the redundant power supply statuses can be viewed in VSOP.
 
 
 
[[File:IPHA example13.png|thumb|left|500px|Redundant power monitoring]]
 
<br style="clear:both;" />
 
 
 
==== AlphaPro Event ====
 
In AlphaPro configure the two TKIS-2 kits which receive the inputs from the Redundancy module as ''9901 Primary'' and ''9902 Secondary''. Put them both in a UDP group (UDP2 is used in this example), and create this event:
 
[[File:IPHA example14.png|thumb|left|500px|Redundant power supply monitoring event]]
 
<br style="clear:both;" />
 
 
 
Action commands:
 
''@*d1 M7F03 L(1)9901 U0 W%chg(1,0) W%sev(1) W0 W0 W0 "PSU%1.nam\t %1.nam\t"''
 
''IF %chg(1,0)''
 
''IF %op(%sev(1),=,1)''
 
''LOG "Power redundancy DOWN for %1.nam server"''
 
''STOP''
 
''ENDIF''
 
''IF %op(%sev(1),=,2)''
 
''LOG "Power redundancy WARNING for %1.nam server"''
 
''STOP''
 
''ENDIF''
 
''ENDIF''
 
''LOG "Power redundancy OK for %1.nam server"''
 
<br/>
 
 
 
==== VSOP Icons ====
 
Create a icon set (the icons used in this example is created in PowerPoint):
 
The GPD Icons used for the Redundant Power Supply statuses:
 
[[File:IPHA example15.png|thumb|left|200px]]
 
<br style="clear:both;" />
 
 
 
Navigate to the Iconsets menu and click Add, then choose GPD:
 
[[File:IPHA example2.png|thumb|left|500px|Adding GPD icon set]]
 
<br style="clear:both;" />
 
 
 
Add your four custom icons as GPD state 0-3:
 
[[File:IPHA example16.png|thumb|left|500px|Creating custom GPD icon set]]
 
<br style="clear:both;" />
 
 
 
==== VSOP Filter ====
 
In order to catch the custom parameters sent from the Event Handler we need a filter, and this filter must be tied to an Intercom station.
 
[[File:IPHA example10.png|thumb|left|500px|1: Adding Station filter set]]
 
<br style="clear:both;" />
 
 
 
Create a custom filter:
 
[[File:IPHA example17.png|thumb|left|500px|Creating custom filter set]]
 
<br style="clear:both;" />
 
int RED_state = App.Params.Get("cp1", 0);
 
int RED_type = App.Params.Get("cp2", 0);
 
if (RED_state==1)
 
{
 
App.SetGPDState("%CSP1", RED_type, true, true);
 
if (RED_type==1)
 
App.Log("Redundancy power for %CSP2 server is reported down", true, true);
 
else if (RED_type==2)
 
App.Log("Redundancy power for %CSP2 server reports a warning", true, true);
 
}
 
if (RED_state==0)
 
{
 
App.SetGPDState("%CSP1", 3, true, true);
 
App.Log("Redundancy power for %CSP2server is reported OK", true, true);
 
}
 
 
 
 
 
''%CSP1'' (custom string parameter 1) refers to the name of the GPD's as set here:
 
[[File:IPHA example18.png|thumb|left|500px|GPD name reference]]
 
<br style="clear:both;" />
 
 
 
==== Adding devices to VSOP ====
 
Add two GPD devices and one Station device.
 
* Right click the GPD devices and select the GPD custom Icon Set made for Redundant Power Supply monitoring
 
* Right click the TKIS-2 station (''dir no 9901'') and select the station custom filter for Redundant Power Supply monitoring
 
Place the icons on the map by drag and drop.
 
  
 +
The server redundancy, and/or the power redundancy can be monitored and presented live on a PC monitor using VS-Operator.
 +
See article [[Monitoring redundancy in VS Operator]] for more details.
  
 
[[Category: Redundancy]]
 
[[Category: Redundancy]]

Latest revision as of 15:22, 28 June 2022

Icx icon.png

This article shows possible solutions for redundancy with the ICX-AlphaCom server.

ICX-AlphaCom redundancy

For redundancy between ICX-AlphaCom servers, see Redundant Servers - ICX-AlphaCom.

  • High availability and fault tolerant solution maximizing uptime during
    • System level failures
    • Environment-level failures (power outage, fire, earthquake, etc.)
    • Planned outage for system maintenance and upgrades
  • Maximum downtime at switch-over (552 stations) is 35 seconds
Redundant ICX-AlphaCom system


Power Supply redundancy

The ICX-AlphaCom normally has one power supply, and it only supports one power input. Using third party products it is possible to Increase durability by adding a solution for redundant power.

Such a full redundant system might look like this:

Principal sketch for redundancy system


An example Power Supply configuration with optional TKIS-2 to provide Power Supply and ICX-500 monitoring:

Redundant Power Supply solution using Phoenix Contact products


RCO or RCI

Any physical inputs and/or outputs needs to communicate with the server via an IP device such as the TKIS-2 or an IP-LCM. These devices, as any other IP device in a redundant system must register and communicate with the operational IP address, and thus always be online with the active server.

Serial Port

The ICX-AlphaCom does not have a serial port and must use an Ethernet-to-serial converter. Since the ICX-AlphaCom redundancy system is using a singular IP address as the operational IP address the solution is to have the converter pointed at the operational IP address, and will work fine, independent on which server is the active one.

Monitoring

Monitoring the redundancy and logging is explained in this article: IPHA - Monitoring server status

The server redundancy, and/or the power redundancy can be monitored and presented live on a PC monitor using VS-Operator. See article Monitoring redundancy in VS Operator for more details.