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

Managing Locked Display Files on IBM i: An Effective Solution

We are pleased to receive and share this "tip & trick" from Patrick Rizzi, which introduces a technique that allows…

4 weeks ago

Monitoring QSYSOPR Messages: SQL to Retrieve Messages and Replies

I take inspiration from a response by Michael Mayer on the Midrange.com mailing lists to someone who asked how to…

4 weeks ago

Why ERP is the Key to Success for Modern Businesses

Businesses are increasingly seeking tools to enhance efficiency, collaboration, and resource management. Enterprise Resource Planning (ERP) systems provide a comprehensive…

3 months ago

ACS Access Client Solution 1.1.9.5

Early April saw the release of the "Spring Version" of ACS Access Client Solution, version 1.1.9.5 Interesting new features especially…

7 months ago

Tim Rowe and Scott Forstie for CEC 2024 – Milan

If the packed agenda of sessions at Common Europe Congress 2024, June 3-6 Milan, wasn't enough for you, here's another…

7 months ago

Code for IBM i 2.10.0 – Debug IBM i App with Visual Studio Code

Debugging functions with Visual Studio Code have been available for some time but this new version 2.10.0 simplifies the handling…

7 months ago