包含系統訊息的檔案位於 vSphere Replication 虛擬應用裝置中。

檔案位置 說明
/opt/vmware/hms/logs/hms-configtool.log 用於記錄 VRMS Appliance Management Interface設定期間發生的錯誤。
/opt/vmware/hms/logs/hms.n.log.gz 用於追蹤 vSphere Replication Management Server 的執行階段資訊。最新的記錄檔標記為 hms.loghms.n.log.gz 檔案包含較舊的記錄訊息。具有最高 n 值的檔案包含最新的訊息。
/var/log/vmware/ 此資料夾包含 vSphere Replication 伺服器記錄檔。用於追蹤複寫問題。
/var/opt/apache-tomcat/logs/dr.log Site Recovery 使用者介面記錄。
/opt/vmware/hms/logs/hms-audit.log 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