Sunday, June 30, 2019

Fiddler: set default registration host

prefs set fiddler.network.proxy.registrationhostname localhost

Saturday, June 29, 2019

Installation of VMware ESXi on the Mac Mini 2018 model

https://www.ivobeerens.nl/2018/11/12/using-the-apple-mac-mini-2018-as-vmware-esxi-homelab-host/

How to create a bootable USB key from any ISO image using the Microsoft USB DVD tool

"

USB Creation Tool for Windows 7

If you’re downloading Windows 8 or Windows 10 as an ISO file, you probably want to burn them to a DVD. For Windows 7, you only get the option to download the ISO file (no media creation tool), so you might want to burn it to a DVD or make a bootable USB flash drive.
Luckily, Microsoft has another free tool called the USB/DVD Download Tool that will take the ISO and install it onto a USB flash drive or burn it to a DVD. Note that this tool is called Windows 7 USB/DVD tool, but it works with the Windows 10 and Windows 8 ISO image files also.
Once you download and install it, you’ll simply go through a four step process. First, you pick your Windows ISO image file like shown below."
https://www.online-tech-tips.com/computer-tips/download-windows-10-8-7-install-usb-flash-drive/

Friday, June 28, 2019

MacOS Mojave on ESXi 6.7

https://www.nakivo.com/blog/run-mac-os-on-vmware-esxi/


Thursday, June 27, 2019

ESXi hypervisor on a Hyper-v host

https://www.nakivo.com/blog/install-esxi-hyper-v/

https://dscottraynsford.wordpress.com/2016/04/22/install-a-vmware-esxi-6-0-hypervisor-in-a-hyper-v-vm/

https://www.vembu.com/blog/installing-esxi-6-0-in-a-hyper-v-virtual-machine/

https://vibsdepot.v-front.de/wiki/index.php/Net-tulip

https://www.v-front.de/p/esxi-customizer-ps.html

https://en.wikipedia.org/wiki/PowerCLI

https://rlevchenko.com/2018/01/11/how-to-customize-a-vmware-esxi-image-and-install-it-in-a-hyper-v-vm/


https://derflounder.wordpress.com/2018/05/15/upgrading-from-esxi-6-5-to-esxi-6-7-via-ssh-and-esxcli/

https://www.reddit.com/r/vmware/comments/99kiy0/running_vmware_esxi_under_hyperv_2016_lab/
Version 6.I'm using the following command line which should be creating a 6.0 ISO with net-tulip drivers which is supposed to recognize the Hyper-V legacy network drivers but for some reason it doesn't appear to.
.\ESXi-Customizer-PS-v2.6.0.ps1 -v60 -vft -load net-tulip

KovakKnight
Aug 24, 2018, 7:31 PM
The tulip network drivers required for this to work were blacklisted or otherwise not compatible with the latest version of ESXi 6.0. ESXi-6.0.0-20170604001-standard was the last version that is currently known to work with these drivers. You can get it using the customizer script with the command " .\ESXi-Customizer-PS-v2.6.0.ps1 -sip -vft -load net-tulip" and choosing the correct number option for 6.0.0-20170604001 (currently #57). I just did this today and the network drivers work just fine.

keitheii
Aug 26, 2018, 8:19 AM
Thank you, that did it. I wonder why they're advertising that this works with v6.7 if the last version it worked with is a 6.0 build from 2017. In any event, I was able to get past that blocking point so thank you!
-Keith

https://tinkertry.com/easy-update-to-esxi-67


https://www.vladan.fr/how-to-upgrade-esxi-6-x-to-6-7-via-iso/


https://www.vladan.fr/upgrade-esxi-6-x-to-6-7-via-cli-two-methods/

https://justinbraun.com/2019/01/upgrading-my-home-lab-from-esxi-6-0-to-esxi-6-7/



https://www.stephenwagner.com/2016/12/07/vmware-vsphere-6-5-conflicting-vibs-when-upgrading-esxi-6-0-to-6-5/

https://help.macstadium.com/articles/update-standalone-esxi-host-via-online-bundle


'you may use the esxcli software profile update command to preserve the VIBs"


https://www.v-front.de/2013/09/how-to-update-your-standalone-host-to.html



SOLUTION TO NETWORK PROBLEMS:

https://communities.vmware.com/thread/511875?start=15&tstart=0

"I finally made it!
The second issue I was having was a distraction: when I rebuilt the ESXi from scratch (VM itself), I forgot to enable the MAC Spoofing 
I've been showing it on the phone for like 30 minutes to a colleague of mine, you know, a couple of eyes more and when he asked to see the VM configuration I realized myself what was missing. Basically when I firstly had this set up, it didn't work because I didn't have mac spoofing, promiscuous mode and a legacy adapter on the 2k12 machine. Then I had all done as you guys suggested but then by mistake I forgot about the spoofing..

So, to make it short I:
  • Removed the two standard virtual NICs from the DHCP/DC/DNS W2K12 VM and add Legacy NICs. [No need to enable MAC Address Spoofing on these two network cards]
  • Created the ESXi in Hyper-V and make sure each NIC was a Legacy NIC. Furthermore, I enabled MAC spoofing in the advanced features tab.
    • Connected the first one to EXT01
    • Connected the second one to INT01
    • Third on to INT02
  • Removed, from the ESXi in Hyper-V, all Integration Services (kind of useless to keep them on, I only left the volume checkpoint one on)
  • Enabled promiscuous mode in the ESXi's VM's XML, right under
  • Installed the ESXi on the newly created VM
  • Connected to the ESXi through the EXT01 address (which is the only one with a gateway, from my office)
  • Configured the networking as I like
    • So I removed from the standard vSwitch0 the VM Network port group and also disabled Management Traffic as I want this to purely communicate with my office network only to allow me access to the ESXi.
      • I might come in the future (if I want a vCenter VM running in VMware) and add a VM Network again for External access so that I can also access vCenter from the office network
    • I also created two new vSwitches, one for INT01 which I will use for vMotion, FT etc and one for INT02 for VM traffic

I hope I won't encounter any other issue during my testing, one thing I can tell for sure: Having this lab nested is great as I can easily restore a previous configuration in case I break something during my testing.
Now head down to study!!! 

Thanks everybody for helping!"


Manage the Acceptance Levels of Hosts and VIBs
https://docs.vmware.com/en/VMware-vSphere/6.7/com.vmware.vsphere.security.doc/GUID-751034F3-5337-4DB2-8272-8DAC0980EACA.html

Upgrading my home lab from ESXi 6.0 to ESXi 6.7
https://justinbraun.com/2019/01/upgrading-my-home-lab-from-esxi-6-0-to-esxi-6-7/ https://www.v-front.de/2015/03/vsphere-6-is-ga-ultimate-guide-to.html

Large downloads via Fiddler proxy

https://stackoverflow.com/questions/25281708/is-it-possible-to-make-fiddler-not-buffer-large-requests

"FWIW, request streaming was added to a later version of Fiddler; see the BufferRequest property. – EricLaw Mar 1 '16 at 17:51"


https://groups.google.com/forum/m/#!msg/httpfiddler/LHaypbyWsKc/0cxvnVgVJgAJ


Yes, the problem you're encountering is that you're trying to emulate a WebSocket (bidirectional streaming) atop a technology (HTTP) that wasn't really designed for that purpose.

You can probably make this work by enabling Request Streaming AND Response Streaming on the connection. As explained in the Fiddler Book:

Request Buffering 
When a client connects to Fiddler, Fiddler will, by default, read the entire HTTP request from the client. If a breakpoint is set, the request is then paused to allow tampering using the Inspectors. After the request is resumed, the server connection is established and Fiddler transmits the entire request to the server. Fiddler offers a mechanism to stream a HTTP request body to the server as it is read from the client. This is primarily useful if you need to use Fiddler to transmit uploads larger than 2 gigabytes, because .NET is unable to buffer arrays of that size. 

To activate request streaming, you must set the BufferRequest property on the Session’s Request object to false before the request body is read. Inside FiddlerScript’s OnPeekAtRequestHeaders function (you may need to uncomment it), add code similar to the following: 

 // Code modified from the book example to be specific to your scenario
  if (oSession.host.Contains("whatever.com") && 
     oSession.oRequest.headers.ExistsAndContains("Transfer-Encoding", "chunked")) {  
         oSession["ui-backcolor"] = "orange";
         oSession.oRequest.BufferRequest = false;
         oSession.bBufferResponse = false;
 } 

Streamed requests cannot be modified using Fiddler’s Inspectors.

Mimmo97 Blog Archive