• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Is FOG able to fit my needs?

Scheduled Pinned Locked Moved
General
5
34
7.2k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G
    george1421 Moderator @eadhor
    last edited by george1421 Jul 24, 2017, 7:55 AM Jul 24, 2017, 1:54 PM

    @eadhor I still think we need to understand the work flow here.

    FOG requires pxe booting for imaging to work. You can use static IP mapping for the client computers. But you will need to have a dhcp server on this network. The fog server can act as a dhcp server if needed. If the customer is using a static IP addressing schema as a security measure then FOG is not a good fit here.

    If you do use static IP and a dhcp server is possible, then we have some options. The target OS will need to have a way to identify the machine and to configure a static IP address for itself since FOG can’t do this for you.

    FOG isn’t designed to be a multi-tenant in design. If you are an admin in fog you can see all images installed on the fog server. One option would be to setup multiple fog servers. Depending on your scale of deployment you could use an intel nuc as your FOG server. The FOG server doesn’t require much CPU for imaging. I know of someone creating a docker version of FOG, but its not clear if you can have more than one docker fog container per docker server.

    Do each of the sub customers have their own isolated network or do they share the same network and subnet IP range?

    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

    E 1 Reply Last reply Jul 24, 2017, 3:03 PM Reply Quote 0
    • E
      eadhor @george1421
      last edited by Jul 24, 2017, 3:03 PM

      @george1421
      Alle sub-customers use the same subnet IP range.

      I have talked to a lot of people the last few hours. It COULD be possible to use the FOG Server as DHCP.

      @Sebastian-Roth
      The PC’s could be delivered by our supplier with a pre-installed FOG-Client. The problem working with the PC’s is the following. If u want to plug somthin in, you have to jump over a wall, or maybe walk around it, unlock a cage, plug it in, walk or jump back, do what u gotta do, jump over again, unplug it, lock the cage. It’s a high-security area.

      G 1 Reply Last reply Jul 24, 2017, 3:29 PM Reply Quote 0
      • T
        Tom Elliott
        last edited by Jul 24, 2017, 3:28 PM

        I have to be honest, if the information handling is meant to be this highly secure, I doubt there’s a single imaging solution that can meet your needs.

        That all said, localized FOG Servers could do what you want, but the moment you think about “centrally managing” them, you start to break your own “Highly Secure” layout.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        G E 2 Replies Last reply Jul 24, 2017, 3:30 PM Reply Quote 1
        • G
          george1421 Moderator @eadhor
          last edited by Jul 24, 2017, 3:29 PM

          @eadhor Do you want the sub customers to be able to deploy images or will you manage the process from Germany?

          The issue I’m seeing right now is isolation of each sub company’s images. Right now the FOG ACL system is pretty weak in that you are an admin or not an admin. If you are admin you have access to everything.

          What we would need for this idea to work is to use the location plugin and then find a way to restrict images and IT admins to specific locations (this was a request of mine for several years now). In that IT admins from location A can only see images that are assigned to location A, location B and so on. Right now that level of control is missing in FOG.

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

          1 Reply Last reply Reply Quote 0
          • G
            george1421 Moderator @Tom Elliott
            last edited by george1421 Jul 24, 2017, 9:37 AM Jul 24, 2017, 3:30 PM

            @Tom-Elliott said in Is FOG able to fit my needs?:

            you start to break your own “Highly Secure” layout

            High physical security or high ICT computer security not necessarily the same thing.

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

            1 Reply Last reply Reply Quote 0
            • E
              eadhor @Tom Elliott
              last edited by Jul 24, 2017, 5:06 PM

              Okay,

              just to make it hopefully more clear. ! 0_1500915821660_Untitled Diagram.jpg

              Of course it’s not a shopping mall. The Customers offer different services. You can imagine it like a self-service ticket station in a train station.

              The network itself is high-security.

              1 Reply Last reply Reply Quote 0
              • E
                eadhor
                last edited by Dec 8, 2017, 9:08 AM

                Hi all,

                so now it’s getting serious. We are trying to implent FOG in our System. Therefore i am installing a reference system. The system is running on a ESXi Host. I have installed CentOS, but now i am stuck with the installation.

                https://wiki.fogproject.org/wiki/index.php?title=CentOS_7
                Here is written:
                for service in http https tftp ftp mysql nfs mountd rpc-bind proxy-dhcp samba; do firewall-cmd --permanent --zone=public --add-service=$service;

                What does this mean and how do i do it? Because its not a command.
                Can i disable firewalld? Because we are behind of a DMZ.

                Kind regards
                Denny

                E 1 Reply Last reply Dec 8, 2017, 9:30 AM Reply Quote 0
                • E
                  eadhor @eadhor
                  last edited by Dec 8, 2017, 9:30 AM

                  @eadhor
                  Ok… it’s just bash. Sorry^^

                  1 Reply Last reply Reply Quote 2
                  • S
                    Sebastian Roth Moderator
                    last edited by Dec 8, 2017, 9:45 AM

                    @eadhor Yeah right, it’s bash. Keep going and let us know when you need help. Pay attention to disabling SELinux as that can cause you a major problem if you don’t know how to handle it.

                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                    1 Reply Last reply Reply Quote 0
                    • E
                      eadhor
                      last edited by Dec 8, 2017, 10:55 AM

                      I made a stupid mistake.

                      I have started the installation. Went really well, but when this appeared: * Changing permissions on apache log files…OK

                      • Backing up database…OK

                      • You still need to install/update your database schema.

                      • This can be done by opening a web browser and going to:

                        http://139.2.247.233/fog/management

                      • Press [Enter] key when database is updated/installed.^C

                      I wanted to copy the http adress and pressed cmd + c which aborted the installation.

                      So i thought i could start the installation all over again, but when i reach this point i get an error message:

                      • Changing permissions on apache log files…OK
                      • Backing up database…Failed!

                      How can i handle this?

                      1 Reply Last reply Reply Quote 0
                      • S
                        Sebastian Roth Moderator
                        last edited by Dec 8, 2017, 12:14 PM

                        @eadhor Try to open that URL http://139.2.247.233/fog/management and I guess you’ll see a error page. Then take a look at the apache error log (see my signature on where to find this). Post what you have in the apache log here.

                        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                        E 1 Reply Last reply Dec 8, 2017, 12:58 PM Reply Quote 0
                        • E
                          eadhor @Sebastian Roth
                          last edited by Dec 8, 2017, 12:58 PM

                          @sebastian-roth
                          [Fri Dec 08 13:43:36.265102 2017] [core:notice] [pid 29364] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
                          [Fri Dec 08 13:43:36.266489 2017] [suexec:notice] [pid 29364] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
                          [Fri Dec 08 13:43:36.330261 2017] [auth_digest:notice] [pid 29364] AH01757: generating secret for digest authentication …
                          [Fri Dec 08 13:43:36.331281 2017] [lbmethod_heartbeat:notice] [pid 29364] AH02282: No slotmem from mod_heartmonitor
                          [Fri Dec 08 13:43:36.355207 2017] [mpm_prefork:notice] [pid 29364] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.6.32 configured – resuming normal operations
                          [Fri Dec 08 13:43:36.355241 2017] [core:notice] [pid 29364] AH00094: Command line: ‘/usr/sbin/httpd -D FOREGROUND’
                          [Fri Dec 08 13:43:43.597688 2017] [:error] [pid 29373] [client 139.2.241.1:59690] PHP Fatal error: Call to a member function lastInsertId() on boolean in /var/www/html/fog/lib/db/pdodb.class.php on line 443
                          [Fri Dec 08 13:44:04.346207 2017] [:error] [pid 29374] [client 139.2.241.1:59691] PHP Fatal error: Call to a member function lastInsertId() on boolean in /var/www/html/fog/lib/db/pdodb.class.php on line 443
                          [Fri Dec 08 13:44:09.382076 2017] [:error] [pid 29372] [client 139.2.241.1:59695] PHP Fatal error: Call to a member function lastInsertId() on boolean in /var/www/html/fog/lib/db/pdodb.class.php on line 443

                          I have made a snapshot before the installation and tried to install it again. Now i am a this point:

                          • Changing permissions on apache log files…OK

                          • Backing up database…OK

                          • You still need to install/update your database schema.

                          • This can be done by opening a web browser and going to:

                            http://139.2.247.233/fog/management

                          • Press [Enter] key when database is updated/installed.

                          But i still see nothin on the page. So above is the error.log

                          1 Reply Last reply Reply Quote 0
                          • S
                            Sebastian Roth Moderator
                            last edited by Dec 8, 2017, 1:30 PM

                            @eadhor Have you ever set a password for the database? Try connecting to the DB on the command line:

                            shell> mysql -u root -p
                            Enter password:
                            ...
                            mysql> exit;
                            

                            See if you can login. If you got the credentials please see if they match with those in /var/www/fog/lib/fog/config.class.php

                            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                            1 Reply Last reply Reply Quote 0
                            • E
                              eadhor
                              last edited by Dec 8, 2017, 1:34 PM

                              @sebastian-roth said in Is FOG able to fit my needs?:

                              /var/www/fog/lib/fog/config.class.php

                              Oh i think thats the Problem. I thaught i have to give an initial passwort during the installation. When i try to use mysql like this: mysql -u root -> i can log in
                              when i use the password which is in

                              define(‘DATABASE_PASSWORD’, “XXXXX”);

                              i have no access.
                              How shout it look without a password?

                              define(‘DATABASE_PASSWORD’, “”);

                              Kind regards
                              Denny

                              Wayne WorkmanW 1 Reply Last reply Dec 8, 2017, 1:41 PM Reply Quote 0
                              • Wayne WorkmanW
                                Wayne Workman @eadhor
                                last edited by Wayne Workman Dec 8, 2017, 7:43 AM Dec 8, 2017, 1:41 PM

                                @eadhor Be sure to set the database username and password inside of /opt/fog/.fogsettings or you’re bound to break stuff later on when you upgrade (promise).

                                Change settings for fog inside of the fogsettings file, then re-run the installer for those settings to take effect. Here’s documentation about the file:
                                https://wiki.fogproject.org/wiki/index.php?title=.fogsettings

                                The settings you need to change are these:

                                snmysqluser=''
                                snmysqlpass=''
                                

                                Put the correct values into them, save, then re-run the installer.

                                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                                Daily Clean Installation Results:
                                https://fogtesting.fogproject.us/
                                FOG Reporting:
                                https://fog-external-reporting-results.fogproject.us/

                                E 1 Reply Last reply Dec 11, 2017, 1:27 PM Reply Quote 1
                                • E
                                  eadhor @Wayne Workman
                                  last edited by Dec 11, 2017, 1:27 PM

                                  @wayne-workman
                                  Hey,
                                  i have changed /opt/fog/.fogsettings

                                  snmysqluser='root'
                                  snmysqlpass='' 
                                  

                                  and re-run the installer. But i got the error again.

                                   * Changing permissions on apache log files....................OK
                                   * Backing up database.........................................Failed!
                                  

                                  Server is up and running so far, but i get the problem with the updates 😉 Like i have said, there is no database password.

                                  Wayne WorkmanW 1 Reply Last reply Dec 11, 2017, 1:53 PM Reply Quote 0
                                  • Wayne WorkmanW
                                    Wayne Workman @eadhor
                                    last edited by Wayne Workman Dec 11, 2017, 7:54 AM Dec 11, 2017, 1:53 PM

                                    @eadhor Check your free space with df -h look for partitions that are 100% or 99% full.

                                    Also, inside of /opt/fog/.fogsettings set snmysqlhost to these two things, one at a time: localhost and 127.0.0.1 Running the installer after each to see if the setting works.

                                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                                    Daily Clean Installation Results:
                                    https://fogtesting.fogproject.us/
                                    FOG Reporting:
                                    https://fog-external-reporting-results.fogproject.us/

                                    E 1 Reply Last reply Dec 11, 2017, 3:34 PM Reply Quote 0
                                    • E
                                      eadhor
                                      last edited by eadhor Dec 11, 2017, 8:13 AM Dec 11, 2017, 2:11 PM

                                      And here ist my next question.

                                      We have an existing DHCP-Server. What informations do i have to provide to the sysadmin? He wants to add a DHCP-Group for the two Clients.

                                      Can i take an image of an existing Virtual Machine? If so. How?

                                      Kind regards
                                      Denny

                                      EDIT:
                                      As far as i know, he needs the following information:
                                      next-serve (FOG-Server IP?)
                                      filename??

                                      1 Reply Last reply Reply Quote 0
                                      • E
                                        eadhor @Wayne Workman
                                        last edited by Dec 11, 2017, 3:34 PM

                                        @wayne-workman

                                        [root@qa-fog-server bin]# df -h
                                        Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf
                                        /dev/mapper/centos-root 20G 3,2G 17G 16% /
                                        devtmpfs 3,9G 0 3,9G 0% /dev
                                        tmpfs 3,9G 0 3,9G 0% /dev/shm
                                        tmpfs 3,9G 8,6M 3,9G 1% /run
                                        tmpfs 3,9G 0 3,9G 0% /sys/fs/cgroup
                                        /dev/sda1 1014M 180M 835M 18% /boot
                                        /dev/mapper/centos-images 271G 33M 271G 1% /images
                                        tmpfs 783M 0 783M 0% /run/user/0

                                        Ive tried localhost and 127.0.0.1. Both failed

                                        Wayne WorkmanW 1 Reply Last reply Dec 11, 2017, 4:00 PM Reply Quote 0
                                        • Wayne WorkmanW
                                          Wayne Workman @eadhor
                                          last edited by Dec 11, 2017, 4:00 PM

                                          @eadhor Wherever you keep your fogproject directory, go there, then go into bin and do a -ls -laht you should see a new directory in there for errors and such. In there, there will be an output file from the fog installer. We need the last 20 or so lines from that output file, that should tell us what’s going wrong.

                                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                                          Daily Clean Installation Results:
                                          https://fogtesting.fogproject.us/
                                          FOG Reporting:
                                          https://fog-external-reporting-results.fogproject.us/

                                          E 1 Reply Last reply Dec 11, 2017, 4:22 PM Reply Quote 0
                                          • 1
                                          • 2
                                          • 1 / 2
                                          • First post
                                            Last post

                                          199

                                          Online

                                          12.1k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project