Troubleshooting

As explained previously, the output of pcs status under Failed actions will show you whether there are problems with the cluster resources and provide information as to what you should do in order to fix them.

Here is an example:

  • exit-reason='Config /var/lib/mariadb_drbd1/my.cnf doesn't exist': Make sure the configuration file for MariaDB exists and is identical on both nodes.
  • exit-reason='Couldn't find device [/dev/drbd1]. Expected /dev/??? to exist': The DRBD device was not created correctly. Review the instructions and try to create it.

As you can see, the exit reason will give you valuable information to troubleshoot and fix the issues you may have. If, after verifying the conditions outlined in the error messages, you are still ...

Get CentOS High Performance now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.