Friday, June 26, 2020

Netlify + Namecheap + ImprovMX = New Website

So with my recent splurge into development I realized that eventually I'd need a domain with a real looking website. The formatting options here on Blogspot suck horribly, I can't even use this place to host my resume without it looking like a 12 year old Dutch girl composed it.

So I will be making the move slowly to BenHart.Dev

I do have to say... the Reddit suggestions from r/webdev to use Netlify were spot on! I mean there was a tiny DNS record issue on the backend but one forum post is all it took to resolve it.  They even support deploying straight from github/bitbucket/etc which really excites me.

Plus setting up a free ImprovMX account allows me to forward mail sent to ben at benhart.dev to my personal Gmail account!

And going with Namecheap for the domain.. their Beast Mode name search really helped me narrow down the domain name I wanted.

I'm super excited!

Wednesday, June 24, 2020

Udemy: Django + Python: Complete Bundle

Up and onward into my development learnings is this course from Udemy. Now I readily admit.. this was a spur of the moment choice due to a 90% sale ending very soon.. I did not research it well enough.
The lecturer is obviously a super smart guy and very skilled in the ways of the Python (we haven't reached Django yet).  But being an English as a second language guy, sometimes his ideals aren't explained in familiar ways.

So you might wonder why I chose Django. I was wanting two things: more intermediate Python, and a framework to step into.

From what I can tells the primaries are Django and Flask.. the later's been described to me as a good enough framework but does not contain all the things you;d expect to find.  More of a DIY choice. Whereas Django has a ton of stuff built-in like auth, html, etc.

And honestly there's not a ton of choices I could come across that deal with those two packages primarily.  I started this this past weekend, I've been able to skip through some of the beginning level Python stuff but we're now approaching the meat of the course. I'll re-post back with my thoughts.

Coursera: Python for Beginners

So as my second foray into Python learning, I chose the Python for Beginners specialization.. You might ask why?

Well the reasoning was to hopefully hear about some of the most complex parts: lists, dictionaries, tuples a second time and using different words. I figure hearing about the same topic multiple, identical times is wasteful. But having a topic described in two completely different ways is best to help it sink in.
And it did I believe. Honestly I did not like this one, the TA's and lecturers used were not good speakers...nothing like Dr. Chuck that's for sure.

I mean, don;t get me wrong I did pickup more on the entirety of the beginning levels of the subject but it could have been easier.

Coursera: Python For Everbody

EDIT: The dates are wrong.. I actually completed this back last month. Just forgot to post it.

So I after hew and hawing over Python for the better part of 2 years I finally decided to go after what I can afford.  The PY4E Specialization on Coursera is led by Dr. Chuck Severence from the University of Michigan: Ann Arbor. The guys great at explaining things in a way for total noobs to understand.
This specialization is listed as a 6 month duration but I felt like spending more than 2 hours a week so I knocked it out in about a month.  Even got a certificate to prove it!

What I liked about the experience was  they incorporate assignments to help practice and drive home what was taught. Some were difficult for me I'll admit.. I did resort to IRC help on #python for a few of them.

But it was so much more effective than lecture alone.

Anyway now I'm onto the next specialization, Python for Beginners.

Monday, May 11, 2020

Veeam using BackBlaze API

So recently (like last week) BackBlaze announced the support of S3 API calls.  Something people have wanted literally for years now. Me included.

Anyway you all know me, I don't throw a bunch of fluff out.. here is how to add a B2 bucket as a repository.

First off some things that took me way too long to discover:

Buckets created prior to May 4 2020 won't work. So you have to create a new bucket.

Here's a handy link of tips:  Help.Backblaze.Com

Open Veeam (duh)
Click on Backup Infrastructure
Right-Click Backup Repositories
Choose 'Add Backup Repository'
Click on Object Storage
S3 Compatible
    Service Point: The entire S3 Endpoint url in your Application Key
    Region: Just the 'us-west-000' or equivalent in your app key
    Credentials: Create a new one based off your Key ID and Application Key
Make sure the bucket you associated with the Application ID is correct, create a new folder within





That's it!




Wednesday, April 29, 2020

Azure AD Connect error 8244-- SOLVED

So here I was the other day setting up AAD Connect for a new employer, gotta get those account sync'd!  Anyway this being yet another in a long series of inherited networks I ran into almost every single user object in the specified OU's to be sync'd erroring out according to the Synchronization Service Manager under Connector Operations with a 'permission-issue' error 8244.

I spent some quality time with Google and found where people needed to ensure the local sync account has been added to the domain level with:


So I did that, but it did not help. I start looking into the NTFS Security permissions on the users and OU's and low and behold not a single level has inheritance enabled.

So I found this powershell blurp: https://community.spiceworks.com/topic/2120107-powershell-to-enable-inheritance

Ran this and BOOM all my objects were now enabled, however re-running a Delta sync I was still getting mass errors.  So as a test I added the sync account with FC permissions and that account's password hash was sync to AAD.  Odd I thought, so I went looking further and in the event log event 611


So using this I found, eventually, that the sync account needs permissions to edit: ms-dS-ConsistencyGuid which then led me to this:

$accountname = "<domain>\ad_forest"
$forestdn = "dc=<domain1>,dc=<domain2>"
$cmd = "dsacls '$forestdn' /I:S /G '`"$accountname`":WP;ms-ds-consistencyGuid;user'"
invoke-expression $cmd

Once I ran that, I could then see the sync account under the Security tab of all my user objects and the next Delta sync kickoff ran without any errors.



Sunday, January 5, 2020

Windows 10 MPIO, Here's how to do it.

So recently I swapped my Linux Plex server with a Windows box.  Actually truth be told I re-purposed a Barracuda 410 Web Filter appliance.. It was powered by Pentium G850 which I upgraded to an I7-3770K..  Oh and before I forget to mention I did get the front NIC ports working. Ask me how :)

Anyway the point of this post is to explain MPOI in Win10. So I'm running Win 10 LTSB on this box because I don;t want some errant update screwing up my media experience. Plus my back end storage is a Drobo 810i. So I've got both Drobo nics setup for iSCSI and I wanted the front nic ports of the now dubbed 'CudaPlex' (patent pending), to be dedicated to iSCSI.

Now WIndows 10, while similar to Server 2012/2016 does not support multi-path out of the box.  But after much time spent on Google I finally found a working solution. And to help save it for posterity I'm posting it here.

Originally found on the Technet forums it worked beautifully for me.

Here's the post:

Hi

I managed to "transplant" MPIO and msdsm driver from Windows 2019 to Windows 10 Pro (1703, 1709, 1803 and 1809) with success.
The method needs to import some registry, copy necessary files into original place and manually check update for drivers.
There was slow and old Infortrend Disk Array in my test (3x Gig connected to switch with 10Gig to PC), so PC initiated 3 paths from 1x10Gig to 3x1Gig
https://i.imgur.com/tqaJq0U.png
https://i.imgur.com/k2riJi7.png
https://i.imgur.com/3Gx4OyF.png

But in fast PC + fast array (4x1Gig Array + 4x1Gig PC) it performs like this
https://i.imgur.com/B94ZumQ.png
How-to and script+files+registry are located inside zip file (link below).
https://ufile.io/u2003
Beware!!! Backup first and this "mod" is for test/educational purpose only. You do it at your own risk and take the responsibility upon yourself and you are not to blame me.

Regards
Chris




  • Edited by cra3y Saturday, January 19, 2019 10:50 AM
Friday, January 18, 2019 5:42 PM

I ran a system restore backup first just to be safe but this worked perfectly for me. Both PCIe nics are dedicate to iSCSI and I gained the performance boost only attributed to MPIO after following this guys process.

Enjoy.