Difference between revisions of "Upgrade to 1.x.x"
m (→Prepare for install) |
m (→Install) |
||
Line 31: | Line 31: | ||
= Install = | = Install = | ||
*Click below for step-by-step guides written for your favorite flavor of Linux: | *Click below for step-by-step guides written for your favorite flavor of Linux: | ||
− | |||
− | |||
{{Installation}} | {{Installation}} |
Revision as of 20:17, 13 January 2015
Contents
Overview
NOTE: 1.x.x is a, nearly, complete rewrite from previous versions of FOG. There may be issues when upgrading from past revisions of FOG so please backup you installation before upgrading!
- Migration for v0.32 to version v1.x.x will cause you to loose the operation system information that was associated with your hosts. This information has been moved to the image item now, so you will need to update all your images to set the appropriate operating system! Please see the Migration Instructions section below for more information.
- Many successful upgrades from v0.32 have occurred. It is possible to upgrade from v0.1 all the way to v1.x.x.
- All commands are assumed to be run as root. If you don't have access to root, prepend the installation with sudo (ex.
sudo svn co https://svn.code.sf.net/p/freeghost/code/tags/1.2.0 /opt/fog_1.2.0
sudo ./installfog.sh
Download
- Get the source or tarball.
- To get the Source from SVN
-
svn co https://svn.code.sf.net/p/freeghost/code/tags/1.2.0 /opt/fog_1.2.0
- To get tarball file.
-
wget http://sourceforge.net/projects/freeghost/files/latest/download
Prepare for install
- Backup old database
- Record ALL the information on Fog Confiuration --> Fog Settings
- Record ALL' the information on Storage management pages
- Change to the downloaded source installation folder.
-
cd /opt/fog_1.2.0/bin
-
- Begin as if you're installing.
Install
- Click below for step-by-step guides written for your favorite flavor of Linux:
Post Install/Migration Instructions
- Sign into the FOG GUI
- Import old database baskup on Fog Configuration --> Configuration Save
- Go to the link you normally go to and you should notice the upgrade/install database screen.
- Click the submit button and it should move on to say, Click here to login, once complete.
- Sign in with your normal user and password.
- Operating System Information
- As the hostOS column has been moved to the images table rather than the hosts table, you need to specify the Operating system of the images currently on your system.
- To do so, login to the FOG GUI and navigate to the Image Management Page. Click on each of your images and set the OSID accordingly.
- Edit any settings in the Fog Configuration --> Fog Settings page that may have changed from the server move (ip, paths, etc) that you recorded from the Fog Configuration --> Fog Settings page and Storage Management pages
Change your DHCP Option 67
- Go to your DHCP server and change your Option 67 from pxelinux.0 to undionly.kpxe (or other iPXE file)
- Default undionly.kpxe (Other boot files include ipxe.kkpxe, ipxe.pxe, default.ipxe, ipxe.kpxe, undionly.pxe, pxelinux.0.old, undionly.kkpxe and even custom ones if you wish to create them)
Congratulations
You should now have an UPGRADED FOG server that will be able to perform all the tasks we've all come to know and love.