• API Help

    4
    0 Votes
    4 Posts
    637 Views
    S

    @chris-whiteley said in API Help:

    The only thing I can’t figure out is how to make that host be associated with a SnapinID. For instance, I want it to be associated with a SnapinID of 1. How can I do that?

    While I haven’t tested lately I would think you should be able to create a snapin association like this:

    curl -X PUT -d '{"snapins":[1]}' http://x.x.x.x/fog/host/33/edit

    Assuming the host you want to associate the snapin (ID 1) to has host ID 33. Don’t forget the API tokens in the call.

  • Usando iSCSI para repositório de imagens

    3
    0 Votes
    3 Posts
    388 Views
    S

    @kevinnew22 You need to explain what sda and sdb in your case are. Both are named “virtual disk”. Which one is iSCSI and what is the other one based on?

    When you want to extend your image space it’s usually best to mount the /images folder on a separate disk. So in this case you would create a partition on sdb, format with a filesystem and move your images over to that new disk - e.g.:

    use at your own risk!!

    parted -s /dev/sdb mkpart primary 0% 100% mkfs.ext4 /dev/sdb1 mkdir /images_new mount /dev/sdb1 /images_new/ mv /images/* /images_new/ mv /images/.mntcheck /images_new/ umount /images_new/ rmdir /images_new/ mount /dev/sdb1 /images/

    As well edit /etc/fstab to mount this nuew partition on boot up as well.

  • Kick off Task by system mac address

    3
    0 Votes
    3 Posts
    382 Views
    Chris WhiteleyC

    Okay, I will dig into this. Thanks!

  • Sysprep after deploying image

    4
    0 Votes
    4 Posts
    888 Views
    george1421G

    @alzen Well when you run sysprep it kind of resets the computer back to a neutralized condition. You can preset some values using an unattend.xml file you reference when you run sysprep. If you have ever installed windows directly from the dvd drive you know it asks a bunch of question before windows is setup. The unattend.xml file can be used to answer those questions ahead of time so it skips asking the installer the questions. This asking questions bit is part of OOBE (Out Of Box Experience) that is managed by WINdows SETUP. When you run sysprep it cleans out the system of drivers and settings that are important for that specific model of computer and reset its back to a discover new hardware mode.

    In my case I have 1 golden image for 15 models of hardware. I use a FOG feature to copy the correct drivers over to the target computer during imaging then when winsetup is running it finds the drivers and adds them to the windows configuration. WinSetup will only run when you reset the computer using sysprep.

  • Doubts About FOG Project Client Windows

    10
    0 Votes
    10 Posts
    1k Views
    C

    @george1421
    Very Thanks!

  • capture minimum image?

    15
    0 Votes
    15 Posts
    3k Views
    K

    @george1421 alride thanks for the help. i will get to work then 🙂

  • Coreboot ?

    1
    0 Votes
    1 Posts
    155 Views
    No one has replied
  • Create Basic Snapin

    4
    0 Votes
    4 Posts
    686 Views
    R

    @Tom-Elliott said in Create Basic Snapin:

    batch script to directly call the npm binary. Right now, the way your batch file is written, it expects the npm to be set in system path. If you know it’s installed in C:\npm\npm.bat I would

    Thank you @Tom-Elliott and @Sebastian-Roth. It worked as regular user not as administrator.
    I have used another solution that is psexec that is a tool that runs the script at all the machines.

  • host primary disk

    3
    0 Votes
    3 Posts
    1k Views
    F

    @george1421

    I figured it out. /dev/nvme1n1

    I wasn’t sure how Linux named NVMe’s.

  • API FOG : How to Apply PxeMenuOptions to Host

    5
    0 Votes
    5 Posts
    1k Views
    G

    i think i’ve found the solution .

    i just made a new ipxemenu entry with my winpe and force via API , the default parameter to 1 to this menu entry i can find in coreobjects pxemenuoptions.

    i’ll keep you informed

  • bad day to update RHEL

    1
    0 Votes
    1 Posts
    278 Views
    No one has replied
  • Deploy Image Every Boot/Reboot

    8
    0 Votes
    8 Posts
    1k Views
    S

    @nerdstburns If the host is turned off and wake on LAN (WOL) works in your environment, then it will just be started automatically and do the image deployment. You can have it reboot after the task (default) or let it do a shutdown via adding shutdown=1 as Kernel parameter (general FOG settings or individual host settings).

    When you use the FOG web UI to schedule a normal deployment task you see the selection:

    Schedule instant (default selection) Schedule delayed (one shot at a certain time) Schedule cron-style (repeating task as often as you like it to happen, once a day or every other hour or whatever)
  • How long should it take to deploy and image on average?

    6
    0 Votes
    6 Posts
    1k Views
    george1421G

    @vemoya Well 3 GB/s is on the bottom edge of acceptable (in my book). There may be some tuning needed to do in your infrastructure. Its not horrible just a bit slower than expected.

    Just be aware with 3 ongoing unicast images you will saturate a 1 GbE link (125MB/s or 7.5GB/min theoretical max) This isn’t a fog issue specifically but a limitation of 1GbE ethernet. You can supplement this by adding additional network cards in your FOG server and then creating LAG links between your network switch and the FOG server. Even if you create these LAG links between the FOG server and switch, if your switch to switch links are 1GbE links that will become your next bottleneck. Again this isn’t a FOG issue, but a byproduct of using a FAST imaging solution. Also if you are imaging more than 2 computers at a time, its best to have an SSD or RAID array in your FOG server and not try to serve multiple unicast streams with a single spindle HDD. That single HDD will not be able to feed the data fast enough to the network adapter.

    You mentioned multicasts. This is a great solution to push out one image to many computers, but it also has its drawbacks. You need to ensure your network is capable of multicast imaging (again not a fog issue). If your target computers are on the same subnet as the FOG server that is the easiest solution. You just need to turn on IGMP Snooping on your network switches and then multicast away. Just remember the slowest computer in your multicast group sets the pace for the group. But if properly setup you can multicast 30 computers in about the time it takes to image 2 computers (serially) using unicast imaging.

  • Automatic Provision of Raspberry Pi

    4
    0 Votes
    4 Posts
    990 Views
    george1421G

    @wuast94 This is what I found when I was researching this issue for another poster in the forum: https://linuxhit.com/raspberry-pi-pxe-boot-netbooting-a-pi-4-without-an-sd-card/

    There were a couple of other ones that I found but it appears I didn’t save the links.

  • Clone Image Without LAN Port

    Solved
    7
    0 Votes
    7 Posts
    1k Views
    M

    @george1421 said in Clone Image Without LAN Port:

    @mikmatcr said in Clone Image Without LAN Port:

    What I mean is using an image captured with FOG but displaying it with Clonzilla. It’s possible?

    No capture the image with clonezilla and deploy it. If you don’t have a clonezilla image, deploy with fog and have fog power off the computer after imaging. Then boot from clonezilla usb and capture image. Not clean but without a network port you are a bit stuck.

    How can I put this answer as a solution and close this thread?

  • 0 Votes
    11 Posts
    2k Views
    O

    I don’t believe this is a Hyper-V issue. We have Fog running in a Hyper-V Ubuntu VM, with 8 CPU and 16g of ram, with no issues. The storage is backed by a hybrid disk array with 10TB of SSD accessed via ISCSI, and network is provided as 4x 40g links in a LACP bond.

    Routinely see 13-15g on NVME backed clients, 4-6 on spinners, 3ish on the 5400 rpm spinners.

  • Image can only boot through FOG Menu

    6
    0 Votes
    6 Posts
    593 Views
    S

    @dennis-porter FOG does not capture/deploy UEFI boot entries because almost all UEFI firmware out there is able to boot without explicit creation of boot entries and some firmware even has trouble when FOG would so this. So for now I don’t see why we’d add this to FOG.

    Though in your case the firmware seems to not be able to find the boot partition and loader and won’t boot from it. In this case you can use Post deploy scripting to add the entry using efibootmgr Linux command included in the FOS inits.

  • Clonezilla intergrate in FOG

    13
    0 Votes
    13 Posts
    1k Views
    S

    @kaywokke Great to hear you got this working with the help of @george1421! Well done, as this is definitely not an easy one to setup if you’re still a FOG beginner.

    You might want to share your code and steps in this topic to help the community. I am sure someone will find this helpful one day.

  • .fogsettings

    2
    0 Votes
    2 Posts
    217 Views
    S

    @Fog_Newb Yes.

  • Live Image

    4
    0 Votes
    4 Posts
    395 Views
    T

    @Junkhacker said in Live Image:

    @Technolust no, this is not something fog is capable of or designed for.

    Thank you @Junkhacker, I had a feeling this was the case and wanted to verify.

105

Online

12.2k

Users

17.4k

Topics

155.6k

Posts