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

    Installing a new clean fog server

    Scheduled Pinned Locked Moved
    General
    8
    43
    14.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.
    • P
      Predator
      last edited by

      Hey all,

      I have a couple of questions regarding the installation of FOG from scratch.

      What is the difference between the FOG 1.4.4 Officially Released and FOG 1.5.0 RC 3?

      What is the best and simplest OS to use with FOG? I have read that some have problems with ubuntu… Furthermore i am a noob in Linux distro’s and it would help me a lot to have something that’s stable and simple with a GUI.

      My goal is to implement a virtual fog server for the enterprise where i am currently working so i can deploy images over pxe boot.

      george1421G L 2 Replies Last reply Reply Quote 0
      • george1421G
        george1421 Moderator @Predator
        last edited by

        @Predator said in Installing a new clean fog server:

        What is the difference between the FOG 1.4.4 Officially Released and FOG 1.5.0 RC 3?

        Any of the FOG versions with RCx in the name are development releases. You probably don’t want those for your production server. FOG 1.5.0 is the newest version of FOG in the pipeline but its still under development. FOG 1.4.4 is the latest stable release and one you should look at until 1.5.0 is released. FOG 1.5.0 contains a new and updated webgui which is really nice, but functionally its very similar to 1.4.4

        What is the best and simplest OS to use with FOG? I have read that some have problems with ubuntu… Furthermore i am a noob in Linux distro’s and it would help me a lot to have something that’s stable and simple with a GUI.

        I know a lot of people use ubuntu still. Its not that bad (except for when ubuntu changes stuff that breaks fog). I personally use RHEL/Centos in command line only. The great thing about FOG is that it is supported on a number of linux OS platforms. You will need to learn about linux a little to be able to manage a fog server. The FOG Project wikis are pretty good at taking you step by step through setting up FOG, but you still may have to access the linux command line to adjust some settings.

        My goal is to implement a virtual fog server for the enterprise where i am currently working so i can deploy images over pxe boot.

        A virtual fog server is no problem. That is how we have them setup in our environment. PXE booting can be a pain sometimes if your computing environment isn’t standard. But we have a few ways to help with non-standard environments to get systems pxe booting.

        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!

        P 1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by

          While George already answered all your questions nicely I might just add that FOG is running perfectly well on Debian for me (and others). Just in case you want to choose a debian-based distro. But CentOS is great too!!

          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
          • P
            Predator @george1421
            last edited by Predator

            Ok i will download CentOS and install GUI then to setup my fog server. I hope it won’t be too difficult to follow as i want it to be setup asap.

            Kind regards

            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by

              @Predator This might guide you along the way: https://wiki.fogproject.org/wiki/index.php?title=CentOS_7

              While installing FOG is not a big issue a lot of people struggle with getting PXE booting setup correctly as this involves other components in most environments (e.g. external DHCP server). So go ahead and give it a go. Feel free to post again (probably best in a new thread!) if you hit the wall somewhere. We are here to help you.

              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
              • P
                Predator
                last edited by

                I have installed VMWare workstation player 12 and trying to install centOS for FOG.

                Couple of questions regarding the IPV4 config…

                1. When i choose bridged adapter in VM workstation do i have to change the ip address of that NIC to static?

                2. When i setup the network settings of CentOS do i need to pick the same IPV4 address as the VM workstation NIC?

                george1421G 1 Reply Last reply Reply Quote 0
                • george1421G
                  george1421 Moderator @Predator
                  last edited by

                  @Predator

                  1. Think of the bridge adapter connects to the VMWare workstation host at the NIC interface. The vm host OS is isolated from the vm client. The vm host IP address can be dynamic while the vm client can have a static address. The fog server requires a static IP address.
                  2. The vm host and vm client are two different computers each computer needs its own IP address.

                  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
                  • P
                    Predator
                    last edited by

                    @george1421

                    This is getting a little confusing mixing vm client and host…

                    This guide says clearly to setup the network of CentOS to static…

                    https://wiki.fogproject.org/wiki/index.php?title=CentOS_7

                    The question is simple: can i use the same network addresses of my VM NIC on CentOS?

                    george1421G 1 Reply Last reply Reply Quote 0
                    • george1421G
                      george1421 Moderator @Predator
                      last edited by

                      @Predator said in Installing a new clean fog server:

                      same network addresses of my VM NIC on CentOS

                      Same network address of what?

                      Terms we need to understand
                      VM Host == computer where vmware workstation is installed, loaded and running.
                      VM Guest == client virtual machine where centos is running (needs a different IP address than the vm host)

                      Think about it you have 2 computers running on the same hardware. Two computers can’t share the same address on the same network.

                      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
                      • P
                        Predator
                        last edited by Predator

                        @george1421

                        1. VM Host = leave network settings on dynamic
                        2. VM Guest = configure network settings on static
                        3. FOG Client = configure network settings on static

                        So if we set it up like this all 3 would have different ip addresses correct?

                        george1421G 1 Reply Last reply Reply Quote 0
                        • george1421G
                          george1421 Moderator @Predator
                          last edited by george1421

                          @Predator said in Installing a new clean fog server:

                          FOG Client = configure network settings on static

                          This IP address would need to be assigned by dhcp since you need pxe boot information (provided by dhcp server). If you want fog client to be locked at a static IP address then use dhcp reservations. But either way fog client must be assigned by dhcp.

                          And you are correct all three need different IP addresses.

                          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!

                          P 2 Replies Last reply Reply Quote 0
                          • P
                            Predator @george1421
                            last edited by

                            @george1421

                            Thanks, i hope i will not encounter too much problems during installation fingers crossed.

                            george1421G 1 Reply Last reply Reply Quote 0
                            • george1421G
                              george1421 Moderator @Predator
                              last edited by

                              @Predator You should not as long as you follow the networking rules.

                              If you have issues, post back here and we can help you. Getting clients to pxe boot is sometimes trouble. Its not a fog issue but a network environment/infrastructure one.

                              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
                              • L
                                lmioperations @Predator
                                last edited by

                                @predator said in Installing a new clean fog server:

                                What is the best and simplest OS to use with FOG? I have read that some have problems with ubuntu… Furthermore i am a noob in Linux distro’s and it would help me a lot to have something that’s stable and simple with a GUI.

                                My goal is to implement a virtual fog server for the enterprise where i am currently working so i can deploy images over pxe boot.

                                I’ve been using Ubuntu Server 16.04.2 without any issues, and it’s super easy to deploy and manage. Also, I know this might seem scary or counter-intuitive, but I would actually recommend NOT using a GUI (that’s why I deployed the “server” version of Ubuntu).

                                I’m a little confused by the fact that you said your goal is to “implement a virtual fog server” in an “enterprise” environment, but you’re trying to build this “environment” using VMware Workstation. Have you considered deploying VMware ESXi? It’s free and would be more ideal than using VMware Workstation. I’m not saying you can’t do it that way, but it’s not a very common way of going about it, especially in an “enterprise” environment.

                                With that said, if you’re going to use VMware Workstation, I would think you would want to setup the PC that’s running VMware Workstation (the IP of this machine can be DHCP or static), then build an Ubuntu VM using NAT and set a static IP on this guest.

                                If you have a DHCP and DNS server in your environment (which it sounds like you already do), during the FOG setup, you should be able to make the following selections when installing:

                                • When prompted if you’d like to change the default network interface, type “N”

                                • When prompted if you’d like to setup a router address for the DHCP server, type “Y”

                                • When prompted for the IP address to be used for the router on the DHCP server, press Enter if it already shows your correct router address (or type in the correct one if it’s not already displayed)

                                • When prompted if you’d like DHCP to handle DNS, type “Y”

                                • When prompted for what DNS address DHCP should allow, press Enter if it already shows the correct address (or type in the correct address if it’s not already displayed)

                                • When prompted if you’d like to use the FOG server for DHCP service, type “N”

                                You’ll then want to go to your DHCP server and make sure that the following scope options are configured:

                                • 066 Boot Server Host Name = make sure this is the IP of your FOG server
                                • 067 Bootfile Name = undionly.kpxe

                                You can either configure those scope options globally under IPv4 under “Server Options”, or you can configure them under “Scope Options” under each Scope that you want to allow access to the FOG server.

                                P 1 Reply Last reply Reply Quote 2
                                • P
                                  Predator @lmioperations
                                  last edited by

                                  @lmioperations

                                  Thanks for the information.

                                  The reason why i’m using VMWare workstation is to test it before i put it in our VMWare pool.

                                  Once it’s fully tested and working by me i will put it on a VMWare server and manage it from the vsphere client.

                                  L 1 Reply Last reply Reply Quote 0
                                  • L
                                    lmioperations @Predator
                                    last edited by

                                    @predator To each their own I guess. We do guest testing all the time in our vSphere production environment. You’re the first person I’ve ever heard of who has an ESXi host, but does all their testing in VMware Workstation O_o.

                                    P 1 Reply Last reply Reply Quote 0
                                    • P
                                      Predator @lmioperations
                                      last edited by

                                      @lmioperations

                                      Yep don’t mind me it’s just a infrastructural decision.

                                      1 Reply Last reply Reply Quote 0
                                      • P
                                        Predator
                                        last edited by Predator

                                        Having problems with entering the following command lines in centOS

                                        echo “Open UDP port 49152 through 65532, the possible used ports for fog multicast”
                                        firewall-cmd --permanent --add-port=49152-65532/udp
                                        echo “Allow IGMP traffic for multicast”
                                        firewall-cmd --permanent --direct --add-rule ipv4 filter INPUT 0 -p igmp -j ACCEPT
                                        systemctl restart firewalld.service
                                        echo “Done.”

                                        FYI i’m not using putty but entering the commands in terminal of centOS.

                                        Any idea why this is not working? I get the error command not found…

                                        This is a step of the continue pre-config step from wiki guide: https://wiki.fogproject.org/wiki/index.php?title=CentOS_7

                                        1 Reply Last reply Reply Quote 0
                                        • P
                                          Predator
                                          last edited by

                                          Nevermind i managed to make the command lines work.

                                          Can someone explain me which one and why i should activate the following?

                                          Set SELinux to permissive on boot:
                                          sed -i.bak ‘s/^.\SELINUX=enforcing\b.$/SELINUX=permissive/’ /etc/selinux/config

                                          Set SELinux to permissive on the fly (this is not persistent, the above config must be done to be persistent):
                                          setenforce 0

                                          P Q george1421G L 4 Replies Last reply Reply Quote 0
                                          • P
                                            Predator @Predator
                                            last edited by

                                            @george1421 @lmioperations @Sebastian-Roth

                                            Can someone chime in on this?

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • First post
                                              Last post

                                            206

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project