• PowerShell Scripts in FOG Snapins

    Moved Solved
    6
    0 Votes
    6 Posts
    2k Views
    imagingmaster21I

    @george1421
    I was able to get the one Powershell script to work via a Batch file. But I am having problems getting this bat file to work:
    PowerShell.exe -Command “&Import-StartLayout –LayoutPath C:\Installs\StartMenu.xml –MountPath $env:SystemDrive”

  • Add Wipe disk to the PXE Menu

    3
    0 Votes
    3 Posts
    1k Views
    Greg PlamondonG

    @wayne-workman I searched for some time and couldn’t find anything. I will give those links a try.
    Thanks!

  • 0 Votes
    8 Posts
    3k Views
    george1421G

    @bareimage Well I’m still not 100% clear on the provisioning process, TBH that is something new with windows 10 and many people are still stuck in the methods for deploy operating systems from the past. So they try to force windows 10 into something they know. We all will need to understand provisioning packages because that is the direction microsoft will go with all future operating systems.

    As I see it you could go about this in 2 ways.

    (non-fog) Use an application deployment tool like PDQ Deploy to drop the provisioning package in the proper location on the target computer and then force a reboot. This can be done remotely and all hands off. You are just placing the file in the right location and then letting windows find it on startup. What ever magic happens inside the provisioning package is done there. There is no need to pxe boot or even need fog in this situation.

    Use FOG to deploy (push) the (thick or thing) image to the target computer. Once the image is pushed to the computer, then FOG can drop the provisioning package in the proper location then reboot the computer. The target computer would then run through OOBE as it normally would. At the end of OOBE it assume it would see the provisioning package and then it would do its magic. FOG can load a 15GB thick image to a bare metal computer in about 4 minutes for a typical install. In my work infrastructure I can push that same 15GB image in just over one minute.

    Option 1 would take less internal resources since you are only dropping the provisioning package onto the target hardware. The issue you have is how will you get windows onto the bare metal to begin with? If you are using OEM versions of windows, then the target system should be loaded from the manufacturer. The risks are if the system hard drive fails you will have to manually reload widows from OEM media.

    Option 2 take more internal resources to setup, but you can then have a system to go from bare metal to fully provisioning system using the lite touch process of imaging.

  • PXE UEFI booting Lenovo Yoga X1

    18
    0 Votes
    18 Posts
    5k Views
    george1421G

    @fogmania Well done!!

  • auto join. AD

    12
    0 Votes
    12 Posts
    2k Views
    J

    @joe-schmitt That fixed it. Thank you… Sometimes the most obvious gets overlooked.

    James P…

  • windows activation

    10
    0 Votes
    10 Posts
    2k Views
    george1421G

    But, back on your original post. You can either define the VL Key in the proper field for the host, or you can define it in the global key configuration in the fog configuration->AD (I believe). You can also use the FOG group set function to assign a key to a group of existing computers. This will update the key in the individual host management page.

    As you can see there are a number of ways to go about doing what you need.

  • Automatically export host information?

    5
    0 Votes
    5 Posts
    1k Views
    Tom ElliottT

    @xenorites That is indeed the best reference for the fog api. I would recommend, however, use the api sparingly as 1.6 will need new documentation. (This is because we’re moving to datatables, so most of the api is switched around to allow easier integration with datatables.)

  • Fog server help me undertake a isolated setup

    4
    0 Votes
    4 Posts
    741 Views
    george1421G

    @ally_uk You can do it with a single network card, just be aware there are a few more steps than standard.

    As for your question about dhcp server, you must pick Y to install the proper proper programs. There will be a small risk of dhcp confusion while you are installing fog this way so as soon as FOG is installed unplug the fog server from the business network and plug it into your imaging network.

    I started writing these instructions for centos 7, then I realized if you are not familiar with linux the instructions may be pretty daunting. Here is a different guide: https://wiki.fogproject.org/wiki/index.php?title=Installation As much as it pains me to say this, probably ubuntu or fedora would be a better choice if you are a gui based user. The link above is the basic installation jumping off point for a number of operating systems.

    Once fog is installed and your fog server is in the imaging network. You will need to first change the fog server IP address to one consistent with the imaging address. For this example I’ll use 192.168.101.x/24. So for the fog server we will use 192.168.101.1 for the fog server.

    Update the fog server IP address then reboot. Edit the FOG IP address in
    /tftpboot/default.ipxe
    /opt/fog/.fogsettings Edit the FOG IP server and subnet range in for the isc-dhcp server. The file will look similar to this one: https://wiki.fogproject.org/wiki/index.php?title=BIOS_and_UEFI_Co-Existence#Example_1 Now off to the FOG webgui. You need to update the IP address in 2 places in the FOG configuration page and then for the IP address in the storage node configuration.

    I can tell you finding a second interface will save you quite a bit of pain, even a usb ethernet network adapter will work.

  • Can FOG replace my urbackup Server ?

    Solved
    18
    0 Votes
    18 Posts
    6k Views
    F

    I think it is a BUG, I have to do it twice befor it is permanent saved.

    Another Question:
    Howto sort iPXE Menu Item Settings ?

    0_1522673895600_32b8ec19-c0b9-44e8-822d-dd4214236248-grafik.png

  • Snap-In Assistance FOG 1.5

    8
    0 Votes
    8 Posts
    2k Views
    D

    @george1421 My reference image is NOT 1709 and once attached to the domain that update has been blocked by our WUS. Too many problems with it.

  • Getting started with fog

    2
    0 Votes
    2 Posts
    640 Views
    george1421G

    Just for clarity, FOG is not a backup system (1 for 1). It is an imaging solution ( 1 to many). It may not be the best use case for your goals.

    I can suggest if you ARE looking for a backup solution look at Veeam Agent (free). With this software you can backup your computer to a NAS and create a disaster recover boot drive. If your computer fails, you can boot from the boot drive, connect to your NAS and then recover your computer.

    What makes Veeam better than FOG, is how it backs up your disks. FOG does a whole disk clone, where Veeam does a file level backup. Meaning that you can recover any individual file from the backup, where with FOG you would have to restore the entire disk just to recover one file. Veeam is really worth a look.

    Will FOG run on a Raspberry Pi 2 or 3, yes. I have a FOG-Pi server setup in my home for development work. For a single capture or deploy it works well in a home lab setup.

  • Deploying Resizable UEFI linux disk

    Solved
    14
    0 Votes
    14 Posts
    5k Views
    mm EkimiaM

    Hi ,

    just to say that I deployed the same Image to a new SATA disk and the 3rd partition (Swap) had a fixed size as Expected.

    So I guess that was a mistake on my side.

    Problem solved !

  • ..and one FOG-VM to rule them all.

    41
    0 Votes
    41 Posts
    13k Views
    Wayne WorkmanW

    @lof said in ..and one FOG-VM to rule them all.:

    I changed the network configuration for my vm in VMware Workstation from Bridged over to NAT’d in order to test

    Yeah that would be why. Broadcast messages do not traverse to different broadcast domains by default - because that would create network storms (yes, that’s a real technical term). You need the VM to be in bridged mode so it can hear DHCP requests.

    You do not need to ‘burn things down’. Just switch it to bridged. The MakeFogMobile scripts will reconfigure everything for you when a new IP is received.

  • Provisioning Raspberry Pis with FOG

    25
    0 Votes
    25 Posts
    10k Views
    M

    here is some one that pxe booted the pi or some thing like pxe
    https://blog.mythic-beasts.com/2016/08/05/sneak-preview-from-mythic-labs-raspberry-pi-netboot/

  • Hardware upgrades for server

    Solved
    16
    0 Votes
    16 Posts
    4k Views
    JunkhackerJ

    @compman while that’s true, in practice zstd at a higher compression level will return a faster overall process when the bottleneck is the network.

  • Upgrading 1.3.0 -> 1.5

    Solved
    4
    0 Votes
    4 Posts
    2k Views
    mm EkimiaM

    Upgrade worked perfectly ! Great. thanks

  • No snapins deployed while using group's multicast

    1
    0 Votes
    1 Posts
    225 Views
    No one has replied
  • BIOS and UEFI boot, in VMware WinPE boot

    11
    0 Votes
    11 Posts
    3k Views
    george1421G

    @poizzon said in BIOS and UEFI boot, in VMware WinPE boot:

    What would be the best place for a WinPE folder ?
    I also noticed that after the upgrade, the WinPE directory is moved to the backup, and I always have to manually move back to it.

    This might get you going here: https://forums.fogproject.org/topic/10944/using-fog-to-pxe-boot-into-your-favorite-installer-images/7

  • Fog customization

    11
    0 Votes
    11 Posts
    2k Views
    B

    Finally got it to properly move the image thank you all for your help

  • How increase the FOG server performance?

    11
    0 Votes
    11 Posts
    2k Views
    F

    I have config the mysql to log the queries and seems that some queries are fool.

    180228 16:38:32 364 Connect root@localhost as anonymous on fog 364 Query USE `fog` 364 Query SET SESSION sql_mode='' 365 Connect root@localhost as anonymous on fog 365 Query USE `fog` 364 Quit 365 Query SET SESSION sql_mode='' 366 Connect root@localhost as anonymous on fog 366 Query USE `fog` 365 Quit 366 Query SET SESSION sql_mode='' 366 Query SELECT `vValue` FROM `fog`.`schemaVersion` 366 Query SELECT `pName` FROM `plugins` WHERE `plugins`.`pInstalled`='1' AND `plugins`.`pState`='1' ORDER BY LOWER(`plugins`.`pName`) ASC 366 Query SELECT `settingValue` FROM `globalSettings` WHERE `globalSettings`.`settingKey` IN ('FOG_DEFAULT_LOCALE','FOG_HOST_LOOKUP','FOG_MEMORY_LIMIT','FOG_REAUTH_ON_DELETE','FOG_REAUTH_ON_EXPORT','FOG_TZ_INFO','FOG_VIEW_DEFAULT_SCREEN') ORDER BY LOWER(`globalSettings`.`settingKey`) ASC 366 Query SELECT COUNT(`hosts`.`hostID`) AS `total` FROM `hosts` WHERE `hostPending` = '1' LIMIT 1 366 Query SELECT COUNT(`COLUMN_NAME`)AS`total`FROM`information_schema`.`COLUMNS`WHERE`TABLE_SCHEMA`='fog'AND`TABLE_NAME`='hostMAC'AND`COLUMN_NAME`='hmMAC' 366 Query SELECT COUNT(`hostMAC`.`hmID`) AS `total` FROM `hostMAC` WHERE `hmPending` = '1' LIMIT 1 366 Query SELECT `settingValue` FROM `globalSettings` WHERE `globalSettings`.`settingKey` IN ('FOG_URL_AVAILABLE_TIMEOUT','FOG_URL_BASE_CONNECT_TIMEOUT','FOG_URL_BASE_TIMEOUT') ORDER BY LOWER(`globalSettings`.`settingKey`) ASC 366 Query SELECT `globalSettings`.* FROM `globalSettings` WHERE `settingKey`='FOG_QUICKREG_PENDING_MAC_FILTER' 366 Query SELECT COUNT(`hostMAC`.`hmID`) AS `total` FROM `hostMAC` WHERE `hmMAC` IN ('40:b0:34:39:57:ac') AND `hmPending` IN ('0','') LIMIT 1 366 Query SELECT `hmMAC` FROM `hostMAC` WHERE `hostMAC`.`hmMAC` IN ('40:b0:34:39:57:ac') AND `hostMAC`.`hmPending` IN ('0','') ORDER BY `hostMAC`.`hmID` ASC 366 Query SELECT `hmMAC` FROM `hostMAC` WHERE `hostMAC`.`hmMAC` IN ('40:b0:34:39:57:ac') AND `hostMAC`.`hmIgnoreImaging`='1' ORDER BY `hostMAC`.`hmID` ASC 366 Query SELECT `hostMAC`.* FROM `hostMAC` WHERE `hmMAC`='40:b0:34:39:57:ac' 366 Query SELECT `hmHostID` FROM `hostMAC` WHERE `hostMAC`.`hmPending` IN ('0','') AND `hostMAC`.`hmMAC` IN ('40:b0:34:39:57:ac') ORDER BY `hostMAC`.`hmID` ASC 366 Query SELECT `hosts`.*,`hostMAC`.*,`images`.*,`os`.*,`imagePartitionTypes`.*,`imageTypes`.*,`hostScreenSettings`.*,`hostAutoLogOut`.*,`inventory`.* FROM `hosts` LEFT OUTER JOIN `hostMAC` ON `hostMAC`.`hmHostID`=`hosts`.`hostID` LEFT OUTER JOIN `images` ON `images`.`imageID`=`hosts`.`hostImage` LEFT OUTER JOIN `os` ON `os`.`osID`=`images`.`imageOSID` LEFT OUTER JOIN `imagePartitionTypes` ON `imagePartitionTypes`.`imagePartitionTypeID`=`images`.`imagePartitionTypeID` LEFT OUTER JOIN `imageTypes` ON `imageTypes`.`imageTypeID`=`images`.`imageTypeID` LEFT OUTER JOIN `hostScreenSettings` ON `hostScreenSettings`.`hssHostID`=`hosts`.`hostID` LEFT OUTER JOIN `hostAutoLogOut` ON `hostAutoLogOut`.`haloHostID`=`hosts`.`hostID` LEFT OUTER JOIN `inventory` ON `inventory`.`iHostID`=`hosts`.`hostID` WHERE `hostID`='7502' AND `hostMAC`.`hmPrimary` = '1' 366 Query SELECT COUNT(`hookEvents`.`heName`) AS `total` FROM `hookEvents` WHERE `hookEvents`.`heName`='QUEUED_STATES' AND `hookEvents`.`heName` <> '0' 366 Query SELECT COUNT(`hookEvents`.`heName`) AS `total` FROM `hookEvents` WHERE `hookEvents`.`heName`='PROGRESS_STATE' AND `hookEvents`.`heName` <> '0' 366 Query SELECT `taskID` FROM `tasks` LEFT OUTER JOIN `images` ON `images`.`imageID`=`tasks`.`taskImageID` LEFT OUTER JOIN `os` ON `os`.`osID`=`images`.`imageOSID` LEFT OUTER JOIN `imagePartitionTypes` ON `imagePartitionTypes`.`imagePartitionTypeID`=`images`.`imagePartitionTypeID` LEFT OUTER JOIN `imageTypes` ON `imageTypes`.`imageTypeID`=`images`.`imageTypeID` LEFT OUTER JOIN `hosts` ON `hosts`.`hostID`=`tasks`.`taskHostID` LEFT OUTER JOIN `hostMAC` ON `hostMAC`.`hmHostID`=`hosts`.`hostID` LEFT OUTER JOIN `hostScreenSettings` ON `hostScreenSettings`.`hssHostID`=`hosts`.`hostID` LEFT OUTER JOIN `hostAutoLogOut` ON `hostAutoLogOut`.`haloHostID`=`hosts`.`hostID` LEFT OUTER JOIN `inventory` ON `inventory`.`iHostID`=`hosts`.`hostID` LEFT OUTER JOIN `taskTypes` ON `taskTypes`.`ttID`=`tasks`.`taskTypeID` LEFT OUTER JOIN `taskStates` ON `taskStates`.`tsID`=`tasks`.`taskStateID` LEFT OUTER JOIN `nfsGroupMembers` ON `nfsGroupMembers`.`ngmID`=`tasks`.`taskNFSMemberID` LEFT OUTER JOIN `nfsGroups` ON `nfsGroups`.`ngID`=`nfsGroupMembers`.`ngmGroupID` WHERE `tasks`.`taskHostID`='7502' AND `tasks`.`taskStateID` IN ('0','1','2','3') AND `hostMAC`.`hmPrimary` = '1' ORDER BY LOWER(`tasks`.`taskName`) ASC 366 Query SELECT `hostMAC`.* FROM `hostMAC` WHERE `hmMAC`='40:b0:34:39:57:ac' 366 Quit

    In one second queries

208

Online

12.4k

Users

17.4k

Topics

155.9k

Posts