Battery Cache – health check (EN)

How to check the health of the battery cache

To ensure optimal performance status, check the state of the cache batteries. When these batteries are unloaded, there is a significant decrease in performance as RAID protection caching is disabled.

Generally these batteries have a lifespan of almost 3 years. The operating system begins to warn that the batteries will need to be replaced about after 2.33 years of life.

Message codes sent by the system to alert you to battery issues: CPPEA13

With the WRKDSKSTS command (and then press F11) you can view the status of RAID protection: a DEGRADED or DIMINISHT state means that the cache batteries are unloaded.

Warning: WRKDSKSTS cannot see the status of batteries for mirrored protected disks.

Since the V5R4 version IBM has made available (through the release of a specific PTF) a 5250 callable API that displays information about the health of batteries, without the need to use System Service Tools (SST):CALL QSYS/QSMBTTCC

This API produces a printout that is displayed on screen with all the information.

Check the “Estimated time to warning” and “Estimate time to error” parameters.

To use this API, the user must have the special permission of the service trace function (QIBM_SERVICE_TRACE).

PTF reference for V5R4 to 7.1 releases:

  • V5R4: SI40403
  • 6.1: SI40404 (or cumulative C1102610)
  • 7.1: SI40406 (or cumulative C1116710)

Warning: new batteries are usually delivered with a low or completely no charge level; so as soon as they are replaced it takes a certain number of hours (up to 5-6 hours) before the batteries are charged. This means that despite the new (but unloaded) batteries, RAID caching is disabled.

Check battery status with SST

Open SST with the STRSST command and log on with User QSECOFR.

Choose option 1 “Start a service tool”. Then choose option 1 “Product activity log”. Then option 1 “Analyze log”.

On the selection screen, choose ‘1 All logs’; date range to include the last IPL. In the second panel, choose ‘Y’ for the ‘Statistic’ parameter and type as reference code ‘8008 8009’

An SRC code ending with 8009 indicates that the batteries are about to run out, but if it ends with 8008, it means that the batteries are already running low.

You can also check the status of your batteries through “Hardware Service Manager“.

Also from the SST start menu choose option 1 “Start a service tool”. Then choose option 7 “Hardware service manager”. Then option 9 “Work with recources containing cache battery packs” and then option 5 “Display battery information”. In the information screen, check the parameters “Estimated time to warning” and “Estimate time to error”.

Bibliography

Read this article and many more on the https://www.markonetools.it website

Related Posts
DB2 for i SQL – String Manipulation – POSSTR-LOCATE-LOCATE_IN_STRING (EN)

Introduction Often, in our applications, we need to work with text strings, and DB2 SQL can come in very useful Read more

DB2 for i – FAQ & Howtos (EN)

DB2 Database and SQL ... maybe the most important things on IBM i platform: here's a collection of FAQs, tips Read more

IBM i 7.4 Announcement (En)

Comes directly with the Easter egg this IBM announcement for the news of the IBM i 7.4 version, iNext version Read more

Generated Always Columns (EN)

Introduction "Generated Always Column": are columns, table fields, filled by DB2 engine: something like columns with a default value but Read more

Recent Posts

VsCode Extention: Bob Cozzi’s RPG IV to RPG Free Conversion

👉 Review: Bob Cozzi’s RPG IV to RPG Free Conversion – a useful VS Code extension for RPG modernization If…

6 months ago

IBM i & SQL Tips #010 – Locating Programs in the Call Stack with STACK_INFO

Hello everyone, I’d like to highlight another excellent contribution by Massimo Duca, part of his ongoing IBM i & SQL…

6 months ago

Trying out “Display File DDS Edit” for VS Code

Intrigued by some recent posts from Cristian Larsen on LinkedIn (New Release – Display File DDS Edit v 0.10.1), I…

6 months ago

Project Bob: the next-gen AI partner for IBM i and IBM Z application development

Hello everyone, Today I’d like to draw your attention to a major new announcement from IBM: Project Bob — a…

6 months ago

IBM i & SQL Tips #6: Calling REST APIs and Parsing JSON Responses with SQL

I want to share with you a particularly useful article by Massimo Duca in the IBM i & SQL Tips…

7 months ago

How Parameter Passing Works in IBM i Programs (RPG / Cobol)

Hello everyone, I’d like to highlight a very useful article by Marco Riva on Markonetools, where he clearly explains how…

7 months ago