Availability Service
Programmer???s Reference
6806800C44B
September 2007
2007 Motorola
All rights reserved.
Trademarks
Motorola and the stylized M logo are trademarks registered in the U.S. Patent and Trademark Office. All other product or service names are the property of their respective owners.
Intel?? is a trademark or registered trademark of Intel Corporation or its subsidiaries in the United States and other countries.
Java??? and all other
Microsoft??, Windows?? and Windows Me?? are registered trademarks of Microsoft Corporation; and Windows XP??? is a trademark of Microsoft Corporation.
PICMG??, CompactPCI??, AdvancedTCA??? and the PICMG, CompactPCI and AdvancedTCA logos are registered trademarks of the PCI Industrial Computer Manufacturers Group.
UNIX?? is a registered trademark of The Open Group in the United States and other countries.
Notice
While reasonable efforts have been made to assure the accuracy of this document, Motorola assumes no liability resulting from any omissions in this document, or from the use of the information obtained therein. Motorola reserves the right to revise this document and to make changes from time to time in the content hereof without obligation of Motorola to notify any person of such revision or changes.
Electronic versions of this material may be read online, downloaded for personal use, or referenced in another document as a URL to a Motorola website. The text itself may not be published commercially in print or electronic form, edited, translated, or otherwise altered without the permission of Motorola,
It is possible that this publication may contain reference to or information about Motorola products (machines and programs), programming, or services that are not available in your country. Such references or information must not be construed to mean that Motorola intends to announce such Motorola products, programming, or services in your country.
Limited and Restricted Rights Legend
If the documentation contained herein is supplied, directly or indirectly, to the U.S. Government, the following notice shall apply unless otherwise agreed to in writing by Motorola.
Use, duplication, or disclosure by the Government is subject to restrictions as set forth in subparagraph (b)(3) of the Rights in Technical Data clause at DFARS
Contact Address
Motorola GmbH
ECC Embedded Communications Computing
Lilienthalstr. 15
85579
Contents
2.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 2.2 Management Information Base (MIB) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 2.2.1
2.2.4
Contents
List of Tables
Table
Table
Table
List of Tables
List of Figures
List of Figures
About this Manual
Overview of Contents
This manual is divided into the following chapters and appendices.
zChapter 1: Introduction
Describes the functionality and main features of the Availability Service
zChapter 2: Management Interface
Describes how to configure the functionality of the Availability Service
zAppendix A: Sample Application
Describes the sample application which illustrates the functionality of the Availability Service. The sample application is delivered with the Avantellis software.
zAppendix B: Related Documentation
Provides references to further documentation and specifications that are related to NCS and the Availability Service.
Abbreviations
This document uses the following abbreviations:
About this Manual
Conventions
The following table describes the conventions used throughout this manual.
Summary of Changes
This manual has been revised and replaces all prior editions.
Comments and Suggestions
We welcome and appreciate your comments on our documentation. We want to know what you think about our manuals and how we can make them better.
Mail comments to:
zMotorola GmbH
Embedded Communications Computing Lilienthalstrasse 15
85579 Neubiberg
About this Manual
Germany
zeccrc@motorola.com
In all your correspondence, please list your name, position, and company. Be sure to include the title, part number, and revision of the manual and tell how you used it.
Introduction
1
1.1Overview
The NCS Availability Service (AvSv) is the core service of the NetPlane software. It provides service availability to applications by coordinating the redundant resources in a cluster to provide a system with no single point of failure. It provides
The AvSv functionality is a highly compliant implementation of Service Availability Forum???s Application Interface Specification of Availability Management Framework
The Availability Service (AvSv) provides the following functionality:
zLeverage the SAF "System Description and Conceptual Model"
zHonour the Availability Management Framework" API
zHonour the SA Cluster membership Service API
zHouse the MIB tables corresponding to the hardware portion of the deployment system description which includes entity containment and fault domain hierarchy information
zHouse the MIB tables corresponding to the software portion of the deployment system description which include configuration of
zPerform blade validation on receipt of HPI hot swap insertion events
zHandle fault events such as HPI hot swap extraction events, threshold crossing events etc.
The AvSv maintains a software system model database which captures
The SAF logical entities related in the system model include components which normalize the view of physical resources such as processes, drivers or devices. Components are grouped into Service Units according to fault dependencies that exist among them. A Service Unit is also scoped to one or more (physical) fault domains. Service Units of the same type are grouped into Service Groups (SG) which exhibit particular redundancy modelling characteristics. Service Units within a SG are assigned to Service Instances (SI) and given a High Availability state of active and standby.
The hardware database maintained by AvSv includes hardware entity containment information and the hardware fault domain hierarchy. All hardware entities are represented by their HPI entity paths. The hardware entity containment tree only includes managed FRUs which may or may not include processor environments., and
entities as well as
Further functionality provided by AvSv includes:
zAutomatic and administrative means to instantiate, terminate and restart resources
zAutomatic and administrative means to manage or reflect Service Group, Service Unit, Service Instance and Resource state
zAdministrative means to perform
zAdministrative means to reset (but not power cycle) nodes
zHeartbeat and event subscription schemes for fault detection, isolation and identification
z
zFault recovery mechanisms to
zFault repair mechanisms to restore failed components
zValidation of hardware resources (managed FRUs) entering the system
The AsVs itself cannot be a
1.2Models and Concepts
This chapter provides information on:
zService Structure and architecture
zCompliancy to SAF standard
zService Dependencies
zReferences to SAF documents which provide details about the service functionality
zService Extensions
zImplementation Notes
zConfiguration
1.2.1Service Structure Overview
Availability Service is made up of the following distributed
zAvailability Manager
zAvailability Director
zAvailability Node Director
zAvailability Agent
zCluster Membership Agent
Figure
1.2.1.1Availability Manager
NetPlane Core Services??? Availability Manager (AvM) maintains the hardware model of the system above. It acts as a bridge between the Availability Management Framework (AMF) and the Hardware Platform Interface (HPI). It supports activation and deactivation of field- replaceable units (FRUs), Reset Management, Lock Management, and Fault Management. AvM interacts with internal role distribution and fault management mechanisms to capture the role of system manager hosts and propagate it to the AMF. It is also used to trigger administrative switchovers of system manager hosts. AvM resides on both the active and standby system manager hosts.
1.2.1.2Availability Director
The Availability Director (AvD) maintains the entire system model, consisting of nodes, the Service Groups (SG), their constituent Service Units (SUs), their constituent components, and their corresponding component service instance (CSI) and service instances (SIs) that are in the system. There is an active and a standby instance of the AvD in a system. The AvD runs as part of a System Construction and Availability Process (SCAP) on the system manager host.
Its main tasks include fault detection, isolation and recovery procedures as defined in the SAF AMF. Any problems and failures on a component that cannot be handled locally, are prompted to the Availability Director which controls and triggers the isolation of the affected component and, if possible, the activation of a
1.2.1.3Availability Node Director
The Availability Node Director (AvND) resides on each system node and its main task is to maintain the
The AvND coordinates local fault identification and repair of components and furthermore facilitates any wishes it receives from the Availability Director.
The AvND watches for components arriving or leaving the system and summarizes this information in a Service Unit (SU) presence state, and keeps the AvD informed about the current status and changes. The AvND is capable of disengaging, restarting and destroying any component within its scope. This may occur according to AvD instructions or as a result of an administrative action or automatically triggered by policies.
1.2.1.4Availability Agent
The Availability Agent (AvA) is the linkable library that provides a means for the AvSv to exchange information with system components overseen by the process in which this library is planted. It does not run as a separate thread.
The AvA implements the SAF Availability Management Framework API and provides the entry- point for accessing AMF functionality.
1.2.1.5Cluster Membership Agent
The Cluster Membership Agent (CLA) is a linkable library that enables AvSv to provide information about nodes in the cluster to the process in which it is linked. It does not run as a separate thread.
The CLA implements the SAF Cluster Membership Service Library functionality and provides an entry point to the SAF CLM functionality.
1.2.2Compliance Report
Availability Service conforms to the Application Interface specifications mentioned in the following SAF documents:
z
z
z
Table
Compliance ReportIntroduction
Table
Table
IntroductionCompliance Report
Table
Compliance ReportIntroduction
Table
IntroductionCompliance Report
Table
Table
1.2.3Dependencies
This section describes dependencies between the AvS and other services and between the Avs and libraries.
1.2.3.1Service Dependencies
The following table lists other NCS services and how the Availability Service depends on them.
Table
1.2.3.2Library Dependencies
The AvSv library, libSaAmf.so, and Cluster Membership library, libSaClm.so, depend on:
zlibncs_core.so
zlibavsv_common.so
zlibsaf_common.so
1.2.4Service Definition Documents
The documents available at the following links are
zhttp://www.saforum.org/apps/org/workgroup/twg/ais/download.php/1451/aisOverview.B0101
zhttp://www.saforum.org/apps/org/workgroup/twg/ais/download.php/1449/aisAmf.B0101.pdf
zhttp://www.saforum.org/apps/org/workgroup/twg/ais/download.php/1446/aisClm.B0101.pdf
The following information can be found in the referenced document:
zService concept definitions and descriptions
zFunctional behaviors and relationships
zA complete set of service data types exposed to the service user
zThe set of Service APIs available to the service user
An application managed by AvSv is provided with APIs to perform the following:
zComponent registration and unregistration
zPassive monitoring of processes of a component
zComponent health monitoring
zComponent service instance management
zComponent life cycle management
zProtection group management
zError reporting
An application also provides certain "Component Life Cycle" commands that are used by AvSv to instantiate, terminate, and clean it up. Applications can also use the APIs specified in Section 3 of the
1.2.5Service Extensions
AvSv???s AvM service is proprietary to Motorola. All functionality and associated behaviors identified in this documentation are supported, as explained in this document.
1.2.6Implementation Notes
The MIB rows whose "row status" is "not active" are lost on failover or switchover of the active system management host. The configuration being performed when the failover/switchover occurs should be redone.
1.2.7Configuration
An application managed by AvSv to provide high service availability must be modeled in terms of logical entities in accordance with the structure of the "System Model". Further, the application must implement the state models and callback interfaces according to the AMF specification.
Availability Service provides a management interface to configure the System Model and to perform runtime administrative operations. The System Model configuration can be done either using SNMP or XML, while the runtime administrative operations can be performed using SNMP or CLI.
Management Interface
2.1Overview
2
The Availability Service is configured using SNMP or XML. Runtime administrative operations are performed using SNMP or CLI.
2.2Management Information Base (MIB)
This section provides information about two standard MIBs
2.2.1
This proprietary MIB contains managed object definitions for NCS Availability Service. This MIB contains NCS enhancements beyond the SAF AMF and CLM MIBs. The MIB is in the development tar installation directory.
The following table describes the objects and traps supported by this MIB.
Table
Management InterfaceNCS-AVM-MIB
Table
2.2.2
This proprietary MIB is used to manage hardware deployment system configuration. It is in the development tar installation directory.
The following table describes the objects and traps supported by this MIB.
Table
2.2.2.1Example
To issue a lock on a node in physical slot 9 on chassis 2, the
snmpset
In this
z{{7,9},{23,2},{65535,0}} refers to the index.
z{7,9} refers to the blade in physical slot 9 (the entity type of the blade is 7 and its entity instance is 9).
z{23,2} refers to the chassis in location 2 (the entity type of the chassis is 23 and its entity instance is 2).
z{65535,0} is the default root entity in the system.
2.2.3
NCS 06A Availability Service supports an intermediate draft version of the SAF AMF MIB. This MIB for the Availability Service is compliant with the
Table
2.2.4
NCS 2.0 Availability Service supports an intermediate draft version of the SAF Cluster Member Service MIB. This MIB for the Availability Service is compliant with the
The following table describes the standard CLM MIB tables and objects that are not implemented by Availability Service.
Table
2.2.5Example MIB Operations
This section describes the steps required to completely uninstall an application component on a sample node and then install it again.
Uninstalling an Application Component on a Sample Node
To uninstall all application SUs from a node, take the steps below.
Assume there is only one application SU (safSu=Su_app,safNode=PL_2_2) and only one application component on the node (safComp=Comp_app, safSu=Su_app,safNode=PL_2_2).
1.Perform an SNMP Set of
2.Perform an SNMP Set of
3.Perform an SNMP Set of
4.Perform an SNMP Set of
5.Perform an SNMP Set of
After this, the application can be uninstalled from the node.
Install an Application Component on a Sample Node
Assume there is only one application SU (safSu=Su_app,safNode=PL_2_2) and only one application component (safComp=Comp_app, safSu=Su_app,safNode=PL_2_2) to be installed on the node. Assume that this SU should be part of the SG ???safSg=SG_app???.
1.Install the component on the node.
2.Perform an SNMP Set of
3.Perform an SNMP Set of
4.Perform an SNMP Set of
5.Perform an SNMP Set of
6.Perform an SNMP Set of
7.Perform an SNMP Set of
8.Perform an SNMP Set of
9.Perform an SNMP Set of
10.Perform an SNMP Set of
11.Perform an SNMP Set of
12.Perform an SNMP Set of
13.Perform an SNMP Set of
14.Perform an SNMP Set of
15.Perform an SNMP Set of
16.Perform an SNMP Set of
17.Perform an SNMP Set of
18.Perform an SNMP Set of
2.2.6AvSv Traps
Traps are defined in
zAMF TRAP events
zCLM TRAP events
z
or any combination of the above.
Users can subscribe for all AvSv traps and partially subscribe for AMF traps, CLM traps and NCS traps. The following table describes the filters for AvSv traps.
Table
The subscriber should use a combination of these filters, based on the requirements. For example, if a subscriber wants to receive all AvSv traps, AVSV_TRAPS filter should be used. If a subscriber wants to receive only AMF traps, the array of AVSV_TRAPS and SAF_AMF_MIB_TRAPS filters should be used.
2.2.7XML
Motorola uses a proprietary XML schema for configuring entities in the AMF system model. The XML syntax is described in the XSD (the schema file) and the NCS System Description Programer???s Reference. This schema has been developed to support the four MIBs described in the section Management Information Base (MIB) on page 23. The files in XML format the system description file, and the application config file is used only once during the initial system boot. The system description file also contains the hardware deployment configuration that AvM uses.
2.3Command Line Interface
The Availability Service supports CLI commands for admin operations on Service Groups, Service Units, Service instances, and nodes.
To issue AvSv CLI commands the file cli_cefslib_conf should be updated with the entry: libavsv_clicef.so ncsavsv_cef_load_lib_req
Only users with Admin permissions can access these commands. (Refer to the Command Line Interface Programmer???s Reference for further intormation.)
2.3.1set
Description
This command sets the admin state of the Service Group (SG), Service Unit (SU), Service instance (SI), or node to locked, unlocked, or shutting down.
Synopsis
set index (SG Name | SU Name |
SI Name | Node Name) adminstate value
(locked | unlocked | shuttingdown)
Parameters
index
Name of SG, SU, SI or node
value
Possible values are: locked|unlocked|shuttingdown
Example
Example Commands:
set safSg=SG_NCS_DIRECTORS adminstate locked
The previous command will lock the Service Group NCS DIRECTORS.
set safNode=PL_2_6 adminstate unlocked
The previous command will unlock the node PL_2_6.
set safSu=SuT_NCS_Payload adminstate shuttingdown
The previous command will shut down the Service Unit NCS_Payload
2.3.2admin reset
Description
This command resets nodes at the location mentioned within.
AvSv supports two types of resets: soft and hard. With soft resets, applications on a node are first failed over, then gracefully shut down, and then an HPI command to gracefully reset the processor is issued.
Soft resets are not allowed on active system manager hosts.
With hard resets, an HPI command to abruptly reset the processor is issued.
Synopsis
operation softreset | hardreset
Parameters
ID of the chassis.
ID of the physical slot.
ID of the subslot. This field is optional. Users have to provide the ID only if there is any entity at level 3.
softreset
To reset a node gracefully.
hardreset
To reset a node abruptly.
The shelf type of the chassis in
The type of blade in
The type of blade in
Example
The following example commands illustrate the usage of this command.
[reset /2/9/ operation softreset
This command resets the node on chassis 2, physical slot 9.
Users can also issue this command as:
reset /2/9 operation softreset /23/7
This would reset the node on chassis 2, physical slot 9, shelf type 23, and blade type 7.
Note that the default entity types are supported only for
2.3.3admin lock
Description
This command locks or unlocks the node at the location mentioned within.
Three operations are supported: shutdown, lock, and unlock.
In the case of shutdown, applications are failed over and then shut down gracefully. The AvM deactivates the relevant blade gracefully using an HPI command and sets the state of the blade to "locked" The blade can then be brought up only when an administrator performs an explicit "unlock" operation. Shutdown cannot be performed on active system manager hosts.
In the case of a lock operation, the AvM deactivates the blade abruptly using an HPI command and sets the state of the blade to "locked" The blade cannot then be brought up unless an administrator performs an "unlock" operation.
An "unlock" operation is performed to bring up a blade that has been locked because of a shutdown or lock operation.
Synopsis
shutdown | lock | unlock
Parameters
ID of the chassis.
ID of the physical slot.
ID of the subslot. This field is optional. Users have to provide the ID only if there is an entity at level 3. Default value: 0.
shutdown
To deactivate a node gracefully.
lock
To deactivate a node abruptly.
unlock
To unlock a node (if it has been shut down or locked).
The type of chassis corresponding to the chassis in
The type of blade corresponding to the blade in
The type of blade at the level corresponding to the blade in
Example
Example Commands
admreq /2/9/ operation shutdown
This command deactivates the node on chassis 2, physical slot 9.
Users can also issue this command as:
admreq /2/9 operation shutdown /23/7
This command deactivates the node on chassis 2, physical slot 9,
Note that the default values are supported only for entities up to two levels of hierarchy, starting from Shelf, i.e., 23 for
2.3.4admswitch
Description
This command performs a switchover of two system manager hosts. If the switchover is successful, the active host becomes a standby while the standby host becomes active.
Synopsis
admswitch
Sample Application
A
A.1 Overview
The sample AvSv application is a 'counter' application that is run in a
The sample application shows you how to use some APIs defined in the
zPassive monitoring
zProtection Group tracking
zComponent failover (triggered by a
z
A.1.1 Sequence of Events in the Sample Application
When the demo is started, AvSv instantiates two instances of the sample application per the configuration in the BOM. The sequence of events in both the applications is described below
Create 3 threads (one each for the counter application,
1.Initialize with AMF
2.Call the AMF selection object
3.Call the API to get the component name
4.Register the component
5.Wait on the AMF selection object for callback events.
In the
zOpen the local checkpoint
zInitialize with CKPT
zRegister the arrival callback
zCall the CKPT selection object
zWait on the CKPT selection object for callback events
AMF dispatches CsiSetCallback with active/standby HA state.
In the active application:
1.Invoke the HA state handling callback function
2.Increment the counter and write it to the local checkpoint
3.Start the AMF initiated health check (as a result, the health check callbacks are dispatched by AMF periodically)
4.Stop responding to the health check after certain number of health checks
5.Send an error report with "component failover" as the recommended recovery
In the standby application:
1.Read the local checkpoint and update the counter value when standby assignment happens
2.Each update to the local checkpoint by the active results in a callback to the standby
3.Start tracking the protection group associated with the assigned CSI
4.Start and stop passive monitoring of the component
When the active application sends an error report, the standby application receives the active assignment
The new active application resumes incrementing the counter value
The new active application receives the protection group callback and stops tracking this protection group.
The previous active application is terminated
A new application is instantiated (as a part of repair)
The new active component then unregisters and finalizes with AMF
A.2 Configuration for the Sample Application
The configuration for the sample application is captured in the System Description File. It comprises of the following entities:
zA service group (SG) that comprises 2 service units (SU) in a
zA single service instance (SI) is configured to be assigned to the SG
zThe two SUs come up in the payload nodes (safNode=PL_2_3 and safNode=PL_2_4 respectively).
The sample application also provides scripts (available in /opt/motorola/ncs/dev/source/avsv directory on the development host) to control the component life cycle. These are:
zcomp_inst.sh script (to instantiate the sample application)
zcomp_term.sh script (to terminate the sample application).
A.3 Building the Sample Application
On the development host the sample application should be crosscompiled for the target architecture. To build the AvSv sample application, use the following command:
./make_env.sh
This will generate a sample executable file avsv_demo.out in the bin/<target-
architecture>/ directory.
A.4 Running the Sample Application
To run the sample application on the target architecture:
Procedure
1.Install NCS on the System Manager Node and two payload nodes (safNode=PL_2_3 and safNode=PL_2_4 respectively).
2.Transfer/install the sample application inventory on the target machine as follows. Transfer the sample program executable file (avsv_demo.out) to the payload nodes. Place it in /etc/ncs/ folder.
Transfer the sample program scripts (comp_inst.sh and comp_term.sh) to the payload nodes. Place them in /etc/ncs/ folder.
3.Ensure that the scripts have executable permission. Use the following command: chmod +x comp_inst.sh
chmod +x comp_term.sh
4.Update the BOM on the system manager host. The configuration for the sample application is captured in AppConfig.xml file that is supplied along with the sample applications. They can be found (along with sample program scripts) in the
/opt/motorola/ncs/dev/source/avsv directory on the development host.
5.Copy this BOM to the /etc/ncs folder on the System Manager Node. The sample application specific configuration attributes are commented in the AppConfig.xml. Remove the comments (the commented portions begin with a
6.Verify if the /etc/ncs/pssv_spcn_list file on the System Manager Node contains the string PSS. Replace it with an XML file. This is required to force initial configuration data read from the BOM file.
7.Remove the avsv_demo.log file, if any, from the /ncs/log/stdouts folder on the payload nodes. This file contains the output of the sample application.
Reboot the chassis. The entire system will come up with the sample application along with the NCS infrastructure elements. The avsv_demo.log file captures the output of the sample application on each payload node.
A.5 Sample Application Output
For the active node:
##############################################
##
# You are about to witness AvSv Demo !!! #
##
##############################################
CKPT ::
AMF Initialization Done !!!
AmfHandle:
CKPT Initialization Done !!!
CkptHandle: 2
CKPT :: Registered Arrival Callback !!!
CKPT :: Checkpoint Opened !!!
CKPT :: Ckpt Section Create being called ....PASSED
AMF Selection Object Get Successful !!!
CKPT :: Selection Object Get Successful !!!
Component Name Get Successful !!!
CompName: safComp=CompT_AvSvDemo,safSu=SuT_AvSvDemo,safNode=PL_2_3
Component Registered !!!
Dispatched 'CSI Set' Callback
Component: safComp=CompT_AvSvDemo,safSu=SuT_AvSvDemo,safNode=PL_2_3
CSIName: safCsi=Csi_AvSvDemo,safSi=Si_AvSvDemo
HAState: Active
CSIFlags: Add One
INVOKING saAmfHAStateGet() API !!!
COUNTER VALUE: 1
CKPT :: Wrote 1 to the CheckPoint
COUNTER VALUE: 2
CKPT :: Wrote 2 to the CheckPoint
CompName: safComp=CompT_AvSvDemo,safSu=SuT_AvSvDemo,safNode=PL_2_3
CSIName: safCsi=Csi_AvSvDemo,safSi=Si_AvSvDemo
HAState: Active
DEMONSTRATING
COUNTER VALUE: 3
CKPT :: Wrote 3 to the CheckPoint
COUNTER VALUE: 4
CKPT :: Wrote 4 to the CheckPoint
Started
Recovery)
Comp: safComp=CompT_AvSvDemo,safSu=SuT_AvSvDemo,safNode=PL_2_3
HealthCheckKey: A9FD64E12C
Dispatched 'HealthCheck' Callback
Component: safComp=CompT_AvSvDemo,safSu=SuT_AvSvDemo,safNode=PL_2_3
HealthCheckKey: A9FD64E12C
COUNTER VALUE: 5
CKPT :: Wrote 5 to the CheckPoint
COUNTER VALUE: 6
CKPT :: Wrote 6 to the CheckPoint
Dispatched 'HealthCheck' Callback
Component: safComp=CompT_AvSvDemo,safSu=SuT_AvSvDemo,safNode=PL_2_3
HealthCheckKey: A9FD64E12C
COUNTER VALUE: 7
CKPT :: Wrote 7 to the CheckPoint
COUNTER VALUE: 8
CKPT :: Wrote 8 to the CheckPoint
Dispatched 'HealthCheck' Callback
Component: safComp=CompT_AvSvDemo,safSu=SuT_AvSvDemo,safNode=PL_2_3
HealthCheckKey: A9FD64E12C
COUNTER VALUE: 9
CKPT :: Wrote 9 to the CheckPoint
COUNTER VALUE: 10
CKPT :: Wrote 10 to the CheckPoint
Dispatched 'HealthCheck' Callback
Component: safComp=CompT_AvSvDemo,safSu=SuT_AvSvDemo,safNode=PL_2_3
HealthCheckKey: A9FD64E12C
COUNTER VALUE: 11
CKPT :: Wrote 11 to the CheckPoint
COUNTER VALUE: 12
CKPT :: Wrote 12 to the CheckPoint
Dispatched 'HealthCheck' Callback
Component: safComp=CompT_AvSvDemo,safSu=SuT_AvSvDemo,safNode=PL_2_3
HealthCheckKey: A9FD64E12C
COUNTER VALUE: 13
CKPT :: Wrote 13 to the CheckPoint
COUNTER VALUE: 14
CKPT :: Wrote 14 to the CheckPoint
Dispatched 'HealthCheck' Callback
Component: safComp=CompT_AvSvDemo,safSu=SuT_AvSvDemo,safNode=PL_2_3
HealthCheckKey: A9FD64E12C
COUNTER VALUE: 15
CKPT :: Wrote 15 to the CheckPoint
COUNTER VALUE: 16
CKPT :: Wrote 16 to the CheckPoint
Sample ApplicationSample Application Output
Dispatched 'HealthCheck' Callback
Component: safComp=CompT_AvSvDemo,safSu=SuT_AvSvDemo,safNode=PL_2_3
HealthCheckKey: A9FD64E12C
COUNTER VALUE: 17
CKPT :: Wrote 17 to the CheckPoint
COUNTER VALUE: 18
CKPT :: Wrote 18 to the CheckPoint
Dispatched 'HealthCheck' Callback
Component: safComp=CompT_AvSvDemo,safSu=SuT_AvSvDemo,safNode=PL_2_3
HealthCheckKey: A9FD64E12C
COUNTER VALUE: 19
CKPT :: Wrote 19 to the CheckPoint
COUNTER VALUE: 20
CKPT :: Wrote 20 to the CheckPoint
Dispatched 'HealthCheck' Callback
Component: safComp=CompT_AvSvDemo,safSu=SuT_AvSvDemo,safNode=PL_2_3
HealthCheckKey: A9FD64E12C
COUNTER VALUE: 21
CKPT :: Wrote 21 to the CheckPoint
COUNTER VALUE: 22
CKPT :: Wrote 22 to the CheckPoint
Dispatched 'HealthCheck' Callback
Component: safComp=CompT_AvSvDemo,safSu=SuT_AvSvDemo,safNode=PL_2_3
HealthCheckKey: A9FD64E12C
Stopped HealthCheck for Comp: safComp=CompT_AvSvDemo,safSu=SuT_AvSvDemo,safNode=PL_2_3 with HealthCheckKey: A9FD64E12C
DEMONSTRATING COMPONENT FAILOVER THROUGH ERROR REPORT !!!
COUNTER VALUE: 23
CKPT :: Wrote 23 to the CheckPoint
COUNTER VALUE: 24
CKPT :: Wrote 24 to the CheckPoint
Sent Error Report for Comp: safComp=CompT_AvSvDemo,safSu=SuT_AvSvDemo,safNode=PL_2_3 with CompFailover as the recommended recovery
##############################################
##
# You are about to witness AvSv Demo !!! #
##
##############################################
CKPT ::
AMF Initialization Done !!!
AmfHandle:
CKPT Initialization Done !!!
CkptHandle: 3
CKPT :: Registered Arrival Callback !!!
CKPT :: Checkpoint Opened !!!
CKPT :: Ckpt Section Create being called ....PASSED
AMF Selection Object Get Successful !!!
CKPT :: Selection Object Get Successful !!!
Component Name Get Successful !!!
CompName: safComp=CompT_AvSvDemo,safSu=SuT_AvSvDemo,safNode=PL_2_3
Component Registered !!!
Dispatched 'CSI Set' Callback
Component: safComp=CompT_AvSvDemo,safSu=SuT_AvSvDemo,safNode=PL_2_3
CSIName: safCsi=Csi_AvSvDemo,safSi=Si_AvSvDemo
HAState: Active
CSIFlags: Add One
INVOKING saAmfHAStateGet() API !!!
COUNTER VALUE: 1
CKPT :: Wrote 1 to the CheckPoint
COUNTER VALUE: 2
CKPT :: Wrote 2 to the CheckPoint
CompName: safComp=CompT_AvSvDemo,safSu=SuT_AvSvDemo,safNode=PL_2_3
CSIName: safCsi=Csi_AvSvDemo,safSi=Si_AvSvDemo
HAState: Active
DEMONSTRATING
For the
##############################################
##
# You are about to witness AvSv Demo !!! #
##
##############################################
CKPT ::
AMF Initialization Done !!!
AmfHandle:
CKPT Initialization Done !!!
CkptHandle: 2
CKPT :: Registered Arrival Callback !!!
CKPT :: Checkpoint Opened !!!
CKPT :: Ckpt Section Create being called ....PASSED
Component: safComp=CompT_AvSvDemo,safSu=SuT_AvSvDemo,safNode=PL_2_2
CSIName: safCsi=Csi_AvSvDemo,safSi=Si_AvSvDemo
HAState: Standby
CSIFlags: Add One
Started Protection Group Tracking
CSI: safCsi=Csi_AvSvDemo,safSi=Si_AvSvDemo
Track Flags: Changes Only
CKPT :: Read 8 during initial read
CKPT :: Read 9 from the CheckPoint
Stopped Protection Group Tracking for CSI: safCsi=Csi_AvSvDemo,safSi=Si_AvSvDemo
Started Passive Monitoring for Comp: safComp=CompT_AvSvDemo,safSu=SuT_AvSvDemo,safNode=PL_2_2
Stopped Passive Monitoring for Comp: safComp=CompT_AvSvDemo,safSu=SuT_AvSvDemo,safNode=PL_2_2
Dispatched 'CSI Set' Callback
Component: safComp=CompT_AvSvDemo,safSu=SuT_AvSvDemo,safNode=PL_2_2
CSIName:
HAState: Active
CSIFlags: Target All
DEMO OVER (UNREGISTER & FINALIZE THE COMPONENT) !!!
COUNTER VALUE: 25
CKPT :: Wrote 25 to the CheckPoint
COUNTER VALUE: 26
CKPT :: Wrote 26 to the CheckPoint
Component UnRegistered !!!
COUNTER VALUE: 27
CKPT :: Wrote 27 to the CheckPoint
COUNTER VALUE: 28
CKPT :: Wrote 28 to the CheckPoint
AMF Finalize Done !!!
DEMO OVER !!!
Related Documentation
B
B.1 Motorola Embedded Communications
Computing Documents
The Motorola publications listed below are referenced in this manual. You can obtain electronic copies of Embedded Communications Computing (ECC) publications by contacting your local Motorola sales office or by visiting ECC???s World Wide Web literature site: http://www.motorola.com/computer/literature. This site provides the most
Table
B.2 Related Specifications
For additional information, refer to the following table for related specifications. As an additional help, a source for the listed document is provided. Please note that, while these sources have been verified, the information is subject to change without notice.
Table