IBM DU3 manual Collecting Errors, Web Support Pages

Page 75

 

Collecting Errors

Attention: The following procedure is for AIX operating systems only and does not

apply to Linux operating systems.

 

To enable the collection of 2104 disk enclosure errors, add this cron job SES

 

Healthcheck to the system cron table.

 

Note: Root permissions will be required to perform this update.

 

Edit the system crons with the crontab -ecommand. At the bottom of the file, enter:

 

15 * * * * /usr/lpp/diagnostics/bin/run_ses_healthcheck 1>/dev/null 2>/dev/null

For additional details of the crontab command, go to the following Web page:

http://publib16.boulder.ibm.com/pseries/en_US/cmds/aixcmds1/crontab.htm

 

This cron runs at 15 minutes after each hour, and sends mail to the root userwith

 

details of any errors that are present in the enclosure. It also presents a console

 

message indicating which enclosure has a problem.

 

The cron requires a script. To create this script, generate a file named

 

run_ses_healthcheck in directory /usr/lpp/diagnostics/bin. The contents of the file

 

must be:

 

#!/bin/ksh

 

#Name: run_ses_healthcheck

 

#Location: /usr/lpp/diagnostics/bin

 

#Function: SCSI SES hourly healthcheck

 

for i in `lsdev -Cc container -t ses -s scsi -F name -S available`

 

do

 

diag -cd $i > /dev/null

 

if [ $? -ne 0 ]

 

then

 

/usr/lpp/diagnostics/bin/diagrpt -o > /tmp/ses.health.output

 

# you may want to process the output prior to placing it in

 

# a file.

 

# To notify the user of the error, a sample mail instruction is shown

 

# below.

 

mail -s ’2104 Health Check’ root < /tmp/ses.health.output

 

rm /tmp/ses.health.output

 

fi

 

done

 

Note: Although, because of page width, the final line of the contents is shown here

 

split between two lines, you must enter it all on one line.

 

Give the following command so that the script can be run:

 

chmod 544 /usr/lpp/diagnostics/bin/run_ses_healthcheck

Web Support Pages

Adapter microcode is available from the following Web site: techsupport.services.ibm.com/server/mdownload

PTFs are required for AIX 4.3.3 and AIX 4.2.1. These PTFs are available from the following Web site:

Appendix A. Operating with RISC Systems 59

Image 75
Contents Model DU3 Installation Guide Page Model DU3 Installation Guide Fourth Edition June Contents Appendix B. Translated Safety Notices International Electrotechnical Commission IEC Statement Federal Communications Commission FCC StatementKorean Government Ministry of Communication MOC Statement New Zealand Compliance StatementEuropean Union EU Statement Avis de conformité à la réglementation d’Industrie CanadaIndustry Canada Compliance Statement United Kingdom Telecommunications RequirementsTaiwan Class a Compliance Statement Viii 2104 Model DU3 Installation Guide Safety Notice for Installing, Relocating, or Servicing Definitions of Safety NoticesModel DU3 Installation Guide Electrostatic Discharge ESD Xii 2104 Model DU3 Installation Guide Numbering Convention Related PublicationsTrademarks Xiv 2104 Model DU3 Installation Guide Installing a 2104 Model DU3 Recommended operating temperature is 22C 72F or lower Installing a 2104 Model DU3 into a Rack Refer to Figure Checking the Items for a 2104 Model DU3Preparing the Rack System or Expansion Installing the Support Rails Removing the Disk Drive Modules and Dummy Disk Drive Modules Opening the Handle of a Disk Drive Module Removing a Disk Drive Module Disk Drive Module on its Side for Safe Storage Removing a Dummy Disk Drive Module Installing the 2104 Model DU3 into the Rack Install the two front mounting screws 1 and tighten them Installing the Back Mounting Screws Reinstalling a Disk Drive Module Closing the Handle of a Disk Drive Module Go to Connecting the 2104 Model DU3 to the Power Source on Setting the Box ID Setting the Options on the 2104 Model DU3Now look at the option switches. Refer to Figure Using-system software Unscrew the thumbscrew 1 Opening the Lever on the Switch Card Assembly Pull the switch card assembly out from Scsi Modules Reinstall the switch card assembly a. Refer to Figure Closing the Lever on the Switch Card Assembly Tighten the thumbscrew 1 fully Connecting the Power Plugs Connecting the 2104 Model DU3 to the Power SourceCheck Power Supply Switch and Lights Do not USE a POWER-DRIVEN Screwdriver Connecting the 2104 to the Using System32 2104 Model DU3 Installation Guide Checking the Lights Switching On and Testing34 2104 Model DU3 Installation Guide Linux Scsi Service AidsConfiguring a 2104 to the using system Identifying 2104s and Disk Drive ModulesAppropriate Linux utilities to partition your drives Rmdev -l enclosurenumber -d Unconfiguring a 2104 from the using systemValid 2104 Model DU3 Configurations Summary of Valid 2104 Model DU3 Configurations Single-Bus Mode Configurations To connect to the 2104 Model DU3 or 2104 Model TU3 Type 4-Y, feature Installed 44 2104 Model DU3 Installation Guide Scsi adapter of one of these types For Hacmp configurations in standby or mutual takeover mode Dual-Bus Mode Configurations Valid configuration 1 Operating system Type 4-Y, feature 2104s Dual-Bus Mode Two Adapters in One Using System Connected to One Configurations That are Not ValidInterface Cards. This configuration is not valid 3 56 2104 Model DU3 Installation Guide Using System Subsystem Cluster multiprogramming Hacmp Web Support Pages Collecting Errors60 2104 Model DU3 Installation Guide Related Publications 62 2104 Model DU3 Installation Guide Appendix B. Translated Safety Notices 64 2104 Model DU3 Installation Guide Appendix B. Translated Safety Notices 66 2104 Model DU3 Installation Guide Appendix B. Translated Safety Notices 68 2104 Model DU3 Installation Guide Appendix B. Translated Safety Notices 70 2104 Model DU3 Installation Guide Appendix B. Translated Safety Notices 72 2104 Model DU3 Installation Guide Appendix B. Translated Safety Notices 74 2104 Model DU3 Installation Guide Appendix B. Translated Safety Notices 76 2104 Model DU3 Installation Guide Appendix B. Translated Safety Notices 78 2104 Model DU3 Installation Guide Appendix B. Translated Safety Notices 80 2104 Model DU3 Installation Guide Appendix B. Translated Safety Notices 82 2104 Model DU3 Installation Guide Appendix B. Translated Safety Notices 84 2104 Model DU3 Installation Guide Appendix B. Translated Safety Notices 86 2104 Model DU3 Installation Guide Appendix B. Translated Safety Notices 88 2104 Model DU3 Installation Guide Appendix B. Translated Safety Notices 90 2104 Model DU3 Installation Guide Appendix B. Translated Safety Notices 92 2104 Model DU3 Installation Guide Appendix B. Translated Safety Notices 94 2104 Model DU3 Installation Guide Appendix B. Translated Safety Notices 96 2104 Model DU3 Installation Guide Appendix B. Translated Safety Notices Part Number 97P1455