Sun Microsystems CP2500 manual 3Properties Under watchdog-timerNode, Healthy#

Page 18

TABLE 1-3Properties Under watchdog-timerNode

Property

Values

Description

 

 

 

State

armed

Indicates timer is armed or running. Cleared by disarm.

 

expired

Indicates timer has expired. Cleared by disarm.

 

disarmed

Default value set at startup time. Indicates timer is disarmed or

 

 

stopped.

WdTimeout*

Varies by system

Indicates the timer initial countdown value. Should be set prior

 

and timer level

to arming the timer.

WdAction\

none

Default value. No action is taken.

 

alarm

Sends notifications to system alarm hardware by means of

 

 

HEALTHY#.

 

reset

Performs a soft or hard reset of the system (implementation

 

 

specific).

 

reboot

Reboots the system.

 

 

 

*A platform might not support a specified timeout resolution. For example, Netra CT 810/410 systems only take -1, 0, and 100 to 6553500 msec in increments of 100 msec for level 1; and -1, 0, and 1000 to 255000 in increments of 1000 msec for level 2.

\A specific timer node might not support all action types. For example, Netra CT watchdog level 1 timer supports only none, alarm, and reboot actions. Watchdog level 2 timer supports only none and reset.

To identify current settings of watchdog-controller, issue the command prtpicl -vas shown in the sample output below.

#prtpicl -v

...

watchdog (watchdog-controller,26000000532) :WdOp <WRITE-ONLY>

:_class watchdog-controller :name watchdog

watchdog-level1 (watchdog-timer, 26000000536)

:WdAction alarm

:WdTimeout 0x2710

:State disarmed

:_class watchdog-timer :name watchdog-level1

watchdog-level2 (watchdog-timer, 26000000539)

:WdAction none

:WdTimeout 0xffffffff

:State disarmed

4 Netra CP2500 Board Programming Guide • March 2007

Image 18
Contents Netra CP2500 Board Programming Guide Page Contents User Flash Figures Vi Netra CP2500 Board Programming Guide March Tables Viii Netra CP2500 Board Programming Guide March Code Samples Netra CP2500 Board Programming Guide March Preface How This Book Is OrganizedUsing Unix Commands Typographic ConventionsShell Prompts Related DocumentationDocumentation, Support, and Training Third-Party Web SitesSun Welcomes Your Comments Watchdog Timer OverviewPicl Plug-In Module 1Watchdog Plug-In Interfaces for Netra CP2500 Board Software 2Properties Under watchdog-controllerNode3Properties Under watchdog-timerNode HEALTHY#Watchdog Node Management Code Code Example 1-1System Watchdog Node Management Code ExampleCode Example 1-1System Watchdog Node Management Code Example Usagestr Code Example 1-1System Watchdog Node Management Code Example Code Example 1-1System Watchdog Node Management Code Example Code Example 1-1System Watchdog Node Management Code Example Code Example 1-1System Watchdog Node Management Code Example Code Example 1-1System Watchdog Node Management Code Example Null Code Example 1-1System Watchdog Node Management Code Example Code Example 1-1System Watchdog Node Management Code Example Code Example 1-1System Watchdog Node Management Code Example Code Example 1-1System Watchdog Node Management Code Example Code Example 1-1System Watchdog Node Management Code Example Notreached Code Example 1-1System Watchdog Node Management Code Example OpenBoot Prom Interface Netra CP2500 Board Programming Guide March Environmental Monitoring Environmental Monitoring Component Compatibility Typical Environmental Monitoring System Application1Compatible Environmental Monitoring Components I2C Typical Cycle From Power Up to Shutdown Environmental Monitoring Protection at the OpenBoot PromPost Shutdown Recovery Hardware Environmental Monitoring Functions 3I2C ComponentsEnvironmental Monitoring CPU Switching Power On and Off Inlet, Exhaust, and CPU Temperature MonitoringNetra CP2500 Board Programming Guide March OpenBoot Prom Environmental Monitoring Critical Temperature Response at OpenBoot PromUsing the show-sensorsCommand at OpenBoot Prom Environmental Monitoring Application ProgrammingReading Temperature Sensor States Using 4PICL Temperature Sensor Class Node PropertiesUsing a Configuration File for Sensor Information Solaris Driver InterfaceSample Application Program Code Example 2-1Sample envmond Application ProgramCode Example 2-1Sample envmond Application Program Code Example 2-1Sample envmond Application Program Code Example 2-1Sample envmond Application Program Reading the CPU Temperature Environmental Limits Prtdiag command example5Description of Values Displayed by Solaris Commands User Flash User Flash Usage and ImplementationOpenBoot Prom Device Tree and Properties User Flash Driver1User Flash Node Properties Interface Header File Application Programming InterfaceUser Flash Device Files 2System CallsStructures to Use in Ioctl Arguments Code Example 3-1PROM Information StructureErrors Example ProgramsCode Example 3-2User Flash Interface Structure Read Example Program Code Example 3-3Read Action on User Flash DeviceWrite Example Program Code Example 3-4Write Action on User Flash DeviceCode Example 3-4Write Action on User Flash Device Block Erase Example Program Code Example 3-5Block Erase Action on User Flash DeviceCode Example 3-5Block Erase Action on User Flash Device Sample User Flash Application Program Code Example 3-6Sample User Flash Application ProgramCode Example 3-6Sample User Flash Application Program Code Example 3-6Sample User Flash Application Program Code Example 3-6Sample User Flash Application Program Code Example 3-6Sample User Flash Application Program Code Example 3-6Sample User Flash Application Program Index PiclWatchdog-controller, 3 Watchdog-timer, 3