Category: Virtualization

Just random stuff - Nothing to see here - Move along...

Protected: GCP Cheat Sheet

There is no excerpt because this is a protected post.

Docker Cheat Sheet

Docker & Docker Compose Overview Quick List docker-compose build docker-compose up -d docker-compose logs -f docker exec -it <container> bash docker run -it centos docker ps -aq –no-trunc | xargs docker rm docker images -q –filter dangling=true | xargs docker rmi NOTE: Configure Direct-LVM Mode for Production Misc Can’t connect to your Container?  It Exists…
Read more

VMware: Using ESXCLI to Troubleshoot iSCSI Issues

There are a number of iSCSI related esxcli commands, all accessed using the ‘esxcli iscsi’ namespace: # esxcli iscsi Usage: esxcli iscsi {cmd} [cmd options] Available Namespaces: adapter Operations that can be performed on iSCSI adapters networkportal Operations that can be performed on iSCSI Network Portal (iSCSI vmknic) physicalnetworkportal Operations that can be performed on…
Read more

ESXi Firewall & ESXi Commands

# esxcli network firewall get Default Action: DROP Enabled: true Loaded: true After making changes, backup and regenerate system configuration: # /sbin/auto-backup.sh — /etc/vmware/esx.conf +++ /tmp/auto-backup.4408027//etc/vmware/esx.conf @@ -299,6 +299,8 @@ /firewall/services/vprobeServer/enabled = “false” /firewall/services/WOL/allowedall = “true” /firewall/services/WOL/enabled = “true” +/firewall/services/dynamicruleset/allowedall = “true” +/firewall/services/dynamicruleset/enabled = “true” /firewall/services/vMotion/allowedall = “true” /firewall/services/vMotion/enabled = “true” /firewall/services/snmp/allowedall = “true” Saving…
Read more

Watching ESXi VMware Server Logs

Easy monitoring script for checking ESXi VMware logs:  Log into the ESXi host console via ssh and create a script called “monitorlog.sh” # cd /var/log # vi monitorlog.sh while : do clear echo “Current time: date” tail -10 vmksummary.log|grep heartbeat|tail -1|awk ‘{print $2, $3 ” Uptime: “$4 ” Total VMs: “$5}’ echo “=======================================================” echo echo…
Read more