Multicasting over VLANs - get stuck at 'Please Wait'



  • Hi all,

    We are running FOG v0.32, running on full cisco network.

    [LIST=1]
    []We used to be able to multicast across VLANs, then suddenly we were not able to.
    [
    ]We can multicast on the same VLAN that the FOG server resides on just fine.
    []When we try to multicast across VLANs the machines will pxeboot to fog, join the queue then sit at Please Wait and never start.
    [
    ]Unicasting across VLANs works just fine.
    [*]The multicast log shows nothing of significance.
    [/LIST]
    No configurations changed on the FOG box; but suddenly we lost the ability to multicast across VLANs. The only network changes made that[I] could[/I] have affected operation were the installation of a Fortinet Fortigate, and a few routing changes to our Cisco Nexus 7k.

    When I run the steps listed here: [url]http://fogproject.org/wiki/index.php?title=Troubleshooting_a_multicast[/url] I can get 3 machines to multicast across VLANs.

    Our FOG server has only one NIC (eth0). We only have one storage node (on the FOG server itself.)

    Here is our hosts file

    [CODE]

    127.0.0.1 localhost

    172.16.203.2 FOGserver

    The following lines are desirable for IPv6 capable hosts

    ::1 localhost ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts

    [/CODE]

    [B]FYI: the db user and password used in /opt/fog/service/etc/config.php and /var/www/fog/commons/config.php are the same.[/B]

    Here is our /var/www/fog/commons/config.php

    [CODE]
    define( “IS_INCLUDED”, true );
    define( “TFTP_HOST”, “172.16.203.2” );
    define( “TFTP_FTP_USERNAME”, “fog” );
    define( “TFTP_FTP_PASSWORD”, “34986b891466c155fccea853d37a1f9d” );
    define( “TFTP_PXE_CONFIG_DIR”, “/tftpboot/pxelinux.cfg/” );
    define( “TFTP_PXE_KERNEL_DIR”, “/tftpboot/fog/kernel/” );
    define( “PXE_KERNEL”, “fog/kernel/bzImage” );
    define( “PXE_KERNEL_RAMDISK”, 127000 );
    define( “USE_SLOPPY_NAME_LOOKUPS”, “1”);
    define( “MEMTEST_KERNEL”, “fog/memtest/memtest” );
    define( “PXE_IMAGE”, “fog/images/init.gz” );
    define( “PXE_IMAGE_DNSADDRESS”, “172.16.2.35” );
    define( “STORAGE_HOST”, “172.16.203.2” );
    define( “STORAGE_FTP_USERNAME”, “fog” );
    define( “STORAGE_FTP_PASSWORD”, “34986b891466c155fccea853d37a1f9d” );
    define( “STORAGE_DATADIR”, “/images/” );
    define( “STORAGE_DATADIR_UPLOAD”, “/images/dev/” );
    define( “STORAGE_BANDWIDTHPATH”, “/fog/status/bandwidth.php” );
    define( “CLONEMETHOD”, “ntfsclone” ); // valid values partimage, ntfsclone
    define( “UPLOADRESIZEPCT”, 5 );
    define( “WEB_HOST”, “172.16.203.2” );
    define( “WEB_ROOT”, “/fog/” );
    define( “WOL_HOST”, “172.16.203.2” );
    define( “WOL_PATH”, “/fog/wol/wol.php” );
    define( “WOL_INTERFACE”, “eth0” );
    define( “SNAPINDIR”, “/opt/fog/snapins/” );
    define( “QUEUESIZE”, “10” );
    define( “CHECKIN_TIMEOUT”, 600 );
    define( “MYSQL_HOST”, “localhost” );
    define( “MYSQL_DATABASE”, “REMOVEDFORSEC” );
    define( “MYSQL_USERNAME”, “REMOVEDFORSEC” );
    define( “MYSQL_PASSWORD”, “REMOVEDFORSEC” );
    define( “DB_TYPE”, “mysql” );
    define( “DB_HOST”, MYSQL_HOST );
    define( “DB_NAME”, MYSQL_DATABASE );
    define( “DB_USERNAME”, MYSQL_USERNAME );
    define( “DB_PASSWORD”, MYSQL_PASSWORD );
    define( “DB_PORT”, null );
    define( “USER_MINPASSLENGTH”, 4 );
    define( “USER_VALIDPASSCHARS”, “1234567890ABCDEFGHIJKLMNOPQRSTUVWZXYabcdefghijklmnopqrstuvwxyz_hB()^!” );
    define( “NFS_ETH_MONITOR”, “eth0” );
    define(“UDPCAST_INTERFACE”,“eth0”);
    define(“UDPCAST_STARTINGPORT”, 63100 ); // Must be an even number! recommended between 49152 to 65535
    define(“FOG_MULTICAST_MAX_SESSIONS”, 10 );
    define( “FOG_JPGRAPH_VERSION”, “2.3” );
    define( “FOG_REPORT_DIR”, “./reports/” );
    define( “FOG_THEME”, “blackeye/blackeye.css” );
    define( “FOG_UPLOADIGNOREPAGEHIBER”, “1” );
    define( “FOG_VERSION”, “0.32” );
    define( “FOG_SCHEMA”, 23);
    DEFINE(‘BASEPATH’, rtrim($_SERVER[‘DOCUMENT_ROOT’], ‘/’) . rtrim(WEB_ROOT, ‘/’));
    ?>
    [/CODE]

    Here is our /opt/fog/service/etc/config.php
    [CODE]
    <?php
    define( “UPDSENDERPATH”, “/usr/local/sbin/udp-sender” );
    define( “MULTICASTLOGPATH”, “/opt/fog/log/multicast.log” );
    define( “MULTICASTDEVICEOUTPUT”, “/dev/tty2” );
    define( “MULTICASTSLEEPTIME”, 10 );
    define( “MULTICASTINTERFACE”, “eth0” );
    define( “UDPSENDER_MAXWAIT”, null );

    define( “MYSQL_HOST”, “localhost” );
    define( “MYSQL_DATABASE”, “REMOVEDFORSEC” );
    define( “MYSQL_USERNAME”, “REMOVEDFORSEC” );
    define( “MYSQL_PASSWORD”, “REMOVEDFORSEC” );

    define( “LOGMAXSIZE”, “1000000” );

    define( “REPLICATORLOGPATH”, “/opt/fog/log/fogreplicator.log” );
    define( “REPLICATORDEVICEOUTPUT”, “/dev/tty3” );
    define( “REPLICATORSLEEPTIME”, 600 );
    define( “REPLICATORIFCONFIG”, “/sbin/ifconfig” );

    define( “SCHEDULERLOGPATH”, “/opt/fog/log/fogscheduler.log” );
    define( “SCHEDULERDEVICEOUTPUT”, “/dev/tty4” );
    define( “SCHEDULERWEBROOT”, “/var/www/fog” );
    define( “SCHEDULERSLEEPTIME”, 60 );
    ?>
    [/CODE]

    Here is a screenshot of our fog config: [URL=‘http://i.imgur.com/QdzvSYK.png’]http://i.imgur.com/QdzvSYK.pn[/URL]g



  • SOLVED: Changing the multicast queue size from 10 to an arbitrary number, then back to 10 corrected the issue.


 

382
Online

41.5k
Users

12.0k
Topics

113.4k
Posts