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

    Does FOG work with iSCSI?

    Scheduled Pinned Locked Moved Solved
    General
    7
    118
    80.1k
    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.
    • Wayne WorkmanW
      Wayne Workman @george1421
      last edited by

      OR - set it up as a storage node. NFS and FTP, that’s all you need. No mounting or anything like that.

      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 2
      • ManofValorM
        ManofValor @Wayne Workman
        last edited by

        @Wayne-Workman How do I make it the primary node? Is that something I can just set up in the FOG management console?
        0_1460658754388_10.10.1.40_2016-04-14_13-32-28.png
        Is this the process?
        https://wiki.fogproject.org/wiki/index.php/Managing_FOG#Adding_a_Storage_Node
        Under “Adding a Storage Node”?

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

          @ManofValor Yes and Yes.

          On the terastation, you need a directory called /images and another folder in there called /dev

          in both of these, you need files named .mntcheck

          you need the whole /images directory shared out with 777 permissions

          you need to create a fog user that has ftp rights over the entire /images directory as well, the password for the fog user should be the username/password set in the storage node area.

          and that’s all there is too it. With any luck, it’ll work on the first try.

          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 How do I do the install again and not the update. When I run ./installfog.sh it just updates.

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

              @ManofValor I believe the argument would be run with:

              ./installfog.sh --no-upgrade or
              ./installfog.sh -U

              It may not work properly with your local fog user though (it will reset the password in the process).

              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 But this what need to do add/change the storage node to my NAS, right?

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

                  @ManofValor What do you mean?

                  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 I’m trying to make my Buffalo Terastation my primary storage for my images. I’ve never dealt with NAS/NFS and of course I’m new to FOG, so I’m trying to figure out how to connect my NAS. A couple posts up I asked Wayne if that was how I do this and in the video it took me through the install of FOG again, though I think in the vid it was a fresh install. I hope I’m making sense.

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

                      @ManofValor The only thing you would need to do is edit the /opt/fog/.fogsettings file. Look for the storageLocation= variable in the file. Make whatever change is needed.

                      You would also need to update the node in the GUI to look at the same place as storageLocation and edit the /etc/exports file. After that, just reboot the server and all should be well.

                      It seems you’re overthinking things.

                      While following the info in the video is not a bad idea, understand that in IT you don’t have to everything exactly like shown. What they’re showing in most of those situations is how to start from “nothing” to get to “something”.

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

                        @ManofValor Mind you, you would not need to rerun the installer in “no-update” mode either.

                        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
                        • ManofValorM
                          ManofValor @Tom Elliott
                          last edited by ManofValor

                          @Tom-Elliott Thanks Tom. I know over think things a lot, I hate that. I also assume things a lot and that has gotten me in trouble so I’m kinda paranoid to make sure I get it right, since I’ve never done it, so thank you for being patient with me. So to make sure I understand things correctly, I change “storageLocation=‘/images’” to what, the IP of the NAS? Then I go into the fog management console and change the current storage node settings or add one?

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

                            @ManofValor Well your images need to be available either on one or the other. You can create a Storage Node out of the NAS you have by ensuring there is a user and password and that is defined in the storage node definition created to handle it. You mounting it to your FOG server would not work because it would require you mounting either iSCSI (which you’ve already learned is not a very simple thing and I doubt iSCSI targets and query strings are setup for a simple things such as a nas), or some other FS managing tool other than CIFS (Windows Share/Samba) or NFS (What FOG typically uses).

                            By making the NAS a “node” you will lose such things as the ability to replicate to other nodes and multicast tasks. I don’t know of a good way around that for you unless you’re able to do a TON of research in installing the FOG system on the NAS directly.

                            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 ManofValor

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

                              By making the NAS a “node” you will lose such things as the ability to replicate to other nodes…

                              Meaning like a secondary backup?

                              … and multicast tasks.

                              You mean deploying/Imaging multiple clients?

                              What would you suggest in my situation, whether it’s the easiest or not, to get connected to my NAS? What would you do?

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

                                Ok, so change of plans. I do need help with setting up with iSCSI. I knew my NAS was iSCSI capable, but I just found out it is only iSCSI. Yeah, more learning!

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

                                  @ManofValor I managed a Tera station at my last job. They certainly support more than just iSCSI.

                                  I’d suggest don’t worry about multicast. Unicast in fog trunk is stupid fast already.

                                  Figure out how to make an NFS share on it, and also share the same directory with FTP. Set a user/pass for ftp. Those are the credentials you plug into fog storage management.

                                  All these things have been said here and other places before. You gotta sit down and dig in, and read instead of skimming - and experiment. You’ll fail many times before it works and that’s just fine. It’s called learning.

                                  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 said in Does FOG work with iSCSI?:

                                    @ManofValor I managed a Tera station at my last job. They certainly support more than just iSCSI.

                                    Actually, I called Buffalo tech and they said that particular NAS is iSCSI only.

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

                                      @ManofValor Ok then, progress. We have to use iSCSI then. Calling them was good - that’s part of digging into this.

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

                                        http://www.buffalotech.com/support-and-downloads/faqs/creating-an-iscsi-target-on-a-buffalo-terastation

                                        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
                                        • ManofValorM
                                          ManofValor
                                          last edited by

                                          So now I have iSCSI enabled and connected to FOG/NAS device and should all be ready to go. I ran another image to see if it is working. Do ya’ll know if there’s something else I need to do to push it through or is it supposed to start backing up automatically? I haven’t seen anywhere yet that I need to but maybe ya’ll know something I don’t.

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

                                            I don’t know if I follow?

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

                                            175

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project