Yes, the CentOS install is working just fine. I just was trying to leverage SLED since that is already deployed. However, I threw out another thread ([url]http://fogproject.org/forum/threads/central-fog-server-to-manager-100-remote-sites.9994/#post-22438[/url]) in the regular discussion pertaining to my use case. I was trying to figure out where or how the location patch worked or what needed to happen for that.
I believe FOG is what I am looking for just not real clear if what I am trying to do is possible.
Have one central FOG server and on each SLED machine within each District Office in the /tftpboot hold the image. When a client PXE’s they would get the image from the local SLED machine and not come all the way back to Corporate Office to get the image. Then once the notebook is re-imaged pull the BIOS asset ID and use that as the hostname and bind to an Active Directory Domain.
Posts made by D8TA
-
RE: SUSE
-
Central FOG server to manager 100+ remote sites
I am working on a process to re-image Agent notebooks out in all our 100+ District Offices. The images are all the same Windows 7 with a and drive. Today, when the notebook is in one of the Offices it comes back to Corporate and hits the DHCP server for an IP address. What I am wondering is if I put in place an IP helper that instructs the notebook in a District Office to use serverX (FOG Server) for PXE can I then tell the notebook where to pick up the image? You see, all the District Offices have a SLED (SUSE Linux Enterprise Desktop) PC in them for WCCP caching via Squid and simple web-based tasks with Firefox. I have a /tftpboot directory which contains the current Ghost image which I was trying to get to work earlier. Since then I have discovered FOG and wonder if I can have the PXE process go to Corporate for the IP address and PXE server location. Then once in the PXE environment tell it to use the image on this SLED machine to deploy. That would be local to each Office and not trying to download a 20+ GB image over DSL or Cable connection which would impact the District Office.
Is that possible? The nice thing is all of these SLED PCs have a similar address where all x.x.?.x (x are the same and ? represents the District Office location). So if you were in Office Z which has an address of 192.168.4.20 then you grab the image from 192.168.4.20 and not from the Central FOG server.
-
RE: SUSE
Just for Giggles to see how everything is suppose to work I stood up a CentOS VM and ran through the installer. Something is missing but I don’t know what on my SLED installation/installer because it doesn’t complete the full installation where you get the address to access the Web UI. It looks like some of the pieces get installed but not everything.
-
RE: SUSE
Installation Started…
Installing required packages, if this fails
make sure you have an active internet connection.- Skipping package: apache2 (Already Installed)
- Skipping package: php5 (Already Installed)
- Skipping package: php5-gd (Already Installed)
- Skipping package: php5-gettext (Already Installed)
- Skipping package: mysql (Already Installed)
- Skipping package: mysql-client (Already Installed)
- Skipping package: php5-mysql (Already Installed)
- Skipping package: tftp (Already Installed)
- Skipping package: nfs-kernel-server (Already Installed)
- Skipping package: vsftpd (Already Installed)
- Skipping package: net-tools (Already Installed)
- Skipping package: wget (Already Installed)
- Skipping package: xinetd (Already Installed)
- Skipping package: tar (Already Installed)
- Skipping package: gzip (Already Installed)
- Skipping package: make (Already Installed)
- Skipping package: m4 (Already Installed)
- Skipping package: gcc (Already Installed)
- Skipping package: gcc-c++ (Already Installed)
- Skipping package: htmldoc (Already Installed)
- Skipping package: perl (Already Installed)
- Skipping package: perl-Crypt-PasswdMD5 (Already Installed)
- Skipping package: lftp (Already Installed)
- Skipping package: clamav (Already Installed)
Confirming package installation.
- Checking package: apache2…OK
- Checking package: php5…OK
- Checking package: php5-gd…OK
- Checking package: php5-gettext…OK
- Checking package: mysql…OK
- Checking package: mysql-client…OK
- Checking package: php5-mysql…OK
- Checking package: tftp…OK
- Checking package: nfs-kernel-server…OK
- Checking package: vsftpd…OK
- Checking package: net-tools…OK
- Checking package: wget…OK
- Checking package: xinetd…OK
- Checking package: tar…OK
- Checking package: gzip…OK
- Checking package: make…OK
- Checking package: m4…OK
- Checking package: gcc…OK
- Checking package: gcc-c++…OK
- Checking package: htmldoc…OK
- Checking package: perl…OK
- Checking package: perl-Crypt-PasswdMD5…OK
- Checking package: lftp…OK
- Checking package: clamav…OK
Configuring services.
- Setting up fog user…Exists
- Setting up and starting MySql…OK
- Backing up user reports…OK
- Setting up and starting Apache Web Serverchown: invalid group: `wwwrun:wwwrun’
…OK - Restoring user reports…OK
- Configuring Fresh Clamcp: cannot stat `/etc/sysconfig/freshclam’: No such file or directory
…Failed! - Setting up storage…OK
- Setting up and starting NFS Server…OK
- Setting up and starting DHCP Server…Skipped
- Setting up and starting TFTP and PXE Servers…OK
- Setting up and starting VSFTP Server…OK
- Setting up sudo settings…OK
- Setting up FOG Snapins…OK
- Setting up and building UDPCast…OK
- Installing init scripts…OK
FOGScheduler: unknown service
…OK - Setting up FOG Services…OK
- Starting FOG Multicast Management Server…OK
- Starting FOG Image Replicator Server…OK
- Starting FOG Task Scheduler Server…Failed!
Not certain how important clamav is but the locations were /etc/init.d/freshclam and /usr/bin/freshclam. Not sure if I am still missing a package on that one.
The Apache Web Server group should be wwwrun:www but I only found one place to place the webuser which is wwwrun.
I open a browser and key in the IP address and then prompted for authentication. I tried what I put into the mysql stuff but still nada so I am going to read the docs again to make sure I didn’t miss anything on the setup stuff.
I am attaching the files I modified for SUSE.
[url=“/_imported_xf_attachments/0/529_Fog.zip?:”]Fog.zip[/url][url=“/_imported_xf_attachments/0/530_Fog.zip?:”]Fog.zip[/url]
-
RE: SUSE
I am going to try a couple other things and then can post my configs to help out with the installer script.
-
RE: SUSE
Well, I thought I had this going. I can’t seem to get the web UI up and running and I noticed there is no MySQL database that was created. Not sure what to do next.
-
RE: SUSE
I reached the webpage I believe I am getting prompted for credentials. I am still having a slight issue with MySQL getting up and running so troubleshooting that at the moment. May call it a day and hit it again tomorrow.
I’ll keep you all posted.
-
RE: SUSE
And yet a little further…
- Setting up sudo settings…OK
- Setting up FOG Snapins…OK
- Setting up and building UDPCast…OK
- Installing init scriptsFOGMulticastManager: unknown service
FOGImageReplicator: unknown service
FOGScheduler: unknown service
…OK - Setting up FOG Services…OK
- Starting FOG Multicast Management Server…Failed!
-
RE: SUSE
cat /etc/release /etc/issue
LSB_VERSION=“core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-x86_64:core-3.2-x86_64:core-4.0-x86_64”
cat: /etc/lsb-release.d: Is a directory
SUSE Linux Enterprise Desktop 11 (x86_64)
VERSION = 11
PATCHLEVEL = 3
SUSE Linux Enterprise Desktop 11 (x86_64)
VERSION = 11
PATCHLEVEL = 3Welcome to SUSE Linux Enterprise Desktop 11 SP3 (x86_64) - Kernel \r (\l).
-
RE: SUSE
Getting a little further.
Configuring services.
- Setting up fog user…OK
- Setting up and starting MySqlmysqld: unknown service
…Failed!
-
RE: SUSE
I was looking at the installfog.sh but not sure where or what I need to comment out to skip the httpd and mysql-server checks?
I will start manually installing the above packages and see how things go. keeping my fingers crossed
-
RE: SUSE
Here is what I found:
httpd (apache2)
php (php5)
php-gd (php5-gd)
php-cli (I believe SUSE includes php5-cli with php5)
php-gettext (php5-gettext)
mysql (mysql)
mysql-server (mysql is the server their is also the mysql-client)
php-mysql (php5-mysql)
dhcp (dhcp)
tftp-server ( tftp from this repo [url]http://download.opensuse.org/repositories/network/SLE_11_SP3/[/url])
nfs-utils (nfs-utils)
vsftpd (vsftpd)
net-tools (net-tools)
wget (wget)
xinetd (xinetd)
tar (tar)
gzip (gzip)
make (make)
m4 (m4)
gcc (gcc)
gcc-c++ (gcc-c++)
htmldoc (htmldoc from this repo [url]http://download.opensuse.org/repositories/home:/lnt-sysadmin:/web-support:/lntwww/SLE_11_SP3/[/url])
perl (perl)
perl-Crypt-PasswdMD5 (perl-Crypt-PasswdMD5 from this repo [url]http://download.opensuse.org/repositories/devel:/languages:/perl/SLE_11_SP3/[/url])
lftp (lftp from this rep [url]http://download.opensuse.org/repositories/home:/nmidc:/lftp/SLE_11_SP3/[/url])
clamav-update (clamav and sledsp3-clamav-7915)The items in parenthesis are the SUSE names. If there was a way to change httpd to apache2 and make mysql-server mysql-client if the client stuff is even needed. If not just remove mysql-server as mysql is the server. Then add the additional 4 repositories to the system FOG should install. Will that be difficult to change the package names or how does one even go about doing that? Could I manually install all these items and then just comment out the httpd and mysql-server checks? Not sure but really want to get FOG installed.
-
RE: SUSE
Well I tried SLED, the Enterprise version which appears to include those packages except the perl-Crypt-PasswdMD5.I was able to find that package in this repo - [CODE]http://download.opensuse.org/repositories/devel:/languages:/perl/SLE_11_SP3/[/CODE]
Here is my scenerio. I have over 100 Field Offices which each has a SLED PC in them. I want to be able to use these as a central imaging servers to eliminate shipping replacement notebooks to our field Agents. I am not sure if I had just one server in our Corporate Office which is located on the East Coast how long that would take to reimage a notebook on the West Coast. Most of our Offices do have a DSL or Cable internet connection but the images are around 20 - 25 GB in size.
Thus, I was trying to get FOG installed on a test machine to see what I would need to do to get FOG installed on all the other machines in each of the Offices. I also tossed around Clonezilla SE but FOG looks so much better with interface and feature set.
I guess if I can get the list of prereq packages installed first and then install FOG that would probably work as well. Although it sounds like the FOG installer retrieves these files during installation, correct?
-
RE: SUSE
[quote=“Jaymes Driver, post: 22213, member: 3582”]Which installation option did you use when installing FOG to SUSE?
You should use the RedHat installation, I am loading a openSUSE VM.[/quote]
I did select the Red Hat option but the MySQL and Apache packages must be named differently. I get a message stating I need to install mysql-server so I install mysql and mysql-client and still get that message. The script also fails when it is checking package httpd which should be apache2.
-
SUSE
Has anyone been able to get FOG installed on openSUSE or SLE 11sp3? I have tried several times and keep getting stuck because the installer is looking for specific packages. One in particular is mysql-server so I install MySQL onto SLE 11sp3 but that still doesn’t work.
Oh how I would love to get FOG installed. Any advice or assistance?