FOG Project

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

    Intermittently offline storage node...

    General
    5
    10
    2103
    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.
    • Wayne Workman
      Wayne Workman last edited by

      I had this idea… it’s sort of out there but here goes…

      Is it possible to have a always-on Master storage node tied to another storage node within the same LAN?

      And if so, say that other storage node was a laptop… that went “offline” from time to time…

      When it came back online, would it sync any images I uploaded? Would it sync the database?

      What sort of communications do Master storage nodes and other storage nodes need to fully function?

      Any way to turn the web GUI on for a non-master storage node? Would things still sync if I did?

      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
      • ch3i
        ch3i Moderator last edited by

        I can update my script with rsync :

        • It’s debian based
        • The laptop can only used to deploy (any update “laptop” to “FoG Main Server”)
        • Each site have there own DHCP

        I’ll post it here asap.

        Regards,
        Ch3i.

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

          [quote=“ch3i, post: 45427, member: 2513”]Hi,

          I used it before because few sites were not connected in VPN with the head office. If you have a VPN community in your organisation and a possibility to have storage on each site, you can use Location plugin here (as say Wayne Workman) : [url]http://www.fogproject.org/wiki/index.php/Plugins#Location_Plugin[/url]
          Else I can help you to duplicate your fog server.

          Regards,
          Ch3i.[/quote]

          I, however, am interested in details for duplicating a FOG server.

          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
          • ch3i
            ch3i Moderator last edited by

            [quote=“Shane, post: 45419, member: 1055”]Hi Ch3i,

            Any chance you could elaborate on what you do as I am trying to set up the same. We run a fog server at head office where we setup all hardware. We then need to travel to remote sites and deploy those images.

            Regards,

            Shane[/quote]

            Hi,

            I used it before because few sites were not connected in VPN with the head office. If you have a VPN community in your organisation and a possibility to have storage on each site, you can use Location plugin here (as say Wayne Workman) : [url]http://www.fogproject.org/wiki/index.php/Plugins#Location_Plugin[/url]
            Else I can help you to duplicate your fog server.

            Regards,
            Ch3i.

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

              [quote=“Shane, post: 45419, member: 1055”]Hi Ch3i,

              Any chance you could elaborate on what you do as I am trying to set up the same. We run a fog server at head office where we setup all hardware. We then need to travel to remote sites and deploy those images.

              Regards,

              Shane[/quote]

              If you have a WAN between all your sites, you should use the location plugin instead.
              What I’m working on, and what Ch3i is talking about, is not an ideal setup for organizations that already have a WAN.

              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
              • S
                Shane last edited by

                [quote=“ch3i, post: 45131, member: 2513”]I use this system.

                To do it :
                1/ Rsync between the server and laptop to sync database/application and images.
                2/ Run the installer on the laptop before each use to update your configuration (pxe, …)

                Regards,
                Ch3i.[/quote]

                Hi Ch3i,

                Any chance you could elaborate on what you do as I am trying to set up the same. We run a fog server at head office where we setup all hardware. We then need to travel to remote sites and deploy those images.

                Regards,

                Shane

                1 Reply Last reply Reply Quote 0
                • ch3i
                  ch3i Moderator last edited by

                  [quote=“Wayne Workman, post: 45005, member: 28155”]Well, the idea is to have a laptop with FOG installed, and go out with a cross-over cable to deploy & capture images. However, I want the client registration info and images I capture to sync with the primary server once the laptop is brought back online later…

                  I think I’m just going to have to try it out and see…[/quote]

                  I use this system.

                  To do it :
                  1/ Rsync between the server and laptop to sync database/application and images.
                  2/ Run the installer on the laptop before each use to update your configuration (pxe, …)

                  Regards,
                  Ch3i.

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

                    storage nodes don’t run their own databases. they connect to the primary fog server.

                    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
                    • Wayne Workman
                      Wayne Workman last edited by

                      Well, the idea is to have a laptop with FOG installed, and go out with a cross-over cable to deploy & capture images. However, I want the client registration info and images I capture to sync with the primary server once the laptop is brought back online later…

                      I think I’m just going to have to try it out and see…

                      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
                      • V
                        VincentJ Moderator last edited by

                        You could make a storage node that boots via WOL and then you could run the image replicator, or use some other method of replicating the images.

                        Just make sure you give it time to boot up and replicate before trying to pull an image off of it.

                        You might also be able to hack in the ability for the server to SSH into a hypervisor and start a specific VM, however this will likely not ever come to the ‘normal fog’ 🙂

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

                        195
                        Online

                        10.2k
                        Users

                        16.3k
                        Topics

                        149.9k
                        Posts

                        Copyright © 2012-2020 FOG Project