Skip to content

Commit d540d0c

Browse files
committed
Completed the configuration.
1 parent 9aaea62 commit d540d0c

1 file changed

Lines changed: 45 additions & 73 deletions

File tree

tasks/memory-hotplugging-configuration.xml

Lines changed: 45 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -28,97 +28,69 @@ in the assembly -->
2828
</para>
2929
</abstract>
3030
</info>
31-
<section xml:id="memory-hotplugging-configuration">
31+
<section xml:id="memory-hotplugging-configuration-bios">
3232
<title>Configuring the BIOS</title>
3333
<para>
34-
Before the operating system can even see a physical RAM module being added, the hardware must be configured to expect it.
35-
</para>
36-
<procedure>
37-
<step>
38-
<formalpara>
39-
<title>Configure the UEFI BIOS to expect later addition of RAM modules:</title>
40-
41-
<para>In the UEFI settings enabling the ACPI memory hot plugging and turn off NUMA/Node
42-
interleaving</para>
43-
</formalpara>
44-
</step>
45-
<step>
46-
<formalpara>
47-
<title>Adjust kernel boot parameters</title>
48-
<para>
49-
To the <filename>/etc/default/grub</filename> append the following attributes:
50-
51-
<variablelist>
52-
<varlistentry>
53-
<listitem>
54-
<para></para>
55-
</listitem>
56-
</varlistentry>
57-
</variablelist>
58-
</para>
59-
</formalpara>
60-
</step>
61-
</procedure>
62-
</section>
63-
<section xml:id="task-example-requirements">
64-
<title>Requirements</title>
65-
<itemizedlist>
66-
<listitem>
67-
<para>
68-
An
69-
</para>
70-
</listitem>
71-
<listitem>
72-
<para>
73-
Unordered
74-
</para>
75-
</listitem>
76-
<listitem>
77-
<para>
78-
List
79-
</para>
80-
</listitem>
81-
</itemizedlist>
82-
<para>
83-
A paragraph of text.
34+
Before the operating system can even see a physical RAM module being added, the hardware must
35+
be configured to expect it. In the UEFI settings enable the ACPI memory hot plugging and turn off NUMA/Node
36+
interleaving
8437
</para>
8538
</section>
86-
<section xml:id="task-example-executing">
87-
<title>Executing the task</title>
39+
<section xml:id="memory-hotplugging-configuration-kernel">
40+
<title>Confiuring the kernel boot parameters</title>
8841
<para>
89-
A paragraph of text.
42+
When Linux boots on bare metal, it maps out its internal tracking structure only for the exact
43+
physical RAM sticks detected at that particular moment. To make the machine accept a new physical module later, you must configure the kernel to reserve logical memory tracking slots for hardware that doesn't exist yet.
9044
</para>
9145
<procedure>
92-
<para>
93-
A short introduction to the procedure.
94-
</para>
9546
<step>
9647
<para>
97-
A step.
48+
Open the file <filename>/etc/default/grub</filename> for editing.
9849
</para>
9950
</step>
10051
<step>
10152
<para>
102-
A second step.
53+
Modify the line <literal>GRUB_CMDLINE_LINUX_DEFAULT</literal> as follows:
10354
</para>
55+
<screen>GRUB_CMDLINE_LINUX_DEFAULT="quiet splash <emphasis
56+
role="bold">memhp_default_state=online movablenode</emphasis>"</screen>
57+
<itemizedlist>
58+
<listitem>
59+
<para><literal>memhp_default_state=online</literal>: configures the kernel to automatically import the new physical address blocks and transition them to online inside <filename>/sys</filename> the moment the hardware latch closes.</para>
60+
</listitem>
61+
<listitem>
62+
<para>
63+
<literal>movablenode</literal>: tells the kernel to treat any hot-plugged physical memory nodes as exclusively containing movable data. This is a crucial configuration safeguard; it ensures the kernel never writes unmovable core system files to the new stick, allowing you to safely hot-unplug it later if needed.
64+
</para>
65+
</listitem>
66+
</itemizedlist>
67+
</step>
68+
<step>
69+
<para>
70+
Save the file and update the boot loader:
71+
</para>
72+
<stepalternatives>
73+
<step>
74+
<para>
75+
On a mutable system:
76+
</para>
77+
<screen>&prompt.sudo; grub2-mkconfig -o /boot/grub2/grub.cfg</screen>
78+
</step>
79+
<step>
80+
<substeps>
81+
<step>
82+
<para>On the immutable system</para>
83+
<screen>&prompt.sudo; transational-update grub.cfg</screen>
10484
</step>
10585
<step>
10686
<para>
107-
A third step.
87+
Reboot the system.
10888
</para>
10989
</step>
90+
</substeps>
91+
</step>
92+
</stepalternatives>
93+
</step>
11094
</procedure>
111-
</section>
112-
<section xml:id="task-example-summary">
113-
<title>Summary</title>
114-
<para>
115-
A paragraph of text, summing up the result of the task.
116-
</para>
117-
</section>
118-
<section xml:id="task-example-troubleshooting">
119-
<title>Troubleshooting</title>
120-
<para>
121-
Add some troubleshooting information, if applicable.
122-
</para>
123-
</section>
95+
</section>
12496
</topic>

0 commit comments

Comments
 (0)