各 ストレージサーバー のディスクコントローラでは、コントローラバッテリの放電と充電が定期的に実行されます。この処理の際に、書き込みキャッシュポリシーがライトバックキャッシュからライトスルーキャッシュに切り替わります。ライトスルーキャッシュモードはライトバックキャッシュモードよりも低速です。ただし、ライトバックキャッシュモードでは、ストレージサーバーで電源喪失や障害が発生した場合にデータ損失のリスクがあります。ストレージサーバーリリース 11.2.1.3 より前のリリースでは、この処理が毎月実行されていました。Oracle Exadata Storage Server ソフトウェア リリース 11.2.1.3 以降では、この処理は 3 か月ごとに実行されます (例: 1 月、4 月、7 月、および 10 月の 17 日の午前 1 時)。
CellCLI> ALTER CELL bbuLearnCycleTime="2011-01-22T02:00:00-08:00"
学習サイクルの時間は、サイクルが完了するとデフォルトの時間に戻ります。
CellCLI> LIST CELL ATTRIBUTES bbuLearnCycleTime
ストレージサーバーにより、セルの論理ドライブのキャッシュモードのステータスについて、次のような情報アラートが生成されます。
HDD disk controller battery on disk controller at adapter 0 is going into a learn cycle. This is a normal maintenance activity that occurs quarterly and runs for approximately 1 to 12 hours. The disk controller cache might go into WriteThrough caching mode during the learn cycle. Disk write throughput might be temporarily lower during this time. The message is informational only, no action is required.
# /opt/MegaRAID/MegaCli/MegaCli64 -AdpBbuCmd -GetBbuStatus -a0
出力例。
BBU status for Adapter: 0 BatteryType: iBBU08 Voltage: 3721 mV Current: 541 mA Temperature: 43 C BBU Firmware Status: Charging Status : Charging Voltage : OK Temperature : OK Learn Cycle Requested : No Learn Cycle Active : No Learn Cycle Status : OK Learn Cycle Timeout : No I2c Errors Detected : No Battery Pack Missing : No Battery Replacement required : No Remaining Capacity Low : Yes Periodic Learn Required : No Transparent Learn : No Battery state: GasGuageStatus: Fully Discharged : No Fully Charged : No Discharging : No Initialized : No Remaining Time Alarm : Yes Remaining Capacity Alarm: No Discharge Terminated : No Over Temperature : No Charging Terminated : No Over Charged : No Relative State of Charge: 7 % Charger System State: 1 Charger System Ctrl: 0 Charging current: 541 mA Absolute State of Charge: 0% Max Error: 0 % Exit Code: 0x00