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

Windows FOG storage node and multicasting mess

Scheduled Pinned Locked Moved
General
4
26
8.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.
  • W
    Wayne Workman @fry_p
    last edited by Wayne Workman Oct 20, 2016, 6:45 AM Oct 20, 2016, 12:28 PM

    @fry_p You’d use the FOGUpdateIP script. It not only automatically reconfigures FOG with whatever IP that DHCP gives it, but it also automatically configures dnsmasq - so that no changes are necessary to DHCP in said location that you power it up in.
    https://github.com/wayneworkman/FOGUpdateIP

    And of course an Optiplex 990 is more than you need, it would do fine. I’ve successfully ran fog on an old tower with an IDE hdd in it with a Pentium 4 processor and 256MB of slow-as-getout RAM. It’s slower yeah but it still gave about half the speed performance with a single deployment that our awesome servers at work give for a single deployment. That’s mostly due to compression, gig network card, and the write speed limitations of the target host’s hdd.

    You would likely get full performance for most things with an Optiplex 990. Remember FOG’s biggest bottleneck is the write-speeds of the target host’s hdd - most just can’t keep up.

    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!
    Daily Clean Installation Results:
    https://fogtesting.fogproject.us/
    FOG Reporting:
    https://fog-external-reporting-results.fogproject.us/

    F 1 Reply Last reply Oct 20, 2016, 2:55 PM Reply Quote 0
    • F
      fry_p Moderator @Wayne Workman
      last edited by Oct 20, 2016, 2:55 PM

      @Wayne-Workman I am now trying to replicate and I am unable to see anything on my newly set up node. When I go to look at the graph and click on it, it displays “A valid database connection could not be made”. I made sure to put in the proper sql credentials. I tried a fresh install but I think the problem is the management password in the node section of the GUI. I don’t know what that is supposed to be.

      Like open source community computing? Why not do it for a good cause?
      Use your computer/server for humanitarian projects when it is idle!
      https://join.worldcommunitygrid.org?recruiterId=1026912

      W 1 Reply Last reply Oct 20, 2016, 2:57 PM Reply Quote 0
      • W
        Wayne Workman @fry_p
        last edited by Oct 20, 2016, 2:57 PM

        @fry_p The FOGUpdateIP project is designed for a full-blown FOG Server that is intended to be carried around from location to location, not for storage nodes.

        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!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        F 1 Reply Last reply Oct 20, 2016, 3:02 PM Reply Quote 0
        • F
          fry_p Moderator @Wayne Workman
          last edited by fry_p Oct 20, 2016, 9:04 AM Oct 20, 2016, 3:02 PM

          @Wayne-Workman Oh ok. Dang. Going back to the node, what shall I do to remedy the replication issue? I currently do not have FOGUpdateIP installed anyway. The weird thing is that Snapins are replicating fine… but no images

          EDIT: New error

          [10-20-16 10:00:06 am] * Type: 2, File: /var/www/html/fog/lib/fog/fogftp.class.php, Line: 462, Message: ftp_login(): Login incorrect., Host: 10.1.34.84, Username: fog

          I think it goes back to not knowing which credentials to enter

          Like open source community computing? Why not do it for a good cause?
          Use your computer/server for humanitarian projects when it is idle!
          https://join.worldcommunitygrid.org?recruiterId=1026912

          F 1 Reply Last reply Oct 20, 2016, 6:03 PM Reply Quote 0
          • F
            fry_p Moderator @fry_p
            last edited by Oct 20, 2016, 6:03 PM

            So I figured out the replication issue (not all of my passwords matched). The database issue is still there (can’t see graph or any info on it). My next question is how the node gets integrated into the system. How does a PC know to pull from that node instead of the Main Server? I am failing to understand that.

            So if I have a node in a building and my main fog server at the main site, the pc looks at the main server for “instructions” because DHCP tells it to look at it during netboot. I don’t see anywhere I can specify where it should pull from. It is quite possible this intelligence built in and I’m just an idiot.

            Like open source community computing? Why not do it for a good cause?
            Use your computer/server for humanitarian projects when it is idle!
            https://join.worldcommunitygrid.org?recruiterId=1026912

            G 1 Reply Last reply Oct 20, 2016, 6:59 PM Reply Quote 0
            • G
              george1421 Moderator @fry_p
              last edited by george1421 Oct 20, 2016, 12:59 PM Oct 20, 2016, 6:59 PM

              @fry_p The missing bit if info you need is to install the location plugin on the root / master node. Then you can associate storage nodes to location and also workstations to location that way the workstation knows who it should talk to for imaging.

              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!

              F 1 Reply Last reply Oct 20, 2016, 7:10 PM Reply Quote 0
              • F
                fry_p Moderator @george1421
                last edited by Oct 20, 2016, 7:10 PM

                @george1421 I just found that deep in the forums as you posted this. I had no idea this was a thing, but it is really cool! So the last piece is my database connection. I think it may be a permissions thing. I can log into my FOG database locally on the master server with a blank password. However, on the node, I unable to connect with the same credentials. I already commented out the “Bind-Address = 127.0.0.1” in /etc/mysql/my.conf

                It’s probably a stupid thing but I’m stumped.

                Like open source community computing? Why not do it for a good cause?
                Use your computer/server for humanitarian projects when it is idle!
                https://join.worldcommunitygrid.org?recruiterId=1026912

                G 1 Reply Last reply Oct 20, 2016, 7:14 PM Reply Quote 0
                • G
                  george1421 Moderator @fry_p
                  last edited by Oct 20, 2016, 7:14 PM

                  @fry_p If you are using ubuntu you need to do something (sorry rhel guy) to enable remote access to the database. I know Tom posted something just recently for another forum user. Let me see if I can find 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!

                  F 1 Reply Last reply Oct 20, 2016, 7:15 PM Reply Quote 0
                  • F
                    fry_p Moderator @george1421
                    last edited by Oct 20, 2016, 7:15 PM

                    @george1421 Again, just as you posted this, I found it in the wiki. I can now access the database from the node, I hope the graph in the GUI is soon to follow…

                    Like open source community computing? Why not do it for a good cause?
                    Use your computer/server for humanitarian projects when it is idle!
                    https://join.worldcommunitygrid.org?recruiterId=1026912

                    G 1 Reply Last reply Oct 20, 2016, 7:16 PM Reply Quote 0
                    • G
                      george1421 Moderator @fry_p
                      last edited by Oct 20, 2016, 7:16 PM

                      @fry_p Sorry I’m running just a little slow today. 😉

                      Glad you have it worked out. The remote storage node doesn’t have its own database, it uses the Master Node’s database that is why it need remote access to the database.

                      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!

                      F 1 Reply Last reply Oct 20, 2016, 7:18 PM Reply Quote 0
                      • F
                        fry_p Moderator @george1421
                        last edited by Oct 20, 2016, 7:18 PM

                        @george1421 I appreciate your help though. I’ll give the GUI time to catch up, or if it still doesn’t work, make another post. Thanks everyone!

                        Like open source community computing? Why not do it for a good cause?
                        Use your computer/server for humanitarian projects when it is idle!
                        https://join.worldcommunitygrid.org?recruiterId=1026912

                        W 1 Reply Last reply Oct 20, 2016, 9:05 PM Reply Quote 0
                        • W
                          Wayne Workman @fry_p
                          last edited by Wayne Workman Oct 20, 2016, 3:05 PM Oct 20, 2016, 9:05 PM

                          @fry_p said in Windows FOG storage node and multicasting mess:

                          I’ll give the GUI time to catch up, or if it still doesn’t work, make another post.

                          If it’s configured correctly, it should be immediate. Did you enable the graph for the storage node? Did you assign the storage node to the correct storage group and enable it? When installing the storage node, did you input the correct fogstorage password?

                          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!
                          Daily Clean Installation Results:
                          https://fogtesting.fogproject.us/
                          FOG Reporting:
                          https://fog-external-reporting-results.fogproject.us/

                          F 1 Reply Last reply Oct 21, 2016, 12:09 PM Reply Quote 0
                          • W
                            Wayne Workman @fry_p
                            last edited by Wayne Workman Oct 20, 2016, 7:05 PM Oct 21, 2016, 12:19 AM

                            @fry_p said in Windows FOG storage node and multicasting mess:

                            I would now like to know @george1421 's method to changing the IP easily on the node for portability. I am ignorant to how nodes work and how hard it is to change the IP, so I am open to suggestions.

                            back to this question, You’ll be relieved to know that changing a storage node’s IP configuration is very easy.

                            Edit /opt/fog/.fogsettings and look for the ipaddress= field and put your new IP in it’s quotes. Then just re-run the fog installer on that storage node. This will also ensure you have the latest kernel and inits and required packages on this server too because you’re running the installer.

                            Then in the main server’s web interface, go to Storage Management and find the storage node you need to change the IP for, and just change it’s address in there. Be weary of your browser’s auto-fill in this area, it will change the password in this area without you knowing.

                            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!
                            Daily Clean Installation Results:
                            https://fogtesting.fogproject.us/
                            FOG Reporting:
                            https://fog-external-reporting-results.fogproject.us/

                            1 Reply Last reply Reply Quote 0
                            • F
                              fry_p Moderator @Wayne Workman
                              last edited by Oct 21, 2016, 12:09 PM

                              @Wayne-Workman said in Windows FOG storage node and multicasting mess:

                              If it’s configured correctly, it should be immediate. Did you enable the graph for the storage node? Did you assign the storage node to the correct storage group and enable it? When installing the storage node, did you input the correct fogstorage password?

                              God, I’m striking out left and right. I changed the settings in /opt/fog/.fogsettings, but didn’t re-install, expecting the changes to be instant. What a dope I am…

                              Thanks for the info on changing the IP of the node. That’s not too bad and you’re right, having the latest of everything every time would be good.

                              Like open source community computing? Why not do it for a good cause?
                              Use your computer/server for humanitarian projects when it is idle!
                              https://join.worldcommunitygrid.org?recruiterId=1026912

                              1 Reply Last reply Reply Quote 0
                              • 1
                              • 2
                              • 2 / 2
                              2 / 2
                              • First post
                                22/26
                                Last post

                              175

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project