Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

FOP2 Community Forum

  1. Home
  2. Support
  3. FOP2 and high availability module

FOP2 and high availability module

Scheduled Pinned Locked Moved Support
12 Posts 2 Posters 170 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A
    A
    avayax
    wrote on last edited by
    #3

    So is that how my /etc/sysconfig/fop2 filr should look like and that takes care of what I want to do?
    OPTIONS="-d"
    OPTIONS="-c /etc/asterisk/fop2"

    1 Reply Last reply
    0
    • N
      N
      nicolas
      wrote on last edited by
      #4

      You must have only ONE options line:

      OPTIONS="-d -c /etc/asterisk/fop2"

      Then you will need to create the /etc/asterisk/fop2 directory and copy the fop2.cfg file and all autoconfig* scripts.

      1 Reply Last reply
      0
      • A
        A
        avayax
        wrote on last edited by
        #5

        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/fop2

        So 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?

        1 Reply Last reply
        0
        • N
          N
          nicolas
          wrote on last edited by
          #6

          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,

          1 Reply Last reply
          0
          • A
            A
            avayax
            wrote on last edited by
            #7

            I have copied all contents of /usr/local/fop2 into /etc/asterisk/fop2.
            And added OPTIONS="-d -c /etc/asterisk/fop2" line in /etc/sysconfig/fop2.

            1 Reply Last reply
            0
            • A
              A
              avayax
              wrote on last edited by
              #8

              I have copied all contents of /usr/local/fop2 into /etc/asterisk/fop2.
              And added OPTIONS="-d -c /etc/asterisk/fop2" line in /etc/sysconfig/fop2

              1 Reply Last reply
              0
              • N
                N
                nicolas
                wrote on last edited by
                #9

                remove the fop2_server and fop2.lic from /etc/asterisk/fop2 , they are not needed there, they should reside in /usr/local/fop2 only. With that set, configuration will be synced with your high availability setup (if it syncs the whole /etc/asterisk directory).

                1 Reply Last reply
                0
                • A
                  A
                  avayax
                  wrote on last edited by
                  #10

                  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?

                  1 Reply Last reply
                  0
                  • A
                    A
                    avayax
                    wrote on last edited by
                    #11

                    All the action buttons are missing, as well as the phone book and options.

                    1 Reply Last reply
                    0
                    • A
                      A
                      avayax
                      wrote on last edited by
                      #12

                      All good, just needed to add an extension, which I hadn't done yet.
                      Working now so far.

                      1 Reply Last reply
                      0

                      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
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      Powered by NodeBB Contributors
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups