Drbd directory shows empty in one of the HA nodes

Not sure how this has happened, but the LAN cable came off from the Active node and we observed it Failed-over to secondary node in HA. When I moved it back to the Primary node, the whole phone system went down. I plugged in a monitor and keyboard to the Primary node and saw these errors:

PHP Warning: require_once(/var/www/html/admin/bootstrap.php): failed to open stream: No such file or directory in /etc/freepbx.conf on line 9
PHP Fatal error: require_once(): Failed opening required ‘/var/www/html/admin/bootstrap.php’ (include_path=’.:/usr/share/pear:/usr/share/php’) in /etc/freepbx.conf on line 9
PHP Warning: require_once(/var/www/html/admin/bootstrap.php): failed to open stream: No such file or directory in /etc/freepbx.conf on line 9
PHP Fatal error: require_once(): Failed opening required ‘/var/www/html/admin/bootstrap.php’ (include_path=’.:/usr/share/pear:/usr/share/php’) in /etc/freepbx.conf on line 9

While I was digging through to see what has happened, I came to know the drbd directory is empty on the Primary Box (this I moved to backup state) . I still see asterisk, httpd, mysql, spare under drbd but they are empty. Can you please help me on how to recover them back?
Can I just copy the drbd directory from the other node and paste it this unit?

Please open a commercial module ticket with https://support.sangoma.com

Thanks for the suggestion. I was actually looking to see if I can copy the drbd directory between the nodes or does it have something unique in the units.

No you need to fix the master slave relationship and re-replicate, perhaps this will help

https://docs.linbit.com/doc/users-guide-84/s-resolve-split-brain/

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.