• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. danieln
    3. Topics
    D
    • Profile
    • Following 0
    • Followers 0
    • Topics 21
    • Posts 58
    • Best 3
    • Controversial 0
    • Groups 0

    Topics created by danieln

    • D

      "Windows Other" vs "Windows 10" when creating new Windows 11 images?

      General
      • • • danieln
      3
      0
      Votes
      3
      Posts
      263
      Views

      D

      @george1421 Great, thanks for the info!

    • D

      Unsolved SNAP INS. Lets talk about them...

      FOG Problems
      • • • danieln
      5
      0
      Votes
      5
      Posts
      344
      Views

      D

      @Tom-Elliott

      Yeah, this was my suspicion. I see both sides of it too. Sounds like I’ll have to either super simplify some of my install scripts and make some sacrifices or figure out another solution.

      I appriciate the response and confirmation!

    • D

      Assigning Snapins to Hosts via FOG API – Proper JSON Structure and Method?

      General Problems
      • • • danieln
      4
      0
      Votes
      4
      Posts
      171
      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,

    • D

      Question about Multicast Image Tasking Behavior with FOG API

      General
      • • • danieln
      1
      0
      Votes
      1
      Posts
      116
      Views

      No one has replied

    • D

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

      General Problems
      • • • danieln
      7
      0
      Votes
      7
      Posts
      540
      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.

    • D

      Unsolved Please Enter TFTP Server...?

      FOG Problems
      • • • danieln
      2
      0
      Votes
      2
      Posts
      104
      Views

      No one has replied

    • D

      Solved Read ERROR: No Such File or Directory

      FOG Problems
      • • • danieln
      7
      0
      Votes
      7
      Posts
      771
      Views

      D

      @Tom-Elliott Yeah, that’s about the only other thing I can think of too. It’s a brand new Dell PowerEdge Server with a new HD though, but maybe the HD is just a lemon. I’ll swap out the HD and reinstall FOG and see if that works.

      Thanks again for all your input!

    • D

      Unsolved [FOG 1.5.10] - Log Viewer displaying blank drop down menu

      Bug Reports
      • • • danieln
      3
      0
      Votes
      3
      Posts
      541
      Views

      D

      @Sebastian-Roth Thanks for the update! Again, this feature for us is more of a “nice to have” than an essential, so no immediate rush. I know all of y’all are busy!

    • D

      Solved Install/Update Database Schema?

      FOG Problems
      • • • danieln
      4
      0
      Votes
      4
      Posts
      967
      Views

      D

      @Sebastian-Roth @rodluz

      Thanks so much for the info, guys!

    • D

      Solved Cannot delete image off of all nodes. Type 2 FTP Error...

      FOG Problems
      • • • danieln
      10
      0
      Votes
      10
      Posts
      721
      Views

      S

      @danieln said in Cannot delete image off of all nodes. Type 2 FTP Error...:

      If I wanted to do this, would I just delete the entire directory? Or would I just delete the d1p1.img file? I feel like the entire directory, right?

      Yes, delete the whole directory.

      Speaking of, is doing an update just running the following commands?:
      cd /fogproject
      git checkout dev-branch
      git pull
      sudo ./installfog.sh

      As I said, there is a new official release in the pipeline and you could install that if you feel like it. Instead of dev-branch use master instead in the above command sequence.

      Is there anything else to it? Aside from backing up the FOG database?

      If you have FOG running in a virtualized environment I would also take a snapshot just to be sure. As always, backing up the DB is advised.

    • D

      Solved FOG Node Propagation issues....FTP? Faulty Install?

      FOG Problems
      • • • danieln
      3
      0
      Votes
      3
      Posts
      308
      Views

      S

      @danieln Great to see you figured this one out yourself. Would have been quite a challenge for us to help find that issue.

    • D

      Solved Fog Storage Node Installation failed: cp cannot stat '/tftpboot/*' : No such file or directory

      FOG Problems
      • • • danieln
      2
      0
      Votes
      2
      Posts
      593
      Views

      D

      Update:

      Trying the installation again worked.

      ¯_(ツ)_/¯

    • D

      Images suddently not replicating to storage nodes from Master Node

      FOG Problems
      • • • danieln
      7
      0
      Votes
      7
      Posts
      277
      Views

      D

      @sebastian-roth Thank you very much for the response. Sorry for the delay, I was on a time crunch for delivering this image and I did not have enough time to continue troubleshooting. I ended up just deleting the image and recapturing and it replicated afterwards. Hopefully it was just a fluke. But i know how to check the replication log file now!

      Thanks again for taking the time to respond.

    • D

      TFTP Open Timeout

      FOG Problems
      • • • danieln
      1
      0
      Votes
      1
      Posts
      129
      Views

      No one has replied

    • D

      Automate Snapins to run after deployment?

      General
      • • • danieln
      4
      0
      Votes
      4
      Posts
      569
      Views

      george1421G

      @danieln I just realized that the persistent group plugin is not very well documented. It is covered a bit here: https://forums.fogproject.org/topic/8836/basic-persistent-groups-and-1-3-0rc16

      The executive summary is

      Add the Persistent group plugin Manually create a new host with a unique name that signifies it is a template host. Associate all of the snapins and what not that you want consistent for every host added to the group. Create a new Group that is exactly the same name as the template host. Now add hosts to this group (you can do this when you are registering the new computer with FOG too).

      The settings will be copied over from the template host to the new host.

      The workaround is just a patch file that needs to be replace on the FOG server. Replace this file BEFORE you install the plugin. If the plugin is installed before you add the patch file, uninstall the plugin then add it back.

      We are discussing the discovered bug here: https://forums.fogproject.org/topic/15084/persistent-groups-snapins-added-to-host-but-not-deployed

      The thread also has the temporary patch file link.

    • D

      Clients imaging despite recieving "Read ERROR: No such file or directory" and "ata1.00: failed command" errors

      FOG Problems
      • • • danieln
      16
      0
      Votes
      16
      Posts
      1.5k
      Views

      george1421G

      @danieln Correct as long as bzImage and bzImage are what you want then the proper kernels will boot.

    • D

      ipxe/boot.php and bzImage running very slow

      FOG Problems
      • • • danieln
      5
      0
      Votes
      5
      Posts
      604
      Views

      D

      @sebastian-roth said in ipxe/boot.php and bzImage running very slow:

      @danieln said in ipxe/boot.php and bzImage running very slow:

      The only change was that I added one additional storage node.

      Storage node being in the same subnet as well?

      Correct. I double checked and it is on the same subnet.

    • D

      Master not delegating imaging to storage nodes and no tasks showing up on Dashboard?

      FOG Problems
      • • • danieln
      10
      0
      Votes
      10
      Posts
      787
      Views

      S

      @danieln Ohhh yes, didn’t even think about this. Sure if you deploy straight without registering then it’s a totally different story.

    • D

      Images not deleting

      FOG Problems
      • • • danieln
      1
      0
      Votes
      1
      Posts
      84
      Views

      No one has replied

    • D

      Solved Static IPs/DHCP, and dashboard not working after FOG installation

      Linux Problems
      • • • danieln
      4
      0
      Votes
      4
      Posts
      296
      Views

      george1421G

      @danieln So if you key in http://10.50.0.218/fog does it display any page or error message? Displaying the default apache page is great. That tells you the web server is installed and operational.

    • 1 / 1