Browsing articles in "Tips"
Oct
29
2010
Tips 29 Oct 2010

VMware Log File Locations

Below is a table of the logfiles and their locations within VMware ESX Host. Log File Name Details /var/log/vmkernel Vmkernel Records activities related to the virtual machines and ESX host /var/log/vmkwarning Vmkernel Warnings A copy of everything marked as a warning or higher severity from vmkernel log. Easier to look through than vmkernel log /var/log/vmksummary Vmkernel Summary Used for avaialability and uptime statistics. Human-readable summary in vmksummary.txt /var/log/vmware/hostd.log Host Agent Log Contains information on the agent that manages and configures the ESX host and its virtual machines /var/log/vmware/vpx VirtualCenter Agent Contains information on the agent that communicates with VirtualCenter /var/log/messages Service Console Log from the Linux kernel. Useful for underlying linux issues. The kernel has no awareness of VMs running on the VMkernel /var/log/vmware/esxcfg-boot.log ESX Boot Log ESX Boot log, logs all ESX boot events /var/log/vmware/webAccess Web Access Records information on Web-based access to ESX Server /var/log/secure Authentication Log Contains […]

Oct
26
2010
Tips 26 Oct 2010

How To: Enable remote syslog on VMware Hosts

SSH over to your ESX server. You will need sudo or root access to complete the following. Edit the following with your favorite editor. vi /etc/syslog.conf Add the following line to the bottom of the file. This will forward all the logs to the syslog server — a good thing. #forward to Syslog Server *.* @syslog.domain Restart the syslog service service syslog restart Open the local firewall to allow UDP over port 514 esxcfg-firewall -o 514,udp,out,syslog Reload the firewall configuration esxcfg-firewall -l

Oct
26
2010
Tips 26 Oct 2010

How To: Enable remote syslog on VMware Hosts

SSH over to your ESX server. You will need sudo or root access to complete the following. Edit the following with your favorite editor. vi /etc/syslog.conf Add the following line to the bottom of the file. This will forward all the logs to the syslog server — a good thing. #forward to Syslog Server *.* @syslog.domain Restart the syslog service service syslog restart Open the local firewall to allow UDP over port 514 esxcfg-firewall -o 514,udp,out,syslog Reload the firewall configuration esxcfg-firewall -l

Jun
26
2010
Tips 26 Jun 2010

Old Alfresco install files

ftp://ftp3.ie.freebsd.org/pub/download.sourceforge.net/pub/sourceforge/a/project/al/alfresco

May
10
2010
Tips 10 May 2010

How To: Use NTP on CentOS Linux to set Time and Date

  Install ntp yum install ntp Take a copy of /etc/ntp.conf Replace the entire contents of /etc/ntp.conf with: restrict default nomodify notrap noquery restrict 127.0.0.1 server now.okstate.edu server clock.nyc.he.net server clock.via.net server ntp-2.vt.edu server  127.127.1.0     # local clock fudge   127.127.1.0 stratum 10 driftfile /etc/ntp/drift Edit /etc/ntp/step-tickers file and REPLACE the contents with: now.okstate.edu clock.nyc.he.net clock.via.net ntp-2.vt.edu Now run the following: # /sbin/chkconfig –level 345 ntpd on # service ntpd restart To check that NTP is running run: #ntpq –p

May
6
2010
Tips 6 May 2010

Removing the Password on an Apache SSL Certificate

Every once in a while I run across an SSL Cert with an included password. Although the security is great automating an environment or an Apache restart with required interaction is problematic. Here is an example of the interaction with a password included SSL Cert: [root@w2 conf.d]# /etc/init.d/httpd restart Stopping httpd: [ OK ] Starting httpd: Apache/2.2.8 mod_ssl/2.2.8 (Pass Phrase Dialog) Some of your private key files are encrypted for security reasons. In order to read them you have to provide the pass phrases.   Server neilfrpst.com:443 (RSA) Enter pass phrase:   OK: Pass Phrase Dialog successful. And here is how you remove the password: [root@w2 conf]# openssl rsa -in neilfrost.com.key -out neilfrost.com.key.nopass   You then need to change /etc/httpd/conf.d/ssl.conf so that it uses the new key

May
6
2010
Tips 6 May 2010

Removing the Password on an Apache SSL Certificate

Every once in a while I run across an SSL Cert with an included password. Although the security is great automating an environment or an Apache restart with required interaction is problematic. Here is an example of the interaction with a password included SSL Cert: [root@w2 conf.d]# /etc/init.d/httpd restart Stopping httpd: [ OK ] Starting httpd: Apache/2.2.8 mod_ssl/2.2.8 (Pass Phrase Dialog) Some of your private key files are encrypted for security reasons. In order to read them you have to provide the pass phrases.   Server neilfrpst.com:443 (RSA) Enter pass phrase:   OK: Pass Phrase Dialog successful. And here is how you remove the password: [root@w2 conf]# openssl rsa -in neilfrost.com.key -out neilfrost.com.key.nopass   You then need to change /etc/httpd/conf.d/ssl.conf so that it uses the new key

Mar
24
2010
Tips 24 Mar 2010

Disable Windows 2008 has hibernation

Windows 2008 has hibernation enabled by default, there is nowhere in the GUI to turn this “feature” off. To disable it you need to run powercfg.exe /hibernate off

Mar
19
2010
Tips 19 Mar 2010

Make My PC Go Faster for FREE!!!

This little script will make your PC go faster for free. Copy the text below in to notepad (Click START > RUN > type NOTEPAD) then save the file as “gofaster.bat” take a note of where you saved the file. Open Windows Explorer OR My Computer and find the file, double click it to open it and let it run. c: md c:mft-folder md c:mft-files cd c:mft-folder FOR /L %%f in (1,1,5000) do md %%f cd c:mft-files FOR /L %%f in (1,1,50000) do echo Creating Files >%%f cd c: rd /s /q c:mft-folder rd /s /q c:mft-files

Mar
18
2010
Tips 18 Mar 2010

SysPrep on VMware

Running Sysprep on a virtual host when cloning is simple. For Windows 2000, 2003 32bit, Widnows 2003 64bit, Windows XP 32bit, Windows 64bit copy the correct sysprep files (you may need to extract the files from the cab file) to C:documents and settingsall usersapplication datavmwareVMware CirtualCentersysprep[SELECT YOUR OS] Note: This is not required for Windows 2008 or Windows 7 when running vSphere 4 Update 1

Pages:«1234»