Tagged in: vCenter

My vCenter C: drive ran out of space

I came across something interesting today. The 160 GB C: drive on my vCenter Server ran out of space today…rather embarrassing. The first thing I checked is why in the heck my alerts didn’t go off…ok..problem fixed. After a couple of Google searches I came across and interesting VMware KB. Apparently there is a bug in the vCenter 5.5 upgrade that enables debug logging on the VMware Syslog Collector service and logs to C:\ProgramData\VMware\VMware Syslog Collector\logs\debug.log. In this case, my debug log was 62GB. The fix is rather simple. Stop the ‘VMware Syslog Collector’ service and edit the C:\ProgramData\VMware\VMware Syslog Collector\vmconfig-syslog.xml file (make a copy of it first) and change the following:

<debug> <level>1</level> </debug>

to

<debug> <level>0</level> </debug>

 

Remove the debug.log file and start the service again.

 

After upgrading to vCenter Server 5.5, the debug.log file of syslog collector is growing without limit (2094175)

KB: 2094175

  • Updated: Mar 3, 2015
  • Categories:
    Troubleshooting
  • Languages:
    English
  • Product(s):
    VMware vCenter Server
  • Product Version(s):
    VMware vCenter Server 5.5.x

 

Symptoms

  • After upgrading to vCenter Server 5.5, the debug.log file of syslog collector is growing without limit
  • C:\ProgramData\VMware\VMware Syslog Collector\logs\debug.log continues to grow without being rotated

Resolution

This is a known issue affecting VMware Syslog Collector 5.5.

 

Currently, there is no resolution.

To work around this issue:

  1. Stop the VMware Syslog Collector service. For more information, see Stopping, starting, or restarting VMware vCenter Server services (1003895).
  2. On the server running the VMware Syslog Collector service, navigate to C:\ProgramData\VMware\VMware Syslog Collector and save a copy of vmconfig-syslog.xml.
  3. In a text editor, open vmconfig-syslog.xml and modify  from:

    <debug> <level>1</level> </debug>

    to

    <debug> <level>0</level> </debug>

  4. Start the VMware Syslog Collector service. For more information, see Stopping, starting, or restarting VMware vCenter Server services (1003895).

 

-Aaron

Repost : with a few additions: What is my SSO Domain Name & Site Name?

I had to use this today after forgetting a little used VMware Workstation Lab’s vSphere 6 sso domain.

 

I ended up finding this blog post, and i’m going to refer to it in my blog post as well.

vCenter Server 6.0 Tidbits Part 2: What is my SSO Domain Name & Site Name?

 

You will find it in the following two configuration files:

Windows:

C:\ProgramData\VMware\vCenterServer\cfg\install-defaults\vmdir.domain-name

VCSA:

/etc/vmware/install-defaults/vmdir.domain-name

You have to enable shell via ssh to vcenter first.

login to vcenter via ssh. I enabled this by default.

If not do the below steps or skip this section if ssh is enabled.

—————————————-

How to enable ssh on the vcenter appliance

 

by 

1. Open the console of the appliance using in this case the vsphere client.

2. Press F2 and log in as root.

3. Notice the choices and select Troubleshooting Mode Options.

4. Notice the two options. Select Enable SSH.

5.  Press Enter to enable it.

—————————————-

Command> shell.set –enabled True
Command> shell

localhost:~ # vi /etc/vmware/install-defaults/vmdir.domain-name

This returned

ssolocal.local

Thus I knew I had to login to [email protected] to vcenter.

P.S. Document your lab login and sso information… :0)

Roger L

Getting Opvizor Working by Michael White worth a read.

Michael White another vExpert did a great write up on Opvizor www.opvizor.com

Opvizor has engaged the VMware vExpert program to allow us to dive into the program. Michael’s write up shows how to install the product.

 

Getting Opvizor Working – and is it interesting or what!

 

“If you watch the video on their home page you will see what I did and perhaps be as interested as I was.  Essentially their product compares your environment against best practices from VMware and or NetApp and then will let you know how your environment differs and provide you with the info to fix it.”

 

He then walks you through the installation.

I will dive into the inside of Opvizor in my a follow up post.

Roger Lund