Product SiteDocumentation Site

4.2.2. Linux Standard Base

LSB resource agents are more commonly known as init scripts. If a full path is not given, they are assumed to be located in /etc/init.d.
Commonly, they are provided by the OS distribution. In order to be used with a Pacemaker cluster, they must conform to the LSB specification. [7]

Warning

Many distributions or particular software packages claim LSB compliance but ship with broken init scripts. For details on how to check whether your init script is LSB-compatible, see the Resource Agents section of Pacemaker Administration. Common problematic violations of the LSB standard include:
  • Not implementing the status operation at all
  • Not observing the correct exit status codes for start/stop/status actions
  • Starting a started resource returns an error
  • Stopping a stopped resource returns an error

Important

Remember to make sure the computer is not configured to start any services at boot time — that should be controlled by the cluster.