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

    2 primary fog plan

    Scheduled Pinned Locked Moved
    FOG Problems
    4
    16
    2.7k
    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.
    • M
      msi Testers @george1421
      last edited by

      @george1421 @Sebastian-Roth You understood me right. What if the master node went down for some odd reason, can we still be able to deploy from the branch storage node? Another scenario is that I have a main machine in Newark city , and my storage is at Elizabeth city. The locations are connected through MPLS. When I deployed a machine at Elizabeth, it took an hour to deploy. However, when I did it at Newark where main FOG machine is, it took only half an hour with the same image. Is there a network issue here? DHCP at Newark pointing to Newark Fog machine, and Elizabeth pointing to Elizabeth node as below:
      Newark: next-server 200.134.200.230
      bootfile ipxe.efi
      Elizabeth: next-server 200.135.200.230
      bootfile ipxe.efi

      george1421G 1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator @msi
        last edited by

        @msi said in 2 primary fog plan:

        What if the master node went down for some odd reason, can we still be able to deploy from the branch storage

        No in this setup if the master node is off-line all of the storage nodes would be down. There is one part I left out in my wall of text from before. One of the differences between a storage node and a normal node is that the storage node doesn’t have a local database. It uses (connects) to the master node’s (normal mode) database for scheduling and reporting. If the master node is down, then there is no database for the storage nodes. There is an unsupported way to kind of make this scenario work, but its no 100% clean.

        In your Elizabeth example. Did you install the FOG location plugin? Did you assign a storage node to a location? Did you assign the target computer to a 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!

        M 1 Reply Last reply Reply Quote 0
        • M
          msi Testers @george1421
          last edited by

          @george1421 yes to first two question. Not sure what do you mean by adding a target computer to a location.

          george1421G Wayne WorkmanW 2 Replies Last reply Reply Quote 0
          • george1421G
            george1421 Moderator @msi
            last edited by

            @msi You assign the host you want to image to a location too. That way the target knows who better to talk to. Otherwise it just goes back to the master node.

            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!

            1 Reply Last reply Reply Quote 0
            • Wayne WorkmanW
              Wayne Workman @msi
              last edited by

              @msi said in 2 primary fog plan:

              Not sure what do you mean by adding a target computer to a location.

              That’s demonstrated in the location plugin video.

              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/

              george1421G 1 Reply Last reply Reply Quote 0
              • george1421G
                george1421 Moderator @Wayne Workman
                last edited by

                @wayne-workman ref: https://wiki.fogproject.org/wiki/index.php?title=Location_Plugin

                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!

                M 2 Replies Last reply Reply Quote 1
                • M
                  msi Testers @george1421
                  last edited by

                  @george1421 @Wayne-Workman Yes, I have. George helped with that before. I am kind of suspecting the switch. I noticed those are catalyst 2950 switch. Speed is 10/100 Mbps

                  1 Reply Last reply Reply Quote 0
                  • M
                    msi Testers @george1421
                    last edited by

                    @george1421 Also, how can I start replication time and image at my choice? For example, I have 12 images but I want to replicate only two of them to a particular storage node at night time. So that I don’t disturb the day time traffic.

                    Sorry that I am asking too many question, but I have to answer to my boss.

                    george1421G 1 Reply Last reply Reply Quote 0
                    • george1421G
                      george1421 Moderator @msi
                      last edited by george1421

                      @msi Well there isn’t a clean way to control replication based on time of day. But there is a way…

                      There are two elements to this.

                      1. In each image definition you can control what images replicate. For you to send only two a night, just enable the images for replication you want to replicate on that day.
                      2. You can setup a cron task to enable and disable the fog replicator service based on time of day. Using the same concept you can change the bandwidth consumption by updating the record in the database then restarting the fog replicator service.

                      Depending on your image size, you might be better off seeding the remote locations via a usb flash drive then enabling replication on the master node once the images have been seeded on the remote 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!

                      M 1 Reply Last reply Reply Quote 0
                      • M
                        msi Testers @george1421
                        last edited by

                        @george1421 I just want send two that is corresponds to that particular branch. Can you give me one example of Cron task in this case?

                        Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                        • Wayne WorkmanW
                          Wayne Workman @msi
                          last edited by Wayne Workman

                          @msi something like this:

                          First, disable and stop the image replicator.

                          systemctl disable FOGImageReplicator
                          systemctl stop FOGImageReplicator
                          

                          Then setup a root crontab that would restart it when you want to start, and stop it when you want to stop. We use restart incase it’s already running. If it’s not running, restart will just start it.

                          0 22 * * * /usr/bin/systemctl restart FOGImageReplicator
                          0 6 * * * /usr/bin/systemctl stop FOGImageReplicator
                          

                          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/

                          M 1 Reply Last reply Reply Quote 0
                          • M
                            msi Testers @Wayne Workman
                            last edited by

                            @wayne-workman I think, I would rather create a storage group and assign the storage node under that group. According to your video tutorial, it shouldn’t replicate it.

                            1 Reply Last reply Reply Quote 0
                            • Wayne WorkmanW
                              Wayne Workman
                              last edited by

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

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

                              147

                              Online

                              12.1k

                              Users

                              17.3k

                              Topics

                              155.3k

                              Posts
                              Copyright © 2012-2024 FOG Project