• general questions about storage / master storage nodes

    2
    0 Votes
    2 Posts
    382 Views
    george1421G

    @pilipp_edv said in general questions about storage / master storage nodes:

    After that, I configured the windows DHCP servers in the other locations to point to the main FOG server.

    FWIW: You can (should) point the remote dhcp server to the remote storage node so the clients doesn’t need to transfer the ipxe boot image across your wan. The storage node will instruct the clients to “check in” with the fog master node.

    The part you are missing is the FOG server plugin “Location”. With the location plugin you first identify your different locations. Then assign storage nodes to the “location” then assign existing client computers to the location. As you full register new clients there will be an added prompt for location during registration. This plugin pulls all of the bits together to make the clients find the proper storage node.

  • General question about Multicasting.

    4
    0 Votes
    4 Posts
    1k Views
    M

    @george1421

    The problem was the IGMP Snooping as you suspected. Thank you for your help.

  • change name on quick registration

    7
    0 Votes
    7 Posts
    1k Views
    Tom ElliottT

    @aviel1540 Not sure I understand the question entirely.

    You deploy image to machine After machine deploys, create a capture task for the machine When machine boots, it does an upload of it’s image. Once uploaded, then it boots to the OS?

    You can just tell the machine to shutdown after the tasks are complete, so that you don’t have to wait 5 seconds. Sure you would have to physically generate the capture task, but this way would prevent the system from booting to the Newly deployed image.

  • Is it possible to change FTP port for nodes?

    4
    0 Votes
    4 Posts
    698 Views
    Tom ElliottT

    @cornycopia After thinking about it, there’s a “general” port that’s used.

    FOG Settings -> FOG_FTP_PORT

    Granted this isn’t per server, but it is a choosable thing.

  • Physical Windows Host Reboots When Trying to Capture Image on VirtualBox

    4
    0 Votes
    4 Posts
    737 Views
    1

    @youzersef I was remote to the physical host, but it seemed more like a blue screen in comparison to just “hanging”.

    Anyways, I reinstalled FOG and cloned “stable” instead of “master” and got around that issue.

    I’m going to make another post for another issue I’m facing with UEFI (would have updated sooner, but forms have been down).

  • Chain fog PXE with another one

    11
    0 Votes
    11 Posts
    3k Views
    Cire3C

    @zeltron80 So what would this look like ? I just simply want another server option in the menu. Is it using your ‘exit’ => ‘exit’ to ‘exit’ => ‘chain tftp://xxx.xxx.xxx.xxx/menu.ipxe’ ?

  • Unique Virtual Box Setup Network Issues

    1
    0 Votes
    1 Posts
    284 Views
    No one has replied
  • Existing iPXE-Environment -- no chaining possible to fogserver?

    1
    0 Votes
    1 Posts
    370 Views
    No one has replied
  • Fog server virtualbox ubuntu setup

    6
    0 Votes
    6 Posts
    2k Views
    T

    @youzersef finally solved was a very simple think in the end of the installation I was pressing enter and after that I was opening the link that was a reason why was not working omg 😅
    Now to work it’s work but it’s going slow to capture the image how I can get more faster ?

  • AlmaLinux 8.9 NetInstall or ISO

    2
    0 Votes
    2 Posts
    710 Views
    S

    Re: AlmaLinux 8.9 NetInstall or ISO

    I ended up piggy backing the ipxe setup from fogproject and loading netboot.xyz which is doing the trick.

    Thank you.

  • Vulnerability discovery

    1
    0 Votes
    1 Posts
    348 Views
    No one has replied
  • NFS Config

    4
    0 Votes
    4 Posts
    2k Views
    george1421G

    @bkgoodman This can be set from the fog web ui. FOG has a concept of storage nodes and master nodes. Only master nodes can collect images, you can deploy images from both master nodes and storage nodes. Where storage nodes are deploy only.

    While the following deals with synology nas devices the same info can reference other NFS aware devices. Your target system needs both nfs AND ftp enabled to be able to function as a FOG storage node.

    https://forums.fogproject.org/topic/9430/synology-nas-as-fog-storage-node

  • network boot

    6
    0 Votes
    6 Posts
    2k Views
    Tom ElliottT

    @altitudehack This was a spam attempt that was missed. I’m working on clearing it out, and apologize

  • Add node storage on the fog master server.

    8
    0 Votes
    8 Posts
    1k Views
    K

    @Tom-Elliott
    No, the node points to the master configurations.
    installtype=‘S’
    snmysqluser=‘fogstorage’
    snmysqlpass=‘password’
    snmysqlhost=‘ip_master’

    using the fogproject/bin/installfog.sh

    Checking if this node is registered…Done

    Node being registered…Done

    Ensuring node username and passwords match…Done

    Setup complete

    You still need to setup this node in the fog management
    | portal. You will need the username and password listed
    | below.

    Management Server URL:
    http://fog.test.test/fog/

    You will need this, write this down!
    IP Address: 172.17.0.2
    Interface: eth0
    Management Username: fogproject
    Management Password: password

    I redid the installation using the fogproject/bin/installfog.sh script and everything went well. I deleted the storage node from the master and ran the commands below again, it returned success but the storage node was not added to the master.

    source /fogproject/lib/common/functions.sh
    source /opt/fog/.fogsettings
    registerStorageNode

  • 0 Votes
    3 Posts
    4k Views
    L

    To enter bios of the VM, use F2 key on boot, then you can disable secure boot

  • Cannot PXE boot on Client PCs

    20
    0 Votes
    20 Posts
    6k Views
    Z

    @george1421 Cool! After reinstalling FOG, ipxe.efi has file sizes now so the ASUS PC can PXE boot with ipxe.efi. Thank you very much!

  • Invalid Token.dat with Deep Freeze

    7
    0 Votes
    7 Posts
    1k Views
    R

    @PCF24 Here is a quick and dirty script to reset all your hosts.
    I tested it with two hosts and it is working for me. I don’t want to reset all my hosts.

    You will have to paste your FOG server IP, FOG user api token, and FOG settings api token to the script.
    You will also need to install jq in your FOG server.
    Debian base: sudo apt install jq. RHEL based: sudo dnf install jq

    #!/bin/bash server_ip="http://10.10.10.10" fog_user_token="PASTE_YOUR_USER_API_TOKEN_HERE" fog_api_token="PASTE_YOUR_FOG_SETTINGS_API_TOKEN_HERE" all_hosts=$(curl -S -s -X GET -H 'content-type: application/json' -H "fog-user-token: $fog_user_token" -H "fog-api-token: $fog_api_token" $server_ip/fog/host/ | jq '.hosts[]') all_ids=$(echo "$all_hosts" | jq '.id') all_ids=${all_ids//\"/} for host_id in $all_ids do curl -S -s -o /dev/null -H "fog-user-token: $fog_user_token" -H "fog-api-token: $fog_api_token" -X PUT -d '{"pub_key":""}' $server_ip/fog/host/$host_id/edit curl -S -s -o /dev/null -H "fog-user-token: $fog_user_token" -H "fog-api-token: $fog_api_token" -X PUT -d '{"sec_tok":""}' $server_ip/fog/host/$host_id/edit curl -S -s -o /dev/null -H "fog-user-token: $fog_user_token" -H "fog-api-token: $fog_api_token" -X PUT -d '{"sec_time":"0000-00-00 00:00:00"}' $server_ip/fog/host/$host_id/edit done
  • casting across VLANs

    3
    0 Votes
    3 Posts
    635 Views
    A

    @george1421 Thank you for your quick reply.
    I am currently trying to get the multicast cloning to work over several vlans as in your instructions.
    I am using OPNsense instead of Pfsense. Unicast works without problems, but we have many of the same PCs and so multicast would make sense.
    Part 2.7 would be relevant to check that I have not forgotten any ports.
    Part 3.1 and 3.2 as I have never worked with an IGMP proxy.
    During a short test, everyone stopped before cloning and waited. Would assume it was because of my wrong IGMP configuration as I didn’t see any blocked ports on the firewall.

  • Disk naming/ Exclude USB from image deployment

    5
    0 Votes
    5 Posts
    856 Views
    N

    @Tom-Elliott
    Thanks, for all the input.
    I’ll see if i can find some sensible solution for my setup.

  • 0 Votes
    1 Posts
    809 Views
    No one has replied

132

Online

12.4k

Users

17.5k

Topics

156.0k

Posts