• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Gamienator
    3. Posts
    • Profile
    • Following 0
    • Followers 0
    • Topics 6
    • Posts 29
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: How can I troubleshoot the Diskusage Problem on the Webinterface?

      @george1421 Okay, then after a reinstall and confirming of function I’ll stop the server ans see whats happening 🤔

      posted in FOG Problems
      GamienatorG
      Gamienator
    • RE: How can I troubleshoot the Diskusage Problem on the Webinterface?

      @george1421 Thanks for that additional informations! I’ll reinstall the complete node VM and try that.

      One more question for the node: Is there a reason why the node also starts a MariaDB Server?

      posted in FOG Problems
      GamienatorG
      Gamienator
    • RE: How can I troubleshoot the Diskusage Problem on the Webinterface?

      @Sebastian-Roth Okay, then maybe our “idea” was wrong the hole time 🤔

      So like I said before, we have different locations. In our headquarter we wanted to create ONE golden Image of Windows 10. After that we wanted to install a storage node on every location, group it correctly and let it replicate. After that we wanted to let everyone boot to our MAIN FogServer via VPN and let it then image from their node. Therefore we would have control of all locations AND an awesome inventory of all machines. My Collegues working on it already for two months now, but don’t have the Linux knowledge, since their only using Windows. Now that I’m there the project made more progress. But for what I understood I thought to enable the location plugin with user controll would achieve our goal. But it seems like I was wrong 😅

      @Sebastian-Roth said in How can I troubleshoot the Diskusage Problem on the Webinterface?:

      So we are back to the initial question of why disk usage is not being shown properly in your case. Is it only the SSD part not showing? What happens if you select the HDD one? And what about the KCServer1’s disk usage?

      Thats the interesting part: The HDD is also not working! After that I edited the Node to show it at /images but with the same result, no space shown. Or does it take some time until it gets refreshed? KCServer1’s disk usage is shown perfectly after adding it again. Since I don’t wanted to use the KCServer1 space (it only got 50 GB on /) I removed it from FOG as storage node . Then I edited the Node again and let root connect, with the same result. But after you telling me about the rsync part, maybe I want to reinstall the node VM, let the SSD show to /images and install an rsync job that clones to /dev/sdc (ofc correctly mounted 😉)

      posted in FOG Problems
      GamienatorG
      Gamienator
    • RE: How can I troubleshoot the Diskusage Problem on the Webinterface?

      @Sebastian-Roth said in How can I troubleshoot the Diskusage Problem on the Webinterface?:

      @Gamienator Ahhhhh I see. Makes all more sense now. But still I am wondering about some of the things you posted. So let me ask, are there any other FOG servers or is it just that single “Frankfurt Node”? From my understanding there should be at least one more server for things to fully add up for me. But maybe it’s just me not getting my head around.

      No Problem. So we got two VMs (ESXi Hypervisor) here in the Network, KCNode1 (.103) and KCServer1 (.104). On the Server is the FOG installation as Server and on the Node (how surprising) the Storage installation. Since I got SSDs and a HDD on that Server I setup on the node following setup:

      1 VirtualHarddisk with 50 GB on a SSD for the OS (sda)
      1 VirtualHarddisk with 450 GB on the other SSD for the Imagespace on “fast” storage (sdb)
      1 VirtualHarddisk with 900 GB on the HDD as a archive (sdc)

      My Idea was: Image everything in SSD (mounted on /image1) and replicate on sdc to have a backup. For the moment! It’s all Work in progress, RAID card is on the way to have a RAID 1 with the SSD and so on.

      Since our company has more locations we want to link them and install a node on every location. Thats the reason I installed the node here to test everything.

      Please run lsblk and df -h on your Frankfurt Node and post output here.

      No Problem 🙂

      NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
      sda      8:0    0   50G  0 disk
      ├─sda1   8:1    0    1K  0 part
      ├─sda2   8:2    0 48,1G  0 part /
      └─sda5   8:5    0  1,9G  0 part [SWAP]
      sdb      8:16   0  460G  0 disk
      └─sdb1   8:17   0  460G  0 part /image1
      sdc      8:32   0  870G  0 disk
      └─sdc1   8:33   0  870G  0 part /image2
      sr0     11:0    1 1024M  0 rom
      
      Dateisystem    Größe Benutzt Verf. Verw% Eingehängt auf
      udev            992M       0  992M    0% /dev
      tmpfs           201M    8,2M  193M    5% /run
      /dev/sda2        48G    3,1G   42G    7% /
      tmpfs          1003M       0 1003M    0% /dev/shm
      tmpfs           5,0M       0  5,0M    0% /run/lock
      tmpfs          1003M       0 1003M    0% /sys/fs/cgroup
      /dev/sdb1       452G     30G  400G    7% /image1
      /dev/sdc1       856G     77M  812G    1% /image2
      tmpfs           201M       0  201M    0% /run/user/0
      

      Cheers,
      Gamie

      posted in FOG Problems
      GamienatorG
      Gamienator
    • RE: How can I troubleshoot the Diskusage Problem on the Webinterface?

      @Sebastian-Roth said in How can I troubleshoot the Diskusage Problem on the Webinterface?:

      curl “http://172.16.10.103/fog/status/freespace.php?path=”$(echo -n “/image1” | base64)

      Oh, there’s now a different result:

      root@KCFOGServer1:~# curl "http://172.16.10.103/fog/status/freespace.php?path="$(echo -n "/image1" | base64)
      {"free":"428730351616","used":"31650299904"}root@KCFOGServer1:~#
      

      Sure, he are the screenshots:

      89a1469d-fdd7-4d92-a878-78a59399511b-image.png

      cf775f83-1107-4bb7-bde6-196a753c3d2e-image.png

      6172caa9-cfe9-443d-8002-9c8efd6f98c9-image.png

      46d3acf7-c297-4a2b-8fcd-8b1715e3fb81-image.png

      It’s a preparation, we’re new in FOG and planning to distribute images on different locations. All with Side-to-Side VPN and Nodes on every location. 🙂

      posted in FOG Problems
      GamienatorG
      Gamienator
    • RE: How can I troubleshoot the Diskusage Problem on the Webinterface?

      @Sebastian-Roth

      Thanks for your answer!

      So the SSH output is:

      root@KCFOGServer1:~# curl -d “sub=diskusage;id=2” http://172.16.10.103/fog/management/index.php?node=home
      This is a storage node, please do not access the web ui here!root@KCFOGServer1:~#

      And here is the screenshot:

      597da2a5-186c-407d-b0bf-c00d33349751-image.png

      I’ve never used LVM, maybe I’ll have a look into that too. On the Apache Error Log was nothing sadly 😕

      posted in FOG Problems
      GamienatorG
      Gamienator
    • RE: How can I troubleshoot the Diskusage Problem on the Webinterface?

      @Sebastian-Roth Ah! Thanks! Could that mean that I have to setup on the NODE my additional Image Folders? Because I’m not saving in /images on the node. There were two harddisk added and mounted on /image1 and /image2

      When I open the adress you sent me I get the following message:

      This is a storage node, please do not access the web ui here!

      Cheers,

      posted in FOG Problems
      GamienatorG
      Gamienator
    • How can I troubleshoot the Diskusage Problem on the Webinterface?

      Hi there,

      I got the following FOG Setup:

      Two VMs, one as the server with a small HDD and a storage node. Both on Debian stretch. Well everything works fine: Capturing Image from the Node, getting the images and so on. Whats weird is the webinterface:

      6f1df247-1875-4384-ad2c-ae04c1a39502-image.png

      And when I click on it it shows me this:

      fab36049-a9d0-44a4-8048-a2ee380c9e6d-image.png

      Can someone give me a hint where I can troubleshoot this?

      Cheers,

      Gamie

      posted in FOG Problems
      GamienatorG
      Gamienator
    • RE: Problems with using-fog-to-pxe-boot-into-your-favorite-installer

      Hi there,

      @george1421
      I just noticed that on Linux Mint 19 and newer it’s not possible to boot anymore before you change the Boot Parameter! I got it going on after setting this:

      imgargs vmlinuz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/html/iso/mint/ locale=de_DE.UTF-8 keyboard-configuration/layoutcode=de ip=dhcp toram -- || read void
      

      Keep in mind, I got a different folder! But the parameter toram is damn important, otherwise it’s not able to mount /tmp and goes into emergency mode!

      Maybe you want to update the wiki?

      posted in General
      GamienatorG
      Gamienator
    • 1 / 1