4.0

Adjusting the amount of hostd log files

There was a question posted on the VMware Community Forums regarding the ability to increase the number of hostd log files.  Here is the solution I provided:

To change the max amount of log files for hostd you will need to edit /etc/vmware/hostd/config.xml. In the file you will find the following section:


1
2
3
4
5
6
   <log>
      <directory>/var/log/vmware/</directory>
      <name>hostd</name>
      <outputToConsole>false</outputToConsole>
      <level>verbose</level>
   </log>

You will want to add <maxFileNum>numberLogs</maxFileNum> like so:


1
2
3
4
5
6
7
   &lt;log&gt;
      &lt;directory&gt;/var/log/vmware/&lt;/directory&gt;
      &lt;name&gt;hostd&lt;/name&gt;
      &lt;outputToConsole&gt;false&lt;/outputToConsole&gt;
      &lt;level&gt;verbose&lt;/level&gt;
      &lt;maxFileNum&gt;10&lt;/maxFileNum&gt;
   &lt;/log&gt;

Your logs, however, should have multiple gzipped versions or rotated logs in /var/log/vmware. You will probably see /var/log/vmware/hostd-#.log.gz in there. If you do then you can view those logs with the following command:

# zless /var/log/vmware/hostd-1.log.gz

VCP-410 Study Guide Posts

As I start gearing up for my VCP-410 exam I decided I would post my progress and information regarding each objective as I go through them.  I know that there is plenty of information online for others but would it really hurt to see more?  My hopes are that I can get this information out for others who will be attempting their VCP-410 exams soon as well.  I hope that everyone will find this information useful!  Look for the first objective posts to come this weekend as I sit down and run through Objective 1 for the VCP-410!

vSMP VMs and Per CPU Licensed Applications

I have the handy vCalendar by Jason Boche sitting on my desk here at work and as I was tearing through the days of this weekend I came across one tidbit that is extremely handy to know.

August 28th talks about vSMP VMs and Applications which license per CPU.  Jason has a great tip that allows the application to see logical CPUs instead of Physical CPUs:

  1. Power off the VM & Edit the VM Settings
  2. Options tab
  3. General (in the Advanced options section)
  4. Configuration Parameters
  5. Add Row
  6. Enter “cpuid.coresPerSocket” in the Name column
  7. Enter a value of 2 or 4 in the Value column

Figured that this would be nice to share with everyone!

Sourced from:  vCalendar by Jason Boche
 Scroll to top