• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Mokerhamer
    M
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 29
    • Best 4
    • Controversial 0
    • Groups 0

    Mokerhamer

    @Mokerhamer

    4
    Reputation
    38
    Profile views
    29
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Mokerhamer Unfollow Follow

    Best posts made by Mokerhamer

    • [Proof of Concept] Combining {FoG & XCP-NG} for a Zero-Touch Bulletproof Classroom Deployment!

      Hi All,

      Are you interested in solving a general worldwide Lazy IT “problem”? (Zero-Touch Machine Control) or follow how the can get solved? Then continue reading! --Note to my knowledge there is no such software available. If so please comment details about the software i will check it out 🙂

      Intro:
      I’m an system administrator for a company that educates in IT (Instructor-led courses) for all kinds of vendor’s such as Cisco, Citris, VMWare, Redhat, Microsoft and many more.

      We try to avoid costs of “Virtual Labs” thus making our own (on instructions of vendor we re-build cloud OS machines, and deploy them on a powerful physical machine) images to deploy to classrooms. Our classrooms are high-end in IT hardware. You can imagine we have a (currently Altiris .gho files) huge library of images that we can deploy.

      But every Friday when imaging to be ready for the new course starting next Monday we encounter “lazy IT problems” which increase our time we need to spend on restoring a lot of classrooms (multiple external locations, each location has multiple classrooms)

      A default course is 5 days, we deploy corresponding images every Friday (after 17:00) to the systems. It’s a variation of images from Linux, to Windows Server editions that has Hyper-V with multiple images inside (Example: it will be used for a course Microsoft Domain Controller.).

      Our “lazy IT problems” :
      We want a bullet proof classroom, we want to fully control the classrooms systems. We want to be able to boot/shutdown, yes we have working WoL! But that diden’t solve our problem… <—Soooo many “We want” i know. Lazy…

      Because Alot of courses use Hyper-V. Hyper-V breaks WoL 😞 It Hijacks NiC Ownership making WoL not work. We need to unplug/plug machine from power then WoL works untill it loads OS with Hyper-V again. That means we need to walk to the classrooms and/or ask the receptionist to boot up machines.

      Idea!
      Then i had one crazy idea to combine FOG with XCP-NG Server a.k.a (Citris Hypervisor, Xen-Server) ^0^. Wait what? What is XCP? It’s a free version of Xen-Server but with all features enabled for free.-> https://xcp-ng.org/

      XCP-NG it not intended for classroom deployments… I know! But hear me out how i want to use the open-source combination to create a zero-touch deployment! even when Harddrive is wiped including the XCP-NG Host installation thus making us lose control of the machine! (I know it sounds insane, but bare with me a lot of typing is required to explain this!)

      [XCP-NG limitations]:

      *When XCP-NG Is installed it displayers the “Server console on screen”

      First Dilemma: How do we serve end-user VM Guest screen instead of the console displayed on the image below?

      5d2721ca-c1e0-4d7e-80e3-f4db68e5bb84-image.png
      Solution: vGPU Passthrough function, we stream the VM output to Graphic card. Attach Graphic card to VM 🙂 Solved we see OS screen!

      Second Dilemma: USB Port not working, mouse and keyboard not useable.
      Solution: Almost same solution, but we use USB Passthrough, and there is another function to be able to hot mount/dismount usbs to vms. But for now we pre-configure usb passthrough.

      Oke we now proofed that end-users can use the same fysical Guest VM machine where XCP-NG host is installed on LOL ;0

      How do we recover XCP-NG Host if disk is formatted for any reason?
      Well, my idea is we let the host machine boot by default on PXE and load our “customised” XCP-NG Netinstaller including answer file which includes the configuration.

      I was planning on editing the netinstaller code to:
      Check Disk -> Partition with XCP-NG Host Found?
      ----------------------- ^Yes -Boot from disk ^No -Start XCP-NG Host Netinstaller recovering XCP-NG Host.

      Thus making it zero touch bulletproof, correct? We can fully use WoL or the XCP-NG tools*
      *

      • XCP-NG Center (Installer)
      • Xen Orchenstra (Web-GUI)
      • API Commands (FoG plugin if possible 🙂

      to remote control it.

      And what has FoG to do with it?
      Well, FoG is insanely faster when pxe installing a VM than import and mounting the image file.

      So i wanted to create a plugin for FoG to be able to send API commands to any XCP-NG Host to create an empty VM. When creating the vm template we can generate a MAC for the VM NiC& Boot it on PXE.

      Because we generate the MAC in the template inside FoG webserver we can internally parse a deploy task for FoG targeting the guest Mac Address (That we generated when creating template) and install our classroom image.

      What do i think we a achieve if this 100% works? First ever Zero-Touch Classroom Deployment.
      –This workaround is pure for 1 thing! Hyper-V breaking WoL when Hyper-V is installed on host OS.

      ----If some one now comes with a solution to get WoL working on Hyper-V host machine i will fall off my chair.

      So what do you think? I’m halfway with the PoC. Next step is to customize the net-installer to decide whether to reinstall or boot from disk.

      Cheers!
      Mokerhamer

      posted in General
      M
      Mokerhamer
    • [Seeking Volunteers] Bench Testing! Our trip to the best results!

      Hi all,

      Intro:
      We’re currently extensively testing FoG and it’s capability’s. And since w’re doing it and gathering data, why not share and spare 🙂

      Sooo… now what?
      Well… We’ve set-up a FoG Server with a test windows 10 deployment image (25gb). Our goal is to to define the best configuration set-up for FoG and network hardware.

      We needed to apply some configuration changes to our Cisco appliance to increase speed and packet size. i can image more users need to do so.

      If anyone is interested we’re going to test some things and it would be great to be able to compare our results/config with others.

      Bench testing what?
      Since we’re not experienced with FoG, we will play around in some ways:
      –Hardware and bios are exact. in our case. Dell T5810, Dell 3610, Dell 3600.

      • Best Deployment -type, protocol, compression, etc.
        • Deployment difference -Deploying to direct system vs XCP-NG VM. in different settings
        • Multicast: * Multi-casting from Master node (playing with storage groups) to external location through VPN*

      We have our own environment set-up as test corner with it’s own appliance that we use in general. It’s a lot of details. Might be good to set-up a general environment criteria to avoid “dirty” and contradicting results… Feel free to reply if you have any idees or layouts 🙂

      Goal:

      • Map all criteria to reach highest deployment/capture speed.
      • Define extra configuration requirements of third party appliance of FoG, such as Switch, Router, Firewall, Etc

      Motivated by this wiki page 🙂
      https://wiki.fogproject.org/wiki/index.php/Image_Compression_Tests
      alt text

      And by the replys –amount of devices the are managing with FoG
      https://forums.fogproject.org/topic/4382/organizations-using-fog/107

      Hoping for a very active thread 🙂 <Fingers-Crossed>

      Cheers,
      Mokerhamer

      posted in General
      M
      Mokerhamer
    • RE: [Seeking Volunteers] Bench Testing! Our trip to the best results!

      @george1421

      You knocked it right on the head with the multicast details, took a few tries to get the all the details configured. We’re now thinking about setting up a 10GB network and do the exact same tests. just curious… what speed would we reach? especially with all the variables in play.

      This is a pure trial and fail, find the limits. Fail uncountable times and still keep seeking for answers. We’re using something new with a very high compression ration and i find there is a limited information pool about it. So i am extra curious about pushing limits with this.

      In my eyes these trial and fails can decide or break a future plan of our classroom hardware architecture.

      posted in General
      M
      Mokerhamer
    • RE: [Seeking Volunteers] Bench Testing! Our trip to the best results!

      @george1421 @Sebastian-Roth

      Only Client is limited with 1GB network card. Current speed with Multicast (18Gb! - Windows 10 Deployment 1:36 LOL)

      10GBE network card for client will be here within a hour! Curious what will happen!

      posted in General
      M
      Mokerhamer

    Latest posts made by Mokerhamer

    • RE: [Seeking Volunteers] Bench Testing! Our trip to the best results!

      @Junkhacker
      Checking it out!

      We had to move our workspace around the office…

      Edit: We got sick interns, colleges on vacations 😞 having a hard time scraping time together.

      posted in General
      M
      Mokerhamer
    • RE: [Seeking Volunteers] Bench Testing! Our trip to the best results!

      @Junkhacker

      Honestly, I’ve not seen multicast this fast. We’re going to seek for the “goldilock” zone IF it exists (Compression level).

      posted in General
      M
      Mokerhamer
    • RE: [Seeking Volunteers] Bench Testing! Our trip to the best results!

      @george1421
      @Sebastian-Roth

      *ZSTD Compression 16 was used

      Dont worry i am doubting everything. I will post a full report of all hardware used. including ZSTD compression report (linke the screenshot above).

      Just give me 1 more day so our intern can gather all data from compression 0 - 22 on a full 10 GBE network.

      10GBE network can be here any moment 🙂

      edit: Just received 10GBE Nic. All hardware is now 10GBE

      a52967ff-e01f-42af-8fb9-8dff6050cc20-image.png

      posted in General
      M
      Mokerhamer
    • RE: [Seeking Volunteers] Bench Testing! Our trip to the best results!

      @george1421 @Sebastian-Roth

      Only Client is limited with 1GB network card. Current speed with Multicast (18Gb! - Windows 10 Deployment 1:36 LOL)

      10GBE network card for client will be here within a hour! Curious what will happen!

      posted in General
      M
      Mokerhamer
    • RE: [Seeking Volunteers] Bench Testing! Our trip to the best results!

      @Sebastian-Roth

      Oke going to try it now. Crossing fingers 😛 Server is in a isolated network witouth any internet. Due to Nic driver problems (Ubuntu 16) i’m re-installing it on version 18.

      posted in General
      M
      Mokerhamer
    • RE: Hello Fog 1.5.6 for different hardware

      @dangquan091

      Sysprep your windows before capturing.

      *Open CMD (As Administrator)
      *Enter command: cd C:\Windows\System32\drivers
      *Enter command: sysprep /oobe /generalize /shutdown

      System will shutdown. DO NOT BOOT INTO WINDOWS! capture image!

      Source: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/sysprep-command-line-options

      posted in General
      M
      Mokerhamer
    • RE: [Seeking Volunteers] Bench Testing! Our trip to the best results!

      @george1421

      Hi, i need some help.

      I want FOG to use external card to push images & DHCP (Fog is the DHCP server 192.168.4.1)

      I’ve eenabled and configured Fog as DHCP server when installed. it dident let me control which network card to be dhcp…

      See top of screenshot that Fog DHCP is installed. Any ideas?
      I basically need a simple network 2 devices Fog Server & Fog client on a 10 GBE switch.

      9ec5cf48-fd25-43c4-97e8-0885cafdec36-image.png

      posted in General
      M
      Mokerhamer
    • RE: [Seeking Volunteers] Bench Testing! Our trip to the best results!

      @george1421

      We will do!

      We will also make an excel sheet as above regarding deploying/capture speeds.
      Hope we get the equipment on time! it’s now 8:33 AM i hope the have the hardware by 12:00

      posted in General
      M
      Mokerhamer
    • RE: [Seeking Volunteers] Bench Testing! Our trip to the best results!

      @george1421

      Ever tried multi-casting on a full 10 GBE network, including clients having 10 GBE? i am really wondering what ZSTD with high compression on a 10GBE network. Prepared several machines, from 16 GB till 64 GB with strong cpu’s.

      Hardware will come in Monday/Tuesday and we will push the limits curious!

      posted in General
      M
      Mokerhamer
    • RE: [Seeking Volunteers] Bench Testing! Our trip to the best results!

      @george1421

      Procurve 5412zl does not have 10GB poorts? or i might have the wrong product infront of me

      posted in General
      M
      Mokerhamer