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

multiple sites

Scheduled Pinned Locked Moved Unsolved
FOG Problems
3
4
424
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
    af-pw
    last edited by Oct 8, 2023, 9:19 AM

    Hi
    i am newbie, and do not understand and can not find any up-to-date step-by-step how-to deploy fog servers on different sites that can use same images (created on each site):
    Site-A can create its own images and serve site A hosts. the hosts will boot via pxe and choose what images from local fog server storage to deploy
    Site-B can create its own images but can use site A images too, and serve site B hosts. the hosts will boot via pxe and choose what images from local fog server storage to deploy.

    • hosts are not defined in the Fog hosts menu. they boot from network, and DHCP settings push the the pxe and tftp local server info. so i can not use local plugin (i think)

    *currently i have 1 standalone fog server (VM) with local disk storage serving site A only.

    • limited bandwidth and long distances between sites. and different DHCP servers too

    i need assist to understand how to deploy the for servers and their storages.

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Oct 9, 2023, 3:17 PM

      @af-pw said in multiple sites:

      limited bandwidth and long distances between sites.

      This is a major limiting factor that you can’t get around with a FOG server at site B unless you do a manual transfer of the image files via an external disk.

      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

      A 1 Reply Last reply Oct 10, 2023, 6:50 AM Reply Quote 0
      • A
        af-pw @Sebastian Roth
        last edited by Oct 10, 2023, 6:50 AM

        @Sebastian-Roth
        Hi
        so if i copy manually the image from site A to Site B (or vise versa), how can i add it to the storage node?

        G 1 Reply Last reply Oct 10, 2023, 12:23 PM Reply Quote 0
        • G
          george1421 Moderator @af-pw
          last edited by Oct 10, 2023, 12:23 PM

          @af-pw I’ve reread your OP several times and its not clicking in my head to what the problem is.

          I can tell you that its possible to have 2 standalone fog servers and have the images from server A replicated to server B using the fog UI. All of the images from server A can be replicated to server B and then server B can add its own images to its own server only. But there is a caveat with this solution and its not supported by the Developers. Let me explain.

          For a fog “image” there are two components. The first is the raw data files stored in /images. The second is the data base record (meta data).

          You can do this by on server A going into the storage nodes and add server B as a slave storage node. Then add server B to the storage group for storage A. This will start to replicate the images from FOG server A to FOG server B. If there are images you don’t want replicated to server B, on server A go into the image definition and disable replication for that image.

          Now for the caveat. The process above will replicate the raw data to server B. What it will not do is copy over the meta data. You will have to do that manually. on FOG server A go into the image definitions and export them as csv. Edit the csv with your favorite editor removing image definitions you don’t want to appear on server B. Then on server B’s web ui import the image definitions from server A. This step really only needs to be done if/when you add new images to server A that you want to see on server B.

          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
          • 1 / 1
          1 / 1
          • First post
            3/4
            Last post

          149

          Online

          12.1k

          Users

          17.3k

          Topics

          155.3k

          Posts
          Copyright © 2012-2024 FOG Project