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

    Capone and Multicasting not possible?

    Scheduled Pinned Locked Moved
    FOG Problems
    5
    44
    15.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.
    • G
      guscrown
      last edited by

      Junkhacker,

      The computers are used inside my product. The whole product will be assembled at a manufacturing house. The computers themselves come with blank hard drivers. I need to load the image I created that includes software tools for testing our hardware and other diagnostics tools. The server is mine, and I will setup the whole thing at the manufacturing house house.

      This will be a single occurrence. I do not need to keep this computers as registered hosts, as there is almost 0% chance my server will see them again. And even if I do, of course I could go through the process of registering them, or even use Capone to deploy an image.

      There are 300+ computers that need to be imaged as quickly as possible, with as little interaction from humans as possible. The process I had envisioned was simply to connect the final product to the switch, and have it imaged automatically as it is powered up, without having to navigate with a keyboard. Ideally I would have to image 20-30 hosts at a time, so Multicast would be a better option.

      Capone and the SVN version have the correct setup I need, minus the multicast.

      I hope this is a bit clearer.

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

        as you know what image is what.

        Try latest svn.

        I’ve made functionality of multicast joining. Not with capone, as that’s to hard to guess.

        What you do:

        [From GUI]
        Go to image management page.

        Choose multicast image

        Setup your needed parameters on the page presented.

        Submit the form.

        [From Client]

        Boot unregistered system to boot menu.

        Choose Join Multicast session option.

        Type in your fog gui login and password.

        Type in the name you set the session to in gui.

        You should be good.

        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
        • JunkhackerJ
          Junkhacker Developer
          last edited by

          ok, that clears things up quite a bit

          do you have speed issues when doing multiple unicast (non-multicast) jobs simultaneously? why is capone by itself not a good option?

          signature:
          Junkhacker
          We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

          1 Reply Last reply Reply Quote 0
          • G
            guscrown
            last edited by

            [quote=“Junkhacker, post: 38995, member: 21583”]ok, that clears things up quite a bit

            do you have speed issues when doing multiple unicast (non-multicast) jobs simultaneously? why is capone by itself not a good option?[/quote]

            Yes, with 3 hosts it slowed down significantly. I need to test adding more hosts and see how it will perform, but 20 at a time will be far from optimal. I do know that multicast will never be as fast as single unicast, but should be better than multimple unicast, right?

            1 Reply Last reply Reply Quote 0
            • G
              guscrown
              last edited by

              Thanks, Tom. Is there a way to bypass the input of user/pass and session? I’m afraid you will say no.

              1 Reply Last reply Reply Quote 0
              • JunkhackerJ
                Junkhacker Developer
                last edited by

                that depends on your network and server hardware and network configuration. personally i image multiple computers at a time with speeds of over 5GB/minute. doing multiple unicasts can be very disk I/O intensive and that slows things down, but on the other hand, multicast slows everything down with any issue with any host. i can foresee situations were a server with an SSD could be faster then multicast

                signature:
                Junkhacker
                We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

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

                  [quote=“guscrown, post: 38997, member: 26595”]Thanks, Tom. Is there a way to bypass the input of user/pass and session? I’m afraid you will say no.[/quote]

                  I’m afraid you’re stuck being afraid for now?

                  I’m not trying to sound rude or crude, but some of these things are set in such a manner for some semblance of security. You could play with the source code to have it work for you.

                  First you’d needed to edit the FOGConfigurationPage ‘disabled’ part on pxe setting function. You’d make line 278 of the file /var/www/fog/lib/pages/FOGConfigurationPage.class.php from:
                  [php]‘disabled’ => $menuid ? ‘readonly=“true”’ : ‘’,[/php]
                  TO:
                  [php]‘disaabled’ => ‘’,[/php]

                  Then you’d edit BootMenu.class.php to move the $_REQUEST[‘sessionJoin’] settings on lines: 572 and 573 to right under line 159.

                  Then you edit on the GUI side (fog.multijoin) and remove the lines stating:
                  [code]login[/code]
                  [code]param username ${username}[/code]
                  [code]param password ${password}[/code]

                  That should remove authentication from the mix. That said, I’d highly recommend against it.

                  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
                  • G
                    guscrown
                    last edited by

                    Thanks, Tom. I really appreciate your help.

                    I saw that there is a way to bypass registration and deploy with multicast on 0.32, I will try and install that one.

                    I am also thinking of asking the PC manufacturer for a list of all the mac addresses for the 350 pieces that I bought, there might be a chance that they have a way to send them to me. I could preload them onto the DB.

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

                      What specifically are you going to install from 0.32?

                      That was a complete patch of the bypass registration file.

                      While the file might load, you’ll only kernel panic, and even if you boot into it, it won’t know anything about how the new system is setup.

                      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
                      • G
                        guscrown
                        last edited by

                        Sorry, what I meant was install 0.32 from scratch on another VM and try it out.

                        I will first try your mod for removing the authentication for joining the multicast. I can do this in a copy of the VM, and simply use it during this period. After that I can go back to the more secure option.

                        1 Reply Last reply Reply Quote 0
                        • G
                          guscrown
                          last edited by

                          [quote=“Tom Elliott, post: 38994, member: 7271”]as you know what image is what.

                          Try latest svn.

                          I’ve made functionality of multicast joining. Not with capone, as that’s to hard to guess.

                          What you do:

                          [From GUI]
                          Go to image management page.

                          Choose multicast image

                          Setup your needed parameters on the page presented.

                          Submit the form.

                          [From Client]

                          Boot unregistered system to boot menu.

                          Choose Join Multicast session option.

                          Type in your fog gui login and password.

                          Type in the name you set the session to in gui.

                          You should be good.[/quote]

                          Tom,

                          I tried to do this, but Join Multicast Session was not appearing on unregistered hosts. I went into fog.multijoin option in PXE Menu Configuration and selected “All Hosts”. This basically broke it, as I don’t see it on any host anymore. And fog.multijoin option from PXE Menu Configuration is gone now.

                          I’m on 2637, by the way.

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

                            So you didn’t upgrade before when I asked you to?

                            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
                            • Tom ElliottT
                              Tom Elliott
                              last edited by

                              To fix

                              Open MySQL preferably in phpmyadmin
                              Or from terminal
                              mysql -u root [ -p only if you set sql password ]

                              [code]
                              Update fog.pxeMenu set pxeName=‘fog.multijoin’ where pxeID=‘7’;[/code]

                              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
                              • G
                                guscrown
                                last edited by

                                By the way, I haven’t edit the files you mentioned. This simply happened by me selecting “All Hosts” for fot.multijoin.

                                1 Reply Last reply Reply Quote 0
                                • G
                                  guscrown
                                  last edited by

                                  [quote=“Tom Elliott, post: 39021, member: 7271”]So you didn’t upgrade before when I asked you to?[/quote]

                                  Tom,

                                  I upgraded yesterday morning before I made all my posts. I’ve been on 2637 all this time.

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

                                    After that is fixed update svn on server by cd location/of/svn/download
                                    Run
                                    [code]svn up
                                    cd bin
                                    sudo ./installfog.sh[/code]

                                    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
                                    • G
                                      guscrown
                                      last edited by

                                      This post is deleted!
                                      1 Reply Last reply Reply Quote 0
                                      • G
                                        guscrown
                                        last edited by

                                        This post is deleted!
                                        1 Reply Last reply Reply Quote 0
                                        • G
                                          guscrown
                                          last edited by

                                          Got 2643 running. I am able to join the session with unregistered hosts. Multicasting isn’t working though. I will try a different switch.

                                          1 Reply Last reply Reply Quote 0
                                          • G
                                            guscrown
                                            last edited by

                                            Turns out it IS working, it’s just that if the other hosts join AFTER the multicast session has started, they won’t get imaged. I guess that’s the way a session works, by specifying how many hosts you will image with the same image. The third host waits indefinitely to get imaged but it never happens.

                                            Unfortunately this will not work for me. I think Unicast or pre-registering hosts will be my only options.

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

                                            154

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project