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

    Multiple images for one host

    Scheduled Pinned Locked Moved
    General
    5
    21
    8.2k
    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 @ITSolutions
      last edited by Wayne Workman

      @ITSolutions I managed a classroom like this in College, we had removable HDD bays. Students got assigned HDDs for the semester, they stayed in the labs with their name on it. Removable bays are quite cheap.

      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/

      I 1 Reply Last reply Reply Quote 0
      • I
        ITSolutions Testers @Wayne Workman
        last edited by

        @Wayne-Workman Yeah, I had classes like that too. But it all depends on what is needed. I can see merits to both ways of doing it. With some of the labs today though I have been seeing the micro desktops, so removable trays may not be an option any longer. Plus you have a higher risk of HDD failure with the removable trays, due tot he moving of them.

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

          @ITSolutions You could also just use external USB hdds, boot to those. You could run an installation of linux from a 8GB flash drive.

          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/

          I 1 Reply Last reply Reply Quote 0
          • I
            ITSolutions Testers @Wayne Workman
            last edited by

            @Wayne-Workman True, I get that. I am just hopefully clarifying what the OP seems to be asking for. Like I said I can see merits in both ways of doing things.

            george1421G 1 Reply Last reply Reply Quote 0
            • george1421G
              george1421 Moderator @ITSolutions
              last edited by george1421

              @ITSolutions Just pondering this a bit (using your workflow concept), I think the reimage on schedule could be done on the sql database side since FOG doesn’t support this out of the box.

              based on a cron job a sql stored procedure could be called to find all hosts in group X. Once a know list of devices have been created then we can reassign all host to image A in sql. Then the stored procedure would create a deployment task for each computer in that group. In theory you would have one procedure that takes 1 variable to do image A or B. Cron could be scheduled to run this procedure multiple times per day if needed.

              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!

              1 Reply Last reply Reply Quote 0
              • R
                robin
                last edited by

                @Tom-Elliott Sorry, I am using FOG 1.2 on a Debian 8

                @ITSolutions That is my problem, I need differents OS / Softwares / Configuration on the same computer but at different times for training purposes, let’s say 1 week students will worked on Windows 7 on a specific software with a clean database. Then next week Windows XP on another software, etc… So when student comes, the teacher will “just” have to launch the deployement task.

                @george1421 I need to have the people that will teach classes able to launch the deployement task themself, they need to be as much as possible autonomous when then want to do their classes. They are not IT people, so I have to configure everything beforehand. They will be the ones that choose which images they need.
                Then It would be possible but from the database side… Would it be easy to do this ? Then the Cron will do everything depending of variables that will determine which images deploy. Interesting.

                @Wayne-Workman The thing is I have NO budget, even for HDD, that’s why I want to switch from Acronis to a free solution. Plus, for each training the computers needs to be clean of every configuration made by students during the previous class (so, re-imaging…)

                george1421G Wayne WorkmanW 2 Replies Last reply Reply Quote 0
                • george1421G
                  george1421 Moderator @robin
                  last edited by

                  @robin said in Multiple images for one host:

                  @george1421 I need to have the people that will teach classes able to launch the deployement task themself, they need to be as much as possible autonomous when then want to do their classes. They are not IT people, so I have to configure everything beforehand. They will be the ones that choose which images they need.
                  Then It would be possible but from the database side… Would it be easy to do this ? Then the Cron will do everything depending of variables that will determine which images deploy. Interesting.

                  So we are not talking about an hourly change, that is good. If the teachers want to visit each machine, they can always select quick image from the iPXE menu. In quick image it gives the user an option to select whatever image they want to deploy to the target computer. This can be the same image that is defined by default or a different one. Then you can leave the default defined image as what ever you want for your base image. The teachers can go into the console and reset all systems in group X back to their default image.

                  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!

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

                    @george1421 the image selection on quick image is only in trunk/rc fog not 1.2.0.

                    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
                    • Wayne WorkmanW
                      Wayne Workman @robin
                      last edited by

                      @robin You could setup DeepFreeze or SmartShield, and just dual-boot whatever OSs you need. That’s another option.

                      A cron script could do what you want, easily.

                      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/

                      george1421G 1 Reply Last reply Reply Quote 0
                      • george1421G
                        george1421 Moderator @Wayne Workman
                        last edited by

                        @Wayne-Workman OR, some carefully crafted php pages to call the mysql stored procedure. These pages would be hosted in just some other apache path than /fog.

                        But using quick image in 1.3.0-rc1 would be a consistent solution and not have to build something special. If quick image is not usable in this situation then someone with php skills could create a simple page to call this yet non-existent mysql stored procedure.

                        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!

                        1 Reply Last reply Reply Quote 0
                        • R
                          robin
                          last edited by

                          @george1421 I’ll try with the Quick Image first and if it does not work I’ll look with this methode more deeply.

                          @Wayne-Workman I keep these solutions in mind if Quick Image is not for me.

                          @Tom-Elliott Ok, I will upgrade the server to try this.

                          Thank you all for you replies ! 🙂

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

                          199

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project