unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (HP-UX-11.11)
Page:
Section:
Apropos / Subsearch:
optional field



 irmd(1M)							    irmd(1M)




 NAME
      irmd - Internal RAID Monitoring Daemon

 SYNOPSIS
      /sbin/irmd [-e email_address] [-p polling_interval] [-c]


 DESCRIPTION
      The irmd HP-UX daemon monitors the Internal RAID adapter cards and
      displays adapter, logical drive, and physical drive state changes to
      the system log /var/adm/syslog/syslog.log, through syslog(3C), and
      optionally to /dev/console and email_address, through mailx(1).

    Options
      irmd is started at boot (run level 2) by the control script
      /sbin/init.d/i2o_raid.  In order to change the IRMD options, modify
      the variable IRMD_OPTS in the script /sbin/init.d/i2o_raid.

      -e email_address	  Send monitoring messages to this email address.

      -p polling_interval Specify the monitoring interval, by default it is
			  5 seconds.

      -c		  Send monitoring messages to /dev/console.

      Currently the variable IRMD_OPTS is set to "-e root -c -p 5". Hence by
      default, IRMD will poll the RAID adapter(s) every 5 seconds and will
      send monitoring messages to the console and to the root user via
      email.

    Messages
      When adapter, logical drive, or physical drive state change occurs,
      one or more of the following messages can appear in the system log
      /var/adm/syslog/syslog.log and optionally to /dev/console and
      email_address.

      Adapter
	Message - No Internal RAID adapters found, exiting
	Cause	- RAID card is not properly installed.
	Action	- Power down the system and reinstall the RAID adapter.

	Message - Error opening device file, exiting
	Cause	- /dev/iopX does not exist (where X is the iop number)
		  or driver problem.
	Action	- Check if /dev/iopX exists and has correct major number.

	Message - ioctl error on device file, exiting
	Cause	- Kernel misconfiguration or driver problem.
	Action	- Contact HP.





 Hewlett-Packard Company	    - 1 -	  Formatted:  August 2, 2006






 irmd(1M)							    irmd(1M)




	Message - Adapter [h/w path] is NOT RESPONDING
	Cause	- Firmware has been downloaded to the RAID adapter or RAID
		  configuration is being changed while IRMD is polling the
		  adapter.
	Action	- Wait for 1 IRMD poll interval (as specified in the control
		  script /sbin/init.d/i2o_raid ).  If the message
		  Adapter [h/w path] is RESPONDING does not appear, reboot
		  the system.

	Message - Configuration Change Detected (device file)
	Cause	- RAID configuration has been changed.
	Action	- No action needed.

      Battery

	Message - Adapter [h/w path]: Battery not present.  Please run
		  irm.	Select the RAID adapter at /dev/iopX and
		  change the policy of all logical drives to WRTHRU
		  to prevent data loss in case of system power outage.
	Cause	- Battery pack is absent.
	Action	- Disable cache and contact HP.

	Message - Adapter [h/w path]: Battery is not plugged into the J22
		  socket.  Please run irm.  Select the RAID adapter at
		  /dev/iopX and change the cache policy of all logical
		  drives to WRTHRU to prevent data loss in case of
		  system power outage.
	Cause	- Battery is disconnected or malfunctioning.
	Action	- Disable cache or power down system and check battery
		  connection.

	Message - Adapter [h/w path]: Battery temperature high.	 Please
		  run irm.  Select the RAID adapter at /dev/iopX and
		  change the cache policy of all logical drives to
		  WRTHRU to prevent data loss in case of system power
		  outage.
	Cause	- High temperature has been detected.
	Action	- Disable cache and reduce ambient temperature.

	Message - Adapter [h/w path]: Battery failed to charge.	 Please
		  run irm.  Select the RAID adapter at /dev/iopX and
		  change the cache policy of all logical drives to
		  WRTHRU to prevent data loss in case of system power
		  outage.
	Cause	- Fast charge failed.
	Action	- Disable cache and contact HP.

	Message - Adapter [h/w path]: Battery failed to charge because
		  the battery charge count has exceeded the limit.
		  Please run irm.  Select the RAID adapter at /dev/iopX
		  and change the cache policy of all logical drives to



 Hewlett-Packard Company	    - 2 -	  Formatted:  August 2, 2006






 irmd(1M)							    irmd(1M)




		  WRTHRU to prevent data loss in case of system power
		  outage.  Also run irm to check or reset the charge
		  counter.
	Cause	- Fast charge failed because the battery charge count has
		  exceeded the limit.
	Action	- Run irm (1M) to check or reset the charge counter.

	Message - Adapter [h/w path]: Battery is charging.  Please run
		  irm.	Select the RAID adapter at /dev/iopX and
		  change the cache policy of all logical drives to
		  WRTHRU to prevent data loss in case of system power
		  outage.
	Cause	- Low charge has been detected.
	Action	- Disable cache and wait 3-5 hours for charge to complete.

	Message - Adapter [h/w path]: Battery has low voltage.	Please
		  run irm.  Select the RAID adapter at /dev/iopX and
		  change the cache policy of all logical drives to
		  WRTHRU to prevent data loss in case of system power
		  outage.
	Cause	- Battery voltage is out of range.
	Action	- Disable cache and contact HP.

	Message - Adapter [h/w path]: Battery is in unknown state.
		  Please run irm.  Select the RAID adapter at /dev/iopX
		  and change the cache policy of all logical drives to
		  WRTHRU to prevent data loss in case of system power
		  outage.
	Cause	- Battery is in unknown state.
	Action	- Disable cache and contact HP.

	To disable the cache, run irm (1M) and change the cache policy of
	all logical drives to WRTHRU.  This is necessary because the battery
	is used to hold the data in the cache for up to 72 hours if a system
	power outage occurs.  If an abnormal battery condition persists, the
	battery may not be able to power the cache memory, and the data in
	it may be lost.

	Cache may be re-enabled when the following message appears:

	Message - Adapter [h/w path]: Battery is fully charged.	 It
		  is safe to set the cache policy to WRBACK if
		  desired.  In order to do that, please run irm.
		  Select the RAID adapter at /dev/iopX and change
		  the cache policy of the desired logical drives
		  to WRBACK.
	Cause	- Battery condition is good.
	Action	- Set the cache policy of logical drives to WRBACK if
		  desired to increase disk write performance.





 Hewlett-Packard Company	    - 3 -	  Formatted:  August 2, 2006






 irmd(1M)							    irmd(1M)




      Logical Drive
	A logical drive can be in one of the following states:

	OPTIMAL	  The logical drive is in good condition.  All the
		  configured physical drives are online.

	DEGRADED  The logical drive is functioning but is not in optimal
		  condition.  One of the configured physical drives has
		  failed.

	OFFLINE	  The logical drive is no longer functioning.  One or more
		  of the configured physical drives have failed.

	Message - LDrv [logical drive #] state at startup is DEGRADED
	Cause	- The logical drive condition is not optimal.  One of
		  the configured physical disks has failed.
	Action	- Run IRM to find the failed physical disk(s) and replace
		  with disk(s) in good condition.

	Message - LDrv [logical drive #] state at startup is OFFLINE
	Cause	- The logical drive condition is not optimal.  One or
		  more of the configured physical disks have failed.
	Action	- Run IRM to find the failed physical disk(s) and replace
		  with disk(s) in good condition.

	Message - LDrv [logical drive #] State Change from [previous state]
		  to OPTIMAL
	Cause	- The logical drive condition is good.	All configured
		  drives are online.
	Action	- No action needed.

	Message - LDrv [logical drive #] State Change from [previous state]
		  to DEGRADED
	Cause	- The logical drive condition is not optimal.  One of
		  the configured physical disks has failed.
	Action	- Run IRM to find the failed physical disk(s) and replace
		  with disk(s) in good condition.

	Message - LDrv [logical drive #] State Change from [previous state]
		  to OFFLINE
	Cause	- The logical drive condition is not optimal.  One or
		  more of the configured physical disks have failed.
	Action	- Run IRM to find the failed physical disk(s) and replace
		  with disk(s) in good condition.

      Physical Drive and Disk Enclosure
	A physical drive can be in one of the following states:

	READY	  The drive is functioning normally but is not part of a
		  configured logical drive and is not designated as a
		  hotspare.



 Hewlett-Packard Company	    - 4 -	  Formatted:  August 2, 2006






 irmd(1M)							    irmd(1M)




	ONLINE	  The drive is functioning normally and is part of a
		  configured logical drive.

	REBUILD	  The drive is being rebuilt with data from a failed drive.

	HOTSPARE  The drive is functioning normally and is designated as a
		  hotspare drive to be used in case an online drive fails.

	FAILED	  A fault has occured in the drive placing it out of
		  service.

	In the following messages, each physical device is specified as
	PDrv or Enclosure x:y with x as the channel number (0-3) and y as
	the SCSI ID of the physical device.

	Refer to the diagram on the next page to find corresponding channel
	on RAID adapter when given the channel number.	Channels are
	identified by letters on the adapter.  Channel 0 is referred to as
	Channel A, 1 as B, 2 as C, and 3 as D.

	Refer to the disk enclosure manual to map a SCSI ID to a disk drive
	slot.
































 Hewlett-Packard Company	    - 5 -	  Formatted:  August 2, 2006






 irmd(1M)							    irmd(1M)




		      ______________________
		     |			    |
		     |		SCSI	  <--- LOOK FOR THIS LOGO
		     |	       LVD/SE	    |
		     |			    |
		     |	     *	     *	    |
		     |	   * *	     * *    |
	Channel 1 -------> * *	     * * <------- Channel 0
		     |	   * *	     * *    |
		     |	     *	     *	    |
		     |			    |
		     |	     *	     *	    |
		     |	   * *	     * *    |
	Channel 3 -------> * *	     * * <------- Channel 2
		     |	   * *	     * *    |
		     |	     *	     *	    |
		     |			    |
		     |			    |
		     |______________________|

	Message - Enclosure x:y is in SAF-TE mode (unsupported)
	Cause	- The disk enclosure is in SAF-TE mode.
	Action	- Refer to the disk enclosure manual to switch enclosure
		  to the supported SES mode.

	Message - PDrv x:y at startup is in REBUILD State
	Cause	- The drive is being rebuilt with data from a failed
		  drive.
	Action	- No action needed.

	Message - PDrv x:y at startup is in FAILED State
	Cause	- A fault has occured in the drive placing it out
		  of service.
	Action	- Run IRM to confirm the physical disk has
		  failed and replace it.

	Message - PDrv x:y State Change from [previous state]
		  to READY
	Cause	- The drive is functioning normally but is not part
		  of a configured logical drive and is not designated
		  as a hotspare.
	Action	- No action needed.

	Message - PDrv x:y State Change from [previous state]
		  to ONLINE
	Cause	- The drive is functioning normally and is part of
		  a configured logical drive.
	Action	- No action needed.

	Message - PDrv x:y State Change from [previous state]
		  to REBUILD



 Hewlett-Packard Company	    - 6 -	  Formatted:  August 2, 2006






 irmd(1M)							    irmd(1M)




	Cause	- The drive is being rebuilt with data from a failed
		  drive.
	Action	- No action needed.

	Message - PDrv x:y Rebuild Completed
	Cause	- Rebuild has completed successfully.
	Action	- No action needed.

	Message - PDrv x:y Rebuild [percentage]% Complete
	Cause	- Rebuild in progress.
	Action	- No action needed.

	Message - Rebuild Progress Check Failed (device file PDrv x:y)
	Cause	- Adapter fails to respond to rebuild progress check.
	Action	- Run IRM to check rebuild progress on physical drives.

	Message - PDrv x:y State Change from [previous state]
		  to HOTSPARE
	Cause	- The drive is powered up and ready for use as a
		  hotspare in case an online drive fails.
	Action	- No action needed.

	Message - PDrv x:y is no longer configured as HOTSPARE.
		  It is now automatically configured as part of
		  logical drive(s) and in REBUILD state.
	Cause	- The drive was configured as a hotspare and is now
		  being rebuilt as part of logical drive(s).
	Action	- Another disk should be manually configured as a
		  hotspare if possible.

	Message - PDrv x:y State Change from [previous state]
		  to FAILED
	Cause	- A fault has occurred in the drive placing it out
		  of service.
	Action	- Run IRM to confirm the physical disk has
		  failed and replace it.

	Message - PDrv x:y SCSI Sense Data:
	Cause	- SCSI sense occurence detected and sense data is retrieved
		  from the drive.
	Action	- Analyze SCSI Sense Data to determine if further
		  action is needed.

 AUTHOR
      irmd was developed by HP.

 FILES
      /sbin/irmd	       Executable file.

      /dev/console	       Console device file.




 Hewlett-Packard Company	    - 7 -	  Formatted:  August 2, 2006






 irmd(1M)							    irmd(1M)




      /var/adm/syslog/syslog.log
			       System log.

      /sbin/init.d/i2o_raid    Control script.

 SEE ALSO
      irm(1M), irdisplay(1M), irdiag(1M) i2outil(1M), sam(1M), diskinfo(1M),
      ioscan(1M), mailx(1), syslog(3C)

      System Administration Tasks
      RAID 4Si User's Guide











































 Hewlett-Packard Company	    - 8 -	  Formatted:  August 2, 2006