Navigation

    FOG Project

    • Register
    • Login
    • Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. SKasai
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    SKasai

    @SKasai

    4
    Reputation
    41
    Posts
    1056
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    SKasai Follow

    Posts made by SKasai

    • RE: Possible bug with CentOS 7, MariaDB and FOG services.

      Ok… Then basically for now, just have a hack shellscript to do…

      #!/bin/sh
      /usr/bin/systemctl restart FOGImageReplicator.service
      /usr/bin/systemctl restart FOGMulticastManager.service
      /usr/bin/systemctl restart FOGScheduler.service
      /usr/bin/systemctl restart FOGSnapinReplicator.service

      Got it. :) (Yes, I know it can be manually started, but easier just to do this for ‘deadhead’ purposes).

      posted in Bug Reports
      SKasai
    • Possible bug with CentOS 7, MariaDB and FOG services.

      May have found a possible bug with CentOS 7, with MariaDB and FOG build 4375…

      Rebooting CentOS 7, checking Systemctl, seeing the following:

      FOGImageReplicator.service loaded inactive dead FOGImageReplicator
      FOGMulticastManager.service loaded inactive dead FOGMulticastManager
      FOGScheduler.service loaded inactive dead FOGScheduler
      FOGSnapinReplicator.service loaded inactive dead FOGSnapinReplicator

      Doing a systemctl status on one of the services…

      FOGScheduler.service - FOGScheduler
      Loaded: loaded (/usr/lib/systemd/system/FOGScheduler.service; enabled)
      Active: inactive (dead) since Wed 2015-08-12 13:09:50 PDT; 3min 32s ago
      Process: 878 ExecStart=/opt/fog/service/FOGTaskScheduler/FOGTaskScheduler & (code=exited, status=0/SUCCESS)
      Main PID: 878 (code=exited, status=0/SUCCESS)
      CGroup: /system.slice/FOGScheduler.service

      Aug 12 13:09:43 control systemd[1]: Started FOGScheduler.
      Aug 12 13:09:50 control FOGTaskScheduler[878]: PHP Warning: mysqli::mysqli(): (HY000/2002): Connection refused in /var/www/html/fog/lib/db/MySQL.class.php on line 37
      Aug 12 13:09:50 control FOGTaskScheduler[878]: PHP Warning: mysqli::mysqli(): (HY000/2002): Connection refused in /var/www/html/fog/lib/db/MySQL.class.php on line 39
      Aug 12 13:09:50 control FOGTaskScheduler[878]: PHP Warning: mysqli::query(): Couldn’t fetch mysqli in /var/www/html/fog/lib/db/MySQL.class.php on line 63

      However, when you try and restart it, works fine. So this could be a timing issue with MariaDB and/or CentOS 7…

      posted in Bug Reports
      SKasai
    • RE: FOG 1.2.0 Multicast creates multiple single udpcast sessions

      So worked with Tom and being on Trunk 3475 and up, the multicast task creation issue has been resolved. Testing the new trunk version has been fairly consistent in creating single multicast tasks versus multiple multicast tasks with single clients.

      posted in FOG Problems
      SKasai
    • RE: iPXE Boot Menu issue with SVN 4375

      One more thing to clarify as well… I have also tried replacing the ${boot-url} with the ip of the fog server, thinking maybe that had something to do with it, but not the case here… I also checked to see that service/ipxe/grub.exe does exist (Which it should, since I think this is also the same format used by the default bootatexit within the BootMenu.class.php file as well.

      posted in FOG Problems
      SKasai
    • iPXE Boot Menu issue with SVN 4375

      So trying SVN Build 4375 and ran into a small problem with the iPXE boot Menu option where we have a lab of computers with 2 hard drives. hd0 which has Linux and hd1 with Windows.

      I have one machine set to go to our SVN4375 fog machine to make the boot menu a little more ‘cleaner’ with Tom’s help, however, seeing the following reaction:

      If left alone, Boot from Hard Disk Option works to boot hd0.
      Trying to use the defined fog.local.linux or fog.local.windows with the defined parameter:

      chain -ar http://${boot-url}/service/ipxe/grub.exe --config-file=“rootnoverify (hd1);chainloader +1” || goto MENU

      This loops back to the menu under the state the menu options are (Tom gave me a script to define a ‘use this as default’ for time jobs).

      Manually selecting the alternate menu items yields the same problem, so it never really goes to ‘boot’ the option we would like. The Boot Menu has the exit type set to ‘grub style’. I have also tried doing ‘exit style’ and ‘sanboot style’ as well and still running into the same problem with the custom boot drive menu options…

      The only real difference between linux and windows on the quoted parameter is hd0 for linux and hd1 for windows.

      Is there something else I am missing somewhere?

      posted in FOG Problems
      SKasai
    • RE: FOG 1.2.0 Multicast creates multiple single udpcast sessions

      @Wayne-Workman Tom just chatted with me on a side channel and I will be working on another machine with the new rev with some implementations. The reason I was hesitant also is that by going to the new rev what changes will need to be ‘hacked’ again. So Tom showed me some of the new rev’s stuff, part of which includes the boot menu which our way of doing it will have to stop and be redone but Tom gave me some pointers and a script for what our situation is and once I have it working correctly, I will post more on it.

      To address some of your questions, my main focus was on the fact our server was creating single client multicast jobs for each node versus 1 multicast job for x clients. We did a few things and it didn’t resolve the issue on that part.

      He states it may be related to the 1.2.0’s hosts.class.php having a bug and should be fixed in the latest trunk build, which I will have to do a test build on another machine first. So the problem is less about connecting to the same switch and what not but seeing the problem being at the server to begin with first. The hardware/vlan issue I can beat on my networking guy over later with for the connectivity because that will then be our ACL/routing issues which I can tackle at another time.

      As for getting back to this 5 months later, partly this is due to being mostly busy and our next reimage of the lab will be in a month or two away and things have finally slowed down to look at this again.

      posted in FOG Problems
      SKasai
    • RE: FOG 1.2.0 Multicast creates multiple single udpcast sessions

      @Tom-Elliott Yup, realized the mistake and posted a follow up… Unfortunately, yielded the same results. See follow up message.

      I am stumped as to what is passing over to the Fogmulticastmanager to do it this way.

      posted in FOG Problems
      SKasai
    • RE: FOG 1.2.0 Multicast creates multiple single udpcast sessions

      My apologies… Apparently, I missed the fact I need to do this in the mysql db… The results were:

      mysql> truncate table multicastSessions; truncate table multicastSessionsAssoc;
      Query OK, 0 rows affected (0.04 sec)

      Query OK, 0 rows affected (0.00 sec)

      mysql> exit

      However, testing it, it shows the following:

      [08-05-15 11:21:18 am] * Starting FOG Multicast Manager Service
      [08-05-15 11:21:23 am] * Checking for new tasks every 10 seconds.
      [08-05-15 11:21:23 am] * Starting service loop.
      [08-05-15 11:21:23 am] * No tasks found!
      [08-05-15 11:21:33 am] * No tasks found!
      [08-05-15 11:21:43 am] * No tasks found!
      [08-05-15 11:21:53 am] * No tasks found!
      [08-05-15 11:22:03 am] * No tasks found!
      [08-05-15 11:22:13 am] * No tasks found!
      [08-05-15 11:22:23 am] | Task (1) machine21-22 is new!
      [08-05-15 11:22:23 am] | Task (1) /images/image06162015 image file found.
      [08-05-15 11:22:23 am] | Task (1) 1 client(s) found.
      [08-05-15 11:22:23 am] | Task (1) machine21-22 sending on base port: 64180
      [08-05-15 11:22:23 am] CMD: cat /images/image06162015/d1p1.img|/usr/local/sbin/udp-sender --min-receivers 1 --portbase 64180 --interface bond0 --mcast-data-address 239.x.x.x --full-duplex --ttl 32 --nokbd;
      [08-05-15 11:22:23 am] | Task (1) machine21-22 has started.
      [08-05-15 11:22:34 am] | Task (1) machine21-22 is already running PID 18543
      [08-05-15 11:22:34 am] | Task (2) machine21-22 is new!
      [08-05-15 11:22:34 am] | Task (2) /images/image06162015 image file found.
      [08-05-15 11:22:34 am] | Task (2) 1 client(s) found.
      [08-05-15 11:22:34 am] | Task (2) machine21-22 sending on base port: 54332
      [08-05-15 11:22:34 am] CMD: cat /images/image06162015/d1p1.img|/usr/local/sbin/udp-sender --min-receivers 1 --portbase 54332 --interface bond0 --mcast-data-address 239.x.x.x --full-duplex --ttl 32 --nokbd;
      [08-05-15 11:22:34 am] | Task (2) machine21-22 has started.
      [08-05-15 11:22:44 am] | Task (1) machine21-22 is already running PID 18543
      [08-05-15 11:22:44 am] | Task (2) machine21-22 is already running PID 18563
      [08-05-15 11:22:54 am] | Task (1) machine21-22 is already running PID 18543
      [08-05-15 11:22:54 am] | Task (2) machine21-22 is already running PID 18563

      posted in FOG Problems
      SKasai
    • RE: FOG 1.2.0 Multicast creates multiple single udpcast sessions

      @Tom-Elliott Thanks for the reply, Tom.

      I did try the truncate command as you suggested, but got the following:

      truncate table multicastSessions;truncate table multicastSessionsAssoc
      truncate: you must specify one of ‘–size’ or ‘–reference’
      Try ‘truncate --help’ for more information.
      truncate: you must specify one of ‘–size’ or ‘–reference’
      Try ‘truncate --help’ for more information.

      FYI this is on a Centos 6.6 Machine

      I can also send you what we did with those particular files and specify why given our situation in a private chat.

      posted in FOG Problems
      SKasai
    • RE: FOG 1.2.0 Multicast creates multiple single udpcast sessions

      @Tom-Elliott

      @Tom-Elliott said:

      You may be willing to try SVN/Trunk/GIT or whatever you want to call it of FOG. Development is what I try to call it, but I do refer often to trunk or svn as well.

      It shouldn’t have the problems you’re seeing, and should work fairly well. I’m aware of a quirk or two but it seems to work fine.

      Please give it a shot.

      There’s also alot of added functionality.

      At the moment, this is a production system and somewhat hesitant to go with development code as we also are using this to do a ‘flip-flop’ method with the modified BootMenu… Here is the listing of files that were modded not counting the ones I am trying to tweak…

      -rw-r–r-- 1 apache apache 3523 Dec 30 2014 Config.class.php
      -rwxr-xr-x 1 root root 27801 Dec 30 2014 BootMenu.class.php.linux
      -rwxr-xr-x 1 root root 27801 Dec 30 2014 BootMenu.class.php.windows
      -rw-r–r-- 1 root root 8238 Mar 20 15:10 MulticastTask.class.php.work
      -rw-r–r-- 1 apache apache 8238 Aug 4 13:25 MulticastTask.class.php
      -rwxr-xr-x 1 root root 27801 Aug 5 08:45 BootMenu.class.php

      The bootmenu.class.php is copied from the bootMenu.class.php.linux or .windows depending on when we are doing our ‘flipflop’… The only other thing I can see in Config.class.php is it looks like it has settings defined for our server… With the exception of seeing eth0 instead of bond0, as we did tweak the server to use a bonded network connection for the Multicast… And we did specify this on the GUI side.

      posted in FOG Problems
      SKasai
    • 1
    • 2
    • 3
    • 4
    • 5
    • 3 / 5