VirtualBox

source: vbox/trunk/doc/manual/en_US/dita/topics/heartbeatservice.dita@ 103992

最後變更 在這個檔案從103992是 99797,由 vboxsync 提交於 22 月 前

Docs: bugref:10302. Merging changes from the docs team. Almost exclusively conkeyref related stuff.

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 2.1 KB
 
1<?xml version='1.0' encoding='UTF-8'?>
2<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
3<topic xml:lang="en-us" id="heartbeatservice">
4 <title>Configuring the Heartbeat Service</title>
5
6 <body>
7 <p>
8 <ph conkeyref="vbox-conkeyref-phrases/product-name"/> ships a simple heartbeat service. Once the Guest
9 Additions are active, the guest sends frequent heartbeat pings to
10 the host. If the guest stops sending the heartbeat pings without
11 properly terminating the service, the VM process will log this
12 event in the VBox.log file. In the future it might be possible to
13 configure dedicated actions but for now there is only a warning in
14 the log file.
15 </p>
16 <p>
17 There are two parameters to configure. The <i>heartbeat
18 interval</i> defines the time between two heartbeat pings.
19 The default value is 2 seconds, that is, the heartbeat service of
20 the <ph conkeyref="vbox-conkeyref-phrases/product-name"/> Guest Additions will send a heartbeat ping
21 every two seconds. The value in nanoseconds can be configured like
22 this:
23 </p>
24 <pre xml:space="preserve">VBoxManage setextradata <varname>VM-name</varname> \
25VBoxInternal/Devices/VMMDev/0/Config/HeartbeatInterval 2000000000</pre>
26 <p>
27 The <i>heartbeat timeout</i> defines the time the
28 host waits starting from the last heartbeat ping before it defines
29 the guest as unresponsive. The default value is 2 times the
30 heartbeat interval (4 seconds) and can be configured as following,
31 in nanoseconds:
32 </p>
33 <pre xml:space="preserve">VBoxManage setextradata <varname>VM-name</varname> \
34VBoxInternal/Devices/VMMDev/0/Config/HeartbeatTimeout 4000000000</pre>
35 <p>
36 If the heartbeat timeout expires, there will be a log message like
37 <i>VMMDev: HeartBeatCheckTimer: Guest seems to be
38 unresponsive. Last heartbeat received 5 seconds ago.</i> If
39 another heartbeat ping arrives after this warning, there will be a
40 log message like <i>VMMDev: GuestHeartBeat: Guest is
41 alive.</i>
42 </p>
43 </body>
44
45</topic>
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette