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

    FOG 1.2.0 on Ubuntu 12.04 LTS but now want to add Windows 2012 NFS nodes, can't get it working please help!

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    6
    40
    13.0k
    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.
    • Tom ElliottT
      Tom Elliott
      last edited by

      @Kevin-Talbot

      Your post has been open for a total period of 2 hours. We are all doing this work for free. I understand the need to get this fixed, but you must not expect us to just drop for you.

      That said, the fact that all of the information you’re seeing is stating “Permission Denied” have you ensured the permissions are set and correct? Have you ensured that the FTP User has the correct permissions? Have you ensured the NFS has the correct permissions?

      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

      1 Reply Last reply Reply Quote 2
      • K
        Kevin Talbot
        last edited by

        Hi Tom, sorry I’m just panicking now, did you see my last post? its seems I have lost all my images

        ch3iC 1 Reply Last reply Reply Quote 0
        • ch3iC
          ch3i Moderator @Kevin Talbot
          last edited by ch3i

          @Kevin-Talbot said:

          Hi Tom, sorry I’m just panicking now, did you see my last post? its seems I have lost all my images

          Please post the result of :
          ls -lhart /images

          Edit : using a terminal/ssh connection on your FOG server.

          1 Reply Last reply Reply Quote 0
          • K
            Kevin Talbot
            last edited by

            root@fog-server:~# ls -lhart /images
            total 8.5K
            -rwxrwxrwx 1 4294967294 4294967294 0 Mar 2 2015 .mntcheck
            drwxr-xr-x 25 root root 4.0K Sep 11 15:30 …
            drwxrwxrwx 2 4294967294 4294967294 64 Sep 15 10:18 dev
            drwxrwxrwx 2 4294967294 4294967294 4.0K Sep 15 10:19 .
            root@fog-server:~#

            ch3iC 1 Reply Last reply Reply Quote 0
            • ch3iC
              ch3i Moderator @Kevin Talbot
              last edited by

              @Kevin-Talbot said:

              root@fog-server:~# ls -lhart /images
              total 8.5K
              -rwxrwxrwx 1 4294967294 4294967294 0 Mar 2 2015 .mntcheck
              drwxr-xr-x 25 root root 4.0K Sep 11 15:30 …
              drwxrwxrwx 2 4294967294 4294967294 64 Sep 15 10:18 dev
              drwxrwxrwx 2 4294967294 4294967294 4.0K Sep 15 10:19 .
              root@fog-server:~#

              All of your nodes are syncing ? It’s the same storage group ?

              1 Reply Last reply Reply Quote 0
              • K
                Kevin Talbot
                last edited by

                I got them to sync yes by adding the windows node to the default storage group but then I moved the windows node to a seperate storage group. I then attempted to upload an image to the windows node but it didn’t work, that was where I was stuck.

                However, the bigger problem is I seem to have lost all my images on the fog server, there is a padlock on the “images” folder?

                1 Reply Last reply Reply Quote 0
                • Tom ElliottT
                  Tom Elliott
                  last edited by

                  Teamviewer? Maybe between @ch3i and myself?

                  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

                  1 Reply Last reply Reply Quote 1
                  • K
                    Kevin Talbot
                    last edited by

                    just need to get my images back now or are they lost forever

                    Tom ElliottT 1 Reply Last reply Reply Quote 0
                    • Tom ElliottT
                      Tom Elliott @Kevin Talbot
                      last edited by

                      @Kevin-Talbot Teamviewer? Maybe between @ch3i and myself?

                      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

                      1 Reply Last reply Reply Quote 1
                      • K
                        Kevin Talbot
                        last edited by

                        yes Tom that would be great!!! I know very little about Linux unfortunately!

                        1 Reply Last reply Reply Quote 0
                        • K
                          Kevin Talbot
                          last edited by

                          This post is deleted!
                          1 Reply Last reply Reply Quote 0
                          • ch3iC
                            ch3i Moderator @Kevin Talbot
                            last edited by

                            @Kevin-Talbot I’ve deleted your post… security. Please use PM.

                            1 Reply Last reply Reply Quote 1
                            • Tom ElliottT
                              Tom Elliott
                              last edited by

                              /images was not gone. The windows NFS share was mounted on top of the /images folder. No data was lost. Unmounted and bam all the images were back.

                              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

                              1 Reply Last reply Reply Quote 1
                              • Wayne WorkmanW
                                Wayne Workman @Kevin Talbot
                                last edited by Wayne Workman

                                @Kevin-Talbot Back to your original question, since your only requirement is to “utilize Windows 2012 server”

                                install Hyper-V, create a VM, install linux on them, install fog in normal mode - change the mysql settings in /opt/fog/.fogsettings to point to the primary fog server. Change DHCP/ProxyDHCP at each site to point to the newly created fog VMs. Add the new storage nodes to the primary server.

                                Snapshot along the way.

                                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/

                                1 Reply Last reply Reply Quote 0
                                • K
                                  Kevin Talbot
                                  last edited by

                                  Thanks to Tom who found all my images, life saver!

                                  I have scrapped the windows NFS idea and just made a standard node on Ubuntu which I now have running at a remote site on a separate subnet but now need a little help/advise please?

                                  I have added the Location Plugin

                                  I have created a second storage group and put this node into it.

                                  I then added a new location and added the node to it.

                                  I have copied 1 image over manually to this new storage node, configured the DHCP at the site to point at the main fog server.

                                  Went to site with a box and attempted to image it, PXE was intermittently loading from the main server across the WAN but did load and allow Full Registration albeit it was slow.

                                  I chose the new location during registration.

                                  It started imaging but it was slow, around 500m/min

                                  So question is was it actually pulling from the new local node or pulling accross the WAN?

                                  Only other thing which I should mention, I did not tick the TFTP from this node box under the location?

                                  Please help?

                                  Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                                  • Wayne WorkmanW
                                    Wayne Workman @Kevin Talbot
                                    last edited by

                                    @Kevin-Talbot said:

                                    Only other thing which I should mention, I did not tick the TFTP from this node box under the location?

                                    It was probably pulling from across the WAN.

                                    Can you give us a screenshot of what you see when you click “Storage Management” ?
                                    Can you also give us a screenshot of what you see when you click the Location Plugin ?

                                    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/

                                    1 Reply Last reply Reply Quote 0
                                    • K
                                      Kevin Talbot
                                      last edited by

                                      Hi Wayne, see attached:

                                      storage management.JPG location management.JPG

                                      1 Reply Last reply Reply Quote 0
                                      • K
                                        Kevin Talbot
                                        last edited by

                                        Just realised the Images can’t be in more than one Storage Group and the image I was trying to use is tagged to the Default storage group. Could that be the issue?

                                        Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                                        • Wayne WorkmanW
                                          Wayne Workman @Kevin Talbot
                                          last edited by

                                          @Kevin-Talbot said:

                                          Just realised the Images can’t be in more than one Storage Group and the image I was trying to use is tagged to the Default storage group. Could that be the issue?

                                          Images can belong to more than one storage group - but you have to set this -but do not just pounce on this statement like it’s your answer - it’s not the answer.

                                          Both of your storage nodes are in their own storage group. This means that replication will not occur between the master and the others. Change it so that both storage nodes are in the same group - and then the master node in the group will replicate images to all other nodes in the group.

                                          OR - under the image’s membership (on the Image Management page), you can assign the image to several storage groups. However - it will only replicate to master nodes, and you don’t have 24066-fog set as a master of it’s storage group, that would need changed.

                                          You cannot do BOTH things I’ve suggested here - that will break stuff and probably cause data loss. You have to pick one method or the other.

                                          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/

                                          1 Reply Last reply Reply Quote 0
                                          • K
                                            Kevin Talbot
                                            last edited by

                                            Thanks Wayne however I can’t see how you can add an image to more than one storage group under Image Management, its a drop down box that only allows you to choose one storage group?

                                            Also can someone tell me what the “TFTP from node” check box does under Location Management please?

                                            I assume if I tick “TFTP from node” the node needs the TFTP parameter adding to the node install script otherwise it won’t work?

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

                                            207

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project