Thursday, April 28, 2011

Steve Miller's Apps

http://www.stevemiller.net/apps/

Whilst looking for a Touch command, I re-found Steve Miller's applications page.  I'd located ShareWatch in the past, quite handy on a Windows file server to tell who's connected, username, IP, and computername, and what files they have open.

Dependency Walker is also handy to tell which DLL's are required for an app.  Both apps are unzip and run.

There is a Touch command in his Console Toolbox, but I wound up using NirCmd instead.

Wednesday, April 27, 2011

HP server warranty check

http://h10025.www1.hp.com/ewfrf/wc/weInput?cc=us&lc=en

 There's a few HP warranty check sites.  This worked for all our servers.

VMware 8375637 Enabling root SSH login on an ESX host

http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&externalId=8375637
also see to enable SSH in general
http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&externalId=1003807

Enabling root user to login via SSH.  Newer versions of ESX disable root's ability to SSH.

Key command:
nano /etc/ssh/sshd_config
Find PermitRootLogin and change no to yes.

VMware 1003564 Investigating disk space on an ESX or ESXi host

http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&externalId=1003564

Tips to check where your ESX/ESXi disk space has gone.  This stemmed from not able to apply patches with Update Manager, due to lack of disk space.

Some key commands:
df -h
  shows storage devices with percent used
du -cshP /vmimages /var/core /root /var/log
  shows space used by each of these folders
find / -size +100M -exec du -h {} \; | less
  shows files larger than 100 MB
tar czvf /tmp/vmkwarning-logs.tgz /var/log/vmkwarning*
tar czvf /tmp/vmkernel-logs.tgz /var/log/vmkernel.*
tar czvf /tmp/messages-logs.tgz /var/log/messages.*
  tar commands to compress old log files