• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. WT_101
    3. Posts
    W
    • Profile
    • Following 0
    • Followers 0
    • Topics 20
    • Posts 50
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by WT_101

    • RE: Decoupling FOG Database from FOG Server

      Hi @george1421 may i know why moving images off the fog server will lose multicast ability?

      The second server will be a ubuntu server with RAID setup to store the images only. (this is just the plan, we yet to setup)

      posted in FOG Problems
      W
      WT_101
    • RE: Decoupling FOG Database from FOG Server

      @sebastian-roth the main goal is to ensure high availability for FOG Server & Fault Tolerant

      decouple into below as individual component
      FOG Web UI
      FOG Database
      FOG Storage Node

      posted in FOG Problems
      W
      WT_101
    • Decoupling FOG Database from FOG Server

      Hi,

      May i know is it possible to decouple the FOG Database from FOG server? If can is there any guides on this?

      Example:
      FOG Server at 192.168.1.101
      FOG Database & images store at 192.168.1.102

      Thank You
      Best Regards
      WT

      posted in FOG Problems
      W
      WT_101
    • RE: Fail to mount during image deployment

      Hi @george1421

      We have read up the post you share but we never turn on firewall at FOG server. So we not quite sure how the firewall configuration able to resolved the issue we encounter.

      Let me explain in detail to you on our setup. We have 2 Site: Site A and Site B

      Site A

      • FOG Server installed at Site A (192.168.10.1)
      • It having multiple subnet e.g 192.168.10.0 & 192.168.20.0
      • We tested client system at site A for both subnet192.168.10.0 & 192.168.20.0 able to perform image capture & deployment smoothly

      Site B

      • client system at subnet (175.168.10.0)
      • client system (175.168.10.20) able to perform PXE boot getting FOG NBP file though the FOG Server at site A (192.168.10.1)
      • client system (175.168.10.20) also able to detect the tasks(capture, deploy, debug) created from site A FOG Server

      Previously client system (175.168.10.20) at Site B not even able to PXE boot to site A FOG Server (192.168.10.1) until we ask our IT team to whitelist the below port BI Direction between Site A & Site B.
      80/tcp
      443/tcp
      69/udp
      1024-65535/udp
      111/udp and 111/tcp
      2049/udp and 2049/tcp

      Now client system (175.168.10.20) at Site B Fail at “Mounting File System”

      Can you advise is there any other ports need to be open to resolve this issue? Or any method we can troubleshoot on why we facing this issue?

      We do refer to below site found that the port highlight in yellow is not open. Will these causing the mounting fail?
      476fdd9a-6315-459d-ba02-9760c40106cc-image.png
      https://wiki.fogproject.org/wiki/index.php/FOGUserGuide#Full_Listing_of_Ports_used_by_FOG_server_and_client

      Please do let me know if anything is unclear

      Thank You

      posted in FOG Problems
      W
      WT_101
    • Fail to mount during image deployment

      bec759a6-1ac0-4731-b4d5-83d4faf09744-image.png

      We encounter this error while trying to perform image deployment over different subnet (FOG Server at subnet A, client at subnet B) & firewall with below ports whitelisted:
      80/tcp
      443/tcp
      69/udp
      1024-65535/udp
      111/udp and 111/tcp
      2049/udp and 2049/tcp

      We tried to manually mount from the system and it failed as well
      2b4856b1-831f-4b0c-b198-33a80361d5b4-image.png

      We do try to telnet 2049 ports it can connect successful
      bba1a45b-1718-4260-8497-0bb647567e8d-image.png

      Is there any ports/configuration need to be done in order for it to work?

      posted in FOG Problems
      W
      WT_101
    • Testing Internet connection....Fail

      Hi,

      I encounter below when installing FOG (Version: 1.5.9) into ubuntu 18.04. I try using browser to browse google, youtube is working fine at the server.

      b2922b37-4a3e-4be2-8945-8e455abf7399-image.png

      The installation is completed but when i browse FOG Login Screen it having below error.

      338630bd-b1fe-4d50-9909-ce94f2036a4e-image.png

      May i know how to troubleshoot on this?

      Thank You

      posted in Linux Problems
      W
      WT_101
    • RE: FOG Post Deploy Script Rename Host (Linux)

      I have found the problem which i missing out of the below segment connecting my drive. After adding below script it is working fine.

      Currently i find the disk “/dev/sda5” during my partclone deploy screen and paste into above code.

      osdiskpart="/dev/sda5";
      mkdir /ntfs 2>/dev/null
      mount "${osdiskpart}" /ntfs 2>/tmp/mntfail
      

      This raise another question on “/dev/sda5” where can i get the osdiskpart based on the images so that i do not need to hardcode into my post deploy script?

      posted in Linux Problems
      W
      WT_101
    • FOG Post Deploy Script Rename Host (Linux)

      Hi

      Below are my post install script. Im trying to change the hostname for ubuntu desktop image but it is not taking effect. I’m using virtual box to trying out my script. May i know which part of my script having problem?

      . /usr/share/fog/lib/funcs.sh
      #########################################################
      # Functions
      #########################################################
      FUNC_DOTS() {
          max=65
          if [ -n "$1" ]; then
      		n=`expr $max - ${#1}`
      		echo -n " * ${1:0:max}"
      		if [ "$n" -gt 0 ]; then
      			for i in $(seq $n); do
      				printf %s .
      			done
      		fi
      	fi
      }
      
      #########################################################
      # Update hostname file
      #########################################################
      FUNC_DOTS "Updating /etc/hostname"
      echo $hostname
      echo $hostname >/etc/hostname
      echo "Done"
      
      posted in Linux Problems
      W
      WT_101
    • RE: FOG Server Deployment Architecture & Stress Test Tools

      Hi @george1421

      Thanks for informative reply it helps to explain my doubt on

      • VB/TFTP client are not suitable for perform benchmark
      • Fog client mass communication might cause FOG server performance bottleneck
      • Recommended ESXi or dedicated hyper-v server to perform benchmark (I am exploring these methods)

      but I still have some question based on your reply

      For point 2 & 5 I would summarized as :

      • heavy lifting is done by the target computer not the FOG server
      • During imaging the FOG server only moves images from disk to the network (capture/deployment process)
      • FOG use zstd for image compression (much faster on image expansion )

      Question:
      My image at FOG Web UI showing 6.14 GB, in FOG server image folder is about 1.7 GB

      • Q1: Can I understand that the image is compressed by zstd from 6.14 GB to 1.7 GB stored in server storage node?

      • Q2: For image deployment what is the process being carry out from below option : (please let me know if there is option C)

        • A: move 1.7 GB to network > download to client (1.7 GB) > decompress 1.7 GB to 6.14 GB
        • B: decompress 1.7 GB to 6.14 GB > move 6.14 GB to network > download to client ( 6.14 GB)
      • Q3: If Q2 is (A) can we assume that the "zstd " application will be download to client machine to perform the compression/decompression?

      For point 4. as you mention

      • speed on the partclone screen is a composite speed
      • partclone speed (GB/min) is the throughput of the entire process not just network throughput

      Question: Below image are getting from fog DB > tasks table
      742c823a-1a90-456c-851e-f45ad7583dbb-image.png

      • Q1: Do you mean by 24.25 GB/min is the composite speed from partclone?
      • Q2: What exactly is taskTimeElapsed when the duration start to capture?
      • Q3: What is the different on taskTimeElapsed compare to the start and end time at “imagingLog” table? (we just guessing start and end time is the total duration of the task and taskTimeElapsed is part of it.)

      For point 6. as you mention

      • “seeing as a bottleneck on the larger campus is FOG server performance servicing computers with the FOG Client installed”

      Question
      We do plan to install FOG Client into our Linux machine for the purpose of renaming the host name based on static name configure at FOG WebUI after post deployment.

      • Q1: Is there a way to preform host rename after our image deployment without FOG Client installed?

      Thank You
      WT

      posted in FOG Problems
      W
      WT_101
    • FOG Server Deployment Architecture & Stress Test Tools

      Hi,

      I’m using FOG version 1.5.9. Image capturing, unicast, multi cast are working fine. The images is Linux based.

      Goal: To perform stress test to know the number of clients FOG Server can support simultaneously with a tolerable duration (less than 10 min).
      Challenges: Having limited number of clients(3). Would like to stress test the capabilities on 300 clients

      Experiment & Benchmark:
      Actual Clients

      • able benchmark on 1-3 clients only
      • using Gigabit CT Desktop Adapter PCIe NIC
        • 1 client 6.14 gb image unicast takes around 19 sec from fogdb.tasks.taskTimeElapsed(block size 4096)
          • Speed = 6140 MB / 19 sec = 323.16 MBps * 8 = 2585.28 Mbps
        • 3 client 6.14 gb image unicast takes around 39 sec from fogdb.tasks.taskTimeElapsed(block size 4096)
          • Speed = 6140 MB / 19 sec = 157.44 MBps * 8 = 1259.52 Mbps

      Virtual Box

      • benchmark using 3 VM at single machine

        • 1 client 6.14 gb image unicast takes around 34 sec from fogdb.tasks.taskTimeElapsed(block size 4096)
          • Speed = 6140 MB / 34 sec = 180.59 MBps * 8 = 1444.72 Mbps
        • 3 client 6.14 gb image unicast takes around 57 sec from fogdb.tasks.taskTimeElapsed(block size 4096)
          • Speed = 6140 MB / 57 sec = 107.72 MBps * 8 = 861.76 Mbps

        Compare to Actual Client:
        1 Client : actual client is 1.79 time faster than vm client
        3 Client : actual client is 1.46 time faster than vm client
        Therefore unable to use VB to make the stress test

      TFTP Client

      • we are using “https://www.tftp-server.com/tftp-client.html” try to download images from tftp server

      • we use .bat file to trigger the download in parallel

        • 1 client 4.73 gb image with block size 65465 -> 101 sec
          • Speed = 4730 MB / 101 sec = 46.83 MBps * 8 = 374.64 Mbps
        • 3 client 4.73 gb image with block size 65465 -> 273 sec
          • Speed = 4730 MB / 273 sec = 17.33 MBps * 8 = 138.64 Mbps

        Compare to Actual Client:
        1 Client : actual client is 6.90 time faster than tftp client
        3 Client : actual client is 9.09 time faster than tftp client
        Unable to use TFTP Client to make the stress test

      Question

      1. We are using “Gigabit CT Desktop Adapter PCIe NIC” on actual client. The data rate of the port is “1000 Mbps”. Based on our benchmark the unicast for 1 client and 3 client is “2585.28 Mbps” & “1259.52 Mbps” this is much faster than the PCIe NIC capabilities. May i know how and why FOG able to achieve this?
      2. If we compare TFTP Client vs Actual Clients, the speed is much faster using FOG even the block size at FOG is much smaller than TFTP Client. May I know what is the architecture behind in FOG that enable it to download much faster?
        (we do use the single linux client with similar NIC & network to get file 4.73 gb from TFTP it takes 1469 sec [3.22 MBps/25.75 Mbps]. This is far more slower. We are using the default block size)
      3. May I know what tools/method can perform stress test on unicast & multicast to know the best number of client the FOG server can support simultaneously

      Thank You
      WT

      posted in FOG Problems
      W
      WT_101
    • 1 / 1