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

    Multicast problems

    Scheduled Pinned Locked Moved
    Linux Problems
    3
    5
    1.9k
    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.
    • V
      Valmar Kuristik
      last edited by

      Fog works fine for unicast, but it seems my network configuration is not entirely correct for multicast.

      Fog server:
      Debian 7.7 Wheezy fresh install with Fog 1.20 fresh install. Dependencies like mysql set up by Fog config.

      Separate DHCP/name server running Wheezy as well.
      next-server pointed at my tftpboot, pxe in itself works fine, coupled with WoL.

      Separate Samba server with no LDAP running.

      we’re using 255.255.255.0 range with address space quite filled right now (have about 15 dynamic addresses available with people using them often), need to get on a wider range.

      There’s a minimum of two switches between every host and the dhcp server.

      Fog server’s hosts file where king is the fog server:
      [QUOTE]127.0.0.1 localhost
      192.168.7.6 king

      The following lines are desirable for IPv6 capable hosts

      ::1 localhost ip6-localhost ip6-loopback
      ff02::1 ip6-allnodes
      ff02::2 ip6-allrouters[/QUOTE]

      config.php (it’s a little empty, is there something missing I should have?):

      [QUOTE]<?php

      define( “WEBROOT”, “/var/www/fog” );
      ?>
      [/QUOTE]

      The steps I have taken:

      Bringing test hosts on the same subnet, plugged in the same switch as the fog server.

      Run all steps in [url]http://www.fogproject.org/wiki/index.php/Multicasting[/url] Troubleshooting section, everything working til Something else to try, where I get the connection and everything’s ready to send, but when I hit enter, the server shows both cliekala@king:~$ gunzip -c “/images/w72015pohi/d1p1.img” |

      The udp defaults are the following:
      [QUOTE]kala@king:~$ gunzip -c “/images/w72015pohi/d1p1.img” | /usr/local/sbin/udp-sender --min-receivers 2 --portbase 9000 --interface eth0 --half-duplex --ttl 32
      Udp-sender 20120424
      Using mcast address 232.168.7.6
      UDP sender for (stdin) at 192.168.7.6 on eth0
      Broadcasting control to 224.0.0.1[/QUOTE]

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

        The part you’re missing on the [code]kala@king:~$ gunzip -c “/images/w72015pohi/d1p1.img” | /usr/local/sbin/udp-sender --min-receivers 2 --portbase 9000 --interface eth0 --half-duplex --ttl 32
        Udp-sender 20120424
        Using mcast address 232.168.7.6
        UDP sender for (stdin) at 192.168.7.6 on eth0
        Broadcasting control to 224.0.0.1[/code]

        It should be:
        [code]kala@king:~$ cat “/images/w72015pohi/d1p1.img” | /usr/local/sbin/udp-sender --min-receivers 2 --portbase 9000 --interface eth0 --half-duplex --ttl 32[/code]

        If you’re wanting the server to decompress the correct command should be:
        [code]cat “/images/w72015pohi/d1p1.img” | gunzip -d -c | /usr/local/sbin/udp-sender --min-receivers 2 --portbase 9000 --interface eth0 --half-duplex --ttl 32[/code]

        You have to stream the data, then decompress.

        But that’s not likely the issue.

        At what point are you having issues? Is FOGMulticastManager running on the fog server? To find out:
        [code]ps -ef|grep FOGMulti[/code]

        If, for whatever reason, it isn’t, you could do:
        [code]service FOGMulticastManager stop
        killall udp-sender
        killall udp-sender
        killall udp-sender
        service FOGMulticastManager start[/code]

        Hopefully this helps.

        The /opt/fog/etc/config.php is absolutely correct. All fog runs through the main Web configuration now.

        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
        • V
          Valmar Kuristik
          last edited by

          Thanks for the reply.

          Weirdly enough the process wasn’t running with two jobs waiting to be started on gui. Will update when I can get the test hosts back on the table.

          1 Reply Last reply Reply Quote 0
          • V
            Valmar Kuristik
            last edited by

            For some reason, neither Multicast nor scheduler nor imagereplication services were up and wouldn’t start. Last log activity from them was on the 13th. They wouldn’t start with only start argument, but had to be stopped first even though they weren’t anywhere on process list and the command itself showed there was nothing to kill (no such process).

            Now that I manually started all those services, multicasting works like a charm. Need to fix them not starting on boot in the first place…

            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by

              This is kind of known. FOG Services start “too early” (before mysql is fully up). See here how I got this “fixed” on my system.
              [url]http://fogproject.org/forum/threads/fogscheduler-needs-started-manually-since-upgrading-to-svn-2912-from-1-2-0.12266/#post-41094[/url]
              I didn’t have the time to have a look into the start scripts yet. You are more than welcome to look into this! 🙂

              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
              • 1 / 1
              • First post
                Last post

              241

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project