ResourceInfo attribute is shown as Stale while the resource is onlined

book

Article ID: 100002316

calendar_today

Updated On:

Description

Error Message

The excerpt below shows that a resource called cfsmount1 has the resource attribute ResourceInfo marked as Stale while the resource is actually online on both cluster nodes.
 
# hares -display cfsmount1 | grep ResourceInfo
cfsmount1    ResourceInfo     server101   State  Stale   Msg             TS
cfsmount1    ResourceInfo     server102  State  Valid   Msg             TS
 
 

Example

1. The hares -state output shows that the resource cfsmnt1 is online on both nodes, as it is a CFS mount.

# hares -state cfsmount1
#Resource    Attribute        System     Value
cfsmount1    State            server101   ONLINE
cfsmount1    State            server102  ONLINE

 
2. The hares -display command output shows that the resource ResourceInfo state is marked as Stale on node server101.
 
# hares -display cfsmount1 | grep ResourceInfo
cfsmount1    ResourceInfo     server101   State  Stale   Msg             TS
cfsmount1    ResourceInfo     server102   State  Valid   Msg             TS

 
3. Flush the resource info:
 
# hares -flushinfo cfsmount1 -sys server101

 
4. Check the resource ResourceInfo:
 
# hares -display cfsmount1 | grep ResourceInfo
cfsmount1    ResourceInfo     server101    State  Valid   Msg             TS
cfsmount1    ResourceInfo     server102   State  Valid   Msg             TS
 
The ResourceInfo is now marked as Valid on both nodes.
 
Note: A resource that has the ResourceInfo attribute marked as Stale does not affect the resource online, or offline, operations.

Cause

This is because this attribute is a temporary attribute. It can only be updated by the VCS agent framework, not the entry point.
 
When a resource goes offline, or faults, this attribute is marked as Stale because the information is no longer current.

Resolution

Bringing the resource back online will not bring the resource ResourceInfo attribute back to a Valid state.

Complete these steps to make the resource info current:
  1. Check the resource state. If the resource is faulted, clear the faults.
  2. Bring the resource online.
  3. Flush the resource info manually by running the hares -flushinfo -sys command.
 

Issue/Introduction

The article discusses why the ResourceInfo attribute is shown as Stale while the resource is Online.