VirtualBox

Changeset 44336 in vbox for trunk/doc


Ignore:
Timestamp:
Jan 23, 2013 1:51:33 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
83289
Message:

Frontends/VBoxBalloonCtrl: add logic to prevent deflating the balloon if there is not sufficient host memory free, add docs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/manual/en_US/user_AdvancedTopics.xml

    r44008 r44336  
    21082108      There is one mandatory parameter, <computeroutput>VBOXWEB_USER</computeroutput>,
    21092109      which must be set to the user which will later start the VMs. The
    2110       paramters in the table below all start with <computeroutput>VBOXWEB_</computeroutput>
     2110      parameters in the table below all start with <computeroutput>VBOXWEB_</computeroutput>
    21112111      (<computeroutput>VBOXWEB_HOST</computeroutput>,
    21122112      <computeroutput>VBOXWEB_PORT</computeroutput> etc.):
     
    23972397    </sect2>
    23982398
     2399    <sect2 id="vboxwatchdog-linux">
     2400      <title>Linux: starting the watchdog service via <computeroutput>init</computeroutput></title>
     2401
     2402      <para>On Linux, the watchdog service can be automatically started during
     2403      host boot by adding appropriate parameters to the file
     2404      <computeroutput>/etc/default/virtualbox</computeroutput>.
     2405      There is one mandatory parameter, <computeroutput>VBOXWATCHDOG_USER</computeroutput>,
     2406      which must be set to the user which will later start the VMs. For backward
     2407      compatibility you can also specify <computeroutput>VBOXBALLOONCTRL_USER</computeroutput>The
     2408      parameters in the table below all start with <computeroutput>VBOXWATCHDOG_</computeroutput>
     2409      (<computeroutput>VBOXWATCHDOG_BALLOON_INTERVAL</computeroutput>,
     2410      <computeroutput>VBOXWATCHDOG_LOGSIZE</computeroutput> etc., and for
     2411      previously existing parameters the
     2412      <computeroutput>VBOXBALLOONCTRL_INTERVAL</computeroutput> etc. parameters
     2413      can still be used):
     2414      <table>
     2415        <title>ignored</title>
     2416        <tgroup cols="3">
     2417          <tbody>
     2418            <row>
     2419              <entry><emphasis role="bold">Parameter</emphasis></entry>
     2420              <entry><emphasis role="bold">Description</emphasis></entry>
     2421              <entry><emphasis role="bold">Default</emphasis></entry>
     2422            </row>
     2423            <row>
     2424              <entry>USER</entry>
     2425              <entry>The user as which the watchdog service runs</entry>
     2426              <entry></entry>
     2427            </row>
     2428            <row>
     2429              <entry>ROTATE</entry>
     2430              <entry>Number of log files; 0 disables log rotation</entry>
     2431              <entry>10</entry>
     2432            </row>
     2433            <row>
     2434              <entry>LOGSIZE</entry>
     2435              <entry>Maximum size of a log file in bytes to trigger rotation</entry>
     2436              <entry>1MB</entry>
     2437            </row>
     2438            <row>
     2439              <entry>LOGINTERVAL</entry>
     2440              <entry>Maximum time interval in seconds to trigger log rotation</entry>
     2441              <entry>1 day</entry>
     2442            </row>
     2443            <row>
     2444              <entry>BALLOON_INTERVAL</entry>
     2445              <entry>Interval for checking the balloon size (msec)</entry>
     2446              <entry>30000</entry>
     2447            </row>
     2448            <row>
     2449              <entry>BALLOON_INCREMENT</entry>
     2450              <entry>Balloon size increment (MByte)</entry>
     2451              <entry>256</entry>
     2452            </row>
     2453            <row>
     2454              <entry>BALLOON_DECREMENT</entry>
     2455              <entry>Balloon size decrement (MByte)</entry>
     2456              <entry>128</entry>
     2457            </row>
     2458            <row>
     2459              <entry>BALLOON_LOWERLIMIT</entry>
     2460              <entry>Balloon size lower limit (MByte)</entry>
     2461              <entry>64</entry>
     2462            </row>
     2463            <row>
     2464              <entry>BALLOON_SAFETYMARGIN</entry>
     2465              <entry>Free memory required for decreasing the balloon size (MByte)</entry>
     2466              <entry>1024</entry>
     2467            </row>
     2468          </tbody>
     2469        </tgroup>
     2470      </table>
     2471      </para>
     2472    </sect2>
     2473
     2474    <sect2 id="vboxwatchdog-solaris">
     2475      <title>Solaris: starting the watchdog service via SMF</title>
     2476
     2477      <para>On Solaris hosts, the VirtualBox watchdog service daemon is
     2478      integrated into the SMF framework. You can change the parameters, but
     2479      don't have to if the defaults already match your needs:<screen>svccfg -s svc:/application/virtualbox/balloonctrl:default setprop config/balloon_interval=10000
     2480svccfg -s svc:/application/virtualbox/balloonctrl:default setprop config/balloon_safetymargin=134217728</screen></para>
     2481
     2482      <para>The table in the previous section showing the parameter names and
     2483      defaults also applies to Solaris. The parameter names must be changed
     2484      to lowercase and a prefix of <computeroutput>config/</computeroutput>
     2485      has to be added, e.g. <computeroutput>config/user</computeroutput> or
     2486      <computeroutput>config/balloon_safetymargin</computeroutput>. If you made any
     2487      change, don't forget to run the following command to put the changes into
     2488      effect immediately:<screen>svcadm refresh svc:/application/virtualbox/balloonctrl:default</screen></para>
     2489
     2490      <para>If you forget the above command then the previous settings will
     2491      be used when enabling the service. Check the current property settings
     2492      with:<screen>svcprop -p config svc:/application/virtualbox/balloonctrl:default</screen></para>
     2493
     2494      <para>When everything is configured correctly you can start the
     2495      VirtualBox watchdog service with the following command:<screen>svcadm enable svc:/application/virtualbox/balloonctrl:default</screen></para>
     2496
     2497      <para>For more information about SMF, please refer to the Solaris
     2498      documentation.</para>
     2499    </sect2>
     2500
    23992501  </sect1>
    24002502
Note: See TracChangeset for help on using the changeset viewer.

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