Fujitsu Eternus Storage Health Checks Script

I was asked to work on developing scripts to generate storage capacity reports for Fujitsu Eternus DX series storage arrays. For this purpose, I started reading the architecture documents, CLI guide and tried many commands to generate report according to the business requirements. I’ll post a detailed information of capacity reports script and output soon 🙂

Then I thought why not automate the health checks which would help our folks to focus on priority tasks rather than logging into the storage console monotonously.

Please find below simple health check report for DX series Eternus Storage arrays generated and sent as an email to the DL of storage team.

Healthcheck Report for Eternus storage with IP:xx.xxx.xx.xxx
Your IP address is xx.xxx.xx.xxx
Your UserName is root
CLI> show enclosure-status
Enclosure View
Name [eternus0]
Model Upgrade Status [Not Possible]
Model Name [ET09E24AU]
Serial Number [12345678]
Device Identification Number [0123456]
Status [Normal]
Cache Mode [Write Back Mode]
Remote Support [Operating]
Operation Mode [Active]
CLI Connecting Controller Module [CM#0]
Firmware Version [V10L72-0000]
Controller Enclosure (3.5″) [Normal]
Drive Enclosure #1 (3.5″) [Normal]
Drive Enclosure #2 (3.5″) [Undefined]
Drive Enclosure #3 (3.5″) [Undefined]
Drive Enclosure #4 (3.5″) [Undefined]
Drive Enclosure #5 (3.5″) [Undefined]
Drive Enclosure #6 (3.5″) [Undefined]
Drive Enclosure #7 (3.5″) [Undefined]
CLI>
show disks
Location Status Size Type Speed(rpm) Usage
CE-Disk#0 Available 450GB 3.5″ SAS 15000 System
CE-Disk#1 Available 450GB 3.5″ SAS 15000 System
CE-Disk#2 Available 450GB 3.5″ SAS 15000 Data
CE-Disk#3 Available 450GB 3.5″ SAS 15000 Data
CE-Disk#4 Available 450GB 3.5″ SAS 15000 Data
CE-Disk#5 Available 450GB 3.5″ SAS 15000 Data
CE-Disk#6 Available 450GB 3.5″ SAS 15000 Data
CE-Disk#7 Available 450GB 3.5″ SAS 15000 Data
CE-Disk#8 Available 450GB 3.5″ SAS 15000 Data
CE-Disk#9 Available 450GB 3.5″ SAS 15000 Data
CE-Disk#10 Available 450GB 3.5″ SAS 15000 Data
CE-Disk#11 Available 450GB 3.5″ SAS 15000 Data
DE#1-Disk#0 Available 450GB 3.5″ SAS 15000 Data
DE#1-Disk#1 Available 450GB 3.5″ SAS 15000 Data
DE#1-Disk#2 Available 450GB 3.5″ SAS 15000 Data
DE#1-Disk#3 Available 450GB 3.5″ SAS 15000 Data
DE#1-Disk#4 Available 450GB 3.5″ SAS 15000 Data
DE#1-Disk#5 Available 450GB 3.5″ SAS 15000 Data
DE#1-Disk#6 Available 450GB 3.5″ SAS 15000 Data
DE#1-Disk#7 Available 450GB 3.5″ SAS 15000 Data
DE#1-Disk#8 Spare 450GB 3.5″ SAS 15000 Global Hot Spare
DE#1-Disk#9 Spare 450GB 3.5″ SAS 15000 Global Hot Spare
DE#2-Disk#0 Available 450GB 3.5″ SAS 15000 Data
DE#2-Disk#1 Available 450GB 3.5″ SAS 15000 Data
DE#2-Disk#2 Available 450GB 3.5″ SAS 15000 Data
DE#2-Disk#3 Available 450GB 3.5″ SAS 15000 Data
DE#2-Disk#4 Available 450GB 3.5″ SAS 15000 Data
DE#2-Disk#5 Available 450GB 3.5″ SAS 15000 Data
DE#2-Disk#6 Available 450GB 3.5″ SAS 15000 Data
DE#2-Disk#7 Available 450GB 3.5″ SAS 15000 Data
DE#2-Disk#8 Available 450GB 3.5″ SAS 15000 Data
DE#2-Disk#9 Available 450GB 3.5″ SAS 15000 Data
DE#2-Disk#10 Available 450GB 3.5″ SAS 15000 Data
DE#2-Disk#11 Available 450GB 3.5″ SAS 15000 Data
DE#3-Disk#0 Available 600GB 3.5″ SAS 15000 Data
DE#3-Disk#1 Available 600GB 3.5″ SAS 15000 Data
DE#3-Disk#2 Available 600GB 3.5″ SAS 15000 Data
DE#3-Disk#3 Available 600GB 3.5″ SAS 15000 Data
DE#3-Disk#4 Available 600GB 3.5″ SAS 15000 Data
DE#3-Disk#5 Available 600GB 3.5″ SAS 15000 Data
DE#3-Disk#6 Available 600GB 3.5″ SAS 15000 Data
DE#3-Disk#7 Available 600GB 3.5″ SAS 15000 Data
DE#3-Disk#8 Available 600GB 3.5″ SAS 15000 Data
DE#3-Disk#9 Available 600GB 3.5″ SAS 15000 Data
DE#3-Disk#10 Available 600GB 3.5″ SAS 15000 Data
DE#3-Disk#11 Available 600GB 3.5″ SAS 15000 Data
DE#4-Disk#0 Available 600GB 3.5″ SAS 15000 Data
DE#4-Disk#1 Available 600GB 3.5″ SAS 15000 Data
DE#4-Disk#2 Available 600GB 3.5″ SAS 15000 Data
DE#4-Disk#3 Available 600GB 3.5″ SAS 15000 Data
DE#4-Disk#4 Available 600GB 3.5″ SAS 15000 Data
DE#4-Disk#5 Available 600GB 3.5″ SAS 15000 Data
DE#4-Disk#6 Available 600GB 3.5″ SAS 15000 Data
DE#4-Disk#7 Available 600GB 3.5″ SAS 15000 Data
DE#4-Disk#8 Available 600GB 3.5″ SAS 15000 Data
DE#4-Disk#9 Available 600GB 3.5″ SAS 15000 Data
DE#4-Disk#10 Available 600GB 3.5″ SAS 15000 Data
DE#4-Disk#11 Available 600GB 3.5″ SAS 15000 Data
DE#5-Disk#0 Available 600GB 3.5″ SAS 15000 Data
DE#5-Disk#1 Available 600GB 3.5″ SAS 15000 Data
DE#5-Disk#2 Available 600GB 3.5″ SAS 15000 Data
DE#5-Disk#3 Available 600GB 3.5″ SAS 15000 Data
DE#5-Disk#4 Available 600GB 3.5″ SAS 15000 Data
DE#5-Disk#5 Available 600GB 3.5″ SAS 15000 Data
DE#5-Disk#6 Available 600GB 3.5″ SAS 15000 Data
DE#5-Disk#7 Available 600GB 3.5″ SAS 15000 Data
DE#5-Disk#8 Spare 600GB 3.5″ SAS 15000 Global Hot Spare
DE#5-Disk#9 Spare 600GB 3.5″ SAS 15000 Global Hot Spare
DE#5-Disk#10 Spare 600GB 3.5″ SAS 15000 Global Hot Spare
DE#5-Disk#11 Spare 600GB 3.5″ SAS 15000 Global Hot Spare
DE#6-Disk#0 Available 600GB 3.5″ SAS 15000 Data
DE#6-Disk#1 Available 600GB 3.5″ SAS 15000 Data
DE#6-Disk#2 Available 600GB 3.5″ SAS 15000 Data
DE#6-Disk#3 Available 600GB 3.5″ SAS 15000 Data
DE#6-Disk#4 Available 600GB 3.5″ SAS 15000 Data
DE#6-Disk#5 Available 600GB 3.5″ SAS 15000 Data
DE#6-Disk#6 Available 600GB 3.5″ SAS 15000 Data
DE#6-Disk#7 Available 600GB 3.5″ SAS 15000 Data
DE#6-Disk#8 Available 600GB 3.5″ SAS 15000 Data
DE#6-Disk#9 Available 600GB 3.5″ SAS 15000 Data
DE#6-Disk#10 Available 600GB 3.5″ SAS 15000 Data
DE#6-Disk#11 Available 600GB 3.5″ SAS 15000 Data
DE#7-Disk#0 Available 600GB 3.5″ SAS 15000 Data
DE#7-Disk#1 Available 600GB 3.5″ SAS 15000 Data
DE#7-Disk#2 Available 600GB 3.5″ SAS 15000 Data
DE#7-Disk#3 Available 600GB 3.5″ SAS 15000 Data
DE#7-Disk#4 Available 600GB 3.5″ SAS 15000 Data
DE#7-Disk#5 Available 600GB 3.5″ SAS 15000 Data
DE#7-Disk#6 Available 600GB 3.5″ SAS 15000 Data
DE#7-Disk#7 Available 600GB 3.5″ SAS 15000 Data
DE#7-Disk#8 Available 600GB 3.5″ SAS 15000 Data
DE#7-Disk#9 Available 600GB 3.5″ SAS 15000 Data
DE#7-Disk#10 Available 600GB 3.5″ SAS 15000 Data
DE#7-Disk#11 Available 600GB 3.5″ SAS 15000 Data
CLI>
Healthcheck Report for Eternus storage with IP:xx.xxx.xx.xxx
CLI> show enclosure-status
Enclosure View
Name [eternus2]
Model Upgrade Status [Not Possible]
Model Name [ET442SAU]
Serial Number [12345677]
Device Identification Number [12344]
Status [Warning]
Cache Mode [Write Back Mode]
Remote Support [Operating]
Operation Mode [Active]
CLI Connecting Controller Module [CM#1]
Firmware Version [V10L60-0000]
Drive Enclosure #00 (3.5″) [Normal]
Drive Enclosure #01 (3.5″) [Normal]
Drive Enclosure #02 (3.5″) [Normal]
Drive Enclosure #10 (3.5″) [Normal]
Drive Enclosure #11 (3.5″) [Normal]
Drive Enclosure #20 (3.5″) [Normal]
Drive Enclosure #21 (3.5″) [Normal]
Drive Enclosure #30 (3.5″) [Normal]
Drive Enclosure #31 (3.5″) [Normal]
CLI>
CLI>
BTU#0 Status/Status Code [Warning / 0xE401] (Error Code : 0x0024)
BTU#1 Status/Status Code [Warning / 0xE401] (Error Code : 0x0024)
BTU#2 Status/Status Code [Warning / 0xE401] (Error Code : 0x0024)
show disks
Location Status Size Type Speed(rpm) Usage
DE#00-Disk#0 Available 600GB 3.5 Online 15000 Data
DE#00-Disk#1 Available 600GB 3.5 Online 15000 Data
DE#00-Disk#2 Available 600GB 3.5 Online 15000 Data
DE#00-Disk#3 Available 600GB 3.5 Online 15000 Data
DE#00-Disk#4 Available 600GB 3.5 Online 15000 Data
DE#00-Disk#5 Available 600GB 3.5 Online 15000 Data
DE#00-Disk#6 Available 600GB 3.5 Online 15000 Data
DE#00-Disk#7 Available 600GB 3.5 Online 15000 Data
DE#00-Disk#8 Available 600GB 3.5 Online 15000 Data
DE#00-Disk#9 Available 600GB 3.5 Online 15000 Data
DE#00-Disk#10 Available 600GB 3.5 Online 15000 Data
DE#00-Disk#11 Spare 600GB 3.5 Online 15000 Global Hot Spare
DE#01-Disk#0 Available 600GB 3.5 Online 15000 Data
DE#01-Disk#1 Available 600GB 3.5 Online 15000 Data
DE#01-Disk#2 Available 600GB 3.5 Online 15000 Data
DE#01-Disk#3 Available 600GB 3.5 Online 15000 Data
DE#01-Disk#4 Available 600GB 3.5 Online 15000 Data
DE#01-Disk#5 Available 600GB 3.5 Online 15000 Data
DE#01-Disk#6 Available 600GB 3.5 Online 15000 Data
DE#01-Disk#7 Available 600GB 3.5 Online 15000 Data
DE#01-Disk#8 Available 600GB 3.5 Online 15000 Data
DE#01-Disk#9 Available 600GB 3.5 Online 15000 Data
DE#01-Disk#10 Available 600GB 3.5 Online 15000 Data
DE#01-Disk#11 Available 600GB 3.5 Online 15000 Data
DE#02-Disk#0 Available 2TB 3.5 Nearline 7200 Data
DE#02-Disk#1 Available 2TB 3.5 Nearline 7200 Data
DE#02-Disk#2 Available 2TB 3.5 Nearline 7200 Data
DE#02-Disk#3 Available 2TB 3.5 Nearline 7200 Data
DE#02-Disk#4 Available 2TB 3.5 Nearline 7200 Data
DE#02-Disk#5 Available 2TB 3.5 Nearline 7200 Data
DE#02-Disk#6 Available 2TB 3.5 Nearline 7200 Data
DE#02-Disk#7 Available 2TB 3.5 Nearline 7200 Data
DE#10-Disk#0 Available 600GB 3.5 Online 15000 Data
DE#10-Disk#1 Available 600GB 3.5 Online 15000 Data
DE#10-Disk#2 Available 600GB 3.5 Online 15000 Data
DE#10-Disk#3 Available 600GB 3.5 Online 15000 Data
DE#10-Disk#4 Available 600GB 3.5 Online 15000 Data
DE#10-Disk#5 Available 600GB 3.5 Online 15000 Data
DE#10-Disk#6 Available 600GB 3.5 Online 15000 Data
DE#10-Disk#7 Available 600GB 3.5 Online 15000 Data
DE#10-Disk#8 Available 600GB 3.5 Online 15000 Data
DE#10-Disk#9 Available 600GB 3.5 Online 15000 Data
DE#10-Disk#10 Available 600GB 3.5 Online 15000 Data
DE#10-Disk#11 Spare 600GB 3.5 Online 15000 Global Hot Spare
DE#11-Disk#0 Available 600GB 3.5 Online 15000 Data
DE#11-Disk#1 Available 600GB 3.5 Online 15000 Data
DE#11-Disk#2 Available 600GB 3.5 Online 15000 Data
DE#11-Disk#3 Available 600GB 3.5 Online 15000 Data
DE#11-Disk#4 Available 600GB 3.5 Online 15000 Data
DE#11-Disk#5 Available 600GB 3.5 Online 15000 Data
DE#11-Disk#6 Available 600GB 3.5 Online 15000 Data
DE#11-Disk#7 Available 600GB 3.5 Online 15000 Data
DE#20-Disk#0 Available 600GB 3.5 Online 15000 Data
DE#20-Disk#1 Available 600GB 3.5 Online 15000 Data
DE#20-Disk#2 Available 600GB 3.5 Online 15000 Data
DE#20-Disk#3 Available 600GB 3.5 Online 15000 Data
DE#20-Disk#4 Available 600GB 3.5 Online 15000 Data
DE#20-Disk#5 Available 600GB 3.5 Online 15000 Data
DE#20-Disk#6 Available 600GB 3.5 Online 15000 Data
DE#20-Disk#7 Available 600GB 3.5 Online 15000 Data
DE#20-Disk#8 Available 600GB 3.5 Online 15000 Data
DE#20-Disk#9 Available 600GB 3.5 Online 15000 Data
DE#20-Disk#10 Available 600GB 3.5 Online 15000 Data
DE#20-Disk#11 Available 600GB 3.5 Online 15000 Data
DE#21-Disk#0 Available 2TB 3.5 Nearline 7200 Data
DE#21-Disk#1 Available 2TB 3.5 Nearline 7200 Data
DE#21-Disk#2 Available 2TB 3.5 Nearline 7200 Data
DE#21-Disk#3 Available 2TB 3.5 Nearline 7200 Data
DE#21-Disk#4 Available 2TB 3.5 Nearline 7200 Data
DE#21-Disk#5 Available 2TB 3.5 Nearline 7200 Data
DE#21-Disk#6 Available 2TB 3.5 Nearline 7200 Data
DE#21-Disk#7 Available 2TB 3.5 Nearline 7200 Data
DE#21-Disk#8 Available 2TB 3.5 Nearline 7200 Data
DE#21-Disk#9 Available 2TB 3.5 Nearline 7200 Data
DE#21-Disk#10 Available 2TB 3.5 Nearline 7200 Data
DE#21-Disk#11 Available 2TB 3.5 Nearline 7200 Data
DE#30-Disk#0 Available 600GB 3.5 Online 15000 Data
DE#30-Disk#1 Available 600GB 3.5 Online 15000 Data
DE#30-Disk#2 Available 600GB 3.5 Online 15000 Data
DE#30-Disk#3 Available 600GB 3.5 Online 15000 Data
DE#30-Disk#4 Available 600GB 3.5 Online 15000 Data
DE#30-Disk#5 Available 600GB 3.5 Online 15000 Data
DE#30-Disk#6 Available 600GB 3.5 Online 15000 Data
DE#30-Disk#7 Available 600GB 3.5 Online 15000 Data
DE#30-Disk#8 Available 600GB 3.5 Online 15000 Data
DE#30-Disk#9 Available 600GB 3.5 Online 15000 Data
DE#30-Disk#10 Spare 600GB 3.5 Online 15000 Global Hot Spare
DE#30-Disk#11 Spare 600GB 3.5 Online 15000 Global Hot Spare
DE#31-Disk#0 Available 2TB 3.5 Nearline 7200 Data
DE#31-Disk#1 Available 2TB 3.5 Nearline 7200 Data
DE#31-Disk#2 Available 2TB 3.5 Nearline 7200 Data
DE#31-Disk#3 Available 2TB 3.5 Nearline 7200 Data
DE#31-Disk#4 Available 2TB 3.5 Nearline 7200 Data
DE#31-Disk#5 Available 2TB 3.5 Nearline 7200 Data
DE#31-Disk#6 Available 2TB 3.5 Nearline 7200 Data
DE#31-Disk#7 Available 2TB 3.5 Nearline 7200 Data
DE#31-Disk#8 Available 2TB 3.5 Nearline 7200 Data
DE#31-Disk#9 Available 2TB 3.5 Nearline 7200 Data
DE#31-Disk#10 Available 2TB 3.5 Nearline 7200 Data
DE#31-Disk#11 Available 2TB 3.5 Nearline 7200 Data

Please reply to me if you need this Perl Script to replicate for your setup…