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

Image hosting on NFS server, process uncompleted?

Scheduled Pinned Locked Moved Solved
FOG Problems
5
45
14.8k
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.
  • W
    Wayne Workman @arnaudrigole
    last edited by May 17, 2016, 2:40 PM

    @arnaudrigole on the FileZilla server thing, at the CLI, go to your images directory and issue the pwd command. What does it say?

    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/

    A 2 Replies Last reply May 17, 2016, 4:19 PM Reply Quote 0
    • G
      george1421 Moderator @arnaudrigole
      last edited by May 17, 2016, 2:43 PM

      @arnaudrigole said:

      @george1421
      The 2008 server is the storage node, which is defined directly with its @ip on a fog storage node/group

      Ok that explains why things are not working!! I started setting up how to do this with Server 2012, but ran out of time. The root of your issue is that you need to install FTP on the Windows storage node to move the files. This guide should get you started: https://forums.fogproject.org/topic/6941/windows-server-as-fog-storage-node-reboot Understand this is for 2012 but 2008 is very similar. I used powershell for the copy and paste reasons.

      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 May 17, 2016, 4:08 PM Reply Quote 2
      • W
        Wayne Workman @george1421
        last edited by Wayne Workman May 17, 2016, 10:09 AM May 17, 2016, 4:08 PM

        @george1421 Yup. You’re exactly correct. It’s also worth noting here that FileZilla is un-necessary. Windows Server has all the necessary components available already.

        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
        • A
          arnaudrigole @Wayne Workman
          last edited by arnaudrigole May 17, 2016, 10:21 AM May 17, 2016, 4:19 PM

          @Wayne-Workman @george1421
          I’m sorry, i don’t understand what you try to say me … 😞
          Wayne, what is the CLI? whats the pwd command on a 2008 server?

          George, i followed this guide to setup the nfs server, but the powershell commands aren’t the same on 2008 and 2012, i adapted it by search on microsoft an equivalent.(i stopped to follow the guide on that step, because i use FILEZILLA SERVER for ftp)

          I don’t understand my problem ; i need to install FTP on my Windows storage node more than filezilla server ?..

          It look very complicated, it works just with filezilla + nfs role , but it just can’t create the directory on /images…

          W 1 Reply Last reply May 17, 2016, 4:22 PM Reply Quote 0
          • W
            Wayne Workman @arnaudrigole
            last edited by May 17, 2016, 4:22 PM

            @arnaudrigole I thought your node was a linux node… You can disreguard. FYI the acronym for CLI is Command Line Interface.

            Also - I’m a purist. I will not install third party anything if the base-OS can do it natively. This solves a lot of maintenance issues, update issues, and reduces complexity overall.

            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
            • A
              arnaudrigole @Wayne Workman
              last edited by May 17, 2016, 4:28 PM

              @Wayne-Workman
              i hope this is why you ask me:
              i just opened a cmd, when type the following cmds:

              c:\windows\system32> ftp 10.1.11.64 <-- windows storage node
              ftp> use fog
              331 password required for fog
              ftp> fogpassword
              230 Logged on
              ftp> cd /informatique/Service_info/FOG/images
              250 CWD successful. “/informatique/Service_info/FOG/images” is current directory
              ftp> pwd
              257 “/informatique/Service_info/FOG/images” is current directory

              W 1 Reply Last reply May 17, 2016, 4:29 PM Reply Quote 0
              • W
                Wayne Workman @arnaudrigole
                last edited by Wayne Workman May 17, 2016, 10:29 AM May 17, 2016, 4:29 PM

                @arnaudrigole said in Image hosting on NFS server, process uncompleted?:

                /informatique/Service_info/FOG/images

                That’s your FTP path.

                FOG Trunk supports independent FTP paths, which you need.

                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/

                A 1 Reply Last reply May 17, 2016, 4:32 PM Reply Quote 1
                • A
                  arnaudrigole @Wayne Workman
                  last edited by May 17, 2016, 4:32 PM

                  @Wayne-Workman
                  OK so … what i’ve to do ?..
                  If i upgrade to trunk, I’ll need to redo all my images, and get pxe boot problems what i’ve already encountered in test environment…

                  1 Reply Last reply Reply Quote 0
                  • J
                    Junkhacker Developer
                    last edited by May 17, 2016, 4:32 PM

                    you won’t lose your images on an upgrade, and what pxe problems did you have? i’m sure we can fix them

                    signature:
                    Junkhacker
                    We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                    A 1 Reply Last reply May 17, 2016, 4:34 PM Reply Quote 1
                    • A
                      arnaudrigole @Junkhacker
                      last edited by May 17, 2016, 4:34 PM

                      @Junkhacker

                      Ok i’ll try to snapshot my fog vm before upgrade, then try to upgrade.

                      Seeing that the early uses it generated more problems than I already was in , I preferred board on version 1.2 . I do not remember exactly , but it was impossible to automatically inventory a machine, it had to be done manually , and after it was impossible to launch any task.

                      A 1 Reply Last reply May 17, 2016, 4:38 PM Reply Quote 1
                      • A
                        arnaudrigole @arnaudrigole
                        last edited by May 17, 2016, 4:38 PM

                        @Junkhacker
                        Is it possible to copy/paste all .img files which are actually on fog local storage, on fog external storage and make em readable for fog webui?
                        Is it a procedure to transfer an image?

                        W 1 Reply Last reply May 17, 2016, 5:34 PM Reply Quote 0
                        • J
                          Junkhacker Developer
                          last edited by May 17, 2016, 4:41 PM

                          i don’t know if there is a procedure, per se, but you can move images to a new storage node. just copy the image (including the directory and all files in it) and update the image profile with the new location

                          signature:
                          Junkhacker
                          We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                          1 Reply Last reply Reply Quote 0
                          • W
                            Wayne Workman @arnaudrigole
                            last edited by Wayne Workman Jun 11, 2016, 12:27 PM May 17, 2016, 5:34 PM

                            @arnaudrigole I have some methods documented.

                            using lftp:
                            lftp -c 'open x.x.x.x; user UserGoesHere PasswordHere; mirror -e /images/TheImagePath /images/TheImagePath; quit'

                            using NFS:
                            mount x.x.x.x:/<remote directory> <local directory>
                            cp -R /mbimages/Optiplex9020UEFI /images/Optiplex9020UEFI
                            umount <local directory>

                            Using Samba:
                            mkdir /tempMount
                            mount -t cifs //x.x.x.x/ShareNameGoesHere /tempMount -o username=YourUsernameGoesHere -o password=YourPasswordGoesHere,noexec
                            cp -r /tempMount/ImageNameHere /images/ImageNameHere
                            umount /tempMount

                            using SCP:
                            scp -r /images/ImageNameHere root@x.x.x.x:/images/ImageNameHere

                            using rsync:
                            rsync -a /images/ImageNameHere root@x.x.x.x:/images/ImageNameHere

                            wiki worthy

                            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/

                            A W 3 Replies Last reply May 17, 2016, 7:32 PM Reply Quote 1
                            • A
                              arnaudrigole @Wayne Workman
                              last edited by May 17, 2016, 7:32 PM

                              @Wayne-Workman @Junkhacker
                              Thank you very much.

                              I let you informed about my issue after upgrading to trunk.

                              Have a good night 😉

                              1 Reply Last reply Reply Quote 0
                              • A
                                arnaudrigole @Wayne Workman
                                last edited by arnaudrigole May 19, 2016, 2:58 AM May 19, 2016, 8:53 AM

                                @Wayne-Workman
                                Hello Wayne,
                                After i’ve transfered all img files on the new location (nfs server), how to index it on fog webgui? (make the image recognized by fog server)

                                1 Reply Last reply Reply Quote 0
                                • S
                                  Sebastian Roth Moderator
                                  last edited by May 19, 2016, 11:33 AM

                                  @arnaudrigole When you put the files in the correct directory FOG will see them. No need to index or anything!

                                  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

                                  A W 2 Replies Last reply May 19, 2016, 12:53 PM Reply Quote 0
                                  • A
                                    arnaudrigole @Sebastian Roth
                                    last edited by May 19, 2016, 12:53 PM

                                    @Sebastian-Roth
                                    Ok i’ll try :). Thank you.

                                    1 Reply Last reply Reply Quote 0
                                    • W
                                      Wayne Workman @Sebastian Roth
                                      last edited by Wayne Workman May 19, 2016, 8:24 AM May 19, 2016, 2:23 PM

                                      @Sebastian-Roth I think he’s talking about the image definitions, in the web gui.

                                      If the image definitions are not already there, and the old server was the same version as the new one, you can try to export the images and import them. Otherwise you must create the definitions manually.

                                      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 May 19, 2016, 2:25 PM

                                        Ohhhh, didn’t read properly. If this is a complete new server (and DB) then you need to create the image definition or import those from a DB dump… sorry for that!

                                        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
                                        • G
                                          george1421 Moderator
                                          last edited by george1421 May 19, 2016, 8:38 AM May 19, 2016, 2:37 PM

                                          Or depending on the source FOG server version, export the Image definitions into a csv file and then import them into the new fog server. The image files are already on the target server, what is missing is the db definitions.

                                          We have to do something similar in our multi-master/storage node setup (unique configuration for our application. But only when we add new images in our 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!

                                          A 1 Reply Last reply May 19, 2016, 3:17 PM Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 2 / 3
                                          2 / 3
                                          • First post
                                            22/45
                                            Last post

                                          148

                                          Online

                                          12.1k

                                          Users

                                          17.3k

                                          Topics

                                          155.3k

                                          Posts
                                          Copyright © 2012-2024 FOG Project