包含系统消息的文件位于 vSphere Replication 虚拟设备中。

文件位置

描述

/opt/vmware/hms/logs/hms-configtool.log

用于记录在虚拟设备管理界面 (VAMI) 配置期间发生的错误。

/opt/vmware/hms/logs/hmsn.log

用于跟踪 vSphere Replication 管理服务器的运行时信息。最新日志文件标记为 hms.log而 hms.n.log 文件包含较旧的日志消息。带有最高 n 值的文件包含最旧消息。

/opt/vmware/var/log/lighttpd/error.log

VAMI 错误日志文件。用于跟踪 VAMI 操作中的错误。

/var/log/vmware/

此文件夹包含 vSphere Replication 服务器日志文件。用于跟踪复制问题。

/var/log/boot.msg

用于跟踪 vSphere Replication 设备的启动过程。

与安全有关的日志消息

/opt/vmware/hms/logs/hms.log 文件包含登录和注销事件消息、授权错误消息以及证书验证错误消息,其格式如下所示。

  • 登录消息

    2015-03-23 15:54:05.558 DEBUG jvsl.security.authentication.sessionmap [tcweb-5] (..security.authentication.SessionMap) operationID=087657ec-ef0f-494c-9739-a4af62a5c049-HMS-1033 | Adding new session to the session map:com.vmware.hms.security.authentication.HmsUserSession@234f4bed:[

    com.vmware.vim.binding.hms.UserSession:

    key = site_...1b034,

    userName = root,

    fullName = root ,

    loginTime = ...,

    lastActiveTime = ...,

    hmsServers = null,

    locale = en,

    messageLocale = en

    ]

  • 注销消息

    15-03-23 15:54:05.585 INFO jvsl.security.authorization [tcweb-8] (..security.authorization.SessionAuthorizer) | HmsSessionManager.HmsSessionManagerLogout called on session-manager by root@/10.26.233.124:50776 with opId 43263a64-1681-4459-a921-1d9406308dc8-HMS-1036

  • 授权消息

    2015-06-25 16:10:35.994 INFO jvsl.security.authorization [tcweb-5] (..security.authorization.SessionAuthorizer) | Authorization for method "HmsRemoteSiteManager.HmsRemoteSiteManagerFindHmsServer" failed.

    (vim.fault.NoPermission) {

    faultCause = null,

    faultMessage = null,

    object = MoRef: type = HmsRemoteSiteManager, value = site-manager, serverGuid = 18327b1a-dac2-44d9-972e-fa9dd99fce47,

    privilegeId = HmsRemote.com.vmware.vcHms.Hms.View

    }

  • 证书验证错误消息

    2015-06-25 16:19:13.794 WARN jvsl.sessions [hms-main-thread-1] (..hms.net.ServerRegistryHms) | Can not start HMS connection to remote site 'some-address.com'

    java.util.concurrent.ExecutionException: com.vmware.vim.vmomi.client.exception.SslException: javax.net.ssl.SSLHandshakeException: com.vmware.vim.vmomi.client.exception.VlsiCertificateException: Server certificate chain is not trusted and thumbprint doesn't match