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

    FOG 33b - installation - HP Elite 8300 SFF

    Scheduled Pinned Locked Moved
    FOG Problems
    7
    145
    127.8k
    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.
    • A
      Alistair
      last edited by

      Although we have 6 VLANS, everything we are talking about here is in the same VLAN-1 and physically connected to the same switch.
      I’m not sure how to find out if multicast has been disabled or not. But it was not disallowed before, before we set up the VLANS.
      Isn’t it normal by default to have multicast enabled in each VLAN?

      Our gateways for all our VLANS are on a new PaloAlto PA-200 firewall. Not sure if that is creating a problem for multicast packets.
      I’m looking at the PaloAlto user interface but cannot find any reference to multicast traffic yet.

      But isn’t it normal by default to have multicast enabled in each vlan?

      1 Reply Last reply Reply Quote 0
      • B
        BPSTravis Developer
        last edited by

        That would depend on your device. As for finding the options, again… google searches will save your life…

        We don’t mind helping out but you need to start searching for the basic info you are looking for especially when it’s related to your own hardware.

        [SIZE=12px]signature:[/SIZE]
        [QUOTE]I think I know things, but I really don't. You shouldn't follow any advice I give. - BPSTravis[/QUOTE]

        1 Reply Last reply Reply Quote 0
        • A
          Alistair
          last edited by

          [I]We don’t mind helping out but you need to start searching for the basic info you are looking for especially when it’s related to your own hardware. [/I]

          Absolutely.

          1 Reply Last reply Reply Quote 0
          • A
            Alistair
            last edited by

            The Cisco switch says: By default, all Multicast frames are flooded to all ports of the VLAN

            Palo Alto - have not found any relevant info. The guy that helps me with the PaloAlto is uncontactable.

            One thing is clear here - everything is in 1 broadcast domain, so it’s unlikely that multicasting has been filtered.

            I’m stuck.

            1 Reply Last reply Reply Quote 0
            • Jaymes DriverJ
              Jaymes Driver Developer
              last edited by

              I think you are chasing a ghost in the machines. You need to concentrate on a single issue and solve it before moving forward. And I doubt the firewall is the issue. The firewalls position is between your network and the world to act as a bouncer. Your fog server doesn’t send information to the world to come back to the network, it sits on the network and sends information on the local network ONLY, if your fog server is being passed through your firewall, something is wrong. Therefore it is highly unlikely that the firewall would cause the issue. NOW there could be a firewall installed in linux that could cause some issues, but I don’t think that pertains here.

              Try eliminating the switch gear and attempt to image on a small hub or router (You will need something doling ip addresses to pxe boot) and try your set up on a few machines, if the multicast completes as expected you need to look at the settings in your network on your switch gear. If you have to set up a “test” environment on a few old hubs and try the set up, don’t use the main switches.

              WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

              1 Reply Last reply Reply Quote 0
              • A
                Alistair
                last edited by

                I’m so tired and stressed out about this that I didn’t think of the obvious Jaymes that you did think of.
                I did what you said.
                fogserver, win server 2012, my PC and 2 clients (I used the win server because it was quicker - it had DHCP)

                Same result, waiting for image… BUT.

                Rebooted fogserver
                TFTP …
                Restarted tftpd-hpa

                Then multitasking worked to the new PCs!!!
                Have to go home now. Thanks Jaymes.

                1 Reply Last reply Reply Quote 0
                • A
                  Alistair
                  last edited by

                  Probably need to implement the delayed startup of TFTP that’s been mentioned earlier.
                  Obviously that will solve the TFTP … (waiting) on the clients.

                  But could there also be a connection between this and the image not being multicasted?

                  I hope a delayed startup of tftpd-hpa will also solve the multicast problem and eliminate the need to reboot fogserver.

                  When it comes to computers, I just seem to attract bugs and issues.
                  Computers are not impressed with my natural charm and charisma

                  1 Reply Last reply Reply Quote 0
                  • A
                    Alistair
                    last edited by

                    Tom I just read your comment from last year:
                    [I]Has anyone in this thread found this issue with 0.33b? Maybe I can append/sed the command into the installation so nobody has to worry about this! [/I]

                    Sounds like a good idea[I].[/I]

                    1 Reply Last reply Reply Quote 0
                    • Jaymes DriverJ
                      Jaymes Driver Developer
                      last edited by

                      For now I would do as you suggested, run a delayed start up of the command, or just restart the service on each reboot. You are welcome for the the suggestion, don’t feel bad when I get stressed about a fog issue someone else normally comes up with an easy test for me too, just paying it forward 😉

                      WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

                      1 Reply Last reply Reply Quote 0
                      • A
                        Alistair
                        last edited by

                        TFTP is still not running despite the mod to /etc/rc.local

                        Here is a copy of the file. Is there anything wrong?

                        #!/bin/sh -e

                        rc.local

                        This script is executed at the end of each multiuser runlevel.

                        Make sure that the script will “exit 0” on success or any other

                        value on error.

                        In order to enable or disable this script just change the execution

                        bits.

                        By default this script does nothing.

                        /bin/sleep30 && /etc/init.d/tftpd-hpa restart
                        exit 0

                        xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

                        In order to enable or disable this script just change the execution

                        bits. (no idea what this means. Do I need to enable this script?)

                        1 Reply Last reply Reply Quote 0
                        • A
                          Alistair
                          last edited by

                          Multicast does not work again.

                          1 Reply Last reply Reply Quote 0
                          • A
                            Alistair
                            last edited by

                            Now it is working (multicast to the same 3 new PCs)

                            Trying to understand the sequence of events that leads to it not working and then working.

                            This time I rebooted fogserver, logged in, waited 2 minutes,
                            sudo stop tftpd-hpa
                            sudo start tftpd-hpa

                            From my PC - multicast to 3 PCs which worked

                            1 Reply Last reply Reply Quote 0
                            • Jaymes DriverJ
                              Jaymes Driver Developer
                              last edited by

                              I guess you will need to run the script yourself to stop and start the service, it’s not like it is a long command.

                              WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

                              1 Reply Last reply Reply Quote 0
                              • A
                                Alistair
                                last edited by

                                I suspect Firefox or LibreOffice may be the culprits.
                                I know it is not good practise to use other programs on a dedicated server, but it makes it so much easier to to get this fog stuff done and sorted by using Firefox and LibreOffice on fogserver.

                                OK I am going to work through this systematically.
                                I am not touching the fogserver desktop. (remember I only logged in and then stopped and started tftpd-hpa.)
                                I am now multicasting again for a 2nd time succesfully to the 3 clients. To prove that it wasn’t a one off fluke. It can be repeated.

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

                                  Shouldn’t the proper commands to restart the service be:
                                  [code]sudo service tftpd-hpa restart[/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
                                  • A
                                    Alistair
                                    last edited by

                                    Have now multicast the Ubuntu-12 image to the same classroom of old HPs - as expected did not work.
                                    Then for the 3rd time I multicast Win 8.1 successfully to the 3 same new HPs.

                                    3 successful multicasts of Win 8.1
                                    1 failed multicast of Ubuntu to old HPs.

                                    1 Reply Last reply Reply Quote 0
                                    • A
                                      Alistair
                                      last edited by

                                      Tom you wrote:

                                      Shouldn’t the proper commands to restart the service be:
                                      Code:
                                      sudo service tftpd-hpa restart
                                      I just realized that you are probably referring to the script used in rc.local? I thought you were commenting on when I wrote:

                                      This time I rebooted fogserver, logged in, waited 2 minutes,
                                      sudo stop tftpd-hpa
                                      sudo start tftpd-hpa

                                      I have now used the following line in rc.local, including sudo:

                                      /bin/sleep30 && sudo /etc/init.d/tftpd-hpa restart

                                      1 Reply Last reply Reply Quote 0
                                      • A
                                        Alistair
                                        last edited by

                                        Reboot
                                        Log in window appears
                                        Have not logged in.
                                        Wait 1 minute.
                                        Multicast to 3 PCs
                                        TFTP… waiting
                                        Cancel fog tasks
                                        Log in to fogserver
                                        Wait 1 minute
                                        Multicast to 3 Pcs
                                        TFTP…
                                        Cancel fog tasks
                                        sudo service tftpd-hpa restart
                                        Multicast to 3 PCs
                                        TFTP works
                                        Multicast failed - same white window with blue frame
                                        Cancel fog tasks

                                        Reboot fogserver
                                        Log in
                                        wait 1 minute
                                        sudo service tftpd-hpa restart
                                        Multicast to 3 PCs
                                        Multicast failed !!! (strange, I thought this would work now)
                                        Cancel fog tasks

                                        Reboot fogserver
                                        Log in
                                        wait 1 minute
                                        sudo service tftpd-hpa restart
                                        Multicast to 3 PCs
                                        Multicast failed again !!!
                                        Cancel fog tasks

                                        Reboot fogserver
                                        Log in
                                        wait 1 minute
                                        sudo stop tftpd-hpa
                                        sudo start tftpd-hpa
                                        Multicast to 3 PCs
                                        Multicast Worked (note that this time I stopped tftp first and then started it 10 seconds later)

                                        I am now going to reboot fogserver and repeat the above procedure 2 more times to confirm working with stop and then start.

                                        1 Reply Last reply Reply Quote 0
                                        • Jaymes DriverJ
                                          Jaymes Driver Developer
                                          last edited by

                                          [code]
                                          sudo service tftpd-hpa stop
                                          sudo service tftpd-hpa start
                                          [/code]

                                          Is what you should be using.

                                          You are lucky "sudo stop tftpd-hpa " even works at all, this is not how you syntax a service restart.

                                          You have confirmed that there is a bug in the tftpd-hpa up start service, this is a known issue where the service is started before an ip address is even assigned to the machine.

                                          [B]If I were you I would manually type the commands at the restart of the server.[/B]

                                          This is not a problem of fog, your fog server is working as expected. If you want help in resolving the issue, please try an Ubuntu forum, the people there are very nice and will help you to better understand the problem you are facing and how to fix it!

                                          WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

                                          1 Reply Last reply Reply Quote 0
                                          • A
                                            Alistair
                                            last edited by

                                            I repeated the above procedure only one time and multicast failed to my horror.

                                            This failure of multicast is totally unpredictable.

                                            Jaymes, the syntax sudo stop tftpd-hpa does in fact work. It is confirmed on the following line that tftpd is not running.
                                            But I will use the syntax you recommend from now on.

                                            You wrote: [B]If I were you I would manually type the commands at the restart of the server.[/B]
                                            A have done that [U]everytime[/U] as I listed above. Multicast works sometimes and not others.
                                            This is crazy. I had the TFTP problem with the old fogserver and old HP clients. But that was easily fixed with the start stop syntax.
                                            Never had a problem with multicast, if that is in fact the real problem here.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 6 / 8
                                            • First post
                                              Last post

                                            191

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project