Chinaunix首页 | 论坛 | 博客
  • 博客访问: 184265
  • 博文数量: 33
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 552
  • 用 户 组: 普通用户
  • 注册时间: 2013-11-14 14:02
文章分类
文章存档

2015年(1)

2014年(24)

2013年(8)

我的朋友

分类: LINUX

2014-09-02 13:57:44

Here is rather not interestingly looking error message popping up when you don’t have Syslog configured properly on ESXi 5.x. I have seen few variations of this error but only have one screenshot at hand!

VMware_ESXi_5_Error_XXX_esx.problem.syslog.nonpersistent.formatOnHost_not_found_XXX_1

In a nutshell the cryptic message says that you have logs configured on non-persistent storage and they’ll not survive a reboot of the host. If we look closely at the exact location they’re indeed configured to point at ESXi scratch partition i.e. [] /scratch/log:

VMware_ESXi_5_Error_XXX_esx.problem.syslog.nonpersistent.formatOnHost_not_found_XXX_2

There are at least three ways to get us out of trouble in this situation:

  • Use 3rd party Syslog server,
  • Use Syslog server that’s bundled with vCenter 5,
  • Use persistent storage to store your logs.

  • I’m going with option 3. To get us started we have to create a folder on one of our datastores, call is let’s say Syslog and underneath that create another folder with hostname of your ESXi host (always good to know which logs are which). In my example my host is SPN-ESX-04, datastore is calledVMware_ESXi_NFS_L:

    VMware_ESXi_5_Error_XXX_esx.problem.syslog.nonpersistent.formatOnHost_not_found_XXX_3

    Once done we have to re-point the Syslog option under Configuration –> Advanced Settings to our newly created folder, please note there is space between datastore name and rest of the path:

    VMware_ESXi_5_Error_XXX_esx.problem.syslog.nonpersistent.formatOnHost_not_found_XXX_4

    Few seconds later our host should move all logs and the error message will naturally go away. Also, there is no need to reboot for this setting to take effect.

    VMware_ESXi_5_Error_XXX_esx.problem.syslog.nonpersistent.formatOnHost_not_found_XXX_5

    阅读(9150) | 评论(0) | 转发(0) |
    给主人留下些什么吧!~~