1832957 Members
2688 Online
110048 Solutions
New Discussion

Re: EMS Resource

 
SOLVED
Go to solution
Karthik S S
Honored Contributor

EMS Resource

Hi,

I have 2 A500 systems connected to VA via a FC switch. These systems are part of a two node cluster. I have created a test package and want t o add a EMS resource for the FC link. How can I configure this?. From SAM I only get a option for FC Adapter status. By unplugging the FC cable does the status of the FC Adapter becomes down??

Pl. help

-Karthik S S
For a list of all the ways technology has failed to improve the quality of life, please press three. - Alice Kahn
3 REPLIES 3
Hoefnix
Honored Contributor

Re: EMS Resource

Try to add it using
monconfig (in /etc/opt/resmon/lbin)
See also man monconfig

Regards,

Peter
Stephen Doud
Honored Contributor
Solution

Re: EMS Resource

Looking at a sample FC monitor:

#(root) / # resls /adapters/status/FC_adapter/0_12_0_0.8
Contacting Registrar on nitro

NAME: /adapters/status/FC_adapter/0_12_0_0.8
DESCRIPTION: UP:
A state of "UP" means the hardware is available for use.

DOWN:
A state of "DOWN" means the hardware is unavailable for use.
The /opt/resmon/bin/set_fixed command must be used with the resource name once t
he hardware is fixed to reset the hardware to the "UP" state.

UNKNOWN:
A state of "UNKNOWN" means it is unknown whether the hardware
is unavailable for use or not. The hardware should be considered DOWN.

TYPE: /adapters/status/FC_adapter/0_12_0_0.8 is a Resource Instance
whose values are enumerated values.

There are 3 valid states reported for /adapters/status/FC_adapter/0_12_0_0.8:

State Value State Name
----------- ----------
0 UP
1 DOWN
2 UNKNOWN

There are no active monitor requests reported for this resource.


So - the status of the adapter can be determined. However, whether or not it can transmit/receive data is another story.

What do you want the EMS detection to trigger? A message or a Serviceguard package failover?

I suggest you review these documents:
"Using the Event Monitoring Service"
and
"Using EMS HA Monitors"
located here:
http://docs.hp.com/hpux/ha/index.html#Event%20Monitoring%20Service%20and%20HA%20Monitors

-StephenD.
Karthik S S
Honored Contributor

Re: EMS Resource

Hi Stephen,

Thanks for that. Instead of monitoring FC HBA, I installed HA Monitors to monitor pv_summary of the volume group.

Thanks,
Karthik S S
For a list of all the ways technology has failed to improve the quality of life, please press three. - Alice Kahn