• Rename Host in Windows UI doesn't update Fog database

    4
    0 Votes
    4 Posts
    2k Views
    george1421G

    @tatanas Let me ask why are you renaming the host in the windows UI? Do you not know the actual name of the system at imaging time?

    Second question: are you using the fog client service at all?

  • FOG network requirement advice

    1
    0 Votes
    1 Posts
    990 Views
    No one has replied
  • HyperV / Win 11 /Fog

    7
    0 Votes
    7 Posts
    2k Views
    D

    @sideone said in HyperV / Win 11 /Fog:

    @dejv Ah, came here to say secure boot! Nice one.

    Thanks @Tom-Elliott and @sideone for your replies šŸ™‚

  • FOG Uefi Boot

    1
    0 Votes
    1 Posts
    641 Views
    No one has replied
  • Problem Firewall Proxmox

    5
    0 Votes
    5 Posts
    1k Views
    F

    @fogcloud Hello,

    Thanks for the info. I tested the cloning after modifying the nfs.conf file. It doesn’t work. I haven’t found any specific resource on this subject.

    Is this the modification that was made?

    /etc/nfs.conf

    [nfsd] port=20048

    Sincerely, Axel.

  • Accelerate Full Wipe

    Solved
    4
    0 Votes
    4 Posts
    442 Views
    P

    @george1421 post can be marked as solved.

    Do I do that or is this done by a Moderator?

  • 0 Votes
    4 Posts
    398 Views
    D

    @JJ-Fullmer

    I saw this a while ago! Pretty impressive. Right now, we’re working to integrate the FOG API into Oracle NetSuite, but I do use Powershell quite a lot as well and could definitely see a benefit here. I will check it out.

    Thanks,

  • Using Snap Ins to run scripts post imaging...?

    7
    0 Votes
    7 Posts
    1k Views
    JJ FullmerJ

    @danieln said in Using Snap Ins to run scripts post imaging...?:

    @JJ-Fullmer Thanks for the reply! This is helpful.

    I feel like maybe the best way to go about it is to assign the Snap In to each host. Just to confirm, this will deploy the Snap In after each time that host is image, regardless of which image it receives?

    Yes that is correct, unless you specify otherwise (I think that’s really only available in the api though) the standard operation is to queue all assigned snapins to deploy after an image task

    I’m also thinking of separating my inventory into FOG Groups by computer model and then assigning the Image Associated with it and Snap Ins at the group level.

    Is this QC check also installing and or checking drivers? You could also use postdownload scripts to install drivers and have just 1 image that is universal and the drivers are injected and installed during sysprep specialize phase. Takes some setting up but works very well, see https://docs.fogproject.org/en/latest/kb/how-tos/post-download-scripts/?h=post

    Also, if you wanted to create groups based on the model in the FOG Inventory you could build that out pretty quickly with my FogApi powershell module ( see my signature)

    Something like this would get you a list of all unique model names you have in fog, this example uses is for 1.6 but should also work in 1.5.10.x
    It also doesn’t include the initial api connection bits.

    #get all your fog hosts with full details $allhosts = Get-FogHosts | % { (Get-foghost -hostID $_.id -ea 0)} #get the sysproduct field from the inventory of each host, and get the unique entries only $uniqueModelNames = ($allhosts).inventory.sysproduct | sort-object -Unique #list the model names in the shell $uniqueModelNames

    There may be some additional filtering to do here depending on your inventory (like HP sometimes has slight differentiations of a model) but if that list is what you want your groups to be

    $uniqueModelNames | Foreach-object { $jsonObj = @{ name = $_; description = "Computers that are of the model $($_)" } #I have a pending issue for creating a simple New-FogGroup function new-fogobject -type object -coreObject group -jsonData ($jsonObj | convertto-json) }

    Then you’d set the membership of the matching hosts

    #loop through the model names you created groups of by name $uniqueModelNames | Foreach-object { #get the group name and the matching group object $groupname = $_; $group = get-FogGroupByName -name $groupName; #find any host that is the given model and loop through them $allhosts | Where-object { $_.inventory.sysproduct -eq $groupName;} | Foreach-Object { #set the group association/membership required fields $jsonGroupData = @{ groupID = $group.id hostID = $_.id } #create the group membership association New-FogObject -type object -coreObject groupassociation -jsonData ($jsonGroupData | convertto-json) -ea 0; } }

    Then you can go in the Fog web gui and assign hosts to each image. This can also be done in the api, but I just don’t have time to work out an example for that.

    Also note that groups are not persistent config containers. Group membership sticks around, but it’s meant to be used as a bulk setter. If you set an image in a host it will set it on all the hosts in the group. But if you go change the image on 1 host in the group, it doesn’t auto change back, nor does it auto set when you add it to a group. There is a plugin that changes this behavior called persistent groups, but using it as a bulk setting and as a simple container/organizer of hosts is usually sufficient as you get into things more and more.

  • FOG Multicasting speed drops to zero

    1
    0 Votes
    1 Posts
    260 Views
    No one has replied
  • Posts being marked as spam by Akismet...

    3
    0 Votes
    3 Posts
    413 Views
    T

    @Tom-Elliott I was able to post it just now, so whatever you did seems to have worked!

    Thanks!

  • fog install ubuntu problem

    4
    0 Votes
    4 Posts
    633 Views
    JJ FullmerJ

    @theyikes Why do you need to reset it to the original installation state repeatedly?
    How to do that is in the wiki here https://wiki.fogproject.org/wiki/index.php/Uninstall_FOG (that doc isn’t yet migrated to the new docs site)

    I’m not sure why you’re wanting to start the server side fresh though.

    The general idea is

    Create Fog Server on a linux vm/machine that has enough storage for the OS images (not isos, captures of install states) Setup a different VM with the OS as ā€˜golden image’ (With windows you need to utilize sysprep) Register that VM as a host in FOG and capture the image. Deploy the image to as many other hosts as you desire

    See also :

    https://docs.fogproject.org/en/latest/capture-an-image
    https://docs.fogproject.org/en/latest/deploy-an-image
    https://docs.fogproject.org/en/latest/intro

  • Problem Capturing right Host Primary Disk with INTEL VROC RAID1

    43
    0 Votes
    43 Posts
    15k Views
    R

    @george1421
    In addition to this topic
    I have it working with FOG version 1.5.10.41 (dev version)
    Kernel 6.6.34
    Init 2024.02.3

    stable (also with latest kernel/init) is not working.

  • Restrict access to web management UI?

    Unsolved
    5
    0 Votes
    5 Posts
    801 Views
    F

    @Tom-Elliott Thank you for the response. That answers the question. I’ll consider the proposed workaround. I’m going to look into other options, such as keeping FOG on an isolated network, and the practicality of those options.

  • 0 Votes
    8 Posts
    917 Views
    Tom ElliottT

    @yannickF I’m working on using SSH vs FTP for file transfers and deletions as it’s more ā€œnatualā€ in today’s security conscious world.

    If you’re able to allow SSH to the remote ends, this may help out with things.

    I’ll have to change the text on these fields to remove ā€œFTPā€ as the main parameter.

    As, and this is very much just a guess, the Error is showing specifically teh SFTP subsystem is failing, I am guessing the remote side is not setup (properly) for SFTP, and is instead using the default sshd_config file.

    I say this because there’s checks letting you know if you can connect, and if the sftp fails. Since connect has to happen first, that message tells me the configuration on the remote machine needs a minor update.

    If you have admin access to that remote node (as well any node you need this to connect to)

    Please open the relative machine’s /etc/ssh/sshd_config

    Look for the line:
    Subsystem sftp /usr/libexec/openssh/sftp-server

    Replace it with:
    Subsystem sftp internal-sftp

    Restart sshd service:
    sudo systemctl restart sshd.service

    This should fix that particular error message.

  • Ipxe physical disk and not an image

    4
    0 Votes
    4 Posts
    509 Views
    george1421G

    @jenesis I’m going to say that since this is a hardware security device its not possible to pxe boot it. I can see the device manufacturer using the hardware security key as part of its integrity control to ensure its OS hasn’t been tampered with.

    But I would not rely on my guess alone. I would contact the company’s support team and ask if the software can be pxe booted. If yes, then we can probably get it to boot via iPXE. You also want to ensure you are not in violation of the manufacturers EULA by pxe booting something you shouldn’t.

  • general questions about storage / master storage nodes

    2
    0 Votes
    2 Posts
    314 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
    938 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
    972 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
    622 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
    665 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).

143

Online

12.3k

Users

17.4k

Topics

155.8k

Posts