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

    Does FOG work with iSCSI?

    Scheduled Pinned Locked Moved Solved
    General
    7
    118
    86.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.
    • ManofValorM
      ManofValor @Tom Elliott
      last edited by

      @Tom-Elliott It’s off the main server. More than likely I did something. I’ve been learning how to connect my NAS to my fog server and yesterday I setup a new storage node for the NAS. So somewhere in there I’m sure I screwed something up. If I did it I don’t know what.
      SELinux is disabled and the firewall:

      [root@localhost httpd]# service iptables status
      Redirecting to /bin/systemctl status  iptables.service
      ● iptables.service
         Loaded: not-found (Reason: No such file or directory)
         Active: inactive (dead)
      
      Tom ElliottT 1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott @ManofValor
        last edited by

        @ManofValor assuming this is centos 7, the commands we need would be:

        sestatus
        systemctl status -l firewalld

        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

        ManofValorM 1 Reply Last reply Reply Quote 0
        • ManofValorM
          ManofValor @Tom Elliott
          last edited by

          @Tom-Elliott

          [root@localhost httpd]# systemctl status -l firewall
          ● firewall.service
             Loaded: not-found (Reason: No such file or directory)
             Active: inactive (dead)
          
          Tom ElliottT 1 Reply Last reply Reply Quote 0
          • Tom ElliottT
            Tom Elliott @ManofValor
            last edited by

            @ManofValor you didn’t do the commands as I typed them.

            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

            ManofValorM 1 Reply Last reply Reply Quote 1
            • ManofValorM
              ManofValor @Tom Elliott
              last edited by

              @Tom-Elliott ops, sorry bout that.

              [root@localhost httpd]# systemctl status -l firewalld
              ● firewalld.service - firewalld - dynamic firewall daemon
                 Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled)
                 Active: active (running) since Thu 2016-06-02 16:22:09 CDT; 19h ago
               Main PID: 751 (firewalld)
                 CGroup: /system.slice/firewalld.service
                         └─751 /usr/bin/python -Es /usr/sbin/firewalld --nofork --nopid
              
              Jun 02 16:22:08 localhost.localdomain systemd[1]: Starting firewalld - dynamic firewall daemon...
              Jun 02 16:22:09 localhost.localdomain systemd[1]: Started firewalld - dynamic firewall daemon.
              
              Tom ElliottT 1 Reply Last reply Reply Quote 0
              • Tom ElliottT
                Tom Elliott @ManofValor
                last edited by

                @ManofValor Well look at that. firewalld is still running. Also, what’s output of sestatus

                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
                • Tom ElliottT
                  Tom Elliott
                  last edited by

                  To stop firewalld and see if things are any better:

                  systemctl stop firewalld

                  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

                  ManofValorM 2 Replies Last reply Reply Quote 0
                  • ManofValorM
                    ManofValor @Tom Elliott
                    last edited by ManofValor

                    @Tom-Elliott

                    SELinux status:                 disabled
                    
                    1 Reply Last reply Reply Quote 0
                    • ManofValorM
                      ManofValor @Tom Elliott
                      last edited by

                      @Tom-Elliott said in Does FOG work with iSCSI?:

                      systemctl stop firewalld

                      Done. I wonder why that started?

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

                        @ManofValor Well, I don’t know.

                        It’s on be default with CentOS 7 install though.

                        To keep it from starting on reboot’s you can do: systemctl disable firewalld

                        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

                        ManofValorM 1 Reply Last reply Reply Quote 0
                        • ManofValorM
                          ManofValor @Tom Elliott
                          last edited by

                          @Tom-Elliott Cool.

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

                            @ManofValor Does this mean things are working?

                            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

                            ManofValorM 1 Reply Last reply Reply Quote 0
                            • ManofValorM
                              ManofValor @Tom Elliott
                              last edited by

                              @Tom-Elliott Sorry, no I got busy. I updated and am still getting the same error.

                              [Fri Jun 03 13:18:02.945120 2016] [mpm_prefork:notice] [pid 26225] AH00170: caught SIGWINCH, shutting down gracefully
                              [Fri Jun 03 13:19:34.014463 2016] [suexec:notice] [pid 1471] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
                              [Fri Jun 03 13:19:34.188721 2016] [ssl:warn] [pid 1471] AH02292: Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
                              AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain. Set the 'ServerName' directive globally to suppress this message
                              [Fri Jun 03 13:19:34.225594 2016] [auth_digest:notice] [pid 1471] AH01757: generating secret for digest authentication ...
                              [Fri Jun 03 13:19:34.226353 2016] [lbmethod_heartbeat:notice] [pid 1471] AH02282: No slotmem from mod_heartmonitor
                              [Fri Jun 03 13:19:34.227682 2016] [ssl:warn] [pid 1471] AH02292: Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
                              [Fri Jun 03 13:19:34.487960 2016] [mpm_prefork:notice] [pid 1471] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips PHP/5.6.22 configured -- resuming normal operations
                              [Fri Jun 03 13:19:34.487991 2016] [core:notice] [pid 1471] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
                              [Fri Jun 03 13:23:28.971718 2016] [mpm_prefork:notice] [pid 1471] AH00170: caught SIGWINCH, shutting down gracefully
                              [Fri Jun 03 13:24:15.348962 2016] [suexec:notice] [pid 6631] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
                              [Fri Jun 03 13:24:15.351264 2016] [ssl:warn] [pid 6631] AH02292: Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
                              AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain. Set the 'ServerName' directive globally to suppress this message
                              [Fri Jun 03 13:24:15.393201 2016] [auth_digest:notice] [pid 6631] AH01757: generating secret for digest authentication ...
                              [Fri Jun 03 13:24:15.394852 2016] [lbmethod_heartbeat:notice] [pid 6631] AH02282: No slotmem from mod_heartmonitor
                              [Fri Jun 03 13:24:15.396369 2016] [ssl:warn] [pid 6631] AH02292: Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
                              [Fri Jun 03 13:24:15.421332 2016] [mpm_prefork:notice] [pid 6631] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips PHP/5.6.22 configured -- resuming normal operations
                              [Fri Jun 03 13:24:15.421366 2016] [core:notice] [pid 6631] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
                              [Fri Jun 03 14:07:31.884310 2016] [autoindex:error] [pid 7430] [client 10.10.1.21:51157] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
                              [Fri Jun 03 14:07:32.009813 2016] [autoindex:error] [pid 6687] [client 10.10.1.21:51162] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
                              [Fri Jun 03 16:08:23.958816 2016] [autoindex:error] [pid 6689] [client 10.10.1.21:1278] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
                              [Fri Jun 03 16:08:24.258954 2016] [autoindex:error] [pid 7496] [client 10.10.1.21:1279] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
                              

                              Last three hours.

                              1 Reply Last reply Reply Quote 0
                              • ManofValorM
                                ManofValor @Wayne Workman
                                last edited by

                                @Wayne-Workman said in Does FOG work with iSCSI?:

                                @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

                                So, there is no way that I can find, including talking with Buffalo Tech, to access the CLI. They said there might be something on the web on how to enable SSH but can’t find anything on that either.

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

                                  @ManofValor The interface name isn’t so important I guess. You could guess at it by just putting in eth0 which is a typical default name, but it could very well be something else. I did some Googling and couldn’t find any CLI stuff for the Terastation either. Best to not spend a lot of time on it I guess.

                                  The important thing is to ensure the FTP credentials you have set in Storage Management for the storage node are correct, by trying them manually AND transferring a file to the terastation. That’ll be the proving point. There are examples of this in the wiki, in the “Troubleshoot FTP” article.

                                  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/

                                  ManofValorM 1 Reply Last reply Reply Quote 0
                                  • ManofValorM
                                    ManofValor @Wayne Workman
                                    last edited by

                                    @Wayne-Workman Ok, thanks. Let you know how it goes.

                                    ManofValorM 1 Reply Last reply Reply Quote 0
                                    • ManofValorM
                                      ManofValor @ManofValor
                                      last edited by ManofValor

                                      @ManofValor I get the feeling that this particular NAS is not going to work. I can’t get into CLI and, I’m probably doing something wrong but, I can’t get FTP to work on the NAS side,it works on the windows and CentOS side. The firewall is disabled and vsftpd is enabled and active. Can you think of anything? I’m beginning to think that this NAS was not made for this. Any thoughts?

                                      P.S. Still getting the error when trying to go to FOG Configuration.

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

                                        @ManofValor If the NAS supports FTP and NFS, of course it can work. Those are the only two requirements for a storage node.

                                        Have you created a user account for FTP access? Have you set a password for it? Have you given that account access to a directory? Have you shared that directory via NFS?

                                        What do you mean FTP works on the windows and CentOS side? You should be testing FTP access to 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/

                                        ManofValorM 1 Reply Last reply Reply Quote 0
                                        • ManofValorM
                                          ManofValor @Wayne Workman
                                          last edited by

                                          @Wayne-Workman I was talking with Buffalo tech and it does not support FTP and NFS. It is iSCSI only. I mentioned it before but I wasn’t thinking when we started talking FTP. This is why I’ve been trying to connect it iSCSI. I’ve got it connected I just figure out if I’ve got it right seeing that I can’t access CLI or, like most storage devices, even see what’s on the drives. Thoughts?

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

                                            @ManofValor iSCSI means creating a target and establishing a mount using that target. I forget the terms please forgive me.

                                            YOu will be using the FOG system to do the work, you just need to fstab the iscsi mount point on boot.

                                            My guess, currently /images is not using anything correct?
                                            https://help.ubuntu.com/lts/serverguide/iscsi-initiator.html
                                            http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html

                                            A couple links to hopefully help you along the way.

                                            The interesting thing here is all this effort toward something you (or anybody really) are even sure will work. With all this time you have been using to try to get something working (and not succeeding) when this could’ve just been all done a LONG timeago by setting up a proper drive or giving the OS more space to begin 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

                                            Wayne WorkmanW ManofValorM 2 Replies Last reply Reply Quote 1
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 6 / 6
                                            • First post
                                              Last post

                                            153

                                            Online

                                            12.1k

                                            Users

                                            17.3k

                                            Topics

                                            155.4k

                                            Posts
                                            Copyright © 2012-2024 FOG Project