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

    Force reboot from server?

    Scheduled Pinned Locked Moved
    General
    4
    15
    7.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.
    • G
      generallee989
      last edited by

      Sorry, Specs:

      Server:
      Ubuntu 12.04LTS
      Dell XPS with dual NIC

      Hosts:
      Dell OptiPlex 990
      Windows 7 64bit

      1 Reply Last reply Reply Quote 0
      • x23piracyX
        x23piracy
        last edited by

        Hi,

        the machine to image will only reboot if fog service is installed, else the image will only proceed after the next network boot. if the machine is switched of an instant deploy generates a wake up on lan magic paket that will boot the desired machine, on some computers you have to enable wake up on lan and for some notebooks you have to enable wol without AC if not charging.

        Regards X23

        ║▌║█║▌│║▌║▌█

        1 Reply Last reply Reply Quote 0
        • G
          generallee989
          last edited by

          Thanks x23 for the response.

          unfortunately that doesn’t seem to be working. I set the BIOS to wake on magic packet. I have the FOG service installed.

          Does the computer need to be in sleep state or can I be on the Desktop for it to auto reboot and start the imaging?

          1 Reply Last reply Reply Quote 0
          • G
            generallee989
            last edited by

            ok, so after creating the task to upload/download an image on the server, the host pc will not automatically reboot.

            I have let it sit for 12 hours and no luck. Here is the log and what’s its doing.

            7/17/2014 4:00 AM FOG::SnapinClient Attempting to connect to fog server…
            7/17/2014 4:00 AM FOG::SnapinClient Module is active…
            7/17/2014 4:00 AM FOG::SnapinClient No Tasks found for: F8:B1:56:A4:55:A9
            7/17/2014 4:05 AM FOG::SnapinClient Attempting to connect to fog server…
            7/17/2014 4:05 AM FOG::SnapinClient Module is active…
            7/17/2014 4:05 AM FOG::SnapinClient No Tasks found for: F8:B1:56:A4:55:A9
            7/17/2014 4:10 AM FOG::SnapinClient Attempting to connect to fog server…
            7/17/2014 4:10 AM FOG::SnapinClient Module is active…
            7/17/2014 4:10 AM FOG::SnapinClient Will NOT perform any snapin tasks because an image task exists for this host.
            7/17/2014 4:15 AM FOG::SnapinClient Attempting to connect to fog server…
            7/17/2014 4:15 AM FOG::SnapinClient Module is active…
            7/17/2014 4:15 AM FOG::SnapinClient Will NOT perform any snapin tasks because an image task exists for this host.
            7/17/2014 4:20 AM FOG::SnapinClient Attempting to connect to fog server…
            7/17/2014 4:20 AM FOG::SnapinClient Module is active…
            7/17/2014 4:20 AM FOG::SnapinClient Will NOT perform any snapin tasks because an image task exists for this host.
            7/17/2014 4:26 AM FOG::SnapinClient Attempting to connect to fog server…
            7/17/2014 4:26 AM FOG::SnapinClient Module is active…
            7/17/2014 4:26 AM FOG::SnapinClient Will NOT perform any snapin tasks because an image task exists for this host.

            How do I get it to reboot and start the image process?

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

              Is TaskReboot enabled on the host?

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

                Is it enabled globally as well?

                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
                  generallee989
                  last edited by

                  think so but not sure how to exactly check.

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

                    To check if it’s globally active, goto:
                    Service Management Page (looks like DJ volume knobs) Click Task Reboot link. Is the checkbox checked?

                    To check if it’s on the host, goto:
                    Host Management Page -> search/list all -> choose the host you are having issues with to edit (click the hostname) -> Service Settings link. Is the Task Reboot service checked there?

                    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
                      generallee989
                      last edited by

                      Its enabled on the “Host Management > Host Name > Service Settings > Service Configuration” tab on the server.

                      It is checked globally also.

                      Is there one on the host I need to find?

                      I have all services check on the host service tab.

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

                        Can you try unsetting the service modules for the host. Save/update, then enable them all and save/update host.

                        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
                          generallee989
                          last edited by

                          Thanks for all this help Tom,

                          I did as you asked with no luck. This is what its saying again when I create an image task after the reboot reset.

                          7/17/2014 11:15 PM FOG::SnapinClient Module is active…
                          7/17/2014 11:15 PM FOG::SnapinClient No Tasks found for: F8:B1:56:A4:55:A9
                          7/17/2014 11:21 PM FOG::SnapinClient Attempting to connect to fog server…
                          7/17/2014 11:21 PM FOG::SnapinClient Module is active…
                          7/17/2014 11:21 PM FOG::SnapinClient No Tasks found for: F8:B1:56:A4:55:A9
                          7/17/2014 11:26 PM FOG::SnapinClient Attempting to connect to fog server…
                          7/17/2014 11:26 PM FOG::SnapinClient Module is active…
                          7/17/2014 11:26 PM FOG::SnapinClient Will NOT perform any snapin tasks because an image task exists for this host.
                          7/17/2014 11:31 PM FOG::SnapinClient Attempting to connect to fog server…
                          7/17/2014 11:31 PM FOG::SnapinClient Module is active…
                          7/17/2014 11:31 PM FOG::SnapinClient Will NOT perform any snapin tasks because an image task exists for this host.
                          7/17/2014 11:36 PM FOG::SnapinClient Attempting to connect to fog server…
                          7/17/2014 11:36 PM FOG::SnapinClient Module is active…
                          7/17/2014 11:36 PM FOG::SnapinClient Will NOT perform any snapin tasks because an image task exists for this host.

                          1 Reply Last reply Reply Quote 0
                          • G
                            generallee989
                            last edited by

                            I was able to get a .bat file to run in the snapin to reboot the PC. (shutdown -r)

                            1 Reply Last reply Reply Quote 0
                            • G
                              generallee989
                              last edited by

                              ok, still no luck.

                              I install a clean/fresh windows 7 OS and then installed Fogservice/prep/crypt

                              All the setting are correct. Disabled ‘task reboot’ globally and for host settings. Enabled ‘task reboot’.

                              Bios is set to WOL/magic packet

                              Thought I read somewhere, do I need to set up a generic user specific for FOG?
                              Does the host PC need to be in sleep state or idle for x number of time?

                              FOG v 1.1.2
                              Ubuntu 12.04

                              1 Reply Last reply Reply Quote 0
                              • V
                                Valmar Kuristik
                                last edited by

                                Having the same problem. Images upload and download nicely, just no luck with getting hosts to reboot with instant image task scheduled. Reboot service is enabled everywhere and client installed. WoL is not working either, even though it’s enabled in bios and Windows drivers.

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

                                230

                                Online

                                12.0k

                                Users

                                17.3k

                                Topics

                                155.2k

                                Posts
                                Copyright © 2012-2024 FOG Project