SHIFT-WIKI - Sjoerd Hooft's InFormation Technology
This WIKI is my personal documentation blog. Please enjoy it and feel free to reach out through blue sky if you have a question, remark, improvement or observation. See below for the latest additions, or use the search or tags to browse for content.
Script: ESX: Grep Info From All VMX Files
Summary: I used this small command/script to grep all nic devices from all the virtual devices that are registered on the host
Date: Around 2014
Refactor: 1 May 2025: Checked links and formatting.
for vm in `vmware-cmd -l`; do grep -i displayname "$vm"; grep -i 'ethernet..virtualdev' "$vm" ; done
This could also be implemented in a script to make it more readable:
for vm in `vmware-cmd -l`; do grep -i displayname "$vm"; grep -i 'ethernet..virtualdev' "$vm" ; done
This will give you an output like this:
displayName = "SLES11-PROXY" ethernet0.virtualDev = "vmxnet3" ethernet1.virtualDev = "vmxnet3" ethernet2.virtualDev = "vmxnet3" displayName = "W2K8-Template" ethernet0.virtualDev = "vmxnet3" displayName = "W2K3-REPORTS" ethernet0.virtualDev = "e1000" displayName = "WINXP-RDP-SJOERD" displayName = "SLES11-REVPROXY" ethernet0.virtualDev = "vmxnet3" ethernet1.virtualDev = "vmxnet3" ethernet2.virtualDev = "vmxnet3"
Note: The Windows XP box listed does have a network card, being the “flexible” adapter. This card however is not listed in the VMX file.
VMWare VLAN
Summary: This is a small howto on adding a VLAN to your VMWare ESX environment. In this example we add VLAN 20.
Date: Around 2012
Refactor: 1 May 2025: Checked links and formatting.
VLANs are added through the host, so in your VirtualCenter select a host, click on the tab 'Configuration', and from the Hardware part select 'Networking':
To add a VLAN you first have to go into the properties of the Virtual Switch, so click on 'Properties', which will give you this window:
After clicking 'Add' you'll get this Wizard. Select 'Virtual Machine' as connection type and click next:
Give the new network a logical name, for example: 'VLAN 20' and add the VLAN ID:
When you're done with the wizard you have to do this for every host in your environment:
AIX Rsync
Summary: ALthough AIX is by now on version 7.3 I find these old pages so fascinating I decided to keep them. On this page I'll show you how to work with rsync (remote sync is a utility for transferring and synchronizing files between a computer and a storage drive and across networked computers) on AIX. This page is for AIX 5.3 and AIX 6.1.
Date: Between 2010-2013
Refactor: 21 December 2024: Checked formatting.
Active Directory Domain Controller in Azure
Summary: How to setup an Active Directory Domain Controller in Azure.
Date: Around 2017
Refactor: 20 February 2025: Checked links and formatting.
After starting with Getting Started With Azure you are now ready for creating your first VM in Azure and of course we'll start with a Domain Controller. I need this for a later tutorial so it's as good as any and it will touch a lot of different concepts and useful information.
The overall process consists of a few steps:
- Create the Virtual Network, Resource Group and the Storage Account
- Create the Virtual Machine
- Install the Domain Controller
Note that this page continues from Getting Started With Azure and assumes your Azure subscription is entirely empty and never used. For this tutorial we'll use the MSDN subscription as it has a higher credit.