Wednesday, January 23, 2019

Netplan error: Unknown key version

If you get the error: Unknow key version when trying to 'try' or 'apply' a netplan config file re-check your indentations.  They are off.. that's what causes this error.

Enjoy


p.s. yaml is 4 spaces for each indent.

Tuesday, January 15, 2019

Juniper EX switch, config backup and restoration.

Recently we bought a Juniper EX2300-48MP switch based off much research and many reviews.. in addition the price point and performance beat out a comparable Cisco Catalyst.

Anyway yesterday morning the switch ran into issues that resulted in a support call and an RMA'd unit being sent out. FF to today and I've got the new switch in hand so now it's time to backup and restore the working config from old to new.

I won;t bore you with details bu suffice to say it took a helluva lot of Googling to finally find a process that works.  Seems the vast majority of Juniper guides out there are for their routers.


Anyway setup an FTP server locally, then SSH into your source switch and run:


  • cli
  • config
  • save ftp://username:password@ip_address/filename

On the destination device:

  • cli
  • config
  • load replace ftp://username:password@ip_address/filename
  • commit

Yes I know.. it's pretty easy but trust me when I say it took me a good hour to find this so I wanted to document it here.



Friday, January 11, 2019

Rebuilding the homelab.

So now that we're settled again,things at work and here at home have quieted down a bit I've decided to begin rebuilding my homelab/stack.. this time using more Docker.

I was able to upgrade one of the kids rigs for X-mas so I have the old box, an HP Z400 workstation. It's got an older Xeon and I scrounged up 32 gigs of DDR3 and mirrored a pair of 500gb Sata WB Blues. 
Installed Vsphere 6.5 last weekend and this weekend I'll be setting up the docker host and possibly a few of the first containers.

So the plan for far is the following:

Portainer (because duh)
librenms
Ubuntu (or something with bash to upload images to Wunderground)
Plex (if I can find a suitable replacement for my dead NAS)
Guacamole


Provided I can replace the NAS I'll roll couchpotato and radarr, also thinking about a web server to provide remote access to my networked camera.. still unsure on that one.

All of this being built on top of Vsphere 6.5 because it's the best hypervisor out there. (KVM/QEMU still get some love tho)