Changing Ubuntu Server from DHCP to Static IP Address (Ubuntu Server 16.04 TLS) Recently, created a couple of LAMP stacks with Ubuntu 16.04 and needed to issue a Static IP so that it could be NAT’d as a web server. I have used this command Step 1. sysadmin@ubuntu:~$ sudo nano /etc/network/interface auto ens160 iface ens160 inet […]
Read more "Set static IP Ubuntu 16.04"
SAN zone create for Cisco MDS series switch using the CLI commands We have two new ESXi host that need storage mapping to our Dell Compellent SAN. Each ESXi host is dual port 8Gb HBAs. We have two separate fabric zones (vSAN 20 and vSAN 21). This way in a HA fail-over only one switch needs to […]
Read more "Adding ESX host to Cisco (vSAN) Fiber Channel Switches (MDS 9000)"
Creating a persistent scratch location for ESXi 4.x/5.x/6.0 Recently, I updated the storage array and while one of the controllers (Dell Compellent split-controller design SC4020) was rebooting, I’ve noticed that occasionally the host loses communication to the SAN array via the fibre channel. Even though I used dual pathing for each ESXi host, vSphere was […]
Read more "VMware vSphere ScratchConfig Error – Persistent Scratch Location for ESXi 4.x/5.x/6.0"
Recently, I’ve created a few Ubnuntu 14.04.04 LTS (GNU/Linux 4.2.0-36-generic x86_64)LAMP Severs. Since these VMs are not Windows, I wanted to find out how to install VMware tools for HA. So, that if the ESXi host has problems, it can talk to the guest OS, in this case Linux Ubuntu Server 14.04.4. I found these […]
Read more "Install VMware Tools Ubuntu Server Virtual Machine"
Cisco IOS-XE No Longer Uses Trunk Encapsulation Dot1q I have a pair of Cisco Catalyst 3650X-48TS switches running IOS 12.2(55) and when using trunk encapsulating dot1q from the router to the switch, and then, to the client, Cisco decided to change the commands. For example, I want to pass two VLANs from the switch to my ESXi […]
Read more "Cisco IOS XE Release 3.6E (Catalyst 3650 Switches)"
I recently need to move files from one drive in Windows C: to another drive or volume E: due to space limitations. I created this batch file to move files from one directory to another directory older that X number of days. I moved all files older than 360 days. From an elevated command prompt: […]
Read more "Move Files Older Than X Days Batch Scripting"