Appendix A: Sample Configuration Files

Example Configuration Files for the XpressWorkX Application Server

Downloadable Example Configuration Files

Configuration File

Software Version

Download Link

Application Processing Server (AS) Master Configuration

4.1.x

ps_master_config.xml

Application Processing Server (AS) Master Configuration

4.2.x

ps_master_config.xml

Application Processing Server (AS) Master Configuration

4.3.x

ps_master_config.xml

Application Processing Server (AS) Master Configuration - Full

4.5.x

ps_master_config.xml

Application Processing Server (AS) Master Configuration - Minimal

4.5.x

ps_master_config.xml

Network Interface Unit (NIU) Master Configuration

4.0.x

ps_master_config.xml

Network Interface Unit (NIU) Master Configuration

4.5.x

ps_master_config.xml

Cluster Configuration

4.x

cluster_config.xml

Routing Rules Example

4.x

ps_eventdispatcher

For more information about the configuration file, see Configuration or Quick Start.

Note

For configuration files to be viewed in the Console, all files that are referenced within them must be present on the Application Server.

Application_properties for SNMP HA events

This example shows the /usr/sipxpress/config/application-properties.xml file when configuring Simple Network Management Protocol (SNMP) trap notifications of high availability (HA) failover events.

<application-properties>
        <!-- CE_UNKNOWN -->
                <application-event name="pcsClusterEvent-0" command="/usr/sipxpress/bin/xpresstraptool .1.3.6.1.4.1.44106.18.1.2.4 &quot;Unknown Event&quot;" occurrences="1" seconds="0" minimum-command-interval="0"/>
                <application-event name="pcsClusterStatusChange-up-0" command="/usr/sipxpress/bin/xpresstraptool .1.3.6.1.4.1.44106.18.1.2.4 &quot;Go Online Unknown Event&quot;" occurrences="1" seconds="0" minimum-command-interval="0"/>
                <application-event name="pcsClusterStatusChange-down-0" command="/usr/sipxpress/bin/xpresstraptool .1.3.6.1.4.1.44106.18.1.2.4 &quot;Go Offline Unknown Event&quot;" occurrences="1" seconds="0" minimum-command-interval="0"/>

        <!-- CE_PARTNER_FOUND -->
                <application-event name="pcsClusterEvent-1" command="/usr/sipxpress/bin/xpresstraptool .1.3.6.1.4.1.44106.18.1.2.4 &quot;Partner Found&quot;" occurrences="1" seconds="0" minimum-command-interval="0"/>
                <application-event name="pcsClusterStatusChange-up-1" command="/usr/sipxpress/bin/xpresstraptool .1.3.6.1.4.1.44106.18.1.2.4 &quot;Go Online, Partner Found&quot;" occurrences="1" seconds="0" minimum-command-interval="0"/>
                <application-event name="pcsClusterStatusChange-down-1" command="/usr/sipxpress/bin/xpresstraptool .1.3.6.1.4.1.44106.18.1.2.4 &quot;Go Offline Partner Found&quot;" occurrences="1" seconds="0" minimum-command-interval="0"/>

        <!-- CE_SEARCH_TIMEOUT_EXCEEDED -->
                <application-event name="pcsClusterEvent-2" command="/usr/sipxpress/bin/xpresstraptool .1.3.6.1.4.1.44106.18.1.2.4 &quot;Parter Search Timeout&quot;" occurrences="1" seconds="0" minimum-command-interval="0"/>
                <application-event name="pcsClusterStatusChange-up-2" command="/usr/sipxpress/bin/xpresstraptool .1.3.6.1.4.1.44106.18.1.2.4 &quot;Go Online Parter Search Timeout&quot;" occurrences="1" seconds="0" minimum-command-interval="0"/>
                <application-event name="pcsClusterStatusChange-down-2" command="/usr/sipxpress/bin/xpresstraptool .1.3.6.1.4.1.44106.18.1.2.4 &quot;Go Offline Parter Search Timeout&quot;" occurrences="1" seconds="0" minimum-command-interval="0"/>

        <!-- CE_PARTNER_LOST -->
                <application-event name="pcsClusterEvent-3" command="/usr/sipxpress/bin/xpresstraptool .1.3.6.1.4.1.44106.18.1.2.4 &quot;Partner Lost&quot;" occurrences="1" seconds="0" minimum-command-interval="0"/>
                <application-event name="pcsClusterStatusChange-up-3" command="/usr/sipxpress/bin/xpresstraptool .1.3.6.1.4.1.44106.18.1.2.4 &quot;Go Online Partner Lost&quot;" occurrences="1" seconds="0" minimum-command-interval="0"/>
                <application-event name="pcsClusterStatusChange-down-3" command="/usr/sipxpress/bin/xpresstraptool .1.3.6.1.4.1.44106.18.1.2.4 &quot;Go Offline Partner Lost&quot;" occurrences="1" seconds="0" minimum-command-interval="0"/>

        <!-- CE_LOST_AND_VIRTUAL_IP_DOWN -->
                <application-event name="pcsClusterEvent-4" command="/usr/sipxpress/bin/xpresstraptool .1.3.6.1.4.1.44106.18.1.2.4 &quot;Partner Lost (and VIP down)&quot;" occurrences="1" seconds="0" minimum-command-interval="0"/>
                <application-event name="pcsClusterStatusChange-up-4" command="/usr/sipxpress/bin/xpresstraptool .1.3.6.1.4.1.44106.18.1.2.4 &quot;Go Online Partner Lost (and VIP down)&quot;" occurrences="1" seconds="0" minimum-command-interval="0"/>
                <application-event name="pcsClusterStatusChange-down-4" command="/usr/sipxpress/bin/xpresstraptool .1.3.6.1.4.1.44106.18.1.2.4 &quot;Go Offline Partner Lost (and VIP down)&quot;" occurrences="1" seconds="0" minimum-command-interval="0"/>

        <!-- CE_PARNER_WENT_INACTIVE -->
                <application-event name="pcsClusterEvent-5" command="/usr/sipxpress/bin/xpresstraptool .1.3.6.1.4.1.44106.18.1.2.4 &quot;Partner Went Inactive&quot;" occurrences="1" seconds="0" minimum-command-interval="0"/>
                <application-event name="pcsClusterStatusChange-up-5" command="/usr/sipxpress/bin/xpresstraptool .1.3.6.1.4.1.44106.18.1.2.4 &quot;Go Online Partner Went Inactive&quot;" occurrences="1" seconds="0" minimum-command-interval="0"/>
                <application-event name="pcsClusterStatusChange-down-5" command="/usr/sipxpress/bin/xpresstraptool .1.3.6.1.4.1.44106.18.1.2.4 &quot;Go Offline Partner Went Inactive&quot;" occurrences="1" seconds="0" minimum-command-interval="0"/>

        <!-- CE_PARNER_WENT_ACTIVE -->
                <application-event name="pcsClusterEvent-6" command="/usr/sipxpress/bin/xpresstraptool .1.3.6.1.4.1.44106.18.1.2.4 &quot;Partner Went Active&quot;" occurrences="1" seconds="0" minimum-command-interval="0"/>
                <application-event name="pcsClusterStatusChange-up-6" command="/usr/sipxpress/bin/xpresstraptool .1.3.6.1.4.1.44106.18.1.2.4 &quot;Go Online Partner Went Active&quot;" occurrences="1" seconds="0" minimum-command-interval="0"/>
                <application-event name="pcsClusterStatusChange-down-6" command="/usr/sipxpress/bin/xpresstraptool .1.3.6.1.4.1.44106.18.1.2.4 &quot;Go Offline Partner Went Active&quot;" occurrences="1" seconds="0" minimum-command-interval="0"/>

        <!-- CE_PARTNER_LOST_NETORK -->
                <application-event name="pcsClusterEvent-7" command="/usr/sipxpress/bin/xpresstraptool .1.3.6.1.4.1.44106.18.1.2.4 &quot;Partner Lost Network&quot;" occurrences="1" seconds="0" minimum-command-interval="0"/>
                <application-event name="pcsClusterStatusChange-up-7" command="/usr/sipxpress/bin/xpresstraptool .1.3.6.1.4.1.44106.18.1.2.4 &quot;Go Online Partner Lost Network&quot;" occurrences="1" seconds="0" minimum-command-interval="0"/>
                <application-event name="pcsClusterStatusChange-down-7" command="/usr/sipxpress/bin/xpresstraptool .1.3.6.1.4.1.44106.18.1.2.4 &quot;Go Offline Partner Lost Network&quot;" occurrences="1" seconds="0" minimum-command-interval="0"/>

        <!-- CE_PARTNER_REGAINED_NETWORK -->
                <application-event name="pcsClusterEvent-8" command="/usr/sipxpress/bin/xpresstraptool .1.3.6.1.4.1.44106.18.1.2.4 &quot;Partner Network Up&quot;" occurrences="1" seconds="0" minimum-command-interval="0"/>
                <application-event name="pcsClusterStatusChange-up-8" command="/usr/sipxpress/bin/xpresstraptool .1.3.6.1.4.1.44106.18.1.2.4 &quot;Go Online Partner Network Up&quot;" occurrences="1" seconds="0" minimum-command-interval="0"/>
                <application-event name="pcsClusterStatusChange-down-8" command="/usr/sipxpress/bin/xpresstraptool .1.3.6.1.4.1.44106.18.1.2.4 &quot;Go Offline Partner Network Up&quot;" occurrences="1" seconds="0" minimum-command-interval="0"/>

        <!-- CE_NETWORK_DOWN -->
                <application-event name="pcsClusterEvent-9" command="/usr/sipxpress/bin/xpresstraptool .1.3.6.1.4.1.44106.18.1.2.4 &quot;Network Down&quot;" occurrences="1" seconds="0" minimum-command-interval="0"/>
                <application-event name="pcsClusterStatusChange-up-9" command="/usr/sipxpress/bin/xpresstraptool .1.3.6.1.4.1.44106.18.1.2.4 &quot;Go Online Network Down&quot;" occurrences="1" seconds="0" minimum-command-interval="0"/>
                <application-event name="pcsClusterStatusChange-down-9" command="/usr/sipxpress/bin/xpresstraptool .1.3.6.1.4.1.44106.18.1.2.4 &quot;Go Offline Network Down&quot;" occurrences="1" seconds="0" minimum-command-interval="0"/>

        <!-- CE_SERVICES_STOPPED-->
                <application-event name="pcsClusterEvent-10" command="/usr/sipxpress/bin/xpresstraptool .1.3.6.1.4.1.44106.18.1.2.4 &quot;Services Stopped&quot;" occurrences="1" seconds="0" minimum-command-interval="0"/>
                <application-event name="pcsClusterStatusChange-up-10" command="/usr/sipxpress/bin/xpresstraptool .1.3.6.1.4.1.44106.18.1.2.4 &quot;Go Online Services Stopped&quot;" occurrences="1" seconds="0" minimum-command-interval="0"/>
                <application-event name="pcsClusterStatusChange-down-10" command="/usr/sipxpress/bin/xpresstraptool .1.3.6.1.4.1.44106.18.1.2.4 &quot;Go Offline Services Stopped&quot;" occurrences="1" seconds="0" minimum-command-interval="0"/>

        <!-- CE_PARTNER_HEARTBEAT_CHANGE -->
                <application-event name="pcsClusterEvent-11" command="/usr/sipxpress/bin/xpresstraptool .1.3.6.1.4.1.44106.18.1.2.4 &quot;Partner Heartbeat Changed&quot;" occurrences="1" seconds="0" minimum-command-interval="0"/>
                <application-event name="pcsClusterStatusChange-up-11" command="/usr/sipxpress/bin/xpresstraptool .1.3.6.1.4.1.44106.18.1.2.4 &quot;Go Online Partner Heartbeat Changed&quot;" occurrences="1" seconds="0" minimum-command-interval="0"/>
                <application-event name="pcsClusterStatusChange-down-11" command="/usr/sipxpress/bin/xpresstraptool .1.3.6.1.4.1.44106.18.1.2.4 &quot;Go Offline Partner Heartbeat Changed&quot;" occurrences="1" seconds="0" minimum-command-interval="0"/>
</application-properties>