Install FOG, an Open Source Machine Backup and Cloning Solution

– Install Ubuntu or Centos
– Install FOG
– On Windows Client, run sysprep, then reboot with FOG USB boot to check in with Fog server (Inventory)
– Send image to server
– On new client without OS, bootup with FOG USB to check in with server
– Access FOG Server GUI via http to associate new clone inventory with the original image
– Restart client clone to boot via FOG USB to pull image from FOG SERVER
Fog Server Preliminary

Enable DHCP server with PXE support (Options 60, 66, 67)
C:\WINDOWS\system32>netsh
netsh>dhcp
netsh dhcp>server \\<server_machine_name>
netsh dhcp>add optiondef 60 PXEClient String 0 comment=PXE support
netsh dhcp>set optionvalue 60 STRING PXEClient
netsh dhcp>exit

TFTP server host pxeboot file(s)


Install the PXE server in Subnet 1. Enable this PXE server to also work in Subnet 2 by configuring the network switch to relay the PXE traffic. The PXE server’s IP addresses are configured on a per-interface basis using IP helper functionality in the same way as DHCP server addresses. (http://support.microsoft.com/default.aspx/kb/257579). This way, machines from both subnets can boot to this PXE server.
Set options in Windows DHCP
066: {IP-of-FOG-server}
067: undionly.pkxe
--------------------------
Add PXE Server IP to the ip-helper address list at core router

Add new DHCP / PXE Servers
router
enable
configure
interace vlan {VLAN-Number}
ip helper-address {IP-of-FOG-server}

VLANs Descriptions
5: Users
10: VoIP
20: Servers
25: SAN
50: 10.50.1.1?
60: 10.60.1.1?
65: 10.65.1.1?
70: 10.70.1.1?
100: DMZ
200: Virtual DMZ
--------------------------

systemctl stop firewalld
systemctl disable firewalld


yum -y install htmldoc ttf2pt1 t1utils fltk subversion wget

cd ~

svn co https://svn.code.sf.net/p/freeghost/code/trunk FogDownload
svn co https://github.com/FOGProject/fogproject FogDownload

cd FogDownload/bin

./installfog.sh

----------------

-Choice = 1
-Type = <press return>
-IP (is shown) = <press return>
-DHCP Router = y --(Enter IP of your DHCP server)
-DNS for DHCP = y --(Enter DNS Server)
-Change Default eth0 = n
-FOG as DHCP = n
-Language packs = n
-donate = n --(Sorry, not now)
-Continue = y
-----------------
optional:
chmod -R 777 /var/lib/tftpboot
vim /etc/xinetd.d/tftp
--------------------
disable = no
--------------------

Leave a Reply

Your email address will not be published. Required fields are marked *