• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Gamienator
    3. Topics
    • Profile
    • Following 0
    • Followers 0
    • Topics 6
    • Posts 29
    • Best 5
    • Controversial 0
    • Groups 0

    Topics created by Gamienator

    • GamienatorG

      Where are the general iPXE settings?

      General Problems
      • • • Gamienator
      9
      0
      Votes
      9
      Posts
      1.9k
      Views

      JunkhackerJ

      @george1421 said in Where are the general iPXE settings?:

      and that should pull the file from the tftpboot directory. But then you will need to have a mac address file for each system. But then what happens if you don’t have a mac address file the boot fails.

      in this case, you could just end the chain command with || and it would try the next available command, which can be booting to the fog server

    • GamienatorG

      Solved Choose the right location on PXE Boot - Is that possible?

      FOG Problems
      • • • Gamienator
      18
      0
      Votes
      18
      Posts
      978
      Views

      S

      @Gamienator Sorry, just didn’t get to take a closer look at this up until today. I think you’ve done a pretty good job considering this is your first time using PHP!

      Thinking more about the scenario you have I was wondering if there is a more apropriate way to do this. I don’t understand why you’d want to have users (I suppose you mean admins) start the transfers manually. What I mean is: Someone needs to have image X on FOG server in location Y and so he opens your special website, selects image, clicks send and needs to wait for it to finish before a host can be deployed at location Y. But why is this interaction needed at all I wonder? If I’d be you I’d try to have it all automated as much as possible.

      One way would be to just replicate all images to the servers in all locations. Though images might not be needed and it would therefore waste a lot of bandwith to transfer the huge images to locations where they might not be used at all. So I thought about miss-using FOG’s concept of storage groups could be useful for you. Define a storage group for every location you have. Then edit the image settings -> tab “Storage Group” and assign the location/storage group where you want the image to be used. I’d suggest you leave the pre defined “default” Storage Group as is for every image but only add the new “location storage groups” as needed.

      Now combine the stuff you’ve come up with already with the settings I mention above: Create a cronjob on your main server that will query the the “Storage Group” information of every image from the database and do the replication to the other servers automatically based on this information. So when people create a new image definition and add the correct “Storage Group” to it the image will be automatically replicated as soon as the image is being captured.

      This is all about the raw image data replication. Now for the database there are two scenarios I can imagine. One would be to use MySQL’s capability of replicating (syncing) databases automatically. One of our users just wrote a tutorial on this topic. I’d suggest to not replicate all tables but only sync the images table by using replication filter rules.

      The other option is to add a simple mysqldump through SSH tunnel command that grabs all the information from the images table and push it to the other server’s database. It would be wise to also base this on the “Storage Group” information described above so you’d only have the image defintions needed in all the locations.

      That’s just my point of view. See what you think and let me know if you need help with this.

    • GamienatorG

      Control Location replication

      General Problems
      • • • Gamienator
      1
      0
      Votes
      1
      Posts
      238
      Views

      No one has replied

    • GamienatorG

      Solved Question about Variables in iPXE Configuration

      FOG Problems
      • • • Gamienator
      8
      0
      Votes
      8
      Posts
      887
      Views

      S

      @Gamienator I am not sure if the Location Plugin will exactly match your needs. I was asking about this because it’s definitely worth looking into this for your kind of setup and on the other hand it might make a difference when we talk about adding ${storage-ip}.

      I have not had the time to think this all through and work on the code though. I will try to do so over the weekend but won’t promise anything.

    • GamienatorG

      Solved How can I troubleshoot the Diskusage Problem on the Webinterface?

      FOG Problems
      • • • Gamienator
      18
      0
      Votes
      18
      Posts
      1.3k
      Views

      GamienatorG

      Okay, everyone, I found the reason why it wasn’t working. @george1421 and @Sebastian-Roth it was NOT because I used /image1. It was a complete dumb reason!

      I set up the server, that every HTTP traffic gets redirected to HTTPS. My dumb mistake: I forgot to setup SSL on the NODE! So it looks like that because I used https://fog.xyz/fog it trys to reach the nodes via SSL as well! After setting up SSL on the node, Boom:

      743cb9f1-d24b-43be-9b87-02b945e58a28-image.png

      So sorry for directing you on a complete wrong path 🙈

    • 1 / 1