forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: guoyanyan <guoyanyan3@huawei.com> Co-committed-by: guoyanyan <guoyanyan3@huawei.com>
32 lines
2.3 KiB
HTML
32 lines
2.3 KiB
HTML
<a name="EN-US_TOPIC_0000001239038181"></a><a name="EN-US_TOPIC_0000001239038181"></a>
|
|
|
|
|
|
|
|
|
|
<h1 class="topictitle1">Configuring systemd Timeout Parameters</h1>
|
|
<div id="body0000001239038181"><div class="section" id="EN-US_TOPIC_0000001239038181__en-us_topic_0285782747_section8815153010467"><h4 class="sectiontitle">Scenario</h4><p id="EN-US_TOPIC_0000001239038181__en-us_topic_0285782747_p1399273114460">Configure time parameters to prevent BMS provisioning timeout.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001239038181__en-us_topic_0285782747_section1918710413469"><h4 class="sectiontitle">Procedure</h4><p id="EN-US_TOPIC_0000001239038181__en-us_topic_0285782747_p103778422461">For Red Hat 7, EulerOS, CentOS 7, CentOS 8, Oracle Linux 7, Ubuntu 16.04, Ubuntu 18.04, SUSE 12 SP2, SUSE 12 SP3, SUSE 15, and Debian, run the following command:</p>
|
|
<p id="EN-US_TOPIC_0000001239038181__en-us_topic_0285782747_p16799454171211"><strong id="EN-US_TOPIC_0000001239038181__en-us_topic_0285782747_b1124782121315">vi /etc/systemd/system.conf</strong></p>
|
|
<p id="EN-US_TOPIC_0000001239038181__en-us_topic_0285782747_p7300165111469">Delete the comment tags (#) before <strong id="EN-US_TOPIC_0000001239038181__en-us_topic_0285782747_b26279119185">DefaultTimeoutStartSec</strong> and <strong id="EN-US_TOPIC_0000001239038181__en-us_topic_0285782747_b895045151814">DefaultTimeoutStopSec</strong>, and change their values to <strong id="EN-US_TOPIC_0000001239038181__en-us_topic_0285782747_b1414424216185">300s</strong>.</p>
|
|
<pre class="screen" id="EN-US_TOPIC_0000001239038181__en-us_topic_0285782747_screen1481783011199">#TimeSlackNSec=
|
|
#DefaultTimerAccuracySec=1min
|
|
#DefaultStandardOutput=journal
|
|
#DefaultStandardError=inherit
|
|
<strong id="EN-US_TOPIC_0000001239038181__en-us_topic_0285782747_b18984501238">DefaultTimeoutStartSec=300s</strong>
|
|
<strong id="EN-US_TOPIC_0000001239038181__en-us_topic_0285782747_b91001250142317">DefaultTimeoutStopSec=300s</strong>
|
|
#DefaultRestartSec=100ms
|
|
#DefaultStartLimitInterval=10s
|
|
#DefaultStartLimitBurst=5
|
|
#DefaultEnvironment=
|
|
#DefaultCPUAccounting=no
|
|
#DefaultBlockIOAccounting=no</pre>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0081116597.html">Configuring the VM Environment</a></div>
|
|
</div>
|
|
</div>
|
|
|