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

    Fog server multicast issue

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    11
    3.0k
    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.
    • Tom ElliottT
      Tom Elliott
      last edited by

      I’m guessing you’re using FOG 0.32?

      The reason it’s not working is because the OSID is not set for each of the hosts you’re trying to send it to. In multicast group jobs like this, needs to have the same OSID. This is why you see multicast deploy from the group menu. It creates one task. It sounds like it checks that all Hosts have the same Image ID, but it doesn’t check if the OSID is set.

      This will hopefully be fixed in 0.33 (not yet though, still working on it) as the OSID is actually set by the image rather than on a per host basis.

      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
      • A
        Alberto Mendez
        last edited by

        Is there anything that i can do in the meantime to mitigate this problem?

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

          create a group of the hosts you’re trying to multicast to.

          Then go into that group and set the host OS. It will apply the setting to all of the hosts within that group from one simple location.

          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
          • A
            Alberto Mendez
            last edited by

            I see, so i will have to register the hosts that i want to deploy the image to right? There isn’t another solution to bypass the host registration process for a multicast?

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

              No, unless you find the configuration file and basically falsify the OSID. I think maybe on the creation of the pxe file (01-$MAC) file, set the osid manually.

              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
              • A
                Alberto Mendez
                last edited by

                ok, well i appreciate your help. thanks

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

                  This looks, to me, to be in file:

                  /var/www/{fog,html/fog}/commons/functions.include.php

                  Line 2744:
                  [php]append initrd=" . getSetting( $conn, “FOG_PXE_BOOT_IMAGE” ) . " root=/dev/ram0 rw ramdisk_size=" . getSetting( $conn, “FOG_KE RNEL_RAMDISK_SIZE” ) . " ip=dhcp dns=" . getSetting($conn, “FOG_PXE_IMAGE_DNSADDRESS” ) . " type=down img=$image mc=yes port=" . $port . " storageip=" . $snIP . " storage=" . $snIP . “:” . $snRoot . " mac=" . $member->getMACColon() . " ftp=" . sloppyNameLookup(getSetting( $conn, “FOG_TFTP_HOST” )) . " web=" . sloppyNameLooku p(getSetting($conn, “FOG_WEB_HOST”)) . getSetting( $conn, “FOG_WEB_ROOT” ) . " osid=" . $member->getOSID() . " $mode $imgType $keymapapp shutdown=$shutdown logleve l=4 consoleblank=0 " . getSetting( $conn, “FOG_KERNEL_ARGS” ) . " " . $member->getKernelArgs() . " " . $otherargs;[/php]

                  Look for the relevant part of this line:
                  [php]
                  " osid=" . $member->getOSID() . "
                  [/php]

                  Change to:
                  [php]" osid=OSID OF OS YOU WANT[/php]

                  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
                  • F
                    fabritrento
                    last edited by

                    [quote=“Tom Elliott, post: 21443, member: 7271”]create a group of the hosts you’re trying to multicast to.

                    Then go into that group and set the host OS. It will apply the setting to all of the hosts within that group from one simple location.[/quote]

                    i already set host OS, and image for the group, but the multicast still don’t work…

                    and 19 tasks is created, not 1.

                    And in this way, first 10 pc images, others wait for open slot… and there are 10 different tcp transmission, not 1 for all 19, or 10 pc.

                    2 years ago i used the broadcast function, with 0.32 and was working… so there are a new bug introduced?

                    another suggestions?

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

                      Are you looking at multicast tasks or active tasks

                      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
                      • F
                        fabritrento
                        last edited by

                        [quote=“Tom Elliott, post: 21449, member: 7271”]Are you looking at multicast tasks or active tasks[/quote]

                        clicking on
                        group management -> list all group -> click on group name -> image association -> x
                        group management -> list all group -> click on group name -> os association -> x
                        group management -> list all group -> click on group name -> basic task -> deploy

                        starts unicast imaging.

                        task management -> list all group -> deploy multicast, but don’t work giving the error in first message of this thread

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

                        229

                        Online

                        12.1k

                        Users

                        17.3k

                        Topics

                        155.4k

                        Posts
                        Copyright © 2012-2024 FOG Project