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

Adding NAS Synology like a node

Scheduled Pinned Locked Moved Solved
FOG Problems
7
27
12.4k
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 @ch3i
    last edited by Mar 10, 2016, 11:01 AM

    @ch3i Thank you for the link, but it doesn’t appear to be my specific issue.

    Watching the vm boot, it appears that if I use the synology NAS as a normal storage node, during the booting process the target computer is trying to load something from the synology NAS via http. Possibly the bzImage and inits, because that is the part where its getting hung.

    Am I missing the point of the OP? To me I would just nfs mount the nas to a mount point on the FOG server. This would allow me to use the nas for storage but the fog server would have the full environment.

    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!

    C 1 Reply Last reply Mar 10, 2016, 11:20 AM Reply Quote 0
    • C
      ch3i Moderator @george1421
      last edited by Mar 10, 2016, 11:20 AM

      @george1421 How is configured your storage Node, slave/master ?

      G 1 Reply Last reply Mar 10, 2016, 11:23 AM Reply Quote 0
      • G
        george1421 Moderator @ch3i
        last edited by Mar 10, 2016, 11:23 AM

        @ch3i Slave.

        It was my understanding that the OP wanted to use a synology nas as a storage node while still having a master node FOG server.

        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!

        T 1 Reply Last reply Mar 10, 2016, 11:39 AM Reply Quote 0
        • T
          Tom Elliott @george1421
          last edited by Mar 10, 2016, 11:39 AM

          @george1421 this is possible, but if the storage node to use doesn’t have the image available on it it will not be able to find the storage node in use by the group the image is associated with.

          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 1 Reply Last reply Mar 10, 2016, 12:49 PM Reply Quote 0
          • G
            george1421 Moderator @Tom Elliott
            last edited by george1421 Mar 10, 2016, 6:49 AM Mar 10, 2016, 12:49 PM

            @Tom-Elliott Hmmmm…

            I setup NFS (and ftp) on the NAS. Then I configured the NAS as a storage node as normal. The master node then replicated the images to the storage node. When I look in the filestation on the nas I can see all of the image files in that location. So the images are there.

            I’m using the location plugin, so in the main storage group I added this synology nas but in the location of “nothere”. Then I created a vm and registered it in the location “nothere”. When I pxe boot it, the target computer loads boot.php and then many dots and then throws the error. What I’m speculating is that the target computer is trying to load the FOS kernel from the storage node (synology nas). Since of course those files are not on the nas it is failing.

            I did a little research and I can enable the apache web server on the NAS, but I can only create a virtual server using a dns name, not an IP address. So I’m stopped right here for now. The though was to setup the web server then copy the fog/service/ipxe files over to the synology nas in the right location to make the client boot. (Understand this is more of a fun project to help the OP than something I want)

            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!

            W 1 Reply Last reply Mar 11, 2016, 3:50 AM Reply Quote 0
            • W
              Wayne Workman @george1421
              last edited by Wayne Workman Mar 10, 2016, 9:54 PM Mar 11, 2016, 3:50 AM

              @george1421 said:

              What I’m speculating is that the target computer is trying to load the FOS kernel from the storage node (synology nas). Since of course those files are not on the nas it is failing.

              I’d probably recommend setting up TFTP on the NAS - and copy all the boot files into it. The file default.ipxe is the file that the boot file will look to for instructions. At the bottom in there, you can just specify the primary FOG server’s IP - and I think that would work.

              Also - you know, tell DHCP to use the NAS’ IP address for 066.

              I don’t worry too much about you, George. 😉

              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
              • M
                mtrento @Miguel Palacios
                last edited by Sep 9, 2016, 12:56 PM

                @Miguel-Palacios
                I think fog 1.2 is not totally compatible with synology nas because synology use two different path to access data over NFS & FTP (/volume1/images & /images)
                and on fog storage node interface you can only set one path.
                (Fog does the rename job with the ftp account.)
                you need to go with a newer fog version to have the “ftp path” option.

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

                153

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project