• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    REV 4850 2 storages nodes on the same server.

    Scheduled Pinned Locked Moved
    General
    2
    5
    1.4k
    Loading More Posts
    • 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.
    • O
      olivierl
      last edited by

      Hello,

      we tested FOG rev(4850): on the same server ( the fog web server too) we have make 2 master node with different storage path wtih different nic ( hard disk on iscsi nas server).
      Upload and download host is ok but for multicast but we had a problem with the path of the storage node.

      We had to change the MulticastTask.class file like this:

      $ Tasks [] = new self (
                           $ MultiSess-> get (id)
                           $ MultiSess-> get (name),
                           $ MultiSess-> get (port)
      $ Image-> getStorageGroup () -> getMasterStorageNode (.) -> Get (path) ‘/’ $ MultiSess-> get (logpath).
                           //$MultiSess->get(path).‘/’.$MultiSess->get(logpath)
      //$root.‘/’.$MultiSess->get(logpath)

      Without this fog don’t take the good path of the storage Node

      Sorry for my bad english

      1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

        Multicast tasks can ONLY occur on the “MASTER” node. Because you have the same storage node, but different paths, on the same server, the Best option I could give is to create a second group, and put the second node into that second group as the master node.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 1
        • O
          olivierl
          last edited by

          Yes i have two storage group ,one for each storage node but if i don’t change this

          $MultiSess->get(path).’/’.$MultiSess->get(logpath)

          by

          $ Image-> getStorageGroup () -> getMasterStorageNode (.) -> Get (path) ‘/’ $ MultiSess-> get (logpath).

          fog take the wrong path (it’s take the default).
          olivier

          1 Reply Last reply Reply Quote 0
          • Tom ElliottT
            Tom Elliott
            last edited by

            Are both groups with a Master Storage node?

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

            1 Reply Last reply Reply Quote 0
            • O
              olivierl
              last edited by

              yes it is

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post

              228

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project