• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. JJ Fullmer
    3. Best
    • Profile
    • Following 5
    • Followers 4
    • Topics 55
    • Posts 950
    • Best 256
    • Controversial 0
    • Groups 3

    Best posts made by JJ Fullmer

    • RE: HP Z640 - NVME PCI-E Drive

      @Sebastian-Roth Similar problem with a non-resizable disk, it doesn’t seem to add a 1 at the end of /dev/nvme0n1p
      I’m going to do a debug session and see if the lsblk is any different from before and such. Let me know if there’s any other information you need. I’m here to help 😃

      0_1450114007738_IMG_20151214_102413.jpg

      On a side note, I did take out the primary hard disk specification and ran a hardware inventory and it found the hard drive just fine on its own. It didn’t get a harddrive manufacturer, model, or s/n but it knows it exist now. Yay progress!

      posted in Hardware Compatibility
      JJ FullmerJ
      JJ Fullmer
    • RE: Need Powershell help

      TL;DR
      The quick answer is the ‘useAD’ property of a host in the api checks that box, but will not pull your default settings when done through the api. So you need to provide all domain join info.

      @Jamaal Good day sir! Sorry for a delayed reply, haven’t been on here in a bit, had been trying to stay active during my quarantine but eventually my infant son won all my attention while I was home. But I am now back at work and am excited to see someone with a powershell api question =).

      I took a look at that old post and @scottybullet and I should clearly be friends. Looks like he posted some powershell api stuff before I published my module publicly.

      So as @Sebastian-Roth mentioned, check out the powershell module (check the links in my signature). If you use that as a dependency of your script you’ll have a good time. If this leads to some more functions needing to be added to the module to make it easier we can make the functions and get them added.

      So let me see if I got this straight.

      You have microsoft orchestrator (I’m not actually familiar with that product, but I think I get what it does from context)

      1. You want other employees to put info about a new computer into that product in some way
      2. That product sends that info to a powershell script
      3. The script adds the computer to fog and queues it to start imaging with wake on lan as soon as you plug it in to the network.

      Currently it isn’t auto joining the domain but you want it to.

      Well sir I believe the answer may be pretty easy. I usually add fog hosts using the pxe boot menu
      Firstly, something built in fog is setting default AD settings at http://fog-server/fog/management/index.php?node=about&sub=settings (select Active directory defaults). I pull that info when I register a host in the pxe boot menu and then edit it during a provisioning script to put things in the right OU. But I just realized that doesn’t matter because it doesn’t pull that information when you create from the API, but it’s still a feature that exists and there may be a way to leverage it in your situation but we’ll come back to that if we need to.

      Ok so first let’s create a host

      # you can also just do name, description, and macs and add the rest after with a set-fogobject command
      $HostJson = @{
          "name"=  "testHost-1"
          "description"=  "a test"
          "macs" =  @("11:22:33:44:55:66")
          "imageID" = "29"
          "useAD" = 1 
          "ADDomain" = "yourDomain.com"
          "ADOU" =  "OU=OUname,OU=ParentOU,OU=GrandParrentOU,DC=yourDomain,DC=com"
          "ADUser" = "domainUsername"
          "ADPass" = "plainTextPassword"
          "enforce" = 1
      }
      #note that "useAD" = 1 checks the join domain after deploy box
      #note that "enforce" = 1 checks the force rename and join even if user is logged in box
      #note that the password is in plaintext via the api because you are already authenticated to get to this point, this is why I prefer to pull from the existing default so I don't pass the password in plaintext anywhere. 
      
      #convert to ps object to a json string
      $json = $hostJson | ConvertTo-Json
      $newHost = New-FogObject -type object -coreObject host -jsonData $json
      

      Sidenote: @Tom-Elliott or @Sebastian-Roth is it possible to pull the default domain settings include username/password from the fog settings via the api? So that to add domain join info through an api call doesn’t require a plaintext password, or maybe some other solution, like making it so the defaults are pulled if a host created with the api has that join after deploy/useAD box checked?

      So that above code would add a new host with the domain information and stores the host info in a variable. You could then queue the image of the host with (I should really make a function for this)

      $jsonObj = @{
          "taskTypeID" = 1
      }
      $jsonData = $jsonObj | ConvertTo-Json;
      # create the image task on the newhost 
      New-FogObject -type objecttasktype -coreTaskObject host -jsonData $jsonData -IDofObject $newHost.ID;
      
      posted in General
      JJ FullmerJ
      JJ Fullmer
    • RE: HP Z640 - NVME PCI-E Drive

      Here’s the information from the debug session with the new init. Looks mostly the same. I’m going to try installing windows with default partitions the old fashioned way and I’ll see if image capture works by chance.

      0_1450114900061_vardump.jpg

      posted in Hardware Compatibility
      JJ FullmerJ
      JJ Fullmer
    • RE: Improve documentation

      @Sebastian-Roth and @Jurgen-Goedbloed Could I also be added as a maintainer. I would love to help with this project.
      Maybe we make some github issues for what documents need creating and or copy pasting and divide and conquer?

      posted in General
      JJ FullmerJ
      JJ Fullmer
    • RE: HP Z640 - NVME PCI-E Drive

      So here’s some good news, image capture works!
      I did just a default multiple partition install of windows and it uploaded no problem.
      I had still set the host primary disk to /dev/nvme0n1 in the gui.
      I’m going to try re-downloading the image to the same computer
      Then I’ll try to downloading the image I actually need on it that is single disk resizable.

      Thanks for all the help thus far.

      posted in Hardware Compatibility
      JJ FullmerJ
      JJ Fullmer
    • RE: Improve documentation

      @Jurgen-Goedbloed
      Are you able to see the built readthedocs page?
      I’m having trouble getting it to build locally to see what it’s going to look like and when I go to docs.fogproject.org I get a 403 error. I think that @Joe-Schmitt may have set some security up on that page on the fogproject domain while it was to be under construction. Maybe we should host it on the readthedocs domain until we get that figured out? That’s a setting in the readthedocs project that I can’t access.

      edit:
      Figured out my build problems, so can at least browse it locally. Updated the readme with build instructions and added a make.ps1 for easier building.

      posted in General
      JJ FullmerJ
      JJ Fullmer
    • RE: HP Z640 - NVME PCI-E Drive

      So downloading a multi-partition image that was uploaded from an nvme drive works on an nvme drive. But I can’t download one that was made before I updated the init
      I’m going to try uploading and downloading a resizable image and then I’ll also try reuploading my main image to see if uploading it using the new init makes some sort of difference.

      posted in Hardware Compatibility
      JJ FullmerJ
      JJ Fullmer
    • RE: Improve documentation

      @Wayne-Workman said in Improve documentation:

      @JJ-Fullmer can they be converted to something YouTube supports? (as opposed to re-recording)

      We can put them on the FOG Project Videos YouTube channel. https://www.youtube.com/channel/UCrvOQPcm1SDIfIrzWZ9K3bA/videos

      I think this would be an excellent method, gives us extra search visibility too.

      @Sebastian-Roth Good point on the gif. I was just thinking of what I’ve seen in other documentation recently. It’s cool for showing how quick and easy some things are but pause buttons are nice.

      Read-the-docs has a youtube video embedded in their docs so I took that as an example and did a test with a random youtube video from our channel
      https://fogproject.readthedocs.io/en/latest/management/index.html#hosts

      Looks good to me.

      I am having trouble getting the swf converted though. When I run it through handbrake or any online convert tool it comes out as a jumbled mess. It’s also a video showing the 0.12 fog gui. Maybe it’s not worth it, I very much doubt anyone uses that version anymore.

      posted in General
      JJ FullmerJ
      JJ Fullmer
    • RE: HP Z640 - NVME PCI-E Drive

      @Sebastian-Roth No problem. I’m happy to help.
      So I can’t upload a resizable image. It says
      “Problem opening /dev/nvme0n1p for reading”

      I’m going to try uploading my base image as a multi-partition and see if I can download that one.

      posted in Hardware Compatibility
      JJ FullmerJ
      JJ Fullmer
    • RE: Improve documentation

      @Wayne-Workman Just thought you’d appreciate this.
      I added a video from the channel to the snapin management page https://fogproject.readthedocs.io/en/latest/management/index.html#snapin-management

      posted in General
      JJ FullmerJ
      JJ Fullmer
    • RE: HP Z640 - NVME PCI-E Drive

      Well it only seems to work when it was uploaded from nvme drive. That’s kind of odd.

      posted in Hardware Compatibility
      JJ FullmerJ
      JJ Fullmer
    • RE: Improve documentation

      @Sebastian-Roth I tried to install that theme per the instructions in their git to no avail. I tried following some of the example site’s configs too and haven’t got it to work yet. I think it’s worth getting, just keeping you updated.

      Edit

      It wasn’t working because I had a dyslexic moment and because they were missing steps in their instructions

      installs with pydata-sphinx-theme but then you define it as your theme with pydata_sphinx_theme those silly underscores and dashes.
      I also had to add a html_context section and a html_theme_options sections in the conf.py. And I had to manually copy over the _templates files from the theme’s repo into our project. But I got it working. It changes things up a little bit but it’s fixable, it’s just a question of what makes the most sense.

      There are still some kinks to work out but I think I like it.

      It ends up looking like this

      b2046660-0ccc-4101-b7d2-9384eac0a6be-image.png

      a7bdeb27-2dbd-4800-bae9-c7ea48e4fc3f-image.png

      The front page is still very much a rough draft. But we could have something like this as exists in many other pages using this theme. Note the little panels. I figure we could have links to each top level section with a brief summary of what information is in each section.

      96a84a6e-e54c-43f5-a603-f763465d08d8-image.png

      This also changes it from combining pages into one index to more individual pages. It can be a bit easier to navigate this way and you still keep that information grouped together nicely in this theme. This is a nice find @Sebastian-Roth. All the themes I played with outside the default removed the read-the-docs version modal. This one is pretty great

      posted in General
      JJ FullmerJ
      JJ Fullmer
    • RE: HP Z640 - NVME PCI-E Drive

      @Tom-Elliott I will gladly test them!
      I’m currently trying the inits that came from the most recent btsync and they seem to be working too for the hardware inventory task anyway, haven’t tried an image yet.
      Where are the new inits to test? Oh wait you posted while I was typing this, I’ll download those and give them a go right now.

      posted in Hardware Compatibility
      JJ FullmerJ
      JJ Fullmer
    • RE: Improve documentation

      @Sebastian-Roth @Jurgen-Goedbloed I have got the new theme working with scrolling toc and all. I think the top menu needs a little tlc https://fogproject.readthedocs.io

      Do we want to stick with this theme or revert back to the default theme, I know @Jurgen-Goedbloed mentioned he didn’t like it as much. I don’t want to go changing the readme with the structural changes if we’re not gonna stick with this theme. Personally I didn’t like it at first but it’s grown on me and it’s pretty easy to navigate.

      posted in General
      JJ FullmerJ
      JJ Fullmer
    • RE: HP Z640 - NVME PCI-E Drive

      @Tom-Elliott The first test I did was with a multi-disk image that I made from a vm and it went back to the behavior it did before where it acted like it was working but never gets into partclone.
      I’ll do a debug session for that one since it happened to fast to snap a picture.

      posted in Hardware Compatibility
      JJ FullmerJ
      JJ Fullmer
    • RE: Improve documentation

      The theme has been reverted for now. I have made a top level tree and structured things per the sphinx and rtd recommendations.
      Since it’s now following the structure it’s designed to use, switching themes down the road should be easy breezy.

      posted in General
      JJ FullmerJ
      JJ Fullmer
    • RE: HP Z640 - NVME PCI-E Drive

      @Tom-Elliott I’m giving it a go now!

      posted in Hardware Compatibility
      JJ FullmerJ
      JJ Fullmer
    • RE: Retain multicast sessions?

      @george1421 I don’t know off the top of my head sadly. I don’t do much with multicast. But multicastsession is one of the apiobjects. So @Rivybeast you can give my powershell module a try. Once you’ve got it setup (i.e. Install-Module FogApi; Set-FogServerSettings;)

      You could mess with the multicastsession coreobject.
      A quick test I go this

       $test = New-FogObject -type object -coreObject multicastsession
      VERBOSE: Building uri and api call
      VERBOSE: Pulling settings from settings file
      VERBOSE: Pulling settings from settings file
      VERBOSE: Building Headers...
      VERBOSE: Building api call URI...
      VERBOSE: removing body from call as it is null
      VERBOSE: POSTing  to/from http://fog-server/fog/multicastsession/create
      VERBOSE: POST http://fog-server/fog/multicastsession/create with 0-byte payload
      VERBOSE: received -1-byte response of content type application/json
      VERBOSE: finished api call
      C:\Users\jfullmer\git\admin_scripts [master ≡ +1 ~3 -0 !]> $test
      
      
      id             : 4
      name           :
      port           : 0
      logpath        :
      image          : @{imageTypeID=; imagePartitionTypeID=; id=; name=; description=; path=; createdTime=; createdBy=;
                       building=; size=; osID=; deployed=; format=; magnet=; protected=; compress=; isEnabled=;
                       toReplicate=; srvsize=; os=; imagepartitiontype=; imagetype=}
      clients        : 0
      sessclients    : 0
      interface      :
      starttime      : 0000-00-00 00:00:00
      percent        : 0
      stateID        : 0
      completetime   : 0000-00-00 00:00:00
      isDD           : 0
      storagegroupID : 0
      anon3          :
      anon4          :
      anon5          :
      state          : @{id=; name=; description=; order=; icon=}
      imageID        :
      

      Which may give you some more ideas. The output at the end may be some of what you might be able to specify in the json data of a post call (New-FogObject). @Tom-Elliott May be able to help more as far as what data is needed to create a multicast session in the api.

      Based on these quick tests though I’d say there’s some high hopes.

      posted in General
      JJ FullmerJ
      JJ Fullmer
    • RE: HP Z640 - NVME PCI-E Drive

      @Arrowhead-IT ummmm, I just did another test to be more thorough and discovered a problem.
      After mps successfully downloaded I tried downloading a resizable image and it failed to recreate the partition table.
      Sorry for the false hope

      posted in Hardware Compatibility
      JJ FullmerJ
      JJ Fullmer
    • RE: Move partitions on GPT layouts - need people to test

      @sebastian-roth I hope to be building our 20H2 image the start of next year. So I can do some testing along with that for sure on this then.

      posted in General
      JJ FullmerJ
      JJ Fullmer
    • 1
    • 2
    • 9
    • 10
    • 11
    • 12
    • 13
    • 12 / 13