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

Does FOG work with iSCSI?

Scheduled Pinned Locked Moved Solved
General
7
118
80.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.
  • M
    ManofValor @Tom Elliott
    last edited by ManofValor May 24, 2016, 3:43 PM May 23, 2016, 9:51 PM

    @Tom-Elliott Basically, I’m not sure what to look for to know if the images are being sent to the NAS device. I’ve never used one so I’m not sure if there’s a delay before it starts, or if I have everything in order, or what? Is there something I have to do to push it to the NAS every time I image or Is it automatic, if I did it right? I’ve done everything I can find on this and it seemed pretty simple after figuring it all out so not sure if I’m missing anything.

    1 Reply Last reply Reply Quote 0
    • M
      ManofValor
      last edited by May 26, 2016, 8:21 PM

      @Wayne-Workman @Tom-Elliott

      Can anyone help me with my last question?

      W 1 Reply Last reply May 26, 2016, 8:25 PM Reply Quote 0
      • W
        Wayne Workman @ManofValor
        last edited by May 26, 2016, 8:25 PM

        @ManofValor Is this your main storage node? Do images upload/replicate to it? Also - if properly setup everything will be automatic.

        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
        • S
          Sebastian Roth Moderator
          last edited by Sebastian Roth May 26, 2016, 2:26 PM May 26, 2016, 8:25 PM

          @ManofValor NAS = Network Attached Storage, in simple terms means a storage device (you know storage could be disk, USB key, SD card, CD, …) that is connected over network - compared to all the others being connected on an internal system bus. The data being written to any of those devices (be it the normal ones or NAS) should end up on the device without any extra “push” or something. But maybe I got your question wrong?!?

          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
          • Q
            Quazz Moderator
            last edited by May 27, 2016, 10:33 AM

            Where is the iSCSI device located on the FOG server? What does your Storage Node setup look like?

            M 1 Reply Last reply May 27, 2016, 1:33 PM Reply Quote 0
            • M
              ManofValor @Quazz
              last edited by May 27, 2016, 1:33 PM

              @Quazz

              [root@localhost /]# cd /opt/fog/images
              [root@localhost images]# ls
              dev  MCWP77  MCWP82  MCWPL54  postdownloadscripts
              

              I did another image,MCWPL25, after connecting to the NAS, via iSCSI, and it is not showing up with the others. Either it worked and is on the NAS or something else happened. I also noticed this under image management:
              0_1464355727545_Capture.PNG

              One thing I am trying to figure out though is how to check the NAS. The interface I have doesn’t show me what’s on the disk’s. Just the size of the disk’s. I’m still learning how to use it but haven’t got much time on it. This is what I’m working on now.

              T 1 Reply Last reply May 27, 2016, 1:34 PM Reply Quote 0
              • T
                Tom Elliott @ManofValor
                last edited by May 27, 2016, 1:34 PM

                @ManofValor No Data, under that field, just means the last known date to when that image was uploaded is not available (there’s no data to show).

                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

                M 1 Reply Last reply May 31, 2016, 8:34 PM Reply Quote 0
                • M
                  ManofValor @Tom Elliott
                  last edited by May 31, 2016, 8:34 PM

                  @Tom-Elliott What about it not showing up under my /images folder?

                  W 1 Reply Last reply May 31, 2016, 10:07 PM Reply Quote 0
                  • W
                    Wayne Workman @ManofValor
                    last edited by May 31, 2016, 10:07 PM

                    @ManofValor What happens when you try to upload to that node? Screenshots please. Or are you just trying to replicate to it? If replicating, we need the replication log. It’s in the log viewer.

                    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/

                    M 1 Reply Last reply Jun 1, 2016, 1:59 PM Reply Quote 0
                    • M
                      ManofValor @Wayne Workman
                      last edited by Jun 1, 2016, 1:59 PM

                      @Wayne-Workman When I ran an image for that one it worked as normal, I didn’t see anything different. It even shows up in fog management. Do you need me to do again? Here is the replicator log file if it helps. The one I’m looking for is not there, MCWPL25.
                      0_1464789426422_Capture.PNG

                      Did I need to create another storage node for the NAS. I could have swore in the process I was just pointing it the /images dir, but I could have misunderstood.

                      W 1 Reply Last reply Jun 1, 2016, 2:14 PM Reply Quote 0
                      • W
                        Wayne Workman @ManofValor
                        last edited by Jun 1, 2016, 2:14 PM

                        @ManofValor Yes, everything in fog must be defined in one place or another in the DB, which means creating it in the Web Interface. You must create a storage node definition for the NAS.

                        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/

                        M 1 Reply Last reply Jun 2, 2016, 7:11 PM Reply Quote 1
                        • M
                          ManofValor @Wayne Workman
                          last edited by Jun 2, 2016, 7:11 PM

                          @Wayne-Workman Is it possible to edit my existing node or better to just create a new one?

                          W 1 Reply Last reply Jun 2, 2016, 7:15 PM Reply Quote 0
                          • W
                            Wayne Workman @ManofValor
                            last edited by Jun 2, 2016, 7:15 PM

                            @ManofValor said in Does FOG work with iSCSI?:

                            @Wayne-Workman Is it possible to edit my existing node or better to just create a new one?

                            I don’t know how you have it setup. Anything you delete in the web gui, you can remake. You’re using a iSCSI which is not locally on your fog server. This means you’d create a new node. If that’s all you will be using, this can be your only node.

                            It’s pretty simple. You create a new node, type in the image path, FTP images path, the IP address, and FTP credentials, set a storage group, enable it… We have probably over 100 threads about this in the forums, there are articles on it in the wiki too.

                            You do not have to wait to be told what to do, please feel free to try different things very, very rapidly. You can’t break anything that can’t be fixed too.

                            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
                              ManofValor
                              last edited by ManofValor Jun 2, 2016, 3:56 PM Jun 2, 2016, 9:54 PM

                              So I went in to FOG management and created a new storage node for my NAS.
                              0_1464904121194_upload-65552234-df91-4065-9807-e432109b30d9
                              Once I did that I ran yum update -y, git pull, rebooted, and then ran ./installfog.sh. At the end of the install I got this:

                               ########################################################################################
                                 FOG has adjusted to using a login system to protect what can/cannot be downloaded
                                 We have detected that you don't have credentials defined to perform the backup
                                 If you would like the database to be backed up during install please define
                                 in your /opt/fog/.fogsettings file
                              
                                 fogguiuser='usernameOfFOGGUI'
                                 fogguipass='passwordOfFOGGUIUser'
                              
                                 You can also re-run this installer as:
                              
                                 fogguiuser='usernameOfFOGGUI' fogguipass='passwordOfFOGGUIUser' ./installfog.sh -y
                               ########################################################################################
                              
                              
                               * You still need to install/update your database schema.
                               * This can be done by opening a web browser and going to:
                              
                                 http://10.10.1.40/fog/management
                              
                               * Press [Enter] key when database is updated/installed.
                              

                              Also When I click on the FOG Configuration button (the little wrench) in FOG management, I get this:

                              0_1464904348468_upload-62ff06f2-563e-4f42-8c9d-7c5526f63d23

                              I also created a NAS directory (/opt/fog/images/NAS/) for the new storage node.
                              What is going on?
                              Thanks.

                              W 1 Reply Last reply Jun 2, 2016, 10:08 PM Reply Quote 0
                              • W
                                Wayne Workman @ManofValor
                                last edited by Wayne Workman Jun 2, 2016, 4:17 PM Jun 2, 2016, 10:08 PM

                                @ManofValor The interface you’ve set is not correct. On the tera-station, get into CLI and issue ip addr show and read the right interface with that IP. More details on the interface are here: https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_FTP

                                The bad request when going to FOG Configuration is likely a php syntax error in the code base, which I am sure will be fixed soon - but we need the apache errors.

                                In Fedora/CentOS/RHEL they are here: /var/log/httpd/error_log and in debian/ubuntu I think they are here: /var/log/apache2/error_log The error should generate right after trying to access that page. Please copy/paste the relevant errors. They will have timestamps to help. Going to ping @Tom-Elliott about this one.

                                The message from the installer is something added last week, a security measure to further protect the DB. If you do what the instructions say, you won’t see it anymore and the DB will backup automatically when you run the installer from that point onward.

                                And I don’t think it was necessary to make a /opt/fog/images/NAS on the server. Also, I’m wondering about your image path you have set. You can use that above FTP article to test FTP to the NAS and verify that path to be sure it’s correct. Also, if that’s what you’re going with, make sure you have /images/NAS/.mntcheck and /images/NAS/dev/.mntcheck present. You can use the touch command to make these, for example touch /images/NAS/.mntcheck and then the other too.

                                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/

                                M T 3 Replies Last reply Jun 3, 2016, 2:19 PM Reply Quote 0
                                • M
                                  ManofValor @Wayne Workman
                                  last edited by Jun 3, 2016, 2:19 PM

                                  @Wayne-Workman I believe these are the logs you asked for. The second on just repeats itself through today.

                                  [Thu Jun 02 16:29:26.973189 2016] [:error] [pid 6974] [client 10.10.1.40:51570] PHP Strict Standards:  Only variables should be passed by reference in /var/www/html/fog/lib/pages/schemaupdaterpage.class.php on line 46, referer: http://10.10.1.40/fog/management/index.php?node=schema
                                  [Thu Jun 02 18:07:52.049146 2016] [autoindex:error] [pid 6978] [client 10.10.1.21:52158] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
                                  

                                  I will check on those other settings. Thx.

                                  W 1 Reply Last reply Jun 3, 2016, 2:21 PM Reply Quote 0
                                  • W
                                    Wayne Workman @ManofValor
                                    last edited by Jun 3, 2016, 2:21 PM

                                    @ManofValor Also you should try updating again. For issues with FOG, it’s very very likely that Tom fixed it literally a minute after you posted. Updates are pushed all day long, most days.

                                    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/

                                    M 1 Reply Last reply Jun 3, 2016, 3:42 PM Reply Quote 0
                                    • T
                                      Tom Elliott @Wayne Workman
                                      last edited by Jun 3, 2016, 2:37 PM

                                      @Wayne-Workman what error in the code base?

                                      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

                                      W 1 Reply Last reply Jun 3, 2016, 2:38 PM Reply Quote 0
                                      • W
                                        Wayne Workman @Tom Elliott
                                        last edited by Jun 3, 2016, 2:38 PM

                                        @Tom-Elliott FOG Configuration page in whatever version ManofValor is running throws a “Not Found” error.

                                        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/

                                        T 1 Reply Last reply Jun 3, 2016, 2:45 PM Reply Quote 0
                                        • T
                                          Tom Elliott @Wayne Workman
                                          last edited by Jun 3, 2016, 2:45 PM

                                          @Wayne-Workman It’s not anything FOG is doing.

                                          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 0
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 5
                                          • 6
                                          • 3 / 6
                                          3 / 6
                                          • First post
                                            47/118
                                            Last post

                                          216

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project