• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Fernando Gietz
    3. Posts
    F
    • Profile
    • Following 0
    • Followers 8
    • Topics 67
    • Posts 554
    • Best 52
    • Controversial 0
    • Groups 1

    Posts made by Fernando Gietz

    • RE: FOG doesn't detect the status of the clients

      Hi again,

      Only for give more information about this in a huge scenario. In our case the FOGPingHosts service give 4 hours and 30 minutes, more or less, to do ping to all clients.

      Capture of the traffic in one client:

      18:10:43.216290 IP fog7.lgp.ehu.es.39006 > u032668.lgp.ehu.es.microsoft-ds: Flags [S], seq 3515736006, win 29200, options [mss 1460,sackOK,TS val 2691861063 ecr 0,nop,wscale 7], length 0
      18:10:44.216894 IP fog7.lgp.ehu.es.39006 > u032668.lgp.ehu.es.microsoft-ds: Flags [S], seq 3515736006, win 29200, options [mss 1460,sackOK,TS val 2691862064 ecr 0,nop,wscale 7], length 0
      22:46:19.552188 IP fog7.lgp.ehu.es.47968 > u032668.lgp.ehu.es.microsoft-ds: Flags [S], seq 14809462, win 29200, options [mss 1460,sackOK,TS val 2708397399 ecr 0,nop,wscale 7], length 0
      22:46:20.552909 IP fog7.lgp.ehu.es.47968 > u032668.lgp.ehu.es.microsoft-ds: Flags [S], seq 14809462, win 29200, options [mss 1460,sackOK,TS val 2708398400 ecr 0,nop,wscale 7], length 0
      03:19:37.718318 IP fog7.lgp.ehu.es.51734 > u032668.lgp.ehu.es.microsoft-ds: Flags [S], seq 3380421067, win 29200, options [mss 1460,sackOK,TS val 2724795565 ecr 0,nop,wscale 7], length 0
      03:19:38.720889 IP fog7.lgp.ehu.es.51734 > u032668.lgp.ehu.es.microsoft-ds: Flags [S], seq 3380421067, win 29200, options [mss 1460,sackOK,TS val 2724796568 ecr 0,nop,wscale 7], length 0
      07:52:47.623417 IP fog7.lgp.ehu.es.57902 > u032668.lgp.ehu.es.microsoft-ds: Flags [S], seq 1502300674, win 29200, options [mss 1460,sackOK,TS val 2741185470 ecr 0,nop,wscale 7], length 0
      07:52:48.624903 IP fog7.lgp.ehu.es.57902 > u032668.lgp.ehu.es.microsoft-ds: Flags [S], seq 1502300674, win 29200, options [mss 1460,sackOK,TS val 2741186472 ecr 0,nop,wscale 7], length 0
      
      posted in FOG Problems
      F
      Fernando Gietz
    • RE: Problem to deploy a only partition image using multicast

      I can confirm that works fine

      posted in Bug Reports
      F
      Fernando Gietz
    • RE: Problem to deploy a only partition image using multicast

      The installer, I am trying now to deploy one partition and seems that works fine 😉

      posted in Bug Reports
      F
      Fernando Gietz
    • RE: FOG doesn't detect the status of the clients

      I think that I will disable it because I have done a tcpdump to see the traffic in the port 445 and the performance is not good. We are very far of 10 hosts per second. 1 hosts per second 😞

      # tcpdump port 445 -i ens192
      tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
      listening on ens192, link-type EN10MB (Ethernet), capture size 262144 bytes
      13:21:53.447925 IP fog7.lgp.ehu.es.40826 > u030011.xa.bn.ehu.es.microsoft-ds: Flags [S], seq 2649384977, win 29200, options [mss 1460,sackOK,TS val 2588131295 ecr 0,nop,wscale 7], length 0
      13:21:54.448890 IP fog7.lgp.ehu.es.40826 > u030011.xa.bn.ehu.es.microsoft-ds: Flags [S], seq 2649384977, win 29200, options [mss 1460,sackOK,TS val 2588132296 ecr 0,nop,wscale 7], length 0
      13:21:55.591994 IP fog7.lgp.ehu.es.48832 > u030012.xa.bn.ehu.es.microsoft-ds: Flags [S], seq 3272040579, win 29200, options [mss 1460,sackOK,TS val 2588133438 ecr 0,nop,wscale 7], length 0
      13:21:56.592905 IP fog7.lgp.ehu.es.48832 > u030012.xa.bn.ehu.es.microsoft-ds: Flags [S], seq 3272040579, win 29200, options [mss 1460,sackOK,TS val 2588134440 ecr 0,nop,wscale 7], length 0
      13:21:57.724226 IP fog7.lgp.ehu.es.57840 > u030013.xa.bn.ehu.es.microsoft-ds: Flags [S], seq 1809232999, win 29200, options [mss 1460,sackOK,TS val 2588135571 ecr 0,nop,wscale 7], length 0
      13:21:58.724890 IP fog7.lgp.ehu.es.57840 > u030013.xa.bn.ehu.es.microsoft-ds: Flags [S], seq 1809232999, win 29200, options [mss 1460,sackOK,TS val 2588136572 ecr 0,nop,wscale 7], length 0
      13:21:59.797692 IP fog7.lgp.ehu.es.39344 > u030014.xa.bn.ehu.es.microsoft-ds: Flags [S], seq 969204538, win 29200, options [mss 1460,sackOK,TS val 2588137644 ecr 0,nop,wscale 7], length 0
      13:22:00.798892 IP fog7.lgp.ehu.es.39344 > u030014.xa.bn.ehu.es.microsoft-ds: Flags [S], seq 969204538, win 29200, options [mss 1460,sackOK,TS val 2588138646 ecr 0,nop,wscale 7], length 0
      

      I wiil wait to 1.6 version and see 🙂

      posted in FOG Problems
      F
      Fernando Gietz
    • RE: FOG doesn't detect the status of the clients

      My sugestion 🙂

      Don’t use a service to check the status. Is not very useful and eficient. If you want to know the status of one client, you want to know at the moment and not the status of 5 minutes ago.

      The old version way was more eficient: after the search and a little timeout, the js script did a ping only over the found clients. Can not call to the Ping class method execute after the search?

      pinghosts.class.php

      foreach ((array)$hostids as $index => &$hostid) {
                      if (false === array_key_exists($index, $hostips)
                          || false === array_key_exists($index, $hostnames)
                      ) {
                          continue;
                      }
                      $ip = $hostips[$index];
                      if (filter_var($ip, FILTER_VALIDATE_IP) === false) {
                          $ip = self::resolveHostname($hostnames[$index]);
                      }
                      if (filter_var($ip, FILTER_VALIDATE_IP) === false) {
                          $ip = $hostnames[$index];
                      }
                      unset($hostnames[$index], $hostips[$index]);
                      $ping = self::getClass('Ping', $ip)
                          ->execute();
                      self::getClass('HostManager')
                          ->update(
                              array('id' => $hostid),
                              '',
                              array('pingstatus' => $ping)
                          );
      
      posted in FOG Problems
      F
      Fernando Gietz
    • RE: FOG doesn't detect the status of the clients

      Hi Tom,

      And how many time takes FOGPingHosts to check the status of 8192 hosts? If FOGPingHost service checks all the hosts and takes 1 second per hosts (for example, then 8192 seconds=136 minutes … Maybe in my case or for huge environments his service is not very useful.

      Maybe if the status is checked using other way, for example in the old version (0.30 and early version) the status was checked when you made a search, on demand, will be more useful and practice.

      posted in FOG Problems
      F
      Fernando Gietz
    • RE: Problem to deploy a only partition image using multicast

      Hi,

      I have rebooted the machine 🙂 And now works fine

      posted in Bug Reports
      F
      Fernando Gietz
    • RE: FOG doesn't detect the status of the clients

      Umm … Maybe the problem is the number of hosts, if FOGPingHosts service checks all the hosts that are in the hosts table. We have 8192 hosts in this table.

      posted in FOG Problems
      F
      Fernando Gietz
    • RE: Problem to deploy a only partition image using multicast

      I rerun the installer with the same results 😞

      posted in Bug Reports
      F
      Fernando Gietz
    • RE: Problem to deploy a only partition image using multicast

      I waited several minutes and nothing, but I will try again …

      posted in Bug Reports
      F
      Fernando Gietz
    • RE: FOG doesn't detect the status of the clients

      Hi Tom,

      Thanks for the info.

      I have disabled the firewall in one client and now the icon appears in green 🙂 but if I shutdown the client the icon appears in green too 😞

      Who detects the status? the FOGPingHosts service? This status is detected on-fly, on demand?

      posted in FOG Problems
      F
      Fernando Gietz
    • FOG doesn't detect the status of the clients

      Hi,

      I have searched in the forum about this and I have found some entries:
      Host management page show red exclamation for all hosts
      Ubuntu 14.04 LTS with dnsmasq no external DNS

      But this entries are old and don’t solved the problem.

      Scenario

      • FOG Server version: 1.5.4
      • OS: RHEL 7
      • I use DNSmasq to control the access to the server and the DHCP and DNS are external servers.

      dnsmasq.conf file (this file is created dinamycally on-fly to allow only access to the server the clienat which have active task. In this way we can have two or more PXE servers in the same VLAN 😞

      /etc/dnsmasq.conf

      port=0
      log-dhcp
      tftp-root=/tftpboot
      
      # Disable re-use of the DHCP servername and filename fields as extra
      # sy=2pace. That's to avoid confusing some old or broken DHCP clients.
      dhcp-no-override
      
      # inspect the vendor class string and match the text to set the tag
      dhcp-vendorclass=BIOS,PXEClient:Arch:00000
      dhcp-vendorclass=UEFI32,PXEClient:Arch:00006
      dhcp-vendorclass=UEFI,PXEClient:Arch:00007
      dhcp-vendorclass=UEFI64,PXEClient:Arch:00009
      
      # Set the boot file name based on the matching tag from the vendor class (above)
      dhcp-boot=net:UEFI32,i386-efi/ipxe_delay.efi,,10.0.15.8
      dhcp-boot=net:UEFI,ipxe_delay.efi,,10.0.15.8
      dhcp-boot=net:UEFI64,ipxe_delay.efi,,10.0.15.8
      
      # The boot filename, Server name, Server Ip Address
      dhcp-boot=undionly_delay.kpxe,,10.0.15.8
      
      # PXE menu.  The first part is the text displayed to the user.  The second is the timeout, in seconds.
      pxe-prompt=Booting FOG Client, 1
      
      dhcp-reply-delay=0
      

      The server have two interfaces:

      # more ifcfg-ens192
      TYPE="Ethernet"
      BOOTPROTO="none"
      DEFROUTE="yes"
      IPV4_FAILURE_FATAL="no"
      IPV6INIT="yes"
      IPV6_AUTOCONF="yes"
      IPV6_DEFROUTE="yes"
      IPV6_FAILURE_FATAL="no"
      NAME="ens192"
      UUID="78259bb6-4b04-438f-aa60-33197d32dcf4"
      ONBOOT="yes"
      DNS1="10.10.13.6"
      DNS2="10.20.13.6"
      DNS3="10.30.13.6"
      DOMAIN="lg.ehu.es"
      HWADDR="00:50:56:B8:58:54"
      IPADDR=10.0.15.8
      PREFIX=24
      GATEWAY=10.0.15.1
      IPV6_PEERDNS=yes
      IPV6_PEERROUTES=yes
      

      /etc/resolv.conf file:

      # more /etc/resolv.conf 
      # Generated by NetworkManager
      search lg.ehu.es lgp.ehu.es
      nameserver 10.10.13.6
      nameserver 10.20.13.6
      nameserver 10.30.13.6
      

      FOGPingHosts service status:

      # systemctl -l status FOGPingHosts
      ● FOGPingHosts.service - FOGPingHosts
         Loaded: loaded (/usr/lib/systemd/system/FOGPingHosts.service; enabled; vendor preset: disabled)
         Active: active (running) since vie 2018-10-26 11:42:03 CEST; 2 weeks 4 days ago
       Main PID: 1799 (FOGPingHosts)
         CGroup: /system.slice/FOGPingHosts.service
                 ├─1799 /usr/bin/php -q /opt/fog/service/FOGPingHosts/FOGPingHosts &
                 └─1824 /usr/bin/php -q /opt/fog/service/FOGPingHosts/FOGPingHosts &
      
      Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
      

      The clients domain name are differents: hostname.lgp.ehu.es, hostname.lg.ehu.es, hostname.ll.ehu.es, hostname.ehu.es, …

      Any ideas?
      How works FOG to detect the client status?

      posted in FOG Problems
      F
      Fernando Gietz
    • RE: Problem to deploy a only partition image using multicast

      Hi @Sebastian-Roth ,

      I tried to install the working branch to test it but appears some error:

      # more /root/fog_1.4.0/bin/error_logs/fog_error_1.5.4.8.log 
      /bin/lsb_release
      /bin/systemctl
      ln: fallo al crear el enlace simbólico «/usr/lib/systemd/system/mysql.service»: El fichero ya existe
      ln: fallo al crear el enlace simbólico «/usr/lib/systemd/system/mysqld.service»: El fichero ya existe
      ln: fallo al crear el enlace simbólico «/etc/systemd/system/mysql.service»: El fichero ya existe
      ln: fallo al crear el enlace simbólico «/etc/systemd/system/mysqld.service»: El fichero ya existe
      /opt/fog/.fogsettings
      

      And the installation process stops here:

       * Here are the settings FOG will use:
       * Base Linux: Redhat
       * Detected Linux Distribution: Red Hat Enterprise Linux Server
       * Server IP Address: 10.0.yyy.xxx
       * Server Subnet Mask: 255.255.255.0
       * Interface: ens192
       * Installation Type: Normal Server
       * Internationalization: 
       * Image Storage Location: /images
       * Using FOG DHCP: No
       * DHCP will NOT be setup but you must setup your
       | current DHCP server to use FOG for PXE services.
      
       * On a Linux DHCP server you must set: next-server and filename
      
       * On a Windows DHCP server you must set options 066 and 067
      
       * Option 066/next-server is the IP of the FOG Server: (e.g. 10.0.yyy.xxx)
       * Option 067/filename is the bootfile: (e.g. undionly.kpxe)
      
      
       * Are you sure you wish to continue (Y/N) 
       * Installation Started
      
       * Installing required packages, if this fails
       | make sure you have an active internet connection.
      
       * Adding needed repository....................................
      
      posted in Bug Reports
      F
      Fernando Gietz
    • RE: FOG client under Linux and snapin

      Run BASH snapins is a rare case in my university, but a technicians asked me about it.

      Well, maybe if the snapins have a flag to config the OS, the client under one OS can know if is necessaary run it or no. I am thinkink out loud.

      posted in General Problems
      F
      Fernando Gietz
    • RE: Under dual systems Boot from not default partition

      You are right. We developed it for legacy systems. In UEFI … 😞

      posted in Feature Request
      F
      Fernando Gietz
    • Under dual systems Boot from not default partition

      Hi,

      Here my Christmast wish 🙂

      We have in a lot of IT rooms with dual systems, Windows and Ubuntu. By default, we run windows but sometimes is necessary that FOG boots from the Ubuntu partition. For example, we have some IT rooms to do scitific calculation at nights, but during the day the students use Windows.

      In our old FOG server, FOG 0.30, we developed a tasks to do this. The tasks wakes up the client, changes the grub order and reboot the machine, in the next boot, the system boot from Ubuntu.

      posted in Feature Request
      F
      Fernando Gietz
    • FOG client under Linux and snapin

      Hi,

      I want to do a little question about FOG client under Linux and the sanpin deploy.

      If I create a new snapin using the BASH script template for Linux systems and I first run windows, ¿the FOG client under windows will try to execute the BASH snaping or the FOG client is so intelligent that detects that is a Liunx script and does not do anything?

      posted in General Problems
      F
      Fernando Gietz
    • RE: Problem to deploy a only partition image using multicast

      Thanks @Sebastian-Roth , I will wait the fix

      posted in Bug Reports
      F
      Fernando Gietz
    • RE: Problem to deploy a only partition image using multicast

      I have tested a group deploy unicast and works fine. The problem is with the multicast tasks.

      posted in Bug Reports
      F
      Fernando Gietz
    • RE: Problem to deploy a only partition image using multicast

      @Sebastian-Roth I don’t test it doing a unicast deploy for a group. I tried it doing a unicast deploy for one computer, and worked well.

      I want to report that with the version 1.5.2 worked well for multicast deploy.

      posted in Bug Reports
      F
      Fernando Gietz
    • 1
    • 2
    • 7
    • 8
    • 9
    • 10
    • 11
    • 27
    • 28
    • 9 / 28