Change FOG Server IP Address
Revision as of 20:28, 2 December 2015 by Wayne-workman.28155 (talk | contribs)
Contents
Change FOG server static IP address
FOG 1.3.0
For static addresses
Fedora:
CentOS 7:
Ubuntu:
FOR DHCP Addresses
Change the DHCP Reservation for the fog server, based on the FOG Server's MAC address and the IP you want it to have.
FOG Settings
Change the /opt/fog/.fogsettings file to have the correct IP address. Re-run the installer. Update your storage node's IP settings.
Older instructions below
FOG server setup
- Fedora 10
- SVN of version 0.27
- IP address:192.168.1.200 (using network manager)
- Change computer IP address from 192.168.1.200 to 192.168.1.50
Change FOG server settings
- Cancel any pending upload/deploy tasks Tasks > Active Tasks (Previous IP settings are embedded in task info)
- Log in to FOG WebUI > about > FOG Settings
- General Setting: FOG_WOL_HOST
- TFTP Server: FOG_TFTP_HOST, FOG_PXE_IMAGE_DNSADDRESS
- WEB Server: FOG_WEB_HOST
- FOG WebUI > about > PXE Boot Menu > Save PXE Menu
- FOG WebUI > Storage Management > All Storage Nodes
- DefaultMember: IP Address
- DHCP server configuration file (/etc/dhcpd.conf) restart service after changes are made.
- Next-server 192.168.1.50
- PXE Menu changes ( /tftpboot/pxelinux.cfg/default)
- Replace any previous IP addresses with new IP address
- This also applies if your DNS server has changed. You would replace all previous DNS IP addresses with new DNS server IP address.
- Example (no change to DNS):
- Old line in /tftpboot/pxelinux.cfg/default:
- append initrd=fog/images/init.gz root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=192.168.1.1 mode=quickimage keymap= web=192.168.1.200/fog/ loglevel=4 consoleblank=0
- New line in /tftpboot/pxelinux.cfg/default:
- append initrd=fog/images/init.gz root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=192.168.1.1 mode=quickimage keymap= web=192.168.1.50/fog/ loglevel=4 consoleblank=0
- Old line in /tftpboot/pxelinux.cfg/default: