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

Multiple images for one host

Scheduled Pinned Locked Moved
General
5
21
8.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.
  • T
    Tom Elliott @robin
    last edited by Jul 19, 2016, 3:33 PM

    @robin What version of are you running?

    See We need basic information as I’m just guessing on the thread.

    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
    • G
      george1421 Moderator @robin
      last edited by Jul 19, 2016, 3:50 PM

      @robin said in Multiple images for one host:

      @george1421
      Task 1 --> Deploy image 1 to host 1
      Task 2 --> Deploy image 2 to host 1

      OK this is a start. My question is how do we know / when to execute task 1 or task 2 or deploy image 1 vs image 2? What determines when a task should be executed. I want to understand the process to see if FOG has the resources to go about doing what you need. Its not clear what you need just yet in my mind.

      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!

      I 1 Reply Last reply Jul 19, 2016, 4:54 PM Reply Quote 1
      • W
        Wayne Workman @robin
        last edited by Jul 19, 2016, 4:51 PM

        @robin said in Multiple images for one host:

        Task 1 --> Deploy image 1 to host 1
        Task 2 --> Deploy image 2 to host 1

        If you’re going to image it twice with two different images, why not just do ONE imaging task with image 2? I don’t understand at all.

        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
        • I
          ITSolutions Testers @george1421
          last edited by Jul 19, 2016, 4:54 PM

          @george1421 @robin correct me if I am wrong, but I have heard of a similar situation. It was a lab in a school that taught both Linux and Windows based classes. It was a poor man’s deep freeze/avoiding having students go into an OS that isn’t needed.

          Class A needs Windows, so scheduled task at 7 am is image computer with Windows.
          Class B(same lab) needs Linux, so 11am image lab with Linux.

          This results in the lab always ready for the class and has a clean image each time.

          This could be different software packages, versions of Windows, etc. But this is what I think the request as asking for.

          W 1 Reply Last reply Jul 19, 2016, 5:04 PM Reply Quote 2
          • W
            Wayne Workman @ITSolutions
            last edited by Wayne Workman Jul 19, 2016, 11:05 AM Jul 19, 2016, 5:04 PM

            @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 Jul 19, 2016, 5:42 PM Reply Quote 0
            • I
              ITSolutions Testers @Wayne Workman
              last edited by Jul 19, 2016, 5:42 PM

              @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.

              W 1 Reply Last reply Jul 19, 2016, 5:44 PM Reply Quote 0
              • W
                Wayne Workman @ITSolutions
                last edited by Wayne Workman Jul 19, 2016, 11:44 AM Jul 19, 2016, 5:44 PM

                @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 Jul 19, 2016, 5:47 PM Reply Quote 0
                • I
                  ITSolutions Testers @Wayne Workman
                  last edited by Jul 19, 2016, 5:47 PM

                  @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.

                  G 1 Reply Last reply Jul 19, 2016, 5:57 PM Reply Quote 0
                  • G
                    george1421 Moderator @ITSolutions
                    last edited by george1421 Jul 19, 2016, 12:02 PM Jul 19, 2016, 5:57 PM

                    @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 Jul 20, 2016, 7:22 AM

                      @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…)

                      G W 2 Replies Last reply Jul 20, 2016, 12:17 PM Reply Quote 0
                      • G
                        george1421 Moderator @robin
                        last edited by Jul 20, 2016, 12:17 PM

                        @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!

                        T 1 Reply Last reply Jul 20, 2016, 12:21 PM Reply Quote 0
                        • T
                          Tom Elliott @george1421
                          last edited by Jul 20, 2016, 12:21 PM

                          @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
                          • W
                            Wayne Workman @robin
                            last edited by Jul 20, 2016, 12:21 PM

                            @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/

                            G 1 Reply Last reply Jul 20, 2016, 12:47 PM Reply Quote 0
                            • G
                              george1421 Moderator @Wayne Workman
                              last edited by Jul 20, 2016, 12:47 PM

                              @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 Jul 20, 2016, 1:09 PM

                                @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
                                1 / 2
                                • First post
                                  16/21
                                  Last post

                                206

                                Online

                                12.0k

                                Users

                                17.3k

                                Topics

                                155.2k

                                Posts
                                Copyright © 2012-2024 FOG Project