Pages

Saturday, July 20, 2013

Replacing Default vCenter 5.1 and ESXi Certificates

In VMware vSphere environment we noticed that all the components get installed with self signed certificates. But somewhere this can some security concern like man-in-middle attack, So this is recommended to replace those certificate with commercial CA like VeriSign or Custom Enterprise CA.

VMware have well documented procedure to achieve this you find the same under below link:-



Thursday, July 18, 2013

Free training videos on products and certification

Dear All,

Here are FREE videos from VMware Education Services on various topics including products and certification at http://www.vmwarelearning.com and http://vmwarecertificationvideos.com.  You may find them informative.

This is really helpful.

Regards.


VCP Exam discount Voucher ! (25%) ! Hurry till 31 Oct 2013.


Wait till next promotion !!


Meanwhile if not yet completed, you can go for VCA (VMware Certified Associate) exams for 50% discount !

VMware Certified Associate certification is available now for all the who have attended VMware vSphere Training program, or even who have the vmware product knowledge and want to have some recognition to that, You can go for the VCA certification.


·         VCA-DCV - vSphere: Install, Configure, Manage [5.1] supported by Fundamentals e-Learning - VMware Data Center Virtualization Fundamentals &VMware Data Center Virtualization Fundamentals (Japanese)
·         VCA-WM - Horizon View: ICM AND Horizon Mirage, each supported by Fundamentals e-Learning - VMware Workforce Mobility Fundamentals&VMware Workforce Mobility Fundamentals (Japanese)  
·         VCA-Cloud - vCloud Automation Center: ICM, supported by Fundamentals e-Learning - VMware Cloud Fundamentals & VMware Cloud Fundamentals (Japanese)


So hurry up add some more certification to profile.

Good Luck !

50% free voucher till 31 January 2014

 Promotion Code:-   VMRT9A9E506C




Dear All,

Hope you are doing good...
And even few of you also clear your VCP5 exam, so welcome to VCP
community... If you are still preparing and planning to give the exam
do it soon. I am sharing a Voucher of same exam which offer 25% off on
the total exam cost..

Those who are already VCP, time to prepare for next level certification

VCAP5...

http://www.koenig-solutions.com/vmware-optimize-scale.aspx


While you go to book the exam use that voucher to avail for
the discount of 25% off.

Valid till 31 Oct 2013.

VCP510 (VCP all exams 25% discount Voucher):-

VM022C010852


VCAP (all exam 25% discount Voucher)

VA0611087106

Monday, July 15, 2013

Log rotation and logging options for vmware.log (8182749)

The logging setting

The logging setting allows you to turn logging on or off.
To turn logging off, enter logging="false" in the virtual machine's .vmx file. To turn logging back on, changelogging="false" to logging="true".

The log.rotateSize setting

By default, the virtual machine log file (vmware.log) is rotated as a result of the virtual machine's Power On or Power Off operation.
To configure log rotation based on file size, include this option in the virtual machine's .vmx file:
log.rotateSize = <maximum size in bytes the file can grow to>

Note: The default value is 0 or Unlimited.
This example specifies the vmware.log file to be rotated when its size reaches 100 kilobytes:
log.rotateSize = "100000"

The log.keepOld setting

By default, ESX 3.0 keeps six rotations of the vmware.log file (vmware.logvmware-1.logvmware-2.log, etc).
To change the level of rotation, use the log.keepOld option in the virtual machine's .vmx file.
This example specifies the level of rotation to be 10:
log.keepOld = "10"

Note:  The default value for log.keepOld is 3.

The log.fileName setting

To specify an alternative location or filename for virtual machine logging, use the log.fileName option in the virtual machine's .vmx file.
This example specifies "myVMlog" as the new file for logs instead of the default "vmware.log":
log.fileName = "myVMlog"
This example directs logs to be written to an alternate directory called "myVM" in a different VMFS volume, "vol1":
log.fileName = "/vmfs/volumes/vol1/myVM/myVM.log"

More details:- http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=8182749 

Location of log files for VMware products (1021806)

Determine the default log locations for VMware products, see:

ESXi 5.1 Host Log Files (KB2032076)

Logs for an ESXi 5.1 host are grouped according to the source component:

  • /var/log/auth.log: ESXi Shell authentication success and failure.
  • /var/log/dhclient.log: DHCP client service, including discovery, address lease requests and renewals.
  • /var/log/esxupdate.log: ESXi patch and update installation logs.
  • /var/log/lacp.log: Link Aggregation Control Protocol logs.
  • /var/log/hostd.log: Host management service logs, including virtual machine and host Task and Events, communication with the vSphere Client and vCenter Server vpxa agent, and SDK connections.
  • /var/log/hostd-probe.log: Host management service responsiveness checker.
  • /var/log/rhttpproxy.log: HTTP connections proxied on behalf of other ESXi host webservices.
  • /var/log/shell.log: ESXi Shell usage logs, including enable/disable and every command entered.
  • /var/log/sysboot.log: Early VMkernel startup and module loading.
  • /var/log/boot.gz: A compressed file that contains boot log information and can be read using zcat /var/log/boot.gz|more.
  • /var/log/syslog.log: Management service initialization, watchdogs, scheduled tasks and DCUI use.
  • /var/log/usb.log: USB device arbitration events, such as discovery and pass-through to virtual machines.
  • /var/log/vob.log: VMkernel Observation events, similar to vob.component.event.
  • /var/log/vmkernel.log: Core VMkernel logs, including device discovery, storage and networking device and driver events, and virtual machine startup.
  • /var/log/vmkwarning.log: A summary of Warning and Alert log messages excerpted from the VMkernel logs.
  • /var/log/vmksummary.log: A summary of ESXi host startup and shutdown, and an hourly heartbeat with uptime, number of virtual machines running, and service resource consumption. 
  • /var/log/Xorg.log: Video acceleration

Logs from vCenter Server Components on ESXi 5.1

When an ESXi 5.1 host is managed by vCenter Server 5.1, two components are installed, each with its own logs:
  • /var/log/vpxa.log: vCenter Server vpxa agent logs, including communication with vCenter Server and the Host Management hostd agent.
  • /var/log/fdm.log: vSphere High Availability logs, produced by the fdm service.

Saturday, July 13, 2013

Configuring NTP for all host connected to vCenter Server !

Connect to vCenter server from powerCLI using the command

connect-viserver  "vcenter server name/ip"
then give username and password once prompted.

$allhost = get-vmhost
Add-VmHostNtpServer -NtpServer "ntp server 1" -VMHost $allhost
Add-VmHostNtpServer -NtpServer "ntp server 2" -VMHost $allhost
$ntp = Get-VMHostService -VMHost $allhost | Where {$_.Key -eq "ntpd"}
Set-VMHostService -HostService $ntp -Policy "Automatic"
Restart-VMHostService $ntp -Confirm:$fase