FOP2 and high availability module
-
FreePBX offers the High Availability module, a clustering technology to sync two servers, which I would like to use.
Now I don't know if syncing my FOP2 button configuration is included or if I have to do any change I make in FOP2 admin, on the second server as well. Would you know?These are the directories that get synced.
Asterisk Directories:
/etc/asterisk
/var/log/asterisk
/var/spool/asterisk
/var/run/asterisk
/var/lib/asterisk
/opt/isymphony
MySQL Directories:
/var/lib/mysql
Apache Directories
/etc/httpd
/var/lib/php/session
/var/www -
FOP2 button configuration is stored in the asterisk database, so it will be synced. Now, you will need a license for each server, and the /usr/local/fop2/fop2.cfg file will need to be synced also (but not the whole disk). Or you can configure fop2 to use an alternate config directory that could be synced with the -c command line option (For example, the elastix rpm has configurations stored in /etc/asterisk/fop2 by means of adding -c /etc/asterisk/fop2 to the fop2_server OPTIONS line in /etc/sysconfig/fop2.
Best regards,
-
-
-
Thanks so much.
Just repeating my steps here:
Create /etc/asterisk/fop2 directory
Copy fop2.cfg file from /usr/local/fop2/fop2.cfg into /etc/asterisk/fop2
Copy autoconfig scripts into /etc/asterisk/fop2 directory
Have OPTIONS="-d -c /etc/asterisk/fop2" line in /etc/sysconfig/fop2So now all my fop2.cfg files are still stored in /usr/local/fop2/fop2.cfg, but automatically copied into /etc/asterisk/fop2.
Is that correct and these are all the steps I have to take?
-
When you copy files over to the new location is to have and manage them there, they will not be synced or auto copied or anything like that. You can move them out from /usr/local/fop2 if you wish to avoid confusion. If you specify any directory for fop2 configuration data with -c , then all fop2 configuration files (fop2.cfg, buttons.cfg, autobuttons.cfg, any script used for auto configuration) must be placed on that directory. The only files that must reside in /usr/local/fop2 would be the fop2_server binary and the fop2.lic licence file.
Best regards,
-
-
-
-
I got to try all this with my High Availability setup.
I have installed FOP2 for both servers ans I am logging into my floating IP address.
Now when I log into fop2, my screen looks like this:
[attachment:54e3eb2749036]My permissions are set to all for this user.
What could be wrong?
-
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login