• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. AndrewG78
    A
    • Profile
    • Following 0
    • Followers 0
    • Topics 7
    • Posts 70
    • Best 3
    • Controversial 0
    • Groups 0

    AndrewG78

    @AndrewG78

    3
    Reputation
    537
    Profile views
    70
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    AndrewG78 Unfollow Follow

    Best posts made by AndrewG78

    • RE: Tablet with WINDOWS 10 and USB-LAN SMC 7500 adapter

      @george1421
      OK that was clear to me. Just wanted to see if FOG can benefit somehow through this tough work with my tablet 🙂

      posted in Hardware Compatibility
      A
      AndrewG78
    • RE: Can I use some kind of script to create image and ghost my lab machines

      Hi @wayne-workman
      When I use your example to Get task status of host ID 1,
      I always receive status of all hosts, but not the particular one.
      Could you help here?
      I’m on 1.4.4
      regards

      posted in FOG Problems
      A
      AndrewG78
    • RE: API

      @wayne-workman
      Thx. I figured out where was the issue. Maybe this info will help somebody.
      I use curl under Windows, but command line doesn’t support single quotes '.
      I used " and had to escape inner ones
      –data “{\“hostID\”:13}”

      posted in General
      A
      AndrewG78

    Latest posts made by AndrewG78

    • RE: vsftpd

      @Sebastian-Roth
      I think I found the reason(s).
      There are 3 things I would like to clarify.
      1.
      Although replication services are disabled, there is still some replication done between storage groups.
      In my case, I have two storage groups, every group has one storage node.
      Both Nodes were master ones.
      The image from the new group(2) was replicated to the old default group(1).
      I have unchecked replicate checkbox in the image, and also disabled Master Node for the old default group. So there is only one master node. The old group has no master node at all.
      After this, all seems to be fine now.
      a)
      The question is, was this a proper behaviour?
      I thought replication is done only within the storage group members(nodes).
      b)
      Are there any other services that could do this replication?
      4d509116-1acb-4405-8260-31f610da96f5-image.png
      10e9d166-d360-4415-b3c1-878dbfb84c0c-image.png
      2.
      The high cpu load(kworker and vsftpd) was related to replication and lack of disk space. Replication processes did not stop even if there was 0% of free space.
      I think this is a bug.
      3.
      I can see a bunch of multicast log files.
      a)
      Should there be some smarter log rotation ?
      b)
      "No new tasks found "is logged every 10s - Can we change this time somehow ?
      d558c270-722a-4d13-a700-e108817dbb33-image.png
      483c19d0-e408-40e8-a34f-f06bdc136a78-image.png

      posted in FOG Problems
      A
      AndrewG78
    • RE: vsftpd

      @Sebastian-Roth
      So after disabling replication services, FOG UI became super responsive.
      No more kworkers and vsftps deamons.
      Perhaps an issue in the newest version?
      Does anyone have similar setup and can confirm this bad behaviour ?

      posted in FOG Problems
      A
      AndrewG78
    • RE: vsftpd

      @Sebastian-Roth
      Thx for the update. Yes I have read this before I started.
      I have updated my node to the FOG server version at the same time, but I did not stop the replication.
      I’m not sure if this scenario is realted to my setup.
      I have two separate starge groups with only one master node in each of these groups.
      So there are no nodes in the groups in which Master would replicate.
      I will disable FOGImageReplicator and FOGSnapinReplicator on the server, but Im not sure if this is the right way to solve the issue.

      posted in FOG Problems
      A
      AndrewG78
    • vsftpd

      Hi,
      I recently added server master node(as a new storage group) to the fog server and upgraded FOG from 1.5.4 to 1.5.7. I have high CPU load 80% of the time, even if there are no any tasks to do. There are two vsftpd daemons consuming 20% of the CPU + kworker from time to time. How can I debug this ?
      9ff6dec2-bc6d-4d17-845a-e7aa8046a6f4-image.png

      posted in FOG Problems
      A
      AndrewG78
    • RE: Multiple FOG servers in one network

      @Sebastian-Roth @george1421
      Hi.
      After quite a long time, I found free time to test filtering through the mac table configuration file.
      It is working!!! Thx for the tips here.
      However, I’d like to understand strange dnsmasq logs I noticed in the messages.

      1. There are several identical broadcast responses.
      2. There is tftpd error - Error code 8: User aborted the transfer
        Beside of above, it works 🙂
      available DHCP subnet: <IP>/255.255.255.0
      vendor class: PXEClient:Arch:00007:UNDI:003016
      PXE(ens160) <MAC> proxy
      tags: team1, ens160
      next server: <IP>
      broadcast response
      sent size:  1 option: 53 message-type  2
      sent size:  4 option: 54 server-identifier  <IP>
      sent size:  9 option: 60 vendor-class  50:58:45:43:6c:69:65:6e:74
      sent size: 17 option: 97 client-machine-id  
      available DHCP subnet: <IP>/255.255.255.0
      vendor class: PXEClient:Arch:00007:UNDI:003016
      PXE(ens160) <MAC> proxy
      tags: team1, ens160
      next server: <IP>
      broadcast response
      sent size:  1 option: 53 message-type  2
      sent size:  4 option: 54 server-identifier  <IP>
      sent size:  9 option: 60 vendor-class  50:58:45:43:6c:69:65:6e:74
      sent size: 17 option: 97 client-machine-id  
      available DHCP subnet: <IP>/255.255.255.0
      vendor class: PXEClient:Arch:00007:UNDI:003016
      PXE(ens160) <MAC> proxy
      tags: team1, ens160
      next server: <IP>
      broadcast response
      sent size:  1 option: 53 message-type  2
      sent size:  4 option: 54 server-identifier  <IP>
      sent size:  9 option: 60 vendor-class  50:58:45:43:6c:69:65:6e:74
      sent size: 17 option: 97 client-machine-id  
      available DHCP subnet: <IP>/255.255.255.0
      vendor class: PXEClient:Arch:00007:UNDI:003016
      PXE(ens160) <MAC> proxy
      tags: team1, ens160
      next server: <IP>
      broadcast response
      sent size:  1 option: 53 message-type  2
      sent size:  4 option: 54 server-identifier  <IP>
      sent size:  9 option: 60 vendor-class  50:58:45:43:6c:69:65:6e:74
      sent size: 17 option: 97 client-machine-id  
      available DHCP subnet: <IP>/255.255.255.0
      vendor class: PXEClient:Arch:00007:UNDI:003016
      available DHCP subnet: <IP>/255.255.255.0
      vendor class: PXEClient:Arch:00007:UNDI:003016
      available DHCP subnet: <IP>/255.255.255.0
      vendor class: PXEClient:Arch:00007:UNDI:003016
      available DHCP subnet: <IP>/255.255.255.0
      vendor class: PXEClient:Arch:00007:UNDI:003016
      available DHCP subnet: <IP>/255.255.255.0
      vendor class: PXEClient:Arch:00007:UNDI:003016
      PXE(ens160) <MAC> proxy
      tags: team1, ens160
      bootfile name: ipxe.efi
      server name: <IP>
      next server: <IP>
      sent size:  1 option: 53 message-type  5
      sent size:  4 option: 54 server-identifier  <IP>
      sent size:  9 option: 60 vendor-class  50:58:45:43:6c:69:65:6e:74
      sent size: 17 option: 97 client-machine-id  
      in.tftpd[27886]: Error code 8: User aborted the transfer
      in.tftpd[27887]: Client <machine_IP>finished ipxe.efi
      available DHCP subnet: <IP>/255.255.255.0
      vendor class: PXEClient:Arch:00007:UNDI:003010
      user class: iPXE
      PXE(ens160) <MAC> proxy
      tags: ipxe, team1, ens160
      bootfile name: filenotneeded
      next server: <IP>
      broadcast response
      sent size:  1 option: 53 message-type  2
      sent size:  4 option: 54 server-identifier  <IP>
      sent size:  9 option: 60 vendor-class  50:58:45:43:6c:69:65:6e:74
      sent size: 17 option: 97 client-machine-id  
      available DHCP subnet: <IP>/255.255.255.0
      vendor class: PXEClient:Arch:00007:UNDI:003010
      user class: iPXE
      PXE(ens160) <MAC> proxy
      tags: ipxe, team1, ens160
      bootfile name: filenotneeded
      next server: <IP>
      broadcast response
      sent size:  1 option: 53 message-type  2
      sent size:  4 option: 54 server-identifier  <IP>
      sent size:  9 option: 60 vendor-class  50:58:45:43:6c:69:65:6e:74
      sent size: 17 option: 97 client-machine-id  
      available DHCP subnet: <IP>/255.255.255.0
      vendor class: PXEClient:Arch:00007:UNDI:003010
      user class: iPXE
      PXE(ens160) <MAC> proxy
      tags: ipxe, team1, ens160
      bootfile name: filenotneeded
      next server: <IP>
      broadcast response
      sent size:  1 option: 53 message-type  2
      sent size:  4 option: 54 server-identifier  <IP>
      sent size:  9 option: 60 vendor-class  50:58:45:43:6c:69:65:6e:74
      sent size: 17 option: 97 client-machine-id  
      available DHCP subnet: <IP>/255.255.255.0
      vendor class: PXEClient:Arch:00007:UNDI:003010
      user class: iPXE
      PXE(ens160) <MAC> proxy
      tags: ipxe, team1, ens160
      bootfile name: filenotneeded
      next server: <IP>
      broadcast response
      sent size:  1 option: 53 message-type  2
      sent size:  4 option: 54 server-identifier  <IP>
      sent size:  9 option: 60 vendor-class  50:58:45:43:6c:69:65:6e:74
      sent size: 17 option: 97 client-machine-id  
      available DHCP subnet: <IP>/255.255.255.0
      vendor class: PXEClient:Arch:00007:UNDI:003010
      user class: iPXE
      available DHCP subnet: <IP>/255.255.255.0
      vendor class: PXEClient:Arch:00007:UNDI:003010
      user class: iPXE
      available DHCP subnet: <IP>/255.255.255.0
      vendor class: PXEClient:Arch:00007:UNDI:003010
      user class: iPXE
      available DHCP subnet: <IP>/255.255.255.0
      vendor class: PXEClient:Arch:00007:UNDI:003010
      user class: iPXE
      localhost in.tftpd[27997]: Client <machine_IP>finished default.ipxe
      
      posted in General
      A
      AndrewG78
    • RE: Tablet with WINDOWS 10 and USB-LAN SMC 7500 adapter

      @Sebastian-Roth
      Gr8 news. Thx a lot

      posted in Hardware Compatibility
      A
      AndrewG78
    • RE: Multiple FOG servers in one network

      @george1421 @Sebastian-Roth
      Thank you for your valuable input. My idea is to separate not only the hosts but also snapins/images/literally everything. What I want to achieve is to have dedicated Fog server per team. The process of MAC address separation must be fully automatic.
      I will develop the script that will:

      1. Query database for hosts in the 60s loop
      2. Write MAC list to temp_mac file.
      3. If there is no amac_table.conf file, write temp_mac file as amac_table.conf
      4. If amac_table.conf exists, do diff on these files
      5. If files are same, do nothing
      6. If files differ, copy temp_mac over the amac_table.conf and restart dnsmasq service.
        My only concern is, how to tell dnsmasq to read this particular file and how data should be formatted inside this MAC conf file?
        May you shed some light on it ?
        Obviously I will share my work here.
      posted in General
      A
      AndrewG78
    • RE: Multiple FOG servers in one network

      @Sebastian-Roth
      HI. Thanks for this.
      Looks very promising. Will tests this method soon.

      posted in General
      A
      AndrewG78
    • RE: Multiple FOG servers in one network

      @Sebastian-Roth said in Multiple FOG servers in one network:

      Why using dnsmasq anyway? What DHCP server do you have right now that cannot be modified to do PXE boot?

      I have no access to DHCP server. Company’s policy.

      posted in General
      A
      AndrewG78
    • RE: Multiple FOG servers in one network

      @Wayne-Workman
      @george1421
      Would this be possible to use dnsmasq as a MAC address filter?
      I imagine this kind of setup:

      • Existing dhcp server in the network
      • Fog server 1 with dnsmasq
      • Fog server X with dnsmasq
        dnsmasq will respond with dhcp offer as it does right now, but only to the machines included on MAC address list.
        Simple query to FOG’s mysql will get registered hosts from DB and update the list automatically.
        If this is not possible with dnsmasq I thought iptables could be used instead?
        Obviously, we will lost the ability to register new machines from the FOG boot menu.
      posted in General
      A
      AndrewG78