Archive : February

Can I migrate this website to be a Static Web App using Github repository for Free? (part 1)

I have been thinking of doing this for a while after speaking with Dave Simpson and he said he had done but was using AWS so i checked out John Saville YouTube video on this as he explained it really well.

Free Website Hosting with Microsoft Azure Static Web Apps – Bing video

Also watched Harry Lowton YouTube video

How To Create A Static Web App On Azure – Bing video

Decided this was possible create Github account and Azure account and followed Harry Lowton video now have a static Web App displaying a blank page.

Now need to Export website from current Hosting provider and export site from wordpress to Hugo which can use Markdown (something else to learn) for the export I used the following plugin wordpress-to-hugo-exporter This was really easy and I now have the complete site in Markdown.

Now I need to work out how to import my markdown file to my new site and what tools I can use on iPad to enable me to use iPad.

To be continued…

Homelab Mac Pro 6,1 (Trashcan) 2013 built using Cloud Foundation Lab Constructor

My main homelab  machine is Mac Pro 6,1 (Trashcan) 12 core Xeon 128gb ram 500gb M2.

HP MicroServer N54L running Freenas providing additional storage.

As you can see from Screenshot ESXi 8  is installed on Mac Pro.

I used the the following link and instructions once registered.

VMware Cloud Foundation Lab Constructor (google.com)

SDDC Manager

Nested hosts view from SDDC Manager

Nested Hosts in vCenter

NSX-T Manager showing Transport zones created

NSX-T Manager Host Transport Nodes

This is not a detailed guide just wanted to see if it would work was slow and really need to upgrade m.2 drive, I had configured to use FreeNas for storage. Once I upgrade the m.2 drive I will try again and write a more detailed guide.

VLANs in VMware Workstation

Install and configure Hyper-V using PowerShell

(Your computer must be capable of hardware virtualization and set in BIOS)

#Open Powershell As Administrator

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All

Enable-WindowsOptionalFeature -Online -FeatureName HypervisorPlatform

#reboot

#find the network adapter you want to attach the VLAN’s

Get-NetAdapter -Physical

Create a new VMSwitch

(normally the VMSwitch is for VMs but the -AllowManagementOS option allows the OS to interact)

New-VMSwitch -name ExternalSwitch  -NetAdapterName Ethernet -AllowManagementOS $true

Add a VM VLAN adapter

(Remember an access port doesn’t need the traffic to be tagged but it will be tagged when it hits the VLAN on the VMSwitch).

Add-VMNetworkAdapter -ManagementOS -Name “VLAN1” -SwitchName “ExternalSwitch” -Passthru | Set-VMNetworkAdapterVlan -Access -VlanId 1

(Remember an access port doesn’t need the traffic to be tagged but it will be tagged when it hits the VLAN on the VMSwitch).

Add-VMNetworkAdapter -ManagementOS -Name “TRUNK1” -SwitchName “ExternalSwitch” -Passthru | Set-VMNetworkAdapterVlan -Trunk -NativeVlanId 0 -AllowedVlanIdList “10,4,8,6,11,12”

Get list of management VM VLAN adapters

Get-VMNetworkAdapterVlan -ManagementOS

Enable Jumbo Frames

(If required)

Open network adapter control panel ncpa.cpl

Right click the physical adapter e.g. Ethernet 2 and click Configure

Select Advanced > Jumbo Packet > 9014 Bytes and click OK

Repeat this for the EXTERNALSWITCH / VLAN / TRUNK adapters

(REMEMBER JUMBO FRAMES NEEDS TO BE ENABLED IN THE ENTIRE NETWORK CHAIN)

Install VMware Workstation

Use all the default installation parameters install and reboot.

Setup Virtual Network Editor

Use PowerShell to find the InterfaceDescription names

Get-NetAdapter

In VMware Workstation Pro go to Edit > Virtual Network Editor and click change settings

Select the VMnet0 and Bridge to an unused adapter and click Apply

Now Click “Add Network” and create a new network adapter e.g. VMnet2 and click OK

Select the VMnet1 adapter and click rename enter VLAN1 and click OK

Select the VLAN1 adapter and click bridged then find the network adapter with the PowerShell InterfaceDescription of the VLAN1 (in my case the is “Hyper-V Virtual Ethernet Adapter #2”) select from Bridged to: drop down and click OK

Do the same for the TRUNK or any other VLAN’s