This site best when viewed with a modern standards-compliant browser. We recommend Firefox Get Firefox!.

Linux-HA project logo
Providing Open Source High-Availability Software for Linux and other OSes since 1999.

USA Flag UK Flag

Japanese Flag

Homepage

About Us

Contact Us

Legal Info

How To Contribute

Security Issues

21 December 2007 Heartbeat release 2.1.3 is now out Download it and install it!

11 October 2007 NEW educational HA/DR Blog hosted by Alan Robertson

9 April 2007 Check out the Cool Heartbeat Screencasts: Installation, Intro to the GUI Part of the Heartbeat Education project

Last site update:
2008-05-17 08:16:25

Resource Instance

A resource instance is the instantiation of a ResourceAgent into a real resource, rather than the general ResourceAgentType of the ResourceAgent.

For example, IPaddr is the type of a resource agent. But, to instantiate (or create) a particular IPaddr resource, one needs to have the parameters which describe this particular IPaddr object and distinguish it from all other IPaddr resources. For example, one might create an IPaddr object which needs three parameters in order to describe it. They might be

  • address
  • cidrmask
  • broadcast
  • interface

The parameters for any ResourceAgent are described by its ResourceAgentMetadata.

So, to deal with a resource instance of an IPaddr resource, one needs to give its parameters. An example might be

  • address=10.10.10.202
  • cidrmask=24
  • broadcast=10.10.10.255
  • interface=eth0

And, this resource instance would be distinct from the following one:

  • address=10.10.10.203
  • cidrmask=24
  • broadcast=10.10.10.255
  • interface=eth0

For more information regarding resource instances, also refer to the OpenClusterFramework ResourceAgent API.