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

    How do I configure the Fog server to use WIndows Server for image repository?

    Windows Problems
    3
    5
    458
    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
      mstumpo last edited by

      I have set up a Fog server and made an image and want to have subsequent images reside on a spare Windows Server R2 server that has 5TB of space. How can I do this?

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

        The tutorials will work at least for 2008 and 2012 servers. I was able to do it as a proof of concept. I could try with Windows 2016 server but I’ve traveled down that path before so there isn’t the motivation at the moment to do it again. When you get it setup, you will want to set the Windows storage node as the master node in your configuration. Because of changes in the FOG Project code, you can’t use a non-fog server as a storage node because image replication will happen over and over again because there is missing programs on the windows server.

        Just be aware; if you set the windows server as the master node then you can capture and deploy directly from the windows storage server. Replication to other storage node servers will not work.

        Also be aware; that while this configuration might work it is not a supported configuration by the FOG developers. So getting code tweaks to the programming to make a windows storage node configuration more robust will probably not happen.

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

          @mstumpo said in How do I configure the Fog server to use WIndows Server for image repository?:

          That’s my only option? I can’t mount a Windows share in Linux and point to that?

          There has been limited success in using an NFS share in Windows. @george1421 has a walkthrough here and here. Another guy posted a powershell script that does all of it but I can’t seem to find it. This is definitely not something most fog users do, it’s not a regular practice. If it breaks, you’d be hard-pressed to get help with it.

          Another option is ISCSI. If you had an ISCSI target, you could mount that on the fog server, no problems as the OS treats it as a local disk.

          But, as far as just making a regular CIFS/SMB share on windows and then mounting that on the fog server - it won’t work for imaging because the Linux does not allow exporting a directory that is already remote.

          Also, there is the Hyper-V option, where you can just setup a storage node, or just a whole new fog server - you can move everything over to the new server by following this tutorial: https://wiki.fogproject.org/wiki/index.php?title=Migrate_FOG Having FOG virtualized provides beneficial features like snapshots & easy migration to new hardware.

          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
          • M
            mstumpo last edited by

            That’s my only option? I can’t mount a Windows share in Linux and point to that?

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

              @mstumpo Run your FOG Server in Hyper-V on that windows server, and give it lots of space, make it thin-provisioned.

              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

              75
              Online

              10.4k
              Users

              16.4k
              Topics

              150.5k
              Posts

              Copyright © 2012-2023 FOG Project