Lsb resource is not listed in `pcs resource list`

Solution Verified - Updated

Environment

  • Red Hat Enterprise Linux (RHEL) 9 with High Availability Add-on
  • Pacemaker

Issue

  • After running pcs resource list, LSB resource is not listed

Resolution

Root Cause

  • From RHEL 9 onwards, init.d directory location has been updated to /etc/rc.d/init.d from /etc/init.d/

Diagnostic Steps

  • Run command pcs resource list | grep "lsb:script_name"
  • If the script is not displayed in the above command's output, then check if script exists under /etc/rc.d/init.d directory.
  • If script is not at location /etc/rc.d/init.d, then copy the script on mentioned location and re-run command pcs resource list | grep "lsb:script_name"
SBR
Components
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.