ims_umn_0216

Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: guoyanyan <guoyanyan3@huawei.com>
Co-committed-by: guoyanyan <guoyanyan3@huawei.com>
This commit is contained in:
guoyanyan 2023-03-01 15:11:26 +00:00 committed by zuul
parent ca474a9a73
commit 24b2a3635e
38 changed files with 365 additions and 546 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

View File

@ -5,7 +5,7 @@
<div class="caution" id="EN-US_TOPIC_0000001120952155__note739915382321"><span class="cautiontitle"><img src="public_sys-resources/caution_3.0-en-us.png"> </span><div class="cautionbody"><p id="EN-US_TOPIC_0000001120952155__p5203542203211">If you do not install KVM drivers, NICs of the <span id="EN-US_TOPIC_0000001120952155__text126435184111220">ECS</span><span id="EN-US_TOPIC_0000001120952155__text1090270247111220"></span> may not be detected and the ECS cannot communicate with other resources.</p>
</div></div>
</div>
<div class="section" id="EN-US_TOPIC_0000001120952155__section19907254112223"><h4 class="sectiontitle">Prerequisites</h4><ul id="EN-US_TOPIC_0000001120952155__ul125413450564"><li id="EN-US_TOPIC_0000001120952155__li5622111663915">The ECS is using KVM virtualization and needs to be optimized. For details, see </li><li id="EN-US_TOPIC_0000001120952155__li15254164515560">If the <span id="EN-US_TOPIC_0000001120952155__text13930102217432">ECS</span><span id="EN-US_TOPIC_0000001120952155__text16930322104317"></span> uses native Linux KVM drivers, its kernel must be later than 2.6.24.</li><li id="EN-US_TOPIC_0000001120952155__li1825444535619">Disable your antivirus and intrusion detection software. You can enable the software after KVM drivers are installed.</li></ul>
<div class="section" id="EN-US_TOPIC_0000001120952155__section19907254112223"><h4 class="sectiontitle">Prerequisites</h4><ul id="EN-US_TOPIC_0000001120952155__ul125413450564"><li id="EN-US_TOPIC_0000001120952155__li5622111663915">The <span id="EN-US_TOPIC_0000001120952155__text3677435113917">ECS</span><span id="EN-US_TOPIC_0000001120952155__text9677135103916"></span> needs to be optimized. For details, see <a href="en-us_topic_0037352185.html">Checking Whether a Private Image Needs to be Optimized</a>.</li><li id="EN-US_TOPIC_0000001120952155__li15254164515560">If the <span id="EN-US_TOPIC_0000001120952155__text13930102217432">ECS</span><span id="EN-US_TOPIC_0000001120952155__text16930322104317"></span> uses native Linux KVM drivers, its kernel must be later than 2.6.24.</li><li id="EN-US_TOPIC_0000001120952155__li1825444535619">Disable your antivirus and intrusion detection software. You can enable the software after KVM drivers are installed.</li></ul>
</div>
<div class="section" id="EN-US_TOPIC_0000001120952155__section1898490103117"><h4 class="sectiontitle">Procedure</h4><p id="EN-US_TOPIC_0000001120952155__p3285515493846">Modify the configuration file based on the OS version.</p>
@ -152,11 +152,11 @@ drwxr-xr-x 2 root root 0 Jul 12 14:53 lib/modules/2.6.32-279.el6.x86_64/kernel/d
</li></ol>
</div>
</div>
<div class="section" id="EN-US_TOPIC_0000001120952155__section23748121182"><a name="EN-US_TOPIC_0000001120952155__section23748121182"></a><a name="section23748121182"></a><h4 class="sectiontitle">SUSE and openSUSE (SUSE 12 SP1)</h4><div class="p" id="EN-US_TOPIC_0000001120952155__p18315952111919">Modify the <strong id="EN-US_TOPIC_0000001120952155__b14424175542216">/etc/dracut.conf</strong> file.<ol id="EN-US_TOPIC_0000001120952155__ol1837610129184"><li id="EN-US_TOPIC_0000001120952155__li1137671211810">Run the following command to open the <strong id="EN-US_TOPIC_0000001120952155__b282385370">/etc/dracut.conf</strong> file:<p id="EN-US_TOPIC_0000001120952155__p437631211815"><strong id="EN-US_TOPIC_0000001120952155__b137691210188">vi</strong> <strong id="EN-US_TOPIC_0000001120952155__b53761712121811">/etc/dracut.conf</strong></p>
<div class="section" id="EN-US_TOPIC_0000001120952155__section23748121182"><a name="EN-US_TOPIC_0000001120952155__section23748121182"></a><a name="section23748121182"></a><h4 class="sectiontitle">SUSE and openSUSE (SUSE 12 SP1)</h4><div class="p" id="EN-US_TOPIC_0000001120952155__p18315952111919">Modify the <strong id="EN-US_TOPIC_0000001120952155__b14424175542216">/etc/dracut.conf</strong> file.<ol id="EN-US_TOPIC_0000001120952155__ol1837610129184"><li id="EN-US_TOPIC_0000001120952155__li1137671211810">Run the following command to open the <strong id="EN-US_TOPIC_0000001120952155__b1042243116">/etc/dracut.conf</strong> file:<p id="EN-US_TOPIC_0000001120952155__p437631211815"><strong id="EN-US_TOPIC_0000001120952155__b137691210188">vi</strong> <strong id="EN-US_TOPIC_0000001120952155__b53761712121811">/etc/dracut.conf</strong></p>
</li><li id="EN-US_TOPIC_0000001120952155__li19376512101819">Press <strong id="EN-US_TOPIC_0000001120952155__b2046410618581">i</strong> to enter the editing mode and add VirtIO drivers to <strong id="EN-US_TOPIC_0000001120952155__b346910675819">add-drivers</strong> (the format depends on the OS requirements).<pre class="screen" id="EN-US_TOPIC_0000001120952155__screen13376612171818">[root@CTU10000xxxxx ~]# vi /etc/dracut.conf
# additional kernel modules to the default
add_drivers+=<strong id="EN-US_TOPIC_0000001120952155__b0376181218185">"ata_piix</strong> <strong id="EN-US_TOPIC_0000001120952155__b13376151261815">ata_generic</strong> <strong id="EN-US_TOPIC_0000001120952155__b1137661211185">virtio_blk</strong> <strong id="EN-US_TOPIC_0000001120952155__b1137671291814">virtio_scsi</strong> <strong id="EN-US_TOPIC_0000001120952155__b153769120188">virtio_net</strong> <strong id="EN-US_TOPIC_0000001120952155__b173764122189">virtio_pci</strong> <strong id="EN-US_TOPIC_0000001120952155__b18376101231811">virtio_ring</strong> <strong id="EN-US_TOPIC_0000001120952155__b8376111220187">virtio"</strong></pre>
</li><li id="EN-US_TOPIC_0000001120952155__li6376161210186">Press <strong id="EN-US_TOPIC_0000001120952155__b197494815586">Esc</strong>, enter <strong id="EN-US_TOPIC_0000001120952155__b11791548115814">:wq</strong>, and press <strong id="EN-US_TOPIC_0000001120952155__b17801948115818">Enter</strong>. The system saves the change and exits the <strong id="EN-US_TOPIC_0000001120952155__b421042232">/etc/dracut.conf</strong> file.</li><li id="EN-US_TOPIC_0000001120952155__li17376131211818">Run the following command to regenerate initrd:<p id="EN-US_TOPIC_0000001120952155__p15376131219183"><a name="EN-US_TOPIC_0000001120952155__li17376131211818"></a><a name="li17376131211818"></a><strong id="EN-US_TOPIC_0000001120952155__b1467420011594">dracut -f /boot/initramfs-</strong><em id="EN-US_TOPIC_0000001120952155__i14679110105919">File name</em></p>
</li><li id="EN-US_TOPIC_0000001120952155__li6376161210186">Press <strong id="EN-US_TOPIC_0000001120952155__b197494815586">Esc</strong>, enter <strong id="EN-US_TOPIC_0000001120952155__b11791548115814">:wq</strong>, and press <strong id="EN-US_TOPIC_0000001120952155__b17801948115818">Enter</strong>. The system saves the change and exits the <strong id="EN-US_TOPIC_0000001120952155__b961774447">/etc/dracut.conf</strong> file.</li><li id="EN-US_TOPIC_0000001120952155__li17376131211818">Run the following command to regenerate initrd:<p id="EN-US_TOPIC_0000001120952155__p15376131219183"><a name="EN-US_TOPIC_0000001120952155__li17376131211818"></a><a name="li17376131211818"></a><strong id="EN-US_TOPIC_0000001120952155__b1467420011594">dracut -f /boot/initramfs-</strong><em id="EN-US_TOPIC_0000001120952155__i14679110105919">File name</em></p>
<p id="EN-US_TOPIC_0000001120952155__p17376171215182">If the virtual file system is not the default initramfs, run the <strong id="EN-US_TOPIC_0000001120952155__b1569413718595">dracut -f</strong> <em id="EN-US_TOPIC_0000001120952155__i186987715596">Name of the initramfs or initrd file actually used</em> command. The actual initramfs or initrd file name can be obtained from the <strong id="EN-US_TOPIC_0000001120952155__b17221202175513">grub.cfg</strong> file, which can be <strong id="EN-US_TOPIC_0000001120952155__b679567796111220">/boot/grub/grub.cfg</strong>, <strong id="EN-US_TOPIC_0000001120952155__b933353007111220">/boot/grub2/grub.cfg</strong>, or <strong id="EN-US_TOPIC_0000001120952155__b2010240237111220">/boot/grub/grub.conf</strong> depending on the OS.</p>
</li><li id="EN-US_TOPIC_0000001120952155__li12376121220187">If the virtual file system is initramfs, run the following command to check whether native KVM drivers have been loaded:<p id="EN-US_TOPIC_0000001120952155__p103761812101815"><a name="EN-US_TOPIC_0000001120952155__li12376121220187"></a><a name="li12376121220187"></a><strong id="EN-US_TOPIC_0000001120952155__b43761712201814">lsinitrd</strong> <strong id="EN-US_TOPIC_0000001120952155__b19376161210187">/boot/initramfs-`uname</strong> <strong id="EN-US_TOPIC_0000001120952155__b537618120182">-r`.img</strong> <strong id="EN-US_TOPIC_0000001120952155__b103761412111817">|</strong> <strong id="EN-US_TOPIC_0000001120952155__b5376171220184">grep</strong> <strong id="EN-US_TOPIC_0000001120952155__b15376151215188">virtio</strong></p>
<p id="EN-US_TOPIC_0000001120952155__p53763120182">If the virtual file system is initrd, run the following command to check whether native KVM drivers have been loaded:</p>
@ -166,11 +166,11 @@ add_drivers+=<strong id="EN-US_TOPIC_0000001120952155__b0376181218185">"ata_piix
</div>
<div class="section" id="EN-US_TOPIC_0000001120952155__section17251152081820"><a name="EN-US_TOPIC_0000001120952155__section17251152081820"></a><a name="section17251152081820"></a><h4 class="sectiontitle">SUSE and openSUSE (Later than SUSE 12 SP1 or openSUSE 13)</h4><p id="EN-US_TOPIC_0000001120952155__p7114105972016">Modify the <strong id="EN-US_TOPIC_0000001120952155__b18107076956019">/etc/dracut.conf</strong> file.</p>
<div class="p" id="EN-US_TOPIC_0000001120952155__p13253192081815">Take SUSE Linux Enterprise Server 12 SP2 (x86_64) as an example.<ol id="EN-US_TOPIC_0000001120952155__ol132535200189"><li id="EN-US_TOPIC_0000001120952155__li1425382061819">Run the following command to open the <strong id="EN-US_TOPIC_0000001120952155__b142831324161218">/etc/dracut.conf</strong> file:<p id="EN-US_TOPIC_0000001120952155__p15253192010182"><strong id="EN-US_TOPIC_0000001120952155__b12253182071811">vi</strong> <strong id="EN-US_TOPIC_0000001120952155__b9253142091820">/etc/dracut.conf</strong></p>
</li><li id="EN-US_TOPIC_0000001120952155__li192533203187">Press <strong id="EN-US_TOPIC_0000001120952155__b2023517481">i</strong> to enter the editing mode and add VirtIO drivers to <strong id="EN-US_TOPIC_0000001120952155__b346810565">add_drivers</strong> (the format depends on the OS requirements).<pre class="screen" id="EN-US_TOPIC_0000001120952155__screen132533208183">[root@CTU10000xxxxx ~]# vi /etc/dracut.conf
</li><li id="EN-US_TOPIC_0000001120952155__li192533203187">Press <strong id="EN-US_TOPIC_0000001120952155__b94096504">i</strong> to enter the editing mode and add VirtIO drivers to <strong id="EN-US_TOPIC_0000001120952155__b2030032390">add_drivers</strong> (the format depends on the OS requirements).<pre class="screen" id="EN-US_TOPIC_0000001120952155__screen132533208183">[root@CTU10000xxxxx ~]# vi /etc/dracut.conf
# additional kernel modules to the default
<strong id="EN-US_TOPIC_0000001120952155__b1425322061817">add_drivers+="</strong><strong id="EN-US_TOPIC_0000001120952155__b102532207189">ata_piix</strong> <strong id="EN-US_TOPIC_0000001120952155__b142531020161811">ata_generic</strong> <strong id="EN-US_TOPIC_0000001120952155__b4253192031810">virtio_blk</strong> <strong id="EN-US_TOPIC_0000001120952155__b6253320101813">virtio_scsi</strong> <strong id="EN-US_TOPIC_0000001120952155__b1925382031810">virtio_net</strong> <strong id="EN-US_TOPIC_0000001120952155__b32531520161819">virtio_pci</strong> <strong id="EN-US_TOPIC_0000001120952155__b142531720131816">virtio_ring</strong> <strong id="EN-US_TOPIC_0000001120952155__b5253162031818">virtio"</strong></pre>
</li><li id="EN-US_TOPIC_0000001120952155__li11253220121814">Press <strong id="EN-US_TOPIC_0000001120952155__b584344131310">Esc</strong>, enter <strong id="EN-US_TOPIC_0000001120952155__b5843134191316">:wq</strong>, and press <strong id="EN-US_TOPIC_0000001120952155__b1284464117131">Enter</strong>. The system saves the change and exits the <strong id="EN-US_TOPIC_0000001120952155__b474700886">/etc/dracut.conf</strong> file.</li><li id="EN-US_TOPIC_0000001120952155__li7253182013185">Run the following command to regenerate initrd:<p id="EN-US_TOPIC_0000001120952155__p192531820141812"><a name="EN-US_TOPIC_0000001120952155__li7253182013185"></a><a name="li7253182013185"></a><strong id="EN-US_TOPIC_0000001120952155__b1969737012">dracut -f /boot/initramfs-</strong><em id="EN-US_TOPIC_0000001120952155__i1227491949">File name</em></p>
<p id="EN-US_TOPIC_0000001120952155__p16253920111812">If the virtual file system is not the default initramfs, run the <strong id="EN-US_TOPIC_0000001120952155__b432845579">dracut -f</strong> <em id="EN-US_TOPIC_0000001120952155__i476561385">Name of the initramfs or initrd file actually used</em> command. The actual initramfs or initrd file name can be obtained from the <strong id="EN-US_TOPIC_0000001120952155__b6761738154719">grub.cfg</strong> file, which can be <strong id="EN-US_TOPIC_0000001120952155__b1576638154711">/boot/grub/grub.cfg</strong>, <strong id="EN-US_TOPIC_0000001120952155__b1376438144715">/boot/grub2/grub.cfg</strong>, or <strong id="EN-US_TOPIC_0000001120952155__b776173819476">/boot/grub/grub.conf</strong> depending on the OS.</p>
</li><li id="EN-US_TOPIC_0000001120952155__li11253220121814">Press <strong id="EN-US_TOPIC_0000001120952155__b584344131310">Esc</strong>, enter <strong id="EN-US_TOPIC_0000001120952155__b5843134191316">:wq</strong>, and press <strong id="EN-US_TOPIC_0000001120952155__b1284464117131">Enter</strong>. The system saves the change and exits the <strong id="EN-US_TOPIC_0000001120952155__b952843365">/etc/dracut.conf</strong> file.</li><li id="EN-US_TOPIC_0000001120952155__li7253182013185">Run the following command to regenerate initrd:<p id="EN-US_TOPIC_0000001120952155__p192531820141812"><a name="EN-US_TOPIC_0000001120952155__li7253182013185"></a><a name="li7253182013185"></a><strong id="EN-US_TOPIC_0000001120952155__b244695542">dracut -f /boot/initramfs-</strong><em id="EN-US_TOPIC_0000001120952155__i643380633">File name</em></p>
<p id="EN-US_TOPIC_0000001120952155__p16253920111812">If the virtual file system is not the default initramfs, run the <strong id="EN-US_TOPIC_0000001120952155__b517932930">dracut -f</strong> <em id="EN-US_TOPIC_0000001120952155__i815702621">Name of the initramfs or initrd file actually used</em> command. The actual initramfs or initrd file name can be obtained from the <strong id="EN-US_TOPIC_0000001120952155__b6761738154719">grub.cfg</strong> file, which can be <strong id="EN-US_TOPIC_0000001120952155__b1576638154711">/boot/grub/grub.cfg</strong>, <strong id="EN-US_TOPIC_0000001120952155__b1376438144715">/boot/grub2/grub.cfg</strong>, or <strong id="EN-US_TOPIC_0000001120952155__b776173819476">/boot/grub/grub.conf</strong> depending on the OS.</p>
</li><li id="EN-US_TOPIC_0000001120952155__li2025312013185">If the virtual file system is initramfs, run the following command to check whether native KVM drivers have been loaded:<p id="EN-US_TOPIC_0000001120952155__p19253820171818"><a name="EN-US_TOPIC_0000001120952155__li2025312013185"></a><a name="li2025312013185"></a><strong id="EN-US_TOPIC_0000001120952155__b1253132016186">lsinitrd</strong> <strong id="EN-US_TOPIC_0000001120952155__b725392010184">/boot/initramfs-`uname</strong> <strong id="EN-US_TOPIC_0000001120952155__b1253142014183">-r`.img</strong> <strong id="EN-US_TOPIC_0000001120952155__b14253202001812">|</strong> <strong id="EN-US_TOPIC_0000001120952155__b2253112041816">grep</strong> <strong id="EN-US_TOPIC_0000001120952155__b10253920181817">virtio</strong></p>
<p id="EN-US_TOPIC_0000001120952155__p18253320141818">If the virtual file system is initrd, run the following command to check whether native KVM drivers have been loaded:</p>
<p id="EN-US_TOPIC_0000001120952155__p4253720181814"><strong id="EN-US_TOPIC_0000001120952155__b1253182071811">lsinitrd</strong> <strong id="EN-US_TOPIC_0000001120952155__b1325317206183">/boot/initrd-`uname</strong> <strong id="EN-US_TOPIC_0000001120952155__b0253142014186">-r`</strong> <strong id="EN-US_TOPIC_0000001120952155__b1525312200181">|</strong> <strong id="EN-US_TOPIC_0000001120952155__b225312202186">grep</strong> <strong id="EN-US_TOPIC_0000001120952155__b172531320101820">virtio</strong></p>

View File

@ -14,7 +14,7 @@
</li><li id="EN-US_TOPIC_0030713149__li6622650131818">The time required for creating an image depends on the ECS system disk size, network quality, and the number of concurrent tasks.</li><li id="EN-US_TOPIC_0030713149__li18776143117110">A system disk image will be created in the same region as the ECS that was used to create it. </li><li id="EN-US_TOPIC_0030713149__li115619315112">If an ECS has expired or been released, you can use the system disk image created from the ECS to restore it.</li></ul>
</div>
<div class="section" id="EN-US_TOPIC_0030713149__section943045519380"><h4 class="sectiontitle">Prerequisites</h4><p id="EN-US_TOPIC_0030713149__p1165185917302">Before creating a private image from an ECS:</p>
<ul id="EN-US_TOPIC_0030713149__ul98281939150"><li id="EN-US_TOPIC_0030713149__li182873916514">Delete any sensitive data the <span id="EN-US_TOPIC_0030713149__text64151044212">ECS</span><span id="EN-US_TOPIC_0030713149__text841520013425"></span> may contain.</li><li id="EN-US_TOPIC_0030713149__li11914103912392">Ensure that the <span id="EN-US_TOPIC_0030713149__text3276249173916">ECS</span><span id="EN-US_TOPIC_0030713149__text122769492393"></span> is in the <strong id="EN-US_TOPIC_0030713149__b1460418554214">Running</strong> or <strong id="EN-US_TOPIC_0030713149__b1635555218212">Stopped</strong> state.</li><li id="EN-US_TOPIC_0030713149__li721619441053">Check network configuration of the <span id="EN-US_TOPIC_0030713149__text159753519423">ECS</span><span id="EN-US_TOPIC_0030713149__text897835194214"></span> and ensure that DHCP is configured for the NICs. Enable remote desktop connection if needed. For details, see <a href="en-us_topic_0030713152.html">Setting the NIC to DHCP</a> and <a href="en-us_topic_0030713155.html">Enabling Remote Desktop Connection</a>.</li><li id="EN-US_TOPIC_0030713149__li23001520104914">Install special drivers. The normal running and advanced functions of some <span id="EN-US_TOPIC_0030713149__text154279391214">ECS</span><span id="EN-US_TOPIC_0030713149__text3432173914112"></span>s depend on certain drivers. For example, GPU-accelerated <span id="EN-US_TOPIC_0030713149__text174323391616">ECS</span><span id="EN-US_TOPIC_0030713149__text144329391215"></span>s depend on the Tesla and GRID/vGPU drivers. For details, see <a href="en-us_topic_0081795392.html">Installing Special Windows Drivers</a>.</li><li id="EN-US_TOPIC_0030713149__li248315914611">Check whether Cloudbase-Init has been installed on the <span id="EN-US_TOPIC_0030713149__text494819531094">ECS</span><span id="EN-US_TOPIC_0030713149__text0948155315913"></span>. The user data injection function on the management console is only available for new <span id="EN-US_TOPIC_0030713149__text108963329106">ECS</span><span id="EN-US_TOPIC_0030713149__text689613221012"></span>s that have this tool installed. You can use data injection, for example, to set the login password for a new <span id="EN-US_TOPIC_0030713149__text395913323612">ECS</span><span id="EN-US_TOPIC_0030713149__text1395914393610"></span>. For details, see <a href="en-us_topic_0030730602.html">Installing and Configuring Cloudbase-Init</a>.</li><li id="EN-US_TOPIC_0030713149__li196361181365">Check and install the PV driver and UVP VMTools driver to ensure that new <span id="EN-US_TOPIC_0030713149__text74481713152412">ECS</span><span id="EN-US_TOPIC_0030713149__text1044951317249"></span>s created from the image support both KVM and Xen virtualization and to improve network performance.<p id="EN-US_TOPIC_0030713149__p8060118">For details, see steps <a href="en-us_topic_0047501112.html#EN-US_TOPIC_0047501112__en-us_topic_0036684057_li46245228">2</a> to <a href="en-us_topic_0047501112.html#EN-US_TOPIC_0047501112__en-us_topic_0036684057_li19262089">5</a> in <a href="en-us_topic_0047501112.html">Optimization Process</a>.</p>
<ul id="EN-US_TOPIC_0030713149__ul98281939150"><li id="EN-US_TOPIC_0030713149__li182873916514">Delete any sensitive data the <span id="EN-US_TOPIC_0030713149__text64151044212">ECS</span><span id="EN-US_TOPIC_0030713149__text841520013425"></span> may contain.</li><li id="EN-US_TOPIC_0030713149__li11914103912392">Ensure that the <span id="EN-US_TOPIC_0030713149__text3276249173916">ECS</span><span id="EN-US_TOPIC_0030713149__text122769492393"></span> is in the <strong id="EN-US_TOPIC_0030713149__b1460418554214">Running</strong> or <strong id="EN-US_TOPIC_0030713149__b1635555218212">Stopped</strong> state.</li><li id="EN-US_TOPIC_0030713149__li721619441053">Check network configuration of the <span id="EN-US_TOPIC_0030713149__text159753519423">ECS</span><span id="EN-US_TOPIC_0030713149__text897835194214"></span> and ensure that DHCP is configured for the NICs. Enable remote desktop connection if needed. For details, see <a href="en-us_topic_0030713152.html">Setting the NIC to DHCP</a> and <a href="en-us_topic_0030713155.html">Enabling Remote Desktop Connection</a>.</li><li id="EN-US_TOPIC_0030713149__li23001520104914">Install special drivers. The normal running and advanced functions of some <span id="EN-US_TOPIC_0030713149__text154279391214">ECS</span><span id="EN-US_TOPIC_0030713149__text3432173914112"></span>s depend on certain drivers. For example, GPU-accelerated <span id="EN-US_TOPIC_0030713149__text174323391616">ECS</span><span id="EN-US_TOPIC_0030713149__text144329391215"></span>s depend on the Tesla and GRID/vGPU drivers. For details, see <a href="en-us_topic_0081795392.html">Installing Special Windows Drivers</a>.</li><li id="EN-US_TOPIC_0030713149__li248315914611">Check whether Cloudbase-Init has been installed on the <span id="EN-US_TOPIC_0030713149__text494819531094">ECS</span><span id="EN-US_TOPIC_0030713149__text0948155315913"></span>. The user data injection function on the management console is only available for new <span id="EN-US_TOPIC_0030713149__text108963329106">ECS</span><span id="EN-US_TOPIC_0030713149__text689613221012"></span>s that have this tool installed. You can use data injection, for example, to set the login password for a new <span id="EN-US_TOPIC_0030713149__text395913323612">ECS</span><span id="EN-US_TOPIC_0030713149__text1395914393610"></span>. For details, see <a href="en-us_topic_0030730602.html">Installing and Configuring Cloudbase-Init</a>.</li><li id="EN-US_TOPIC_0030713149__li13813104293311">Check and install the UVP VMTools driver to ensure that new <span id="EN-US_TOPIC_0030713149__text3226142519219">ECS</span><span id="EN-US_TOPIC_0030713149__text1623211251523"></span>s created from the image support KVM virtualization and to improve network performance.<p id="EN-US_TOPIC_0030713149__p148136429334">For details, see steps <a href="en-us_topic_0047501112.html#EN-US_TOPIC_0047501112__en-us_topic_0036684057_li24121565">2</a> to <a href="en-us_topic_0047501112.html#EN-US_TOPIC_0047501112__en-us_topic_0036684057_li19262089">4</a> in <a href="en-us_topic_0047501112.html">Optimization Process</a>.</p>
</li><li id="EN-US_TOPIC_0030713149__li1840125413152">Run Sysprep to ensure that the SIDs of the new <span id="EN-US_TOPIC_0030713149__text1455919412206">ECS</span><span id="EN-US_TOPIC_0030713149__text185594419203"></span>s created from the image are unique within their domain. In a cluster deployment scenario, the SIDs must be unique. For details, see <a href="en-us_topic_0093887081.html">Running Sysprep</a>.</li></ul>
<div class="note" id="EN-US_TOPIC_0030713149__note14321730693"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0030713149__p6662103715368">If an <span id="EN-US_TOPIC_0030713149__text072524051720">ECS</span><span id="EN-US_TOPIC_0030713149__text1372684011712"></span> is created from a public image, Cloudbase-Init has been installed by default. You can follow the guide in the prerequisites to verify the installation.</p>
</div></div>

View File

@ -14,7 +14,7 @@
</li><li id="EN-US_TOPIC_0030713180__en-us_topic_0030713149_li6622650131818">The time required for creating an image depends on the ECS system disk size, network quality, and the number of concurrent tasks.</li><li id="EN-US_TOPIC_0030713180__en-us_topic_0030713149_li18776143117110">A system disk image will be created in the same region as the ECS that was used to create it. </li><li id="EN-US_TOPIC_0030713180__en-us_topic_0030713149_li115619315112">If an ECS has expired or been released, you can use the system disk image created from the ECS to restore it.</li></ul>
</div>
<div class="section" id="EN-US_TOPIC_0030713180__en-us_topic_0029124558_section14824313152247"><h4 class="sectiontitle">Prerequisites</h4><p id="EN-US_TOPIC_0030713180__p12638796573">Before creating a private image from an ECS:</p>
<ul id="EN-US_TOPIC_0030713180__ul1341816307572"><li id="EN-US_TOPIC_0030713180__li741853005713">Delete any sensitive data the <span id="EN-US_TOPIC_0030713180__en-us_topic_0030713149_text64151044212">ECS</span><span id="EN-US_TOPIC_0030713180__en-us_topic_0030713149_text841520013425"></span> may contain.</li><li id="EN-US_TOPIC_0030713180__li1176185720573">Ensure that the <span id="EN-US_TOPIC_0030713180__en-us_topic_0030713149_text3276249173916">ECS</span><span id="EN-US_TOPIC_0030713180__en-us_topic_0030713149_text122769492393"></span> is in the <strong id="EN-US_TOPIC_0030713180__en-us_topic_0030713149_b1460418554214">Running</strong> or <strong id="EN-US_TOPIC_0030713180__en-us_topic_0030713149_b1635555218212">Stopped</strong> state.</li><li id="EN-US_TOPIC_0030713180__li17629145665713">Check network configuration of the <span id="EN-US_TOPIC_0030713180__text8738103063918">ECS</span><span id="EN-US_TOPIC_0030713180__text187389308399"></span> and ensure that DHCP is configured for the NICs. For details, see <a href="en-us_topic_0030713176.html">Setting the NIC to DHCP</a>.</li><li id="EN-US_TOPIC_0030713180__li2045165095118">Install special drivers. The normal running and advanced functions of some <span id="EN-US_TOPIC_0030713180__text865119424719">ECS</span><span id="EN-US_TOPIC_0030713180__text265716421076"></span>s depend on certain drivers. For example, P1 ECSs depend on the NVIDIA driver. For details, see <a href="en-us_topic_0082002007.html">Installing Special Linux Drivers</a>.</li><li id="EN-US_TOPIC_0030713180__li168147546571">Check whether Cloud-Init has been installed on the <span id="EN-US_TOPIC_0030713180__text828812042512">ECS</span><span id="EN-US_TOPIC_0030713180__text1628852010252"></span>. The user data injection function on the management console is only available for new <span id="EN-US_TOPIC_0030713180__text1528972016254">ECS</span><span id="EN-US_TOPIC_0030713180__text928952012510"></span>s that have this tool installed. You can use data injection, for example, to set the login password for a new <span id="EN-US_TOPIC_0030713180__text2290162092514">ECS</span><span id="EN-US_TOPIC_0030713180__text1629012062511"></span>. For details, see <a href="en-us_topic_0030730603.html">Installing Cloud-Init</a> and <a href="en-us_topic_0122876047.html">Configuring Cloud-Init</a>.</li><li id="EN-US_TOPIC_0030713180__li196401515685">Delete any network rules to prevent NIC name drift on the <span id="EN-US_TOPIC_0030713180__text127755436813">ECS</span><span id="EN-US_TOPIC_0030713180__text17754431814"></span>s created from the image. For details, see <a href="en-us_topic_0069904570.html">Deleting Files from the Network Rule Directory</a>.</li><li id="EN-US_TOPIC_0030713180__li12179542993">To ensure that the ECSs created from the image support both Xen and KVM virtualization, the Linux <span id="EN-US_TOPIC_0030713180__text357732233216">ECS</span><span id="EN-US_TOPIC_0030713180__text7578152233214"></span> used to create the image has to be modified. For instance, the disk IDs in the GRUB and fstab files need to be UUID and native Xen and KVM drivers need to be installed.<p id="EN-US_TOPIC_0030713180__p8060118">For details, see steps <a href="en-us_topic_0047501133.html#EN-US_TOPIC_0047501133__li20604522122715">2</a> to <a href="en-us_topic_0047501133.html#EN-US_TOPIC_0047501133__li18604132210271">6</a> in <a href="en-us_topic_0047501133.html">Optimization Process</a>.</p>
<ul id="EN-US_TOPIC_0030713180__ul1341816307572"><li id="EN-US_TOPIC_0030713180__li741853005713">Delete any sensitive data the <span id="EN-US_TOPIC_0030713180__en-us_topic_0030713149_text64151044212">ECS</span><span id="EN-US_TOPIC_0030713180__en-us_topic_0030713149_text841520013425"></span> may contain.</li><li id="EN-US_TOPIC_0030713180__li1176185720573">Ensure that the <span id="EN-US_TOPIC_0030713180__en-us_topic_0030713149_text3276249173916">ECS</span><span id="EN-US_TOPIC_0030713180__en-us_topic_0030713149_text122769492393"></span> is in the <strong id="EN-US_TOPIC_0030713180__en-us_topic_0030713149_b1460418554214">Running</strong> or <strong id="EN-US_TOPIC_0030713180__en-us_topic_0030713149_b1635555218212">Stopped</strong> state.</li><li id="EN-US_TOPIC_0030713180__li17629145665713">Check network configuration of the <span id="EN-US_TOPIC_0030713180__text8738103063918">ECS</span><span id="EN-US_TOPIC_0030713180__text187389308399"></span> and ensure that DHCP is configured for the NICs. For details, see <a href="en-us_topic_0030713176.html">Setting the NIC to DHCP</a>.</li><li id="EN-US_TOPIC_0030713180__li2045165095118">Install special drivers. The normal running and advanced functions of some <span id="EN-US_TOPIC_0030713180__text865119424719">ECS</span><span id="EN-US_TOPIC_0030713180__text265716421076"></span>s depend on certain drivers. For example, P1 ECSs depend on the NVIDIA driver. For details, see <a href="en-us_topic_0082002007.html">Installing Special Linux Drivers</a>.</li><li id="EN-US_TOPIC_0030713180__li168147546571">Check whether Cloud-Init has been installed on the <span id="EN-US_TOPIC_0030713180__text828812042512">ECS</span><span id="EN-US_TOPIC_0030713180__text1628852010252"></span>. The user data injection function on the management console is only available for new <span id="EN-US_TOPIC_0030713180__text1528972016254">ECS</span><span id="EN-US_TOPIC_0030713180__text928952012510"></span>s that have this tool installed. You can use data injection, for example, to set the login password for a new <span id="EN-US_TOPIC_0030713180__text2290162092514">ECS</span><span id="EN-US_TOPIC_0030713180__text1629012062511"></span>. For details, see <a href="en-us_topic_0030730603.html">Installing Cloud-Init</a> and <a href="en-us_topic_0122876047.html">Configuring Cloud-Init</a>.</li><li id="EN-US_TOPIC_0030713180__li196401515685">Delete any network rules to prevent NIC name drift on the <span id="EN-US_TOPIC_0030713180__text127755436813">ECS</span><span id="EN-US_TOPIC_0030713180__text17754431814"></span>s created from the image. For details, see <a href="en-us_topic_0069904570.html">Deleting Files from the Network Rule Directory</a>.</li><li id="EN-US_TOPIC_0030713180__li83232791714">To ensure that the ECSs created from the image support KVM virtualization, the Linux <span id="EN-US_TOPIC_0030713180__text23471337181118">ECS</span><span id="EN-US_TOPIC_0030713180__text123479375116"></span> used to create the image has to be modified. For instance, the disk IDs in the GRUB and fstab files need to be UUID and native KVM drivers need to be installed.<p id="EN-US_TOPIC_0030713180__p123242718174">For details, see <a href="en-us_topic_0047501133.html">Optimization Process</a>.</p>
</li><li id="EN-US_TOPIC_0030713180__li6253123412318">If multiple data disks are attached to an <span id="EN-US_TOPIC_0030713180__text1675610378194">ECS</span><span id="EN-US_TOPIC_0030713180__text550818593173"></span> used to create a private image, the ECSs created from the image may be unavailable. You need to detach all data disks from the ECS before using it to create an image. For details, see <a href="en-us_topic_0030713179.html">Detaching Data Disks from an ECS</a>.</li><li id="EN-US_TOPIC_0030713180__li26871833164516">If data disks have been attached to the <span id="EN-US_TOPIC_0030713180__text19318112813410">ECS</span> and automatic partition mounting has been configured in the fstab file for the <span id="EN-US_TOPIC_0030713180__text842338183413">ECS</span>, delete these configurations from the file before using the ECS to create a system disk image.</li><li id="EN-US_TOPIC_0030713180__li07331181348">To ensure that <strong id="EN-US_TOPIC_0030713180__b1091415114385">Console Log</strong> is available for the newly created <span id="EN-US_TOPIC_0030713180__text366444133911">ECS</span><span id="EN-US_TOPIC_0030713180__text866417414391"></span>s on the console, set related parameters in the <span id="EN-US_TOPIC_0030713180__text6197154154017">ECS</span><span id="EN-US_TOPIC_0030713180__text8197155424011"></span> that is used to create the image. For details, see <a href="en-us_topic_0057450886.html">Configuring Console Logging</a>.</li></ul>
<div class="note" id="EN-US_TOPIC_0030713180__note14321730693"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0030713180__p6662103715368">If an <span id="EN-US_TOPIC_0030713180__text116571218162810">ECS</span><span id="EN-US_TOPIC_0030713180__text5657318152815"></span> is created from a public image, Cloud-Init has been installed by default. You can follow the guide to verify the installation.</p>
</div></div>

View File

@ -2,8 +2,8 @@
<h1 class="topictitle1">What Do I Do If a Windows Image File Is Not Pre-Configured When I Use It to Register a Private Image?</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0030713185__p8060118">If an image file is not configured as instructed in <a href="en-us_topic_0030713189.html#EN-US_TOPIC_0030713189__table85212269215">Table 1</a> before it is exported from the original platform, configure it by referring to <a href="#EN-US_TOPIC_0030713185__fig18196115421120">Figure 1</a>.</p>
<div class="caution" id="EN-US_TOPIC_0030713185__note131512594137"><span class="cautiontitle"><img src="public_sys-resources/caution_3.0-en-us.png"> </span><div class="cautionbody"><p id="EN-US_TOPIC_0030713185__p191511591138">The proper running of <span id="EN-US_TOPIC_0030713185__text520212583016">ECS</span><span id="EN-US_TOPIC_0030713185__text52025252300"></span>s depends on the Xen Guest OS driver (PV driver) andKVM Guest OS driver (UVP VMTools), without which the performance of <span id="EN-US_TOPIC_0030713185__text142031325193018">ECS</span><span id="EN-US_TOPIC_0030713185__text320319255302"></span>s will be affected and some functions will be unavailable. Ensure that the driver installation has been completed for the image file before it is exported from the original platform. Otherwise, the <span id="EN-US_TOPIC_0030713185__text714515314911">ECS</span><span id="EN-US_TOPIC_0030713185__text191452530911"></span>s created from the image will fail to start.</p>
<ul id="EN-US_TOPIC_0030713185__ul971824811300"><li id="EN-US_TOPIC_0030713185__li1771974812305">Install the PV driver. For details, see <a href="en-us_topic_0037352182.html">Installing the PV Driver</a>.</li><li id="EN-US_TOPIC_0030713185__li1171913488306">Install UVP VMTools. For details, see <a href="en-us_topic_0037352061.html">Installing UVP VMTools</a>.</li></ul>
<div class="caution" id="EN-US_TOPIC_0030713185__note131512594137"><span class="cautiontitle"><img src="public_sys-resources/caution_3.0-en-us.png"> </span><div class="cautionbody"><p id="EN-US_TOPIC_0030713185__p191511591138">The proper running of <span id="EN-US_TOPIC_0030713185__text19526151820208">ECS</span><span id="EN-US_TOPIC_0030713185__text15527318102012"></span>s depends on the KVM Guest OS driver (UVP VMTools), without which the performance of <span id="EN-US_TOPIC_0030713185__text0527181872017">ECS</span><span id="EN-US_TOPIC_0030713185__text152718183204"></span>s will be affected and some functions will be unavailable. Ensure that the driver installation has been completed for the image file before it is exported from the original platform. Otherwise, the <span id="EN-US_TOPIC_0030713185__text714515314911">ECS</span><span id="EN-US_TOPIC_0030713185__text191452530911"></span>s created from the image will fail to start.</p>
<p id="EN-US_TOPIC_0030713185__p131615336254">For details about how to install UVP VMTools, see <a href="en-us_topic_0037352061.html">Installing UVP VMTools</a>.</p>
</div></div>
<div class="fignone" id="EN-US_TOPIC_0030713185__fig18196115421120"><a name="EN-US_TOPIC_0030713185__fig18196115421120"></a><a name="fig18196115421120"></a><span class="figcap"><b>Figure 1 </b>Image creation process</span><br><span><img id="EN-US_TOPIC_0030713185__image1019785491110" src="en-us_image_0208476701.png" title="Click to enlarge" class="imgResize"></span></div>
<div class="section" id="EN-US_TOPIC_0030713185__section1049514242043"><a name="EN-US_TOPIC_0030713185__section1049514242043"></a><a name="section1049514242043"></a><h4 class="sectiontitle">Step 1: Upload the Image File</h4><p id="EN-US_TOPIC_0030713185__p69302299415">Upload the external image file to an OBS bucket. For details, see <a href="en-us_topic_0030713183.html">Uploading an External Image File</a>.</p>

View File

@ -47,7 +47,7 @@
</tr>
<tr id="EN-US_TOPIC_0030713189__row20361842182918"><td class="cellrowborder" valign="top" width="23.51%" headers="mcps1.3.3.2.3.1.1 "><p id="EN-US_TOPIC_0030713189__p113644216291">Driver</p>
</td>
<td class="cellrowborder" valign="top" width="76.49000000000001%" headers="mcps1.3.3.2.3.1.2 "><ul id="EN-US_TOPIC_0030713189__ul1139872448"><li id="EN-US_TOPIC_0030713189__li5139137154411"><a href="en-us_topic_0037352182.html">Installing the PV Driver</a></li><li id="EN-US_TOPIC_0030713189__li6651113954419"><a href="en-us_topic_0037352061.html">Installing UVP VMTools</a></li></ul>
<td class="cellrowborder" valign="top" width="76.49000000000001%" headers="mcps1.3.3.2.3.1.2 "><p id="EN-US_TOPIC_0030713189__p185401001986"><a href="en-us_topic_0037352061.html">Installing UVP VMTools</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0030713189__row1661924212312"><td class="cellrowborder" valign="top" width="23.51%" headers="mcps1.3.3.2.3.1.1 "><p id="EN-US_TOPIC_0030713189__p196201042152313">Other requirements</p>

View File

@ -22,8 +22,6 @@
</li>
<li class="ulchildlink"><strong><a href="en-us_topic_0030713215.html">What Is the Cause of the Failure to Install a Guest OS Driver on a Windows ECS?</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="en-us_topic_0086020894.html">How Do I Install the Native Xen and KVM Drivers?</a></strong><br>
</li>
</ul>
<div class="familylinks">

View File

@ -2,8 +2,8 @@
<h1 class="topictitle1">What Do I Do If a Linux Image File Is Not Pre-Configured When I Use It to Register a Private Image?</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0030713211__p8060118">If an image file is not configured as instructed in <a href="en-us_topic_0030713198.html#EN-US_TOPIC_0030713198__table85212269215">Table 1</a> before it is exported from the original platform, configure it by referring to <a href="#EN-US_TOPIC_0030713211__fig18196115421120">Figure 1</a>.</p>
<div class="caution" id="EN-US_TOPIC_0030713211__note131512594137"><span class="cautiontitle"><img src="public_sys-resources/caution_3.0-en-us.png"> </span><div class="cautionbody"><p id="EN-US_TOPIC_0030713211__p191511591138">The proper running of <span id="EN-US_TOPIC_0030713211__text995985131613">ECS</span><span id="EN-US_TOPIC_0030713211__text695916591611"></span>s depends on the Xen or KVM driver. If no such a driver is installed, the performance of <span id="EN-US_TOPIC_0030713211__text046792633018">ECS</span><span id="EN-US_TOPIC_0030713211__text1946722618302"></span>s will be affected and some functions will be unavailable. Ensure that the Xen or KVM driver has been installed for the image file as needed before it is exported from the original platform. Otherwise, the <span id="EN-US_TOPIC_0030713211__text18898820145517">ECS</span><span id="EN-US_TOPIC_0030713211__text88981420175511"></span>s created from the image will fail to start.</p>
<p id="EN-US_TOPIC_0030713211__p979661713398">For details, see <a href="en-us_topic_0086020894.html">How Do I Install the Native Xen and KVM Drivers?</a></p>
<div class="caution" id="EN-US_TOPIC_0030713211__note131512594137"><span class="cautiontitle"><img src="public_sys-resources/caution_3.0-en-us.png"> </span><div class="cautionbody"><p id="EN-US_TOPIC_0030713211__p191511591138">The proper running of <span id="EN-US_TOPIC_0030713211__text995985131613">ECS</span><span id="EN-US_TOPIC_0030713211__text695916591611"></span>s depends on the KVM driver. If no such a driver is installed, the performance of <span id="EN-US_TOPIC_0030713211__text046792633018">ECS</span><span id="EN-US_TOPIC_0030713211__text1946722618302"></span>s will be affected and some functions will be unavailable. Ensure that the Xen or KVM driver has been installed for the image file as needed before it is exported from the original platform. Otherwise, the <span id="EN-US_TOPIC_0030713211__text18898820145517">ECS</span><span id="EN-US_TOPIC_0030713211__text88981420175511"></span>s created from the image will fail to start.</p>
<p id="EN-US_TOPIC_0030713211__p979661713398">For details, see <a href="en-us_topic_0000001120952155.html">Installing Native KVM Drivers</a>.</p>
</div></div>
<div class="fignone" id="EN-US_TOPIC_0030713211__fig18196115421120"><a name="EN-US_TOPIC_0030713211__fig18196115421120"></a><a name="fig18196115421120"></a><span class="figcap"><b>Figure 1 </b>Image creation process</span><br><span><img id="EN-US_TOPIC_0030713211__en-us_topic_0030713185_image1019785491110" src="en-us_image_0208476701.png" title="Click to enlarge" class="imgResize"></span></div>
<div class="section" id="EN-US_TOPIC_0030713211__section1049514242043"><a name="EN-US_TOPIC_0030713211__section1049514242043"></a><a name="section1049514242043"></a><h4 class="sectiontitle">Step 1: Upload the Image File</h4><p id="EN-US_TOPIC_0030713211__p69302299415">Upload the external image file to an OBS bucket. For details, see <a href="en-us_topic_0030713192.html">Uploading an External Image File</a>.</p>
@ -15,7 +15,7 @@
</li></ol>
</li><li id="EN-US_TOPIC_0030713211__li18427105011137">Click the <strong id="EN-US_TOPIC_0030713211__b0796114213470">Private Images</strong> tab.</li><li id="EN-US_TOPIC_0030713211__li18620513319">Locate the row that contains the private image and click <strong id="EN-US_TOPIC_0030713211__b14133131815524">Apply for Server</strong><strong id="EN-US_TOPIC_0030713211__b13133101835213"></strong><strong id="EN-US_TOPIC_0030713211__b31330183529"></strong> in the <strong id="EN-US_TOPIC_0030713211__b21331518155210">Operation</strong> column.</li><li id="EN-US_TOPIC_0030713211__li6282124223316">Set parameters as promoted to create an <span id="EN-US_TOPIC_0030713211__text2020710517494">ECS</span><span id="EN-US_TOPIC_0030713211__text94911553124914"></span>. Pay attention to the following:<ul id="EN-US_TOPIC_0030713211__ul101241223815"><li id="EN-US_TOPIC_0030713211__li6125122313114">You must add inbound rules for security groups of the <span id="EN-US_TOPIC_0030713211__text16462733155212"></span><span id="EN-US_TOPIC_0030713211__text144621833125217">ECS</span> to ensure that the <span id="EN-US_TOPIC_0030713211__text546243313524"></span><span id="EN-US_TOPIC_0030713211__text1346243312525">ECS</span> can be accessed.</li><li id="EN-US_TOPIC_0030713211__li151251923912">If Cloud-Init has been installed in the image file, set a login password as prompted. If Cloud-Init is not installed, use the password or certificate contained in the image file to log in.</li></ul>
<p id="EN-US_TOPIC_0030713211__p196142261698">For details, see <em id="EN-US_TOPIC_0030713211__i669111516216">Elastic Cloud Server User Guide</em>.</p>
</li><li id="EN-US_TOPIC_0030713211__li12747114019333">Perform the following steps to check whether the private image has been pre-configured:<ol type="a" id="EN-US_TOPIC_0030713211__ol9843151111412"><li id="EN-US_TOPIC_0030713211__li1015683820511">Check whether the <span id="EN-US_TOPIC_0030713211__text6326174416514">ECS</span><span id="EN-US_TOPIC_0030713211__text1232664455117"></span> can be successfully started. If the start succeeds, the Xen or KVM driver has been installed for the external image file on the original platform or the driver has been automatically installed for the private image on the cloud platform. If the start failed, install the Xen or KVM driver as needed for the image file and start from <a href="#EN-US_TOPIC_0030713211__section1049514242043">Step 1: Upload the Image File</a> again.</li><li id="EN-US_TOPIC_0030713211__li87471314161315">Check whether you can log in to the <span id="EN-US_TOPIC_0030713211__text10112224171117">ECS</span><span id="EN-US_TOPIC_0030713211__text151121524131113"></span> using your configured password or key. If you can, Cloud-Init has been installed. If you cannot, use the password or key contained in the image file to log in to the <span id="EN-US_TOPIC_0030713211__text109841146181518">ECS</span><span id="EN-US_TOPIC_0030713211__text699024691514"></span> and install Cloud-Init as instructed in <a href="en-us_topic_0030730603.html">Installing Cloud-Init</a>.</li><li id="EN-US_TOPIC_0030713211__li67801857161417">Check the network configuration by referring to <a href="#EN-US_TOPIC_0030713211__section51410413191">Step 4: Configure the ECS</a>.</li></ol>
</li><li id="EN-US_TOPIC_0030713211__li12747114019333">Perform the following steps to check whether the private image has been pre-configured:<ol type="a" id="EN-US_TOPIC_0030713211__ol9843151111412"><li id="EN-US_TOPIC_0030713211__li1015683820511">Check whether the <span id="EN-US_TOPIC_0030713211__text6326174416514">ECS</span><span id="EN-US_TOPIC_0030713211__text1232664455117"></span> can be successfully started. If the start succeeds, the KVM driver has been installed for the external image file on the original platform or the driver has been automatically installed for the private image on the cloud platform. If the start failed, install the KVM driver as needed for the image file and start from <a href="#EN-US_TOPIC_0030713211__section1049514242043">Step 1: Upload the Image File</a> again.</li><li id="EN-US_TOPIC_0030713211__li87471314161315">Check whether you can log in to the <span id="EN-US_TOPIC_0030713211__text10112224171117">ECS</span><span id="EN-US_TOPIC_0030713211__text151121524131113"></span> using your configured password or key. If you can, Cloud-Init has been installed. If you cannot, use the password or key contained in the image file to log in to the <span id="EN-US_TOPIC_0030713211__text109841146181518">ECS</span><span id="EN-US_TOPIC_0030713211__text699024691514"></span> and install Cloud-Init as instructed in <a href="en-us_topic_0030730603.html">Installing Cloud-Init</a>.</li><li id="EN-US_TOPIC_0030713211__li67801857161417">Check the network configuration by referring to <a href="#EN-US_TOPIC_0030713211__section51410413191">Step 4: Configure the ECS</a>.</li></ol>
<p id="EN-US_TOPIC_0030713211__p132798518174">If the ECS meets the preceding requirements, the private image has been pre-configured. Skip <a href="#EN-US_TOPIC_0030713211__section51410413191">Step 4: Configure the ECS</a> and <a href="#EN-US_TOPIC_0030713211__section18481126192819">Step 5: Create a Private Image from the ECS</a>.</p>
</li></ol>
</div>

View File

@ -2,7 +2,7 @@
<h1 class="topictitle1">Must I Install Guest OS Drivers on an ECS?</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0030713214__p19760131823313">Installing Guest OS drivers on an ECS improves your experience in using the ECS. In addition, it also ensures high reliability and stability of <span id="EN-US_TOPIC_0030713214__text18565125716558">ECS</span><span id="EN-US_TOPIC_0030713214__text105651157105516"></span>s.</p>
<ul id="EN-US_TOPIC_0030713214__en-us_topic_0029124561_ubbb59a05546d4a8b9c6f8be63d86ef43"><li id="EN-US_TOPIC_0030713214__en-us_topic_0029124561_l287ca13643b6451a869d7f8fc4ac16cd">Windows ECSs: Install the PV driver and UVP VMTools on ECSs.</li><li id="EN-US_TOPIC_0030713214__li3566787915040">Linux ECSs: Install xen-pv and VirtIO drivers and load them in initrd.</li></ul>
<ul id="EN-US_TOPIC_0030713214__en-us_topic_0029124561_ubbb59a05546d4a8b9c6f8be63d86ef43"><li id="EN-US_TOPIC_0030713214__en-us_topic_0029124561_l287ca13643b6451a869d7f8fc4ac16cd">Windows ECSs: Install UVP VMTools on ECSs.</li><li id="EN-US_TOPIC_0030713214__li3566787915040">Linux ECSs: Install VirtIO drivers and load them in initrd.</li></ul>
</div>
<div>
<div class="familylinks">

View File

@ -7,7 +7,7 @@
<div class="section" id="EN-US_TOPIC_0030713219__section1946018361020"><h4 class="sectiontitle">Solution</h4><p id="EN-US_TOPIC_0030713219__p1795244181019">Perform the following operations to modify OS kernel boot parameters:</p>
<div class="note" id="EN-US_TOPIC_0030713219__en-us_topic_0029124532_nbcc95175a5ef43b78d287940ddd22762"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0030713219__en-us_topic_0029124532_a1b2abdc617b0461b94cdd52b7c76b14f">These operations must be performed after the OS starts. You are advised to modify kernel boot parameters in the ECS used for creating the image.</p>
</div></div>
<ol id="EN-US_TOPIC_0030713219__en-us_topic_0029124532_o48b024e942574496995f3c670e844a72"><li id="EN-US_TOPIC_0030713219__en-us_topic_0029124532_l0d5fe430773244da90624a5765ef2a8d">Run the following command to log in to the OS:<div class="p" id="EN-US_TOPIC_0030713219__p17980945165714"><a name="EN-US_TOPIC_0030713219__en-us_topic_0029124532_l0d5fe430773244da90624a5765ef2a8d"></a><a name="en-us_topic_0029124532_l0d5fe430773244da90624a5765ef2a8d"></a><strong id="EN-US_TOPIC_0030713219__b1952814116573">lsinitrd /boot/initramfs-<em id="EN-US_TOPIC_0030713219__i10528941165712">`</em></strong><em id="EN-US_TOPIC_0030713219__i155301541125719">uname</em><strong id="EN-US_TOPIC_0030713219__b6529841125713"><em id="EN-US_TOPIC_0030713219__i1252914411577"> </em>-r<em id="EN-US_TOPIC_0030713219__i452924155716">`</em>.img |grep -i xen</strong><ul id="EN-US_TOPIC_0030713219__en-us_topic_0029124532_ud11b5ac656014e9db18bf68a9844200b"><li id="EN-US_TOPIC_0030713219__en-us_topic_0029124532_l28017a11ec4d437eac03ed373b3bc60e">If the command output contains <strong id="EN-US_TOPIC_0030713219__b012012346315">xen-blkfront.ko</strong>, contact the customer service.</li><li id="EN-US_TOPIC_0030713219__en-us_topic_0029124532_l34052a3752ed4f5580ac3cc98093dfbb">If no command output is displayed, go to <a href="#EN-US_TOPIC_0030713219__li155801950404">2</a>.</li></ul>
<ol id="EN-US_TOPIC_0030713219__en-us_topic_0029124532_o48b024e942574496995f3c670e844a72"><li id="EN-US_TOPIC_0030713219__en-us_topic_0029124532_l0d5fe430773244da90624a5765ef2a8d">Run the following command to log in to the OS:<div class="p" id="EN-US_TOPIC_0030713219__p17980945165714"><a name="EN-US_TOPIC_0030713219__en-us_topic_0029124532_l0d5fe430773244da90624a5765ef2a8d"></a><a name="en-us_topic_0029124532_l0d5fe430773244da90624a5765ef2a8d"></a><strong id="EN-US_TOPIC_0030713219__b1952814116573">lsinitrd /boot/initramfs-<em id="EN-US_TOPIC_0030713219__i10528941165712">`</em></strong><em id="EN-US_TOPIC_0030713219__i155301541125719">uname</em><strong id="EN-US_TOPIC_0030713219__b6529841125713"><em id="EN-US_TOPIC_0030713219__i1252914411577"> </em>-r<em id="EN-US_TOPIC_0030713219__i452924155716">`</em>.img |grep -i xen</strong><ul id="EN-US_TOPIC_0030713219__en-us_topic_0029124532_ud11b5ac656014e9db18bf68a9844200b"><li id="EN-US_TOPIC_0030713219__en-us_topic_0029124532_l28017a11ec4d437eac03ed373b3bc60e">If the command output contains <strong id="EN-US_TOPIC_0030713219__b4791162522714">xen-blkfront.ko</strong>, contact the customer service.</li><li id="EN-US_TOPIC_0030713219__en-us_topic_0029124532_l34052a3752ed4f5580ac3cc98093dfbb">If no command output is displayed, go to <a href="#EN-US_TOPIC_0030713219__li155801950404">2</a>.</li></ul>
</div>
</li><li id="EN-US_TOPIC_0030713219__li155801950404"><a name="EN-US_TOPIC_0030713219__li155801950404"></a><a name="li155801950404"></a>Back up the GRUB configuration file.<ul id="EN-US_TOPIC_0030713219__en-us_topic_0029124532_u3ed02047fb3f4ed9a7e25d5b47a8459f"><li id="EN-US_TOPIC_0030713219__en-us_topic_0029124532_l82c1499875414c6ebb3003226d5d9276">If the ECS runs CentOS 6, run the following command:<p id="EN-US_TOPIC_0030713219__en-us_topic_0029124532_a069c6cc3c08d4cf5808b0859f8fad722"><a name="EN-US_TOPIC_0030713219__en-us_topic_0029124532_l82c1499875414c6ebb3003226d5d9276"></a><a name="en-us_topic_0029124532_l82c1499875414c6ebb3003226d5d9276"></a><strong id="EN-US_TOPIC_0030713219__en-us_topic_0029124532_a4698d0fce14543e48057b1b707132b52">cp /boot/grub/grub.conf /boot/grub/grub.conf.bak</strong></p>
</li><li id="EN-US_TOPIC_0030713219__en-us_topic_0029124532_l11c51e55575f4dd2be98331dd417b84e">If the ECS runs CentOS 7, run the following command:<p id="EN-US_TOPIC_0030713219__en-us_topic_0029124532_a5ad5314156bb4e089f1fa0924789c3d0"><a name="EN-US_TOPIC_0030713219__en-us_topic_0029124532_l11c51e55575f4dd2be98331dd417b84e"></a><a name="en-us_topic_0029124532_l11c51e55575f4dd2be98331dd417b84e"></a><strong id="EN-US_TOPIC_0030713219__b31042411165831">cp /boot/grub2/grub.cfg /boot/grub2/grub.cfg.bak</strong></p>

View File

@ -10,8 +10,6 @@
</li>
<li class="ulchildlink"><strong><a href="en-us_topic_0034220644.html">What Do I Do If No Partition Is Found During the Startup of an ECS Created from an Imported Private Image?</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="en-us_topic_0030713219.html">What Do I Do If the Disks of an ECS Created from a CentOS Image Cannot Be Found?</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="en-us_topic_0113403127.html">What Do I Do If an ECS Created from a Windows Image Failed to Start When I Have Enabled Automatic Configuration During Image Registration?</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="en-us_topic_0161870891.html">What Do I Do If an Exception Occurs When I Start an ECS Created from an Image Using the UEFI Boot Mode?</a></strong><br>

View File

@ -31,7 +31,6 @@
<div class="section" id="EN-US_TOPIC_0030730603__section9013470154018"><a name="EN-US_TOPIC_0030730603__section9013470154018"></a><a name="section9013470154018"></a><h4 class="sectiontitle">(Recommended) Install Cloud-Init Using the Official Installation Package</h4><p id="EN-US_TOPIC_0030730603__p23161163154018">The method of installing Cloud-Init on an <span id="EN-US_TOPIC_0030730603__text394043512310">ECS</span><span id="EN-US_TOPIC_0030730603__text20940113572316"></span> varies depending on the OS. Perform the installation operations as user <strong id="EN-US_TOPIC_0030730603__b84235270611841">root</strong>.</p>
<p id="EN-US_TOPIC_0030730603__p25922872154018">The following describes how to install Cloud-Init on an ECS running SUSE Linux, CentOS, Fedora, Debian, and Ubuntu. For other OS types, install the required type of Cloud-Init. For example, you need to install coreos-cloudinit on ECSs running CoreOS.</p>
<ul id="EN-US_TOPIC_0030730603__ul34101545154018"><li id="EN-US_TOPIC_0030730603__li257718382289">SUSE Linux<p id="EN-US_TOPIC_0030730603__p16577153872816"><a name="EN-US_TOPIC_0030730603__li257718382289"></a><a name="li257718382289"></a>Paths for obtaining the Cloud-Init installation package for SUSE Linux</p>
<p id="EN-US_TOPIC_0030730603__p5577438192818"><a href="http://download.opensuse.org/repositories/home:/garloff:/OTC:/cloudinit/" target="_blank" rel="noopener noreferrer">http://download.opensuse.org/repositories/home:/garloff:/OTC:/cloudinit/</a></p>
<p id="EN-US_TOPIC_0030730603__p45771138122815"><a href="https://ftp5.gwdg.de/pub/opensuse/repositories/Cloud:/Tools" target="_blank" rel="noopener noreferrer">https://ftp5.gwdg.de/pub/opensuse/repositories/Cloud:/Tools/</a></p>
<p id="EN-US_TOPIC_0030730603__p8577153892819"><a href="http://download.opensuse.org/repositories/Cloud:/Tools/" target="_blank" rel="noopener noreferrer">http://download.opensuse.org/repositories/Cloud:/Tools/</a></p>
<div class="note" id="EN-US_TOPIC_0030730603__note25778380285"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0030730603__p18577103816287">Select the required repo installation package in the provided paths.</p>
@ -95,7 +94,7 @@
</li><li id="EN-US_TOPIC_0030730603__li659615162527">Run the following commands to enable Cloud-Init to automatically start upon system boot:<p id="EN-US_TOPIC_0030730603__en-us_topic_0030730603_p85661041145114"><a name="EN-US_TOPIC_0030730603__li659615162527"></a><a name="li659615162527"></a><strong id="EN-US_TOPIC_0030730603__en-us_topic_0030730603_b11566341115112">systemctl enable cloud-init-local.service cloud-init.service cloud-config.service cloud-final.service</strong></p>
<p id="EN-US_TOPIC_0030730603__en-us_topic_0030730603_p1566134125111"><strong id="EN-US_TOPIC_0030730603__en-us_topic_0030730603_b1956794145113">systemctl status cloud-init-local.service cloud-init.service cloud-config.service cloud-final.service</strong></p>
</li></ol>
</li><li id="EN-US_TOPIC_0030730603__li18593123892814">Debian and Ubuntu<p id="EN-US_TOPIC_0030730603__p659315381284"><a name="EN-US_TOPIC_0030730603__li18593123892814"></a><a name="li18593123892814"></a>Before installing Cloud-Init, ensure that the network installation source address has been configured for the OS by checking whether the <strong id="EN-US_TOPIC_0030730603__b403621503">/etc/apt/sources.list</strong> file contains the installation source address of the software package. If the file does not contain the address, configure the address by following the instructions on the Debian or Ubuntu official website.</p>
</li><li id="EN-US_TOPIC_0030730603__li18593123892814">Debian and Ubuntu<p id="EN-US_TOPIC_0030730603__p659315381284"><a name="EN-US_TOPIC_0030730603__li18593123892814"></a><a name="li18593123892814"></a>Before installing Cloud-Init, ensure that the network installation source address has been configured for the OS by checking whether the <strong id="EN-US_TOPIC_0030730603__b1250373848">/etc/apt/sources.list</strong> file contains the installation source address of the software package. If the file does not contain the address, configure the address by following the instructions on the Debian or Ubuntu official website.</p>
<ol id="EN-US_TOPIC_0030730603__ol8462192316526"><li id="EN-US_TOPIC_0030730603__li446272315527">Run the following commands to install Cloud-Init:<p id="EN-US_TOPIC_0030730603__p1628112717526"><a name="EN-US_TOPIC_0030730603__li446272315527"></a><a name="li446272315527"></a><strong id="EN-US_TOPIC_0030730603__b1759310388288">apt-get update</strong></p>
<p id="EN-US_TOPIC_0030730603__p65931538202817"><strong id="EN-US_TOPIC_0030730603__b488012119314">apt-get install</strong> <strong id="EN-US_TOPIC_0030730603__b288115111835">cloud-init</strong></p>
</li><li id="EN-US_TOPIC_0030730603__li956310214392">Run the following commands to enable Cloud-Init to automatically start upon system boot:<p id="EN-US_TOPIC_0030730603__en-us_topic_0030730603_p85661041145114_1"><a name="EN-US_TOPIC_0030730603__li956310214392"></a><a name="li956310214392"></a><strong id="EN-US_TOPIC_0030730603__en-us_topic_0030730603_b11566341115112_1">systemctl enable cloud-init-local.service cloud-init.service cloud-config.service cloud-final.service</strong></p>

View File

@ -7,7 +7,7 @@
<ul id="EN-US_TOPIC_0032307025__ul106403621211"><li id="EN-US_TOPIC_0032307025__li1964014671210">Image files whose <strong id="EN-US_TOPIC_0032307025__b17383134317546">/usr</strong> directory is an independent partition</li><li id="EN-US_TOPIC_0032307025__li564046111217">Fedora 29 64bit, Fedora 30 64bit, and CentOS 8.0 64bit image files that use the XFS file system</li><li id="EN-US_TOPIC_0032307025__li146402691216">SUSE 12 SP4 64bit image files that use the ext4 file system</li></ul>
</div></div>
</div>
<div class="section" id="EN-US_TOPIC_0032307025__section1126317553435"><h4 class="sectiontitle">Windows</h4><ul id="EN-US_TOPIC_0032307025__ul37381140163117"><li id="EN-US_TOPIC_0032307025__li11738184083118">Restore the IDE driver to enable the OS to use this driver for its initial start.</li><li id="EN-US_TOPIC_0032307025__li37382040103119">Delete the registry keys of the mouse and keyboard and generate the registry keys on the new platform to ensure that the mouse and keyboard are available.</li><li id="EN-US_TOPIC_0032307025__li47384404318">Restore the PV driver registry key to rectify driver installation failures and Xen driver conflicts.</li><li id="EN-US_TOPIC_0032307025__li1738840123112">Inject the VirtIO driver offline so that the system can start without UVP VMTools installed.</li><li id="EN-US_TOPIC_0032307025__li197387402312">Restore DHCP. The system will dynamically obtain information such as the IP address based on the DHCP protocol.</li></ul>
<div class="section" id="EN-US_TOPIC_0032307025__section1126317553435"><h4 class="sectiontitle">Windows</h4><ul id="EN-US_TOPIC_0032307025__ul37381140163117"><li id="EN-US_TOPIC_0032307025__li11738184083118">Restore the IDE driver to enable the OS to use this driver for its initial start.</li><li id="EN-US_TOPIC_0032307025__li37382040103119">Delete the registry keys of the mouse and keyboard and generate the registry keys on the new platform to ensure that the mouse and keyboard are available.</li><li id="EN-US_TOPIC_0032307025__li1738840123112">Inject the VirtIO driver offline so that the system can start without UVP VMTools installed.</li><li id="EN-US_TOPIC_0032307025__li197387402312">Restore DHCP. The system will dynamically obtain information such as the IP address based on the DHCP protocol.</li></ul>
</div>
</div>
<div>

View File

@ -4,11 +4,11 @@
<div id="body1469174223038"><div class="section" id="EN-US_TOPIC_0034011241__section996820327146"><h4 class="sectiontitle">Scenarios</h4><p id="EN-US_TOPIC_0034011241__p9159163481419">You can export a private image to a standard OBS bucket and then download it to your local PC.</p>
</div>
<div class="section" id="EN-US_TOPIC_0034011241__section524694217214"><h4 class="sectiontitle">Background</h4><ul id="EN-US_TOPIC_0034011241__ul89091021588"><li id="EN-US_TOPIC_0034011241__li1094114417506">You can reproduce cloud servers and their running environments in on-promises clusters or private clouds by exporting their images from the cloud platform. The following figure shows the process of exporting an image.<div class="fignone" id="EN-US_TOPIC_0034011241__fig1790119251562"><span class="figcap"><b>Figure 1 </b>Exporting an image</span><br><span><img id="EN-US_TOPIC_0034011241__image59011825145615" src="en-us_image_0255101497.png" title="Click to enlarge" class="imgResize"></span></div>
</li><li id="EN-US_TOPIC_0034011241__li276974313813">The time required for exporting an image depends on the image size and the number of concurrent export tasks.</li><li id="EN-US_TOPIC_0034011241__li1790917214820">You can export images in QCOW2, VMDK, VHD, or ZVHD format. Images exported in different formats may vary in size.</li><li id="EN-US_TOPIC_0034011241__li8517156151110">If an image is greater than 128 GB, you can select <strong id="EN-US_TOPIC_0034011241__b1695654916136">Enable</strong> for <strong id="EN-US_TOPIC_0034011241__b895616493136">Fast Export</strong> when exporting the image to an OBS bucket. In this case, you cannot specify the format of the exported image. You can convert the image format after it is exported.<div class="note" id="EN-US_TOPIC_0034011241__note1534435381317"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0034011241__p634535361316"><strong id="EN-US_TOPIC_0034011241__b4296135912315">Fast Export</strong> is unavailable for encrypted images. To export an encrypted image, decrypt it first.</p>
</li><li id="EN-US_TOPIC_0034011241__li276974313813">The time required for exporting an image depends on the image size and the number of concurrent export tasks.</li><li id="EN-US_TOPIC_0034011241__li1790917214820">You can export images in ZVHD2, QCOW2, VMDK, VHD, or ZVHD format. The default format of a private image is ZVHD2. Images exported in different formats may vary in size.</li><li id="EN-US_TOPIC_0034011241__li8517156151110">If an image is greater than 128 GB, you can select <strong id="EN-US_TOPIC_0034011241__b1695654916136">Enable</strong> for <strong id="EN-US_TOPIC_0034011241__b895616493136">Fast Export</strong> when exporting the image to an OBS bucket. In this case, you cannot specify the format of the exported image. You can convert the image format after it is exported.<div class="note" id="EN-US_TOPIC_0034011241__note1534435381317"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0034011241__p634535361316"><strong id="EN-US_TOPIC_0034011241__b4296135912315">Fast Export</strong> is unavailable for encrypted images. To export an encrypted image, decrypt it first.</p>
</div></div>
</li></ul>
</div>
<div class="section" id="EN-US_TOPIC_0034011241__section12716918161831"><h4 class="sectiontitle">Constraints</h4><ul id="EN-US_TOPIC_0034011241__ul3544255069"><li id="EN-US_TOPIC_0034011241__li1754519555613">The following private images cannot be exported:<ul id="EN-US_TOPIC_0034011241__ul3991132155017"><li id="EN-US_TOPIC_0034011241__li19476191413112">Full-ECS images</li><li id="EN-US_TOPIC_0034011241__li4006317915441">Private images created from a Windows, SUSE, Red Hat, Ubuntu, or Oracle Linux public image</li></ul>
<div class="section" id="EN-US_TOPIC_0034011241__section12716918161831"><h4 class="sectiontitle">Constraints</h4><ul id="EN-US_TOPIC_0034011241__ul3544255069"><li id="EN-US_TOPIC_0034011241__li1754519555613">The following private images cannot be exported:<ul id="EN-US_TOPIC_0034011241__ul3991132155017"><li id="EN-US_TOPIC_0034011241__li19476191413112">Full-ECS images</li><li id="EN-US_TOPIC_0034011241__li4006317915441"><span id="EN-US_TOPIC_0034011241__ph112785316171">Private images created from a Windows, SUSE, Red Hat, Ubuntu, or Oracle Linux public image</span></li></ul>
</li><li id="EN-US_TOPIC_0034011241__li5325121314326">The image size must be less than 1 TB. Images larger than 128 GB support only fast export.</li></ul>
</div>
<div class="section" id="EN-US_TOPIC_0034011241__section38081590162757"><h4 class="sectiontitle">Prerequisites</h4><p id="EN-US_TOPIC_0034011241__p1723214361361">An OBS bucket is available in the region where the private image is located.</p>

File diff suppressed because it is too large Load Diff

View File

@ -1,8 +1,7 @@
<a name="EN-US_TOPIC_0037352182"></a><a name="EN-US_TOPIC_0037352182"></a>
<h1 class="topictitle1">Installing the PV Driver</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0037352182__p4548125670">This section only applies to Xen ECSs, which have been discontinued and no longer been available for new users. If you are a new user or you are an existing user that will use this image to create a non-Xen ECS, skip this section.</p>
<div class="section" id="EN-US_TOPIC_0037352182__section854616214319"><h4 class="sectiontitle">Scenarios</h4><p id="EN-US_TOPIC_0037352182__p117659311137">When using an <span id="EN-US_TOPIC_0037352182__text1995081963920">ECS</span><span id="EN-US_TOPIC_0037352182__text5714228398"></span> or external image file to create a private image, ensure that the <span class="keyword" id="EN-US_TOPIC_0037352182__keyword127969321533">PV driver</span> has been installed in the OS to enable Xen virtualization for subsequently created <span id="EN-US_TOPIC_0037352182__text16861428152016">ECS</span><span id="EN-US_TOPIC_0037352182__text1386162872018"></span>s, improve the I/O processing performance of the <span id="EN-US_TOPIC_0037352182__text354545933911">ECS</span><span id="EN-US_TOPIC_0037352182__text1954510597390"></span>s, and implement advanced functions such as monitoring hardware of the <span id="EN-US_TOPIC_0037352182__text16598145392216">ECS</span><span id="EN-US_TOPIC_0037352182__text559935319227"></span>s.</p>
<div id="body8662426"><div class="section" id="EN-US_TOPIC_0037352182__section854616214319"><h4 class="sectiontitle">Scenarios</h4><p id="EN-US_TOPIC_0037352182__p117659311137">When using an <span id="EN-US_TOPIC_0037352182__text1995081963920">ECS</span><span id="EN-US_TOPIC_0037352182__text5714228398"></span> or external image file to create a private image, ensure that the <span class="keyword" id="EN-US_TOPIC_0037352182__keyword127969321533">PV driver</span> has been installed in the OS to enable Xen virtualization for subsequently created <span id="EN-US_TOPIC_0037352182__text16861428152016">ECS</span><span id="EN-US_TOPIC_0037352182__text1386162872018"></span>s, improve the I/O processing performance of the <span id="EN-US_TOPIC_0037352182__text354545933911">ECS</span><span id="EN-US_TOPIC_0037352182__text1954510597390"></span>s, and implement advanced functions such as monitoring hardware of the <span id="EN-US_TOPIC_0037352182__text16598145392216">ECS</span><span id="EN-US_TOPIC_0037352182__text559935319227"></span>s.</p>
<div class="caution" id="EN-US_TOPIC_0037352182__note11749015313"><span class="cautiontitle"><img src="public_sys-resources/caution_3.0-en-us.png"> </span><div class="cautionbody"><p id="EN-US_TOPIC_0037352182__p127491518311">If you do not install the PV driver, the ECS network performance will be poor, and the security group and firewall configured for the ECS will not take effect.</p>
</div></div>
<p id="EN-US_TOPIC_0037352182__p144009125129">The PV driver has been installed by default when you use a public image to create <span id="EN-US_TOPIC_0037352182__text86041542195115">ECS</span><span id="EN-US_TOPIC_0037352182__text1160424275115"></span>s. You can perform the following operations to verify the installation:</p>
@ -10,10 +9,10 @@
<div class="p" id="EN-US_TOPIC_0037352182__p989355218163"><strong id="EN-US_TOPIC_0037352182__b38941852191611">C:\Program Files (x86)\Xen PV Drivers\bin\version</strong><ul id="EN-US_TOPIC_0037352182__ul1042572515188"><li id="EN-US_TOPIC_0037352182__li184251325191818">If the PV driver version is later than 2.5, you do not need to install the PV driver.</li><li id="EN-US_TOPIC_0037352182__li16427142581817">If the PV driver version is not displayed or the version is 2.5 or earlier, perform operations in <a href="#EN-US_TOPIC_0037352182__en-us_topic_0036684067_section46181951">Installing the PV Driver</a>.</li></ul>
</div>
</div>
<div class="section" id="EN-US_TOPIC_0037352182__en-us_topic_0036684067_section34957489"><h4 class="sectiontitle">Prerequisites</h4><ul id="EN-US_TOPIC_0037352182__en-us_topic_0036684067_ul18176840"><li id="EN-US_TOPIC_0037352182__en-us_topic_0036684067_li29373839">An OS has been installed for the ECS, and an EIP has been bound to the ECS.</li><li id="EN-US_TOPIC_0037352182__en-us_topic_0036684067_li5801050">The remaining capacity of the ECS system disk must be greater than 32 MB.</li><li id="EN-US_TOPIC_0037352182__li30470486164045">If the ECS uses Windows 2008, you must install the PV driver using the administrator account.</li><li id="EN-US_TOPIC_0037352182__li65946474161528">The PV driver software package has been downloaded on the ECS. For how to obtain the software package, see <a href="en-us_topic_0037352059.html">Obtaining Required Software Packages</a>.</li><li id="EN-US_TOPIC_0037352182__li1970892842414">To avoid an installation failure, perform the following operations before starting the installation:<ul id="EN-US_TOPIC_0037352182__ul206401448192415"><li id="EN-US_TOPIC_0037352182__li9640204882412">Uninstall third-party virtualization platform tools, such as Citrix Xen Tools and VMware Tools. For how to uninstall the tools, see the corresponding official documents of the tools.</li><li id="EN-US_TOPIC_0037352182__li16797576241">Disable your anti-virus and intrusion detection software. You can enable the software after the PV driver is installed.</li></ul>
<div class="section" id="EN-US_TOPIC_0037352182__en-us_topic_0036684067_section34957489"><h4 class="sectiontitle">Prerequisites</h4><ul id="EN-US_TOPIC_0037352182__en-us_topic_0036684067_ul18176840"><li id="EN-US_TOPIC_0037352182__en-us_topic_0036684067_li29373839">An OS has been installed for the ECS, and an EIP has been bound to the ECS.</li><li id="EN-US_TOPIC_0037352182__en-us_topic_0036684067_li5801050">The remaining capacity of the ECS system disk must be greater than 32 MB.</li><li id="EN-US_TOPIC_0037352182__li30470486164045">If the ECS uses Windows 2008, you must install the PV driver using the administrator account.</li><li id="EN-US_TOPIC_0037352182__li65946474161528">The PV driver software package has been downloaded on the ECS. For how to obtain the software package, see <a href="en-us_topic_0037352059.html">Obtaining Required Software Packages</a>.</li><li id="EN-US_TOPIC_0037352182__li1970892842414">To avoid an installation failure, perform the following operations before starting the installation:<ul id="EN-US_TOPIC_0037352182__ul206401448192415"><li id="EN-US_TOPIC_0037352182__li9640204882412">Uninstall third-party virtualization platform tools, such as Citrix Xen Tools and VMware Tools. For how to uninstall the tools, see the corresponding official documents of the tools.</li><li id="EN-US_TOPIC_0037352182__li16797576241">Disable your antivirus and intrusion detection software. You can enable the software after the PV driver is installed.</li></ul>
</li></ul>
</div>
<div class="section" id="EN-US_TOPIC_0037352182__en-us_topic_0036684067_section46181951"><a name="EN-US_TOPIC_0037352182__en-us_topic_0036684067_section46181951"></a><a name="en-us_topic_0036684067_section46181951"></a><h4 class="sectiontitle">Installing the PV Driver</h4><ol id="EN-US_TOPIC_0037352182__en-us_topic_0036684067_ol22594769"><li id="EN-US_TOPIC_0037352182__en-us_topic_0036684067_li52486654">Log in to the Windows ECS using VNC.<p id="EN-US_TOPIC_0037352182__en-us_topic_0029124554_p1364116193342"><a name="EN-US_TOPIC_0037352182__en-us_topic_0036684067_li52486654"></a><a name="en-us_topic_0036684067_li52486654"></a>For details about how to log in to an <span id="EN-US_TOPIC_0037352182__en-us_topic_0030713152_text1298755841413"></span><span id="EN-US_TOPIC_0037352182__en-us_topic_0030713152_text10987058171419">ECS</span>, see <em id="EN-US_TOPIC_0037352182__en-us_topic_0030713152_i1798855821414">Elastic Cloud Server User Guide</em>.</p>
<div class="section" id="EN-US_TOPIC_0037352182__en-us_topic_0036684067_section46181951"><a name="EN-US_TOPIC_0037352182__en-us_topic_0036684067_section46181951"></a><a name="en-us_topic_0036684067_section46181951"></a><h4 class="sectiontitle">Installing the PV Driver</h4><ol id="EN-US_TOPIC_0037352182__en-us_topic_0036684067_ol22594769"><li id="EN-US_TOPIC_0037352182__en-us_topic_0036684067_li52486654">Log in to the Windows ECS using VNC.<p id="EN-US_TOPIC_0037352182__en-us_topic_0029124554_p1364116193342"><a name="EN-US_TOPIC_0037352182__en-us_topic_0036684067_li52486654"></a><a name="en-us_topic_0036684067_li52486654"></a>For details about how to log in to an <span id="EN-US_TOPIC_0037352182__en-us_topic_0030713152_text14252132432316"></span><span id="EN-US_TOPIC_0037352182__en-us_topic_0030713152_text12571524122319">ECS</span>, see <em id="EN-US_TOPIC_0037352182__en-us_topic_0030713152_i2258132414237">Elastic Cloud Server User Guide</em>.</p>
<div class="note" id="EN-US_TOPIC_0037352182__note1090318335013"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0037352182__p129041331202">You must log in to the <span id="EN-US_TOPIC_0037352182__text1914104563516">ECS</span><span id="EN-US_TOPIC_0037352182__text11141645103512"></span> using VNC. Remote desktop connection is not allowed because the NIC driver needs to be updated during the installation but the NIC is in use for the remote desktop connection. As a result, the installation will fail.</p>
</div></div>
</li><li id="EN-US_TOPIC_0037352182__li357604111225">On the <span id="EN-US_TOPIC_0037352182__text74384314447">ECS</span><span id="EN-US_TOPIC_0037352182__text114381733447"></span>, choose <strong id="EN-US_TOPIC_0037352182__b1158955885510">Start</strong> &gt; <strong id="EN-US_TOPIC_0037352182__b1931112562554">Control Panel</strong>.</li><li id="EN-US_TOPIC_0037352182__li3218437011225">Click <strong id="EN-US_TOPIC_0037352182__b842352706172616">Uninstall a program</strong>.</li><li id="EN-US_TOPIC_0037352182__li2122388011225">Uninstall <strong id="EN-US_TOPIC_0037352182__b9579102855211">GPL PV drivers for Windows</strong> <em id="EN-US_TOPIC_0037352182__i842352697105851">x.x.x.xx</em> as prompted.</li><li id="EN-US_TOPIC_0037352182__li37882225101858">Download the required PV driver based on the ECS OS and <a href="en-us_topic_0037352059.html">Obtaining Required Software Packages</a>.</li><li id="EN-US_TOPIC_0037352182__li58280212162010">Decompress the PV driver software package.</li><li id="EN-US_TOPIC_0037352182__li17213003194528">Right-click <strong id="EN-US_TOPIC_0037352182__b3474953205211">GPL PV Drivers for Windows</strong> <em id="EN-US_TOPIC_0037352182__i138317576524">x.x.x.xx</em>, select <strong id="EN-US_TOPIC_0037352182__b842352706111750">Run as administrator</strong>, and complete the installation as prompted.</li><li id="EN-US_TOPIC_0037352182__en-us_topic_0036684067_li2035480">Restart the ECS as prompted to make the PV driver take effect.<p id="EN-US_TOPIC_0037352182__en-us_topic_0036684067_p18319327"><a name="EN-US_TOPIC_0037352182__en-us_topic_0036684067_li2035480"></a><a name="en-us_topic_0036684067_li2035480"></a>ECSs running Windows Server 2008 must be restarted twice.</p>
@ -22,7 +21,7 @@
</li></ol>
</div>
<div class="section" id="EN-US_TOPIC_0037352182__en-us_topic_0036684065_section42271171"><h4 class="sectiontitle">Verifying the Installation</h4><p id="EN-US_TOPIC_0037352182__p56249916193724">Perform the following steps to verify the installation of the PV driver:</p>
<ol id="EN-US_TOPIC_0037352182__ol32913969193726"><li id="EN-US_TOPIC_0037352182__li35437122193743">Click <strong id="EN-US_TOPIC_0037352182__b842352706111739">Start</strong>. Choose <strong id="EN-US_TOPIC_0037352182__b842352706111731">Control Panel</strong> &gt; <strong id="EN-US_TOPIC_0037352182__b842352706111734">Programs and Features</strong>.</li><li id="EN-US_TOPIC_0037352182__li163633373219">Locate the PV driver for Windows.<p id="EN-US_TOPIC_0037352182__p6690434586"><a name="EN-US_TOPIC_0037352182__li163633373219"></a><a name="li163633373219"></a>If UVP VMTools for Windows exists, the installation is successful, as shown in <a href="#EN-US_TOPIC_0037352182__fig16926124855714">Figure 1</a>.</p>
<ol id="EN-US_TOPIC_0037352182__ol32913969193726"><li id="EN-US_TOPIC_0037352182__li35437122193743">Click <strong id="EN-US_TOPIC_0037352182__b842352706111739">Start</strong>. Choose <strong id="EN-US_TOPIC_0037352182__b842352706111731">Control Panel</strong> &gt; <strong id="EN-US_TOPIC_0037352182__b842352706111734">Programs and Features</strong>.</li><li id="EN-US_TOPIC_0037352182__li163633373219">Locate the PV driver for Windows.<p id="EN-US_TOPIC_0037352182__p6690434586"><a name="EN-US_TOPIC_0037352182__li163633373219"></a><a name="li163633373219"></a>If the PV driver exists, the installation is successful, as shown in <a href="#EN-US_TOPIC_0037352182__fig16926124855714">Figure 1</a>.</p>
<div class="fignone" id="EN-US_TOPIC_0037352182__fig16926124855714"><a name="EN-US_TOPIC_0037352182__fig16926124855714"></a><a name="fig16926124855714"></a><span class="figcap"><b>Figure 1 </b>Verifying the installation</span><br><span><img id="EN-US_TOPIC_0037352182__image792684820579" src="en-us_image_0219481382.png" title="Click to enlarge" class="imgResize"></span></div>
</li></ol>
</div>

View File

@ -1,11 +1,12 @@
<a name="EN-US_TOPIC_0037352185"></a><a name="EN-US_TOPIC_0037352185"></a>
<h1 class="topictitle1">Viewing the Virtualization Type of a Linux ECS</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0037352185__p15705202204117">You can run the following command to query the virtualization type of an ECS:</p>
<p id="EN-US_TOPIC_0037352185__p8995132519"><strong id="EN-US_TOPIC_0037352185__b96931029165112">lscpu</strong></p>
<p id="EN-US_TOPIC_0037352185__p5537203619515">If the value of <strong id="EN-US_TOPIC_0037352185__b16306182195214">Hypervisor vendor</strong> is <strong id="EN-US_TOPIC_0037352185__b6761174135215">Xen</strong>, the <span id="EN-US_TOPIC_0037352185__text1612015955118">ECS</span><span id="EN-US_TOPIC_0037352185__text141201759185114"></span> uses Xen.</p>
<p id="EN-US_TOPIC_0037352185__p13222155111451">If the value of <strong id="EN-US_TOPIC_0037352185__b178401711135215">Hypervisor vendor</strong> is <strong id="EN-US_TOPIC_0037352185__b684611125219">KVM</strong>, the <span id="EN-US_TOPIC_0037352185__text0960946463">ECS</span><span id="EN-US_TOPIC_0037352185__text15960164204611"></span> uses KVM.</p>
<div class="fignone" id="EN-US_TOPIC_0037352185__fig19508525221"><span class="figcap"><b>Figure 1 </b>Viewing the virtualization type of a Linux ECS</span><br><span><img id="EN-US_TOPIC_0037352185__image250814251627" src="en-us_image_0125146639.png" title="Click to enlarge" class="imgResize"></span></div>
<h1 class="topictitle1">Checking Whether a Private Image Needs to be Optimized</h1>
<div id="body8662426"><ul id="EN-US_TOPIC_0037352185__ul83121249161812"><li id="EN-US_TOPIC_0037352185__li1511812187194">If the <span id="EN-US_TOPIC_0037352185__text1562861931913">ECS</span><span id="EN-US_TOPIC_0037352185__text86281919201920"></span> virtualization is KVM and VirtIO drivers are not installed, optimization is required.</li><li id="EN-US_TOPIC_0037352185__li133516271205">If the <span id="EN-US_TOPIC_0037352185__text7787121212566">ECS</span><span id="EN-US_TOPIC_0037352185__text578741295619"></span> virtualization is KVM and VirtIO drivers are installed, optimization is not required.</li></ul>
<div class="section" id="EN-US_TOPIC_0037352185__section125451229172110"><h4 class="sectiontitle">Procedure</h4><ol id="EN-US_TOPIC_0037352185__ol165961835152117"><li id="EN-US_TOPIC_0037352185__li2225781222">Run the following command to check whether the ECS has VirtIO drivers installed:<p id="EN-US_TOPIC_0037352185__p5611825121010"><a name="EN-US_TOPIC_0037352185__li2225781222"></a><a name="li2225781222"></a><strong id="EN-US_TOPIC_0037352185__b10300121721720">lsinitrd /boot/initramfs-$(uname -r).img | grep virtio</strong></p>
<ul id="EN-US_TOPIC_0037352185__ul2392175671110"><li id="EN-US_TOPIC_0037352185__li039235641112">If <strong id="EN-US_TOPIC_0037352185__b134757923925941">virtio</strong> is displayed, VirtIO drivers have been installed. For more information, see <a href="en-us_topic_0030713190.html">Creating a Linux System Disk Image from an External Image File</a>.<p id="EN-US_TOPIC_0037352185__p13609122513254"><span><img id="EN-US_TOPIC_0037352185__image1675864918179" src="en-us_image_0000001443291393.png" title="Click to enlarge" class="imgResize"></span></p>
</li><li id="EN-US_TOPIC_0037352185__li3392175621114">Otherwise, VirtIO drivers have not been installed. Optimize the private image as instructed in <a href="en-us_topic_0047501133.html#EN-US_TOPIC_0047501133__section862461118288">Process</a>.</li></ul>
</li></ol>
</div>
</div>
<div>
<div class="familylinks">

View File

@ -1,18 +1,18 @@
<a name="EN-US_TOPIC_0037352186"></a><a name="EN-US_TOPIC_0037352186"></a>
<h1 class="topictitle1">Uninstalling PV Drivers from a Linux ECS</h1>
<div id="body8662426"><div class="section" id="EN-US_TOPIC_0037352186__section8801182220417"><h4 class="sectiontitle">Scenarios</h4><p id="EN-US_TOPIC_0037352186__p17632182419202">When optimizing a Linux private image with Xen virtualization, you need to change the UUID in the fstab and GRUB configuration files, and install native Xen and KVM drivers on the source <span id="EN-US_TOPIC_0037352186__text8632224122014">ECS</span><span id="EN-US_TOPIC_0037352186__text1463210249207"></span> of the image.</p>
<p id="EN-US_TOPIC_0037352186__p52381929246">To ensure that you can successfully install native Xen and KVM drivers, you must uninstall PV drivers from the ECS first.</p>
<h1 class="topictitle1">Uninstalling the PV Driver from a Linux ECS</h1>
<div id="body8662426"><div class="section" id="EN-US_TOPIC_0037352186__section8801182220417"><h4 class="sectiontitle">Scenarios</h4><p id="EN-US_TOPIC_0037352186__p52381929246">When optimizing a Linux private image, you need to change the UUID in the fstab and GRUB configuration files, and install native Xen and KVM drivers on the ECS. To ensure that you can successfully install native Xen and KVM drivers, you must uninstall the PV driver from the ECS.</p>
</div>
<div class="section" id="EN-US_TOPIC_0037352186__section1381148120949"><h4 class="sectiontitle">Procedure</h4><ol id="EN-US_TOPIC_0037352186__ol224055120949"><li id="EN-US_TOPIC_0037352186__li2016496420949">Log in to the ECS as user <strong id="EN-US_TOPIC_0037352186__b14781113820233">root</strong> using VNC.</li><li id="EN-US_TOPIC_0037352186__li6938631162439">Run the following command to check whether PV drivers are installed in the OS:<p id="EN-US_TOPIC_0037352186__p20486075161629"><a name="EN-US_TOPIC_0037352186__li6938631162439"></a><a name="li6938631162439"></a><strong id="EN-US_TOPIC_0037352186__b8312971161749">ps -ef | grep uvp-monitor</strong></p>
<ul id="EN-US_TOPIC_0037352186__ul838319212365"><li id="EN-US_TOPIC_0037352186__li238316213616">If the following information is displayed, PV drivers have been installed.</li><li id="EN-US_TOPIC_0037352186__li143831421365">Otherwise, PV drivers are not installed. No further actions will be required.</li></ul>
<div class="section" id="EN-US_TOPIC_0037352186__section1381148120949"><h4 class="sectiontitle">Procedure</h4><ol id="EN-US_TOPIC_0037352186__ol224055120949"><li id="EN-US_TOPIC_0037352186__li2016496420949">Log in to the ECS as user <strong id="EN-US_TOPIC_0037352186__b14781113820233">root</strong> using VNC.</li><li id="EN-US_TOPIC_0037352186__li6938631162439">Run the following command to check whether the PV driver is installed in the OS:<p id="EN-US_TOPIC_0037352186__p20486075161629"><a name="EN-US_TOPIC_0037352186__li6938631162439"></a><a name="li6938631162439"></a><strong id="EN-US_TOPIC_0037352186__b8312971161749">ps -ef | grep uvp-monitor</strong></p>
<p id="EN-US_TOPIC_0037352186__p48671008175113">The PV driver is installed in the OS if the following information is displayed:</p>
<pre class="screen" id="EN-US_TOPIC_0037352186__screen908620216247">root 4561 1 0 Jun29 ? 00:00:00 <strong id="EN-US_TOPIC_0037352186__b15373179161926">/usr/bin/uvp-monitor</strong>
root 4567 4561 0 Jun29 ? 00:00:00 <strong id="EN-US_TOPIC_0037352186__b37267969161926">/usr/bin/uvp-monitor</strong>
root 6185 6085 0 03:04 pts/2 00:00:00 grep uvp-monitor</pre>
</li><li id="EN-US_TOPIC_0037352186__li4726695220949">In the VNC login window, open the CLI.<p class="litext" id="EN-US_TOPIC_0037352186__p2274938820949"><a name="EN-US_TOPIC_0037352186__li4726695220949"></a><a name="li4726695220949"></a>For how to open the CLI, see the OS manual.</p>
</li><li id="EN-US_TOPIC_0037352186__li341790520949">Run the following command to uninstall PV drivers:<p id="EN-US_TOPIC_0037352186__p3076115320949"><a name="EN-US_TOPIC_0037352186__li341790520949"></a><a name="li341790520949"></a><strong id="EN-US_TOPIC_0037352186__b841492320949">/etc/.uvp-monitor/uninstall</strong></p>
<ul id="EN-US_TOPIC_0037352186__ul16206112104011"><li id="EN-US_TOPIC_0037352186__li1520616264013">PV drivers are uninstalled successfully if the following command output is displayed:<pre class="screen" id="EN-US_TOPIC_0037352186__screen1996181720141">The PV driver is uninstalled successfully. Reboot the system for the uninstallation to take effect.</pre>
</li><li id="EN-US_TOPIC_0037352186__li134729102408">If the command output indicates that <strong id="EN-US_TOPIC_0037352186__b11643133711257">.uvp-monitor</strong> is not found, go to <a href="#EN-US_TOPIC_0037352186__li45681026173616">5</a>.<pre class="screen" id="EN-US_TOPIC_0037352186__screen95962407246">-bash: /etc/.uvp-monitor/uninstall: No such file or directory</pre>
<ul id="EN-US_TOPIC_0037352186__ul26027398101740"><li id="EN-US_TOPIC_0037352186__li36862232101740">If the PV driver is installed, go to <a href="#EN-US_TOPIC_0037352186__li4726695220949">3</a>.</li><li id="EN-US_TOPIC_0037352186__li59871273101740">If the PV driver is not installed, perform the operations in <a href="en-us_topic_0086024961.html">Changing the Disk Identifier in the fstab File to UUID</a>, <a href="en-us_topic_0000001120952155.html">Installing Native KVM Drivers</a>, and <a href="en-us_topic_0086020895.html">Changing the Disk Identifier in the GRUB Configuration File to UUID</a>.</li></ul>
</li><li id="EN-US_TOPIC_0037352186__li4726695220949"><a name="EN-US_TOPIC_0037352186__li4726695220949"></a><a name="li4726695220949"></a>In the VNC login window, open the CLI.<p class="litext" id="EN-US_TOPIC_0037352186__p2274938820949"><a name="EN-US_TOPIC_0037352186__li4726695220949"></a><a name="li4726695220949"></a>For how to open the CLI, see the OS manual.</p>
</li><li id="EN-US_TOPIC_0037352186__li341790520949">Run the following command to uninstall the PV driver:<p id="EN-US_TOPIC_0037352186__p3076115320949"><a name="EN-US_TOPIC_0037352186__li341790520949"></a><a name="li341790520949"></a><strong id="EN-US_TOPIC_0037352186__b841492320949">/etc/.uvp-monitor/uninstall</strong></p>
<ul id="EN-US_TOPIC_0037352186__ul16206112104011"><li id="EN-US_TOPIC_0037352186__li1520616264013">The PV driver is uninstalled successfully if the following command output is displayed:<pre class="screen" id="EN-US_TOPIC_0037352186__screen1996181720141">The PV driver is uninstalled successfully. Reboot the system for the uninstallation to take effect.</pre>
</li><li id="EN-US_TOPIC_0037352186__li134729102408">If <strong id="EN-US_TOPIC_0037352186__b11643133711257">.uvp-monitor</strong> is not contained in the command output, go to <a href="#EN-US_TOPIC_0037352186__li45681026173616">5</a>.<pre class="screen" id="EN-US_TOPIC_0037352186__screen95962407246">-bash: /etc/.uvp-monitor/uninstall: No such file or directory</pre>
</li></ul>
</li><li id="EN-US_TOPIC_0037352186__li45681026173616"><a name="EN-US_TOPIC_0037352186__li45681026173616"></a><a name="li45681026173616"></a>Perform the following operations to delete <span class="keyword" id="EN-US_TOPIC_0037352186__keyword1503865239163443">uvp-monitor</span> that failed to take effect, preventing log overflow:<ol type="a" id="EN-US_TOPIC_0037352186__ol1177115577182"><li id="EN-US_TOPIC_0037352186__li1619315540184">Run the following command to check whether UVP user-mode programs are installed in the OS:<p id="EN-US_TOPIC_0037352186__p623916527365"><a name="EN-US_TOPIC_0037352186__li1619315540184"></a><a name="li1619315540184"></a><strong id="EN-US_TOPIC_0037352186__b14214142313816">rpm -qa | grep uvp</strong></p>
<p id="EN-US_TOPIC_0037352186__p1231611518126">Information similar to the following is displayed:</p>

View File

@ -12,14 +12,14 @@
</thead>
<tbody><tr id="EN-US_TOPIC_0040740508__row187901655173119"><td class="cellrowborder" valign="top" width="16.8983101689831%" headers="mcps1.3.1.2.2.4.1.1 "><p id="EN-US_TOPIC_0040740508__p9790175543113">Windows</p>
</td>
<td class="cellrowborder" valign="top" width="44.995500449955%" headers="mcps1.3.1.2.2.4.1.2 "><ul id="EN-US_TOPIC_0040740508__ul15947101224316"><li id="EN-US_TOPIC_0040740508__li1694741254319">Set the NIC to DHCP.</li><li id="EN-US_TOPIC_0040740508__li6178191944310">Enable remote desktop connection.</li><li id="EN-US_TOPIC_0040740508__li149431291434">(Optional) install special Windows drivers.</li><li id="EN-US_TOPIC_0040740508__li33161031441">(Optional) Install Cloudbase-Init.</li><li id="EN-US_TOPIC_0040740508__li7369171620442">Install the Guest OS drivers, including the PV driver and UVP VMTools.</li><li id="EN-US_TOPIC_0040740508__li9291135544415">Run Sysprep.</li></ul>
<td class="cellrowborder" valign="top" width="44.995500449955%" headers="mcps1.3.1.2.2.4.1.2 "><ul id="EN-US_TOPIC_0040740508__ul15947101224316"><li id="EN-US_TOPIC_0040740508__li1694741254319">Set the NIC to DHCP.</li><li id="EN-US_TOPIC_0040740508__li6178191944310">Enable remote desktop connection.</li><li id="EN-US_TOPIC_0040740508__li149431291434">(Optional) install special Windows drivers.</li><li id="EN-US_TOPIC_0040740508__li33161031441">(Optional) Install Cloudbase-Init.</li><li id="EN-US_TOPIC_0040740508__li7367915142617">Install the Guest OS driver (UVP VMTools).</li><li id="EN-US_TOPIC_0040740508__li9291135544415">Run Sysprep.</li></ul>
</td>
<td class="cellrowborder" valign="top" width="38.106189381061895%" headers="mcps1.3.1.2.2.4.1.3 "><p id="EN-US_TOPIC_0040740508__p1176417812473"><a href="en-us_topic_0030713149.html">Creating a System Disk Image from a Windows ECS</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0040740508__row6792115783211"><td class="cellrowborder" valign="top" width="16.8983101689831%" headers="mcps1.3.1.2.2.4.1.1 "><p id="EN-US_TOPIC_0040740508__p13792175718323">Linux</p>
</td>
<td class="cellrowborder" valign="top" width="44.995500449955%" headers="mcps1.3.1.2.2.4.1.2 "><ul id="EN-US_TOPIC_0040740508__ul3979111343"><li id="EN-US_TOPIC_0040740508__li3979211648">Set the NIC to DHCP.</li><li id="EN-US_TOPIC_0040740508__li1818716132413">(Optional) install special Linux drivers.</li><li id="EN-US_TOPIC_0040740508__li798318321944">(Optional) Install Cloud-Init.</li><li id="EN-US_TOPIC_0040740508__li132368014520">Delete files from the network rule directory.</li><li id="EN-US_TOPIC_0040740508__li16761313456">Change the disk identifier in the GRUB configuration file to UUID.</li><li id="EN-US_TOPIC_0040740508__li11848933450">Change the disk identifier in the fstab file to UUID.</li><li id="EN-US_TOPIC_0040740508__li92501742955">Install native Xen and KVM drivers.</li><li id="EN-US_TOPIC_0040740508__li2060817014618">Detach data disks from the <span id="EN-US_TOPIC_0040740508__text12451619132813">ECS</span><span id="EN-US_TOPIC_0040740508__text7451192285"></span>.</li><li id="EN-US_TOPIC_0040740508__li19543336899">Configure console logging.</li></ul>
<td class="cellrowborder" valign="top" width="44.995500449955%" headers="mcps1.3.1.2.2.4.1.2 "><ul id="EN-US_TOPIC_0040740508__ul3979111343"><li id="EN-US_TOPIC_0040740508__li3979211648">Set the NIC to DHCP.</li><li id="EN-US_TOPIC_0040740508__li1818716132413">(Optional) install special Linux drivers.</li><li id="EN-US_TOPIC_0040740508__li798318321944">(Optional) Install Cloud-Init.</li><li id="EN-US_TOPIC_0040740508__li132368014520">Delete files from the network rule directory.</li><li id="EN-US_TOPIC_0040740508__li16761313456">Change the disk identifier in the GRUB configuration file to UUID.</li><li id="EN-US_TOPIC_0040740508__li11848933450">Change the disk identifier in the fstab file to UUID.</li><li id="EN-US_TOPIC_0040740508__li92501742955">Install native KVM drivers.</li><li id="EN-US_TOPIC_0040740508__li2060817014618">Detach data disks from the <span id="EN-US_TOPIC_0040740508__text12451619132813">ECS</span><span id="EN-US_TOPIC_0040740508__text7451192285"></span>.</li><li id="EN-US_TOPIC_0040740508__li19543336899">Configure console logging.</li></ul>
</td>
<td class="cellrowborder" valign="top" width="38.106189381061895%" headers="mcps1.3.1.2.2.4.1.3 "><p id="EN-US_TOPIC_0040740508__p1621217418716"><a href="en-us_topic_0030713180.html">Creating a System Disk Image from a Linux ECS</a></p>
</td>
@ -38,14 +38,14 @@
</thead>
<tbody><tr id="EN-US_TOPIC_0040740508__row118261630556"><td class="cellrowborder" valign="top" width="16.998300169983%" headers="mcps1.3.1.3.2.4.1.1 "><p id="EN-US_TOPIC_0040740508__p843193818510">Windows</p>
</td>
<td class="cellrowborder" valign="top" width="44.89551044895511%" headers="mcps1.3.1.3.2.4.1.2 "><ul id="EN-US_TOPIC_0040740508__ul7826153018518"><li id="EN-US_TOPIC_0040740508__li128261330253">Set the NIC to DHCP.</li><li id="EN-US_TOPIC_0040740508__li1482643019516">Enable remote desktop connection.</li><li id="EN-US_TOPIC_0040740508__li1582615303514">Install the Guest OS drivers, including the PV driver and UVP VMTools.</li><li id="EN-US_TOPIC_0040740508__li2082633013511">(Optional) Install Cloudbase-Init.</li><li id="EN-US_TOPIC_0040740508__li28265301058">(Optional) Enable NIC multi-queue.</li></ul>
<td class="cellrowborder" valign="top" width="44.89551044895511%" headers="mcps1.3.1.3.2.4.1.2 "><ul id="EN-US_TOPIC_0040740508__ul7826153018518"><li id="EN-US_TOPIC_0040740508__li128261330253">Set the NIC to DHCP.</li><li id="EN-US_TOPIC_0040740508__li1482643019516">Enable remote desktop connection.</li><li id="EN-US_TOPIC_0040740508__li19823112287">Install the Guest OS driver (UVP VMTools).</li><li id="EN-US_TOPIC_0040740508__li2082633013511">(Optional) Install Cloudbase-Init.</li><li id="EN-US_TOPIC_0040740508__li28265301058">(Optional) Enable NIC multi-queue.</li></ul>
</td>
<td class="cellrowborder" valign="top" width="38.106189381061895%" headers="mcps1.3.1.3.2.4.1.3 "><p id="EN-US_TOPIC_0040740508__p1982663013518"><a href="en-us_topic_0030713189.html">Preparing an Image File</a></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0040740508__row78275304510"><td class="cellrowborder" valign="top" width="16.998300169983%" headers="mcps1.3.1.3.2.4.1.1 "><p id="EN-US_TOPIC_0040740508__p2043443751">Linux</p>
</td>
<td class="cellrowborder" valign="top" width="44.89551044895511%" headers="mcps1.3.1.3.2.4.1.2 "><ul id="EN-US_TOPIC_0040740508__ul58271308513"><li id="EN-US_TOPIC_0040740508__li48270306515">Delete files from the network rule directory.</li><li id="EN-US_TOPIC_0040740508__li282719306514">Set the NIC to DHCP.</li><li id="EN-US_TOPIC_0040740508__li58274305519">Install native Xen and KVM drivers.</li><li id="EN-US_TOPIC_0040740508__li982715301056">Change the disk identifier in the GRUB configuration file to UUID.</li><li id="EN-US_TOPIC_0040740508__li3827630958">Change the disk identifier in the fstab file to UUID.</li><li id="EN-US_TOPIC_0040740508__li48273309518">Delete the automatic attachment information of non-system disks from the <strong id="EN-US_TOPIC_0040740508__b265313126127">/etc/fstab</strong> file.</li><li id="EN-US_TOPIC_0040740508__li9827133016510">(Optional) Install Cloud-Init.</li><li id="EN-US_TOPIC_0040740508__li148279301950">(Optional) Enable NIC multi-queue.</li></ul>
<td class="cellrowborder" valign="top" width="44.89551044895511%" headers="mcps1.3.1.3.2.4.1.2 "><ul id="EN-US_TOPIC_0040740508__ul58271308513"><li id="EN-US_TOPIC_0040740508__li48270306515">Delete files from the network rule directory.</li><li id="EN-US_TOPIC_0040740508__li282719306514">Set the NIC to DHCP.</li><li id="EN-US_TOPIC_0040740508__li58274305519">Install native KVM drivers.</li><li id="EN-US_TOPIC_0040740508__li982715301056">Change the disk identifier in the GRUB configuration file to UUID.</li><li id="EN-US_TOPIC_0040740508__li3827630958">Change the disk identifier in the fstab file to UUID.</li><li id="EN-US_TOPIC_0040740508__li48273309518">Delete the automatic attachment information of non-system disks from the <strong id="EN-US_TOPIC_0040740508__b265313126127">/etc/fstab</strong> file.</li><li id="EN-US_TOPIC_0040740508__li9827133016510">(Optional) Install Cloud-Init.</li><li id="EN-US_TOPIC_0040740508__li148279301950">(Optional) Enable NIC multi-queue.</li></ul>
</td>
<td class="cellrowborder" valign="top" width="38.106189381061895%" headers="mcps1.3.1.3.2.4.1.3 "><p id="EN-US_TOPIC_0040740508__p282812301257"><a href="en-us_topic_0030713198.html">Preparing an Image File</a></p>
</td>

View File

@ -8,7 +8,16 @@
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0041178787__row12299145164212"><td class="cellrowborder" valign="top" width="18.990000000000002%" headers="mcps1.3.1.1.3.1.1 "><p id="EN-US_TOPIC_0041178787__p1080852125119">2023-02-07</p>
<tbody><tr id="EN-US_TOPIC_0041178787__row92099303501"><td class="cellrowborder" valign="top" width="18.990000000000002%" headers="mcps1.3.1.1.3.1.1 "><p id="EN-US_TOPIC_0041178787__p14210430165019">2023-02-14</p>
</td>
<td class="cellrowborder" valign="top" width="81.01%" headers="mcps1.3.1.1.3.1.2 "><p id="EN-US_TOPIC_0041178787__p14210133018502">Modified the following content:</p>
<ul id="EN-US_TOPIC_0041178787__ul13471763283"><li id="EN-US_TOPIC_0041178787__li13482652815">Deleted Xen and PV driver from <a href="en-us_topic_0130878289.html">Creating a Private Image</a>, <a href="en-us_topic_0130878748.html">Optimizing a Windows Private Image</a>, <a href="en-us_topic_0130878749.html">Optimizing a Linux Private Image</a>, <a href="en-us_topic_0193137621.html">Image Creation</a>, <a href="en-us_topic_0030713203.html">Image Optimization</a>, and <a href="en-us_topic_0030713220.html">ECS Creation</a>.</li><li id="EN-US_TOPIC_0041178787__li13481069289">Added a link to <a href="en-us_topic_0037352185.html">Checking Whether a Private Image Needs to be Optimized</a> in <a href="en-us_topic_0000001120952155.html">Installing Native KVM Drivers</a>.</li><li id="EN-US_TOPIC_0041178787__li76449744318">Deleted a path for obtaining the Cloud-Init installation package for SUSE Linux in <a href="en-us_topic_0030730603.html">Installing Cloud-Init</a>.</li></ul>
<p id="EN-US_TOPIC_0041178787__p35686468511">Deleted the following sections:</p>
<ul id="EN-US_TOPIC_0041178787__ul18328144219277"><li id="EN-US_TOPIC_0041178787__li10328842152719">Installing the PV Driver</li><li id="EN-US_TOPIC_0041178787__li932894219279">Uninstalling PV Drivers from a Linux ECS</li><li id="EN-US_TOPIC_0041178787__li43281942132717">How Do I Install Native Xen and KVM Drivers?</li><li id="EN-US_TOPIC_0041178787__li14328204214278">What Do I Do If the Disks of an ECS Created from a CentOS Image Cannot Be Found?</li></ul>
<p id="EN-US_TOPIC_0041178787__p4914161011576"></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0041178787__row12299145164212"><td class="cellrowborder" valign="top" width="18.990000000000002%" headers="mcps1.3.1.1.3.1.1 "><p id="EN-US_TOPIC_0041178787__p1080852125119">2023-02-07</p>
</td>
<td class="cellrowborder" valign="top" width="81.01%" headers="mcps1.3.1.1.3.1.2 "><p id="EN-US_TOPIC_0041178787__p192997510421">Modified the following content:</p>
<ul id="EN-US_TOPIC_0041178787__ul1361514963320"><li id="EN-US_TOPIC_0041178787__li355933145013">Updated ECSs and OSs supported by them in <a href="en-us_topic_0030713142.html">OSs Supported by Different Types of ECSs</a>.</li><li id="EN-US_TOPIC_0041178787__li126161197335">Modified the description in <a href="en-us_topic_0030713189.html">Preparing an Image File</a> and <a href="en-us_topic_0030713198.html">Preparing an Image File</a>.</li></ul>
@ -29,9 +38,9 @@
<tr id="EN-US_TOPIC_0041178787__row37851727184019"><td class="cellrowborder" valign="top" width="18.990000000000002%" headers="mcps1.3.1.1.3.1.1 "><p id="EN-US_TOPIC_0041178787__p1978612794017">2022-10-31</p>
</td>
<td class="cellrowborder" valign="top" width="81.01%" headers="mcps1.3.1.1.3.1.2 "><p id="EN-US_TOPIC_0041178787__p978711274405">Added the following content:</p>
<ul id="EN-US_TOPIC_0041178787__ul19796130104118"><li id="EN-US_TOPIC_0041178787__li279523074712"><a href="en-us_topic_0172473649.html">Replicating a Shared Image</a></li><li id="EN-US_TOPIC_0041178787__li179693024113"><a href="en-us_topic_0000001347866330.html">Install the Native Xen and KVM Drivers</a></li><li id="EN-US_TOPIC_0041178787__li321531154911"><a href="en-us_topic_0165718046.html">Why Do I Need to Install and Update VMTools for Windows?</a></li><li id="EN-US_TOPIC_0041178787__li1695703316499"><a href="en-us_topic_0205273057.html">Accounts and Permissions</a></li><li id="EN-US_TOPIC_0041178787__li16777277489"><a href="en-us_topic_0133773781.html">How Do I Authorize a Key?</a></li></ul>
<ul id="EN-US_TOPIC_0041178787__ul19796130104118"><li id="EN-US_TOPIC_0041178787__li279523074712"><a href="en-us_topic_0172473649.html">Replicating a Shared Image</a></li><li id="EN-US_TOPIC_0041178787__li179693024113">6.10.7 "Install the Native Xen and KVM Drivers"</li><li id="EN-US_TOPIC_0041178787__li321531154911"><a href="en-us_topic_0165718046.html">Why Do I Need to Install and Update VMTools for Windows?</a></li><li id="EN-US_TOPIC_0041178787__li1695703316499"><a href="en-us_topic_0205273057.html">Accounts and Permissions</a></li><li id="EN-US_TOPIC_0041178787__li16777277489"><a href="en-us_topic_0133773781.html">How Do I Authorize a Key?</a></li></ul>
<p id="EN-US_TOPIC_0041178787__p13857175474810">Modified the following content:</p>
<ul id="EN-US_TOPIC_0041178787__ul344151118418"><li id="EN-US_TOPIC_0041178787__li20442161116411">Added more OS versions supported by <span id="EN-US_TOPIC_0041178787__text11109113820357">ECS</span>s in <a href="en-us_topic_0030713142.html">OSs Supported by Different Types of ECSs</a>.</li><li id="EN-US_TOPIC_0041178787__li1844217118414">Added more OS versions supported by external image files in <a href="en-us_topic_0030713143.html">External Image File Formats and Supported OSs</a>.</li><li id="EN-US_TOPIC_0041178787__li1344217117410">Optimized descriptions in <a href="en-us_topic_0170853315.html">OSs Supporting UEFI Boot Mode</a>.</li><li id="EN-US_TOPIC_0041178787__li1344214113416">Added the follow-up use of a system disk image to change the OS of an ECS in <a href="en-us_topic_0013901628.html">Introduction</a>, <a href="en-us_topic_0030713188.html">Creating a Windows ECS from an Image</a>, and <a href="en-us_topic_0030713197.html">Creating a Linux ECS from an Image</a>.</li><li id="EN-US_TOPIC_0041178787__li13061042105316">Added the <strong id="EN-US_TOPIC_0041178787__b58197363451">Enterprise Project</strong> parameter in <a href="en-us_topic_0030713149.html">Creating a System Disk Image from a Windows ECS</a> and <a href="en-us_topic_0030713180.html">Creating a System Disk Image from a Linux ECS</a>.</li><li id="EN-US_TOPIC_0041178787__li194420113413">Added the memory range of a system disk in <a href="en-us_topic_0030713184.html">Registering an External Image File as a Private Image</a> and <a href="en-us_topic_0030713193.html">Registering an External Image File as a Private Image</a>.</li><li id="EN-US_TOPIC_0041178787__li204427118417">Added background information for creating full-ECS images and some notes about system and data disk images when you create <span id="EN-US_TOPIC_0041178787__text18901332105513">ECS</span>s from a full-ECS image in <a href="en-us_topic_0116125142.html">Creating a Full-ECS Image from an ECS</a>, <a href="en-us_topic_0093344231.html">Creating a Full-ECS Image from a CSBS Backup</a>, and <a href="en-us_topic_0176812699.html">Creating a Full-ECS Image from a CBR Backup</a>.</li><li id="EN-US_TOPIC_0041178787__li1442181144115">Optimized operations in <a href="en-us_topic_0133773660.html">Quickly Importing an Image File (Linux)</a> and <a href="en-us_topic_0174703579.html">Quickly Importing an Image File (Windows)</a>.</li><li id="EN-US_TOPIC_0041178787__li1442711104115">Added description for waiting the load when a full-ECS image contains multiple data disks in <a href="en-us_topic_0030713200.html">Creating an ECS from an Image</a>.</li><li id="EN-US_TOPIC_0041178787__li1944218111410">Modified constraints in <a href="en-us_topic_0032042417.html">Overview</a>.</li><li id="EN-US_TOPIC_0041178787__li15442101184119">Optimized descriptions in <a href="en-us_topic_0034011241.html">Exporting an Image</a>.</li><li id="EN-US_TOPIC_0041178787__li5442311154111">Added description of applicable architectures and modified other descriptions in <a href="en-us_topic_0037352182.html">Installing the PV Driver</a>.</li><li id="EN-US_TOPIC_0041178787__li1644231184112">Added the reminder about restarting the ECS after UVP VMTools is installed in <a href="en-us_topic_0037352061.html">Installing UVP VMTools</a>.</li><li id="EN-US_TOPIC_0041178787__li1244241144117">Optimized operations in <a href="en-us_topic_0130878749.html">Optimizing a Linux Private Image</a>.</li><li id="EN-US_TOPIC_0041178787__li844241115412">Added operation description in <a href="en-us_topic_0125076462.html">Clearing System Logs</a>.</li><li id="EN-US_TOPIC_0041178787__li144391184116">Optimized the structure in <a href="en-us_topic_0117262219.html">Converting the Image Format Using qemu-img</a> and <a href="en-us_topic_0171668652.html">Converting the Image Format Using qemu-img-hw</a>.</li><li id="EN-US_TOPIC_0041178787__li8443151144118">Optimized operations in <a href="en-us_topic_0081795392.html">Installing Special Windows Drivers</a>.</li><li id="EN-US_TOPIC_0041178787__li1443161116414">Added the official guidance on Cloud-Init installation and a command for checking whether Cloud-Init has been installed in <a href="en-us_topic_0030730603.html">Installing Cloud-Init</a>.</li><li id="EN-US_TOPIC_0041178787__li11443181114112">Optimized operations in <a href="en-us_topic_0122876047.html">Configuring Cloud-Init</a>.</li><li id="EN-US_TOPIC_0041178787__li20443111124111">Added export description in <a href="en-us_topic_0030713186.html">Can I Download a Public Image to My Local PC?</a></li><li id="EN-US_TOPIC_0041178787__li1844371174111">Optimized descriptions in <a href="en-us_topic_0030713185.html">What Do I Do If a Windows Image File Is Not Pre-Configured When I Use It to Register a Private Image?</a></li><li id="EN-US_TOPIC_0041178787__li134431911194118">Optimized descriptions in <a href="en-us_topic_0086020894.html">How Do I Install the Native Xen and KVM Drivers?</a></li></ul>
<ul id="EN-US_TOPIC_0041178787__ul344151118418"><li id="EN-US_TOPIC_0041178787__li20442161116411">Added more OS versions supported by <span id="EN-US_TOPIC_0041178787__text11109113820357">ECS</span>s in <a href="en-us_topic_0030713142.html">OSs Supported by Different Types of ECSs</a>.</li><li id="EN-US_TOPIC_0041178787__li1844217118414">Added more OS versions supported by external image files in <a href="en-us_topic_0030713143.html">External Image File Formats and Supported OSs</a>.</li><li id="EN-US_TOPIC_0041178787__li1344217117410">Optimized descriptions in <a href="en-us_topic_0170853315.html">OSs Supporting UEFI Boot Mode</a>.</li><li id="EN-US_TOPIC_0041178787__li1344214113416">Added the follow-up use of a system disk image to change the OS of an ECS in <a href="en-us_topic_0013901628.html">Introduction</a>, <a href="en-us_topic_0030713188.html">Creating a Windows ECS from an Image</a>, and <a href="en-us_topic_0030713197.html">Creating a Linux ECS from an Image</a>.</li><li id="EN-US_TOPIC_0041178787__li13061042105316">Added the <strong id="EN-US_TOPIC_0041178787__b58197363451">Enterprise Project</strong> parameter in <a href="en-us_topic_0030713149.html">Creating a System Disk Image from a Windows ECS</a> and <a href="en-us_topic_0030713180.html">Creating a System Disk Image from a Linux ECS</a>.</li><li id="EN-US_TOPIC_0041178787__li194420113413">Added the memory range of a system disk in <a href="en-us_topic_0030713184.html">Registering an External Image File as a Private Image</a> and <a href="en-us_topic_0030713193.html">Registering an External Image File as a Private Image</a>.</li><li id="EN-US_TOPIC_0041178787__li204427118417">Added background information for creating full-ECS images and some notes about system and data disk images when you create <span id="EN-US_TOPIC_0041178787__text18901332105513">ECS</span>s from a full-ECS image in <a href="en-us_topic_0116125142.html">Creating a Full-ECS Image from an ECS</a>, <a href="en-us_topic_0093344231.html">Creating a Full-ECS Image from a CSBS Backup</a>, and <a href="en-us_topic_0176812699.html">Creating a Full-ECS Image from a CBR Backup</a>.</li><li id="EN-US_TOPIC_0041178787__li1442181144115">Optimized operations in <a href="en-us_topic_0133773660.html">Quickly Importing an Image File (Linux)</a> and <a href="en-us_topic_0174703579.html">Quickly Importing an Image File (Windows)</a>.</li><li id="EN-US_TOPIC_0041178787__li1442711104115">Added description for waiting the load when a full-ECS image contains multiple data disks in <a href="en-us_topic_0030713200.html">Creating an ECS from an Image</a>.</li><li id="EN-US_TOPIC_0041178787__li1944218111410">Modified constraints in <a href="en-us_topic_0032042417.html">Overview</a>.</li><li id="EN-US_TOPIC_0041178787__li15442101184119">Optimized descriptions in <a href="en-us_topic_0034011241.html">Exporting an Image</a>.</li><li id="EN-US_TOPIC_0041178787__li5442311154111">Added architecture descriptions and modified other content in 6.9.4 "Installing the PV Driver."</li><li id="EN-US_TOPIC_0041178787__li1644231184112">Added the reminder about restarting the ECS after UVP VMTools is installed in <a href="en-us_topic_0037352061.html">Installing UVP VMTools</a>.</li><li id="EN-US_TOPIC_0041178787__li1244241144117">Optimized operations in <a href="en-us_topic_0130878749.html">Optimizing a Linux Private Image</a>.</li><li id="EN-US_TOPIC_0041178787__li844241115412">Added operation description in <a href="en-us_topic_0125076462.html">Clearing System Logs</a>.</li><li id="EN-US_TOPIC_0041178787__li144391184116">Optimized the structure in <a href="en-us_topic_0117262219.html">Converting the Image Format Using qemu-img</a> and <a href="en-us_topic_0171668652.html">Converting the Image Format Using qemu-img-hw</a>.</li><li id="EN-US_TOPIC_0041178787__li8443151144118">Optimized operations in <a href="en-us_topic_0081795392.html">Installing Special Windows Drivers</a>.</li><li id="EN-US_TOPIC_0041178787__li1443161116414">Added the official guidance on Cloud-Init installation and a command for checking whether Cloud-Init has been installed in <a href="en-us_topic_0030730603.html">Installing Cloud-Init</a>.</li><li id="EN-US_TOPIC_0041178787__li11443181114112">Optimized operations in <a href="en-us_topic_0122876047.html">Configuring Cloud-Init</a>.</li><li id="EN-US_TOPIC_0041178787__li20443111124111">Added export description in <a href="en-us_topic_0030713186.html">Can I Download a Public Image to My Local PC?</a></li><li id="EN-US_TOPIC_0041178787__li1844371174111">Optimized descriptions in <a href="en-us_topic_0030713185.html">What Do I Do If a Windows Image File Is Not Pre-Configured When I Use It to Register a Private Image?</a></li><li id="EN-US_TOPIC_0041178787__li134431911194118">Optimized descriptions in 10.8.14 "How Do I Install the Native Xen and KVM Drivers?"</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0041178787__row1776714593319"><td class="cellrowborder" valign="top" width="18.990000000000002%" headers="mcps1.3.1.1.3.1.1 "><p id="EN-US_TOPIC_0041178787__p77681159337">2021-08-15</p>

View File

@ -1,9 +1,8 @@
<a name="EN-US_TOPIC_0047501112"></a><a name="EN-US_TOPIC_0047501112"></a>
<h1 class="topictitle1">Optimization Process</h1>
<div id="body1485165276153"><p id="EN-US_TOPIC_0047501112__p62999618195">The proper running of <span id="EN-US_TOPIC_0047501112__text12971183933312">ECS</span><span id="EN-US_TOPIC_0047501112__text1597384063312"></span>s depends on Xen Guest OS driver (PV driver) and KVM Guest OS driver (UVP VMTools). To ensure that <span id="EN-US_TOPIC_0047501112__text77444610244">ECS</span><span id="EN-US_TOPIC_0047501112__text97441869246"></span>s support both Xen and KVM and to improve network performance, the PV driver and UVP VMTools must be installed for the image.</p>
<ol id="EN-US_TOPIC_0047501112__en-us_topic_0036684057_ol35909463"><li id="EN-US_TOPIC_0047501112__en-us_topic_0036684057_li54749715">Create an ECS using the Windows private image to be optimized and log in to the ECS.</li><li id="EN-US_TOPIC_0047501112__en-us_topic_0036684057_li46245228"><a name="EN-US_TOPIC_0047501112__en-us_topic_0036684057_li46245228"></a><a name="en-us_topic_0036684057_li46245228"></a>Install the latest version of PV driver on the ECS.<p class="litext" id="EN-US_TOPIC_0047501112__en-us_topic_0036684057_p13553869"><a name="EN-US_TOPIC_0047501112__en-us_topic_0036684057_li46245228"></a><a name="en-us_topic_0036684057_li46245228"></a>For details, see <a href="en-us_topic_0037352182.html">Installing the PV Driver</a>.</p>
</li><li id="EN-US_TOPIC_0047501112__en-us_topic_0036684057_li24121565">Install the UVP VMTools required for creating ECSs in the KVM virtual resource pool.<p class="litext" id="EN-US_TOPIC_0047501112__en-us_topic_0036684057_p15767494"><a name="EN-US_TOPIC_0047501112__en-us_topic_0036684057_li24121565"></a><a name="en-us_topic_0036684057_li24121565"></a>For details, see <a href="en-us_topic_0037352061.html">Installing UVP VMTools</a>.</p>
<div id="body1485165276153"><p id="EN-US_TOPIC_0047501112__p185581126161316">The proper running of <span id="EN-US_TOPIC_0047501112__text42541027181318">ECS</span><span id="EN-US_TOPIC_0047501112__text12543275137"></span> depends on KVM Guest OS driver (UVP VMTools). To ensure that <span id="EN-US_TOPIC_0047501112__text15254122741315">ECS</span><span id="EN-US_TOPIC_0047501112__text1254122713133"></span>s support KVM and to improve network performance, the UVP VMTools must be installed for the image.</p>
<ol id="EN-US_TOPIC_0047501112__en-us_topic_0036684057_ol35909463"><li id="EN-US_TOPIC_0047501112__en-us_topic_0036684057_li54749715">Create an ECS using the Windows private image to be optimized and log in to the ECS.</li><li id="EN-US_TOPIC_0047501112__en-us_topic_0036684057_li24121565"><a name="EN-US_TOPIC_0047501112__en-us_topic_0036684057_li24121565"></a><a name="en-us_topic_0036684057_li24121565"></a>Install the UVP VMTools required for creating ECSs in the KVM virtual resource pool.<p class="litext" id="EN-US_TOPIC_0047501112__en-us_topic_0036684057_p15767494"><a name="EN-US_TOPIC_0047501112__en-us_topic_0036684057_li24121565"></a><a name="en-us_topic_0036684057_li24121565"></a>For details, see <a href="en-us_topic_0037352061.html">Installing UVP VMTools</a>.</p>
</li><li id="EN-US_TOPIC_0047501112__en-us_topic_0036684057_li17053313">On the ECS, choose <strong id="EN-US_TOPIC_0047501112__b84235270610848">Control Panel</strong> &gt; <strong id="EN-US_TOPIC_0047501112__b84235270610856">Power Options</strong>. Click <strong id="EN-US_TOPIC_0047501112__b84235270610112">Choose when to turn off the display</strong>, select <strong id="EN-US_TOPIC_0047501112__b842352706101115">Never</strong> for <strong id="EN-US_TOPIC_0047501112__b842352706101125">Turn off the display</strong>, and save the changes.</li><li id="EN-US_TOPIC_0047501112__en-us_topic_0036684057_li19262089"><a name="EN-US_TOPIC_0047501112__en-us_topic_0036684057_li19262089"></a><a name="en-us_topic_0036684057_li19262089"></a>Clear system logs and then stop the ECS.<p id="EN-US_TOPIC_0047501112__p1148520442513"><a name="EN-US_TOPIC_0047501112__en-us_topic_0036684057_li19262089"></a><a name="en-us_topic_0036684057_li19262089"></a>For details, see <a href="en-us_topic_0125075472.html">Clearing System Logs</a>.</p>
</li><li id="EN-US_TOPIC_0047501112__li16071164144549">Create a Windows private image using the ECS.</li></ol>
</div>

View File

@ -1,19 +1,14 @@
<a name="EN-US_TOPIC_0047501133"></a><a name="EN-US_TOPIC_0047501133"></a>
<h1 class="topictitle1">Optimization Process</h1>
<div id="body1485165375426"><p id="EN-US_TOPIC_0047501133__p13281933105711">The virtualization of <span id="EN-US_TOPIC_0047501133__text8755104519917">ECS</span><span id="EN-US_TOPIC_0047501133__text875518451294"></span>s is gradually changing from Xen to KVM. Therefore, private images need to support both Xen and KVM. To ensure that <span id="EN-US_TOPIC_0047501133__text5739142981816">ECS</span><span id="EN-US_TOPIC_0047501133__text1739132915181"></span>s created from a private image can run properly, you are advised to optimize it no matter it is using Xen or KVM.</p>
<p id="EN-US_TOPIC_0047501133__p10786152413117">A Linux <span id="EN-US_TOPIC_0047501133__text5476107205010">ECS</span><span id="EN-US_TOPIC_0047501133__text883979135019"></span> can run properly only when xen-pv and VirtIO drivers have been installed on it and the disk ID in its GRUB configuration file and fstab file has been changed to UUID.</p>
<div class="section" id="EN-US_TOPIC_0047501133__section88217277111"><h4 class="sectiontitle">Preparations</h4><ol id="EN-US_TOPIC_0047501133__en-us_topic_0036684058_ol39592856173244"><li id="EN-US_TOPIC_0047501133__en-us_topic_0036684058_li20791387173244">Use the Linux image to be optimized to an <span id="EN-US_TOPIC_0047501133__text0178923135011">ECS</span><span id="EN-US_TOPIC_0047501133__text17178923125019"></span>, and start and log in to the <span id="EN-US_TOPIC_0047501133__text19498437145114">ECS</span><span id="EN-US_TOPIC_0047501133__text1649863719510"></span>.</li><li id="EN-US_TOPIC_0047501133__li95246269363">View the virtualization type of the <span id="EN-US_TOPIC_0047501133__text205441140201515">ECS</span><span id="EN-US_TOPIC_0047501133__text185441040131513"></span>....<p id="EN-US_TOPIC_0047501133__p12191748308">For details, see <a href="en-us_topic_0037352185.html">Viewing the Virtualization Type of a Linux ECS</a>.</p>
<p id="EN-US_TOPIC_0047501133__p19304102172513">The virtualization type may cause slice differences in an optimization process.</p>
<div id="body1485165375426"><p id="EN-US_TOPIC_0047501133__p10786152413117">A Linux <span id="EN-US_TOPIC_0047501133__text31801736229">ECS</span><span id="EN-US_TOPIC_0047501133__text518016361827"></span> can run properly only when VirtIO drivers have been installed on it and the disk ID in its GRUB configuration file and fstab file has been changed to UUID.</p>
<div class="section" id="EN-US_TOPIC_0047501133__section88217277111"><h4 class="sectiontitle">Preparations</h4><ol id="EN-US_TOPIC_0047501133__en-us_topic_0036684058_ol39592856173244"><li id="EN-US_TOPIC_0047501133__en-us_topic_0036684058_li20791387173244">Use the Linux image to be optimized to create an <span id="EN-US_TOPIC_0047501133__text0178923135011">ECS</span><span id="EN-US_TOPIC_0047501133__text17178923125019"></span>, and start and log in to the <span id="EN-US_TOPIC_0047501133__text19498437145114">ECS</span><span id="EN-US_TOPIC_0047501133__text1649863719510"></span>.</li><li id="EN-US_TOPIC_0047501133__li95246269363">Check whether the private image needs to be optimized.<p id="EN-US_TOPIC_0047501133__p12191748308"><a name="EN-US_TOPIC_0047501133__li95246269363"></a><a name="li95246269363"></a>For details, see <a href="en-us_topic_0037352185.html">Checking Whether a Private Image Needs to be Optimized</a>.</p>
</li></ol>
</div>
<div class="section" id="EN-US_TOPIC_0047501133__section862461118288"><h4 class="sectiontitle">Process</h4><ol id="EN-US_TOPIC_0047501133__ol960572292713"><li id="EN-US_TOPIC_0047501133__li1960362212275">Uninstall PV drivers from the <span id="EN-US_TOPIC_0047501133__text160312227272">ECS</span><span id="EN-US_TOPIC_0047501133__text15603422122720"></span>.<p class="litext" id="EN-US_TOPIC_0047501133__p460342252712">For details, see <a href="en-us_topic_0037352186.html">Uninstalling PV Drivers from a Linux ECS</a>.</p>
<div class="note" id="EN-US_TOPIC_0047501133__note019357123418"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0047501133__p919157103417">If the ECS is using KVM virtualization, skip this step.</p>
</div></div>
</li><li id="EN-US_TOPIC_0047501133__li20604522122715"><a name="EN-US_TOPIC_0047501133__li20604522122715"></a><a name="li20604522122715"></a>Change the disk ID in the GRUB configuration file to UUID.<p id="EN-US_TOPIC_0047501133__p18604142210277"><a name="EN-US_TOPIC_0047501133__li20604522122715"></a><a name="li20604522122715"></a>For details, see <a href="en-us_topic_0086020895.html">Changing the Disk Identifier in the GRUB Configuration File to UUID</a>.</p>
<div class="section" id="EN-US_TOPIC_0047501133__section862461118288"><a name="EN-US_TOPIC_0047501133__section862461118288"></a><a name="section862461118288"></a><h4 class="sectiontitle">Process</h4><ol id="EN-US_TOPIC_0047501133__ol960572292713"><li id="EN-US_TOPIC_0047501133__li20604522122715">Change the disk ID in the GRUB configuration file to UUID.<p id="EN-US_TOPIC_0047501133__p18604142210277"><a name="EN-US_TOPIC_0047501133__li20604522122715"></a><a name="li20604522122715"></a>For details, see <a href="en-us_topic_0086020895.html">Changing the Disk Identifier in the GRUB Configuration File to UUID</a>.</p>
</li><li id="EN-US_TOPIC_0047501133__li56043222274">Change the disk ID in the fstab file to UUID.<p id="EN-US_TOPIC_0047501133__p560442252711"><a name="EN-US_TOPIC_0047501133__li56043222274"></a><a name="li56043222274"></a>For details, see <a href="en-us_topic_0086024961.html">Changing the Disk Identifier in the fstab File to UUID</a>.</p>
</li><li id="EN-US_TOPIC_0047501133__li176041322202717">Install native virtualization drivers.<ul id="EN-US_TOPIC_0047501133__ul90220103414"><li id="EN-US_TOPIC_0047501133__li404202341">For Xen, install native Xen and KVM drivers. For details, see <a href="en-us_topic_0000001347866330.html">Install the Native Xen and KVM Drivers</a></li><li id="EN-US_TOPIC_0047501133__li18635422103419">For KVM, install native KVM drivers. For details, see <a href="en-us_topic_0000001120952155.html">Installing Native KVM Drivers</a>.</li></ul>
</li><li id="EN-US_TOPIC_0047501133__li18604132210271"><a name="EN-US_TOPIC_0047501133__li18604132210271"></a><a name="li18604132210271"></a>Delete log files and historical records, and stop the ECS.<p id="EN-US_TOPIC_0047501133__p18604142222710"><a name="EN-US_TOPIC_0047501133__li18604132210271"></a><a name="li18604132210271"></a>For details, see <a href="en-us_topic_0125076462.html">Clearing System Logs</a>.</p>
</li><li id="EN-US_TOPIC_0047501133__li1960462262716">Install native KVM drivers.<p id="EN-US_TOPIC_0047501133__p146041722142716"><a name="EN-US_TOPIC_0047501133__li1960462262716"></a><a name="li1960462262716"></a>For details, see <a href="en-us_topic_0000001120952155.html">Installing Native KVM Drivers</a>.</p>
</li><li id="EN-US_TOPIC_0047501133__li18604132210271">Delete log files and historical records, and stop the ECS.<p id="EN-US_TOPIC_0047501133__p18604142222710"><a name="EN-US_TOPIC_0047501133__li18604132210271"></a><a name="li18604132210271"></a>For details, see <a href="en-us_topic_0125076462.html">Clearing System Logs</a>.</p>
</li><li id="EN-US_TOPIC_0047501133__li10605102272711">Create a Linux private image using the <span id="EN-US_TOPIC_0047501133__text66056228274">ECS</span><span id="EN-US_TOPIC_0047501133__text14605162211277"></span>.</li></ol>
</div>
</div>

View File

@ -1,17 +1,17 @@
<a name="EN-US_TOPIC_0086020894"></a><a name="EN-US_TOPIC_0086020894"></a>
<h1 class="topictitle1">How Do I Install the Native Xen and KVM Drivers?</h1>
<div id="body1511925420129"><div class="section" id="EN-US_TOPIC_0086020894__section15570104113511"><h4 class="sectiontitle">Scenarios</h4><p id="EN-US_TOPIC_0086020894__p1193114471556">When optimizing a Linux private image with Xen virtualization, you need to change the UUID in the fstab and GRUB configuration files, and install native Xen and KVM drivers on the source <span id="EN-US_TOPIC_0086020894__en-us_topic_0037352186_text8632224122014">ECS</span><span id="EN-US_TOPIC_0086020894__en-us_topic_0037352186_text1463210249207"></span> of the image.</p>
<p id="EN-US_TOPIC_0086020894__p9716164319317">This section describes how to install the native Xen and KVM drivers.</p>
<div class="caution" id="EN-US_TOPIC_0086020894__note739915382321"><span class="cautiontitle"><img src="public_sys-resources/caution_3.0-en-us.png"> </span><div class="cautionbody"><p id="EN-US_TOPIC_0086020894__p1639911383321">Xen: If you do not install the Xen driver for the image, the network performance of the <span id="EN-US_TOPIC_0086020894__text066174518402">ECS</span><span id="EN-US_TOPIC_0086020894__text1366154554018"></span>s created from this image will be poor, and the security groups and firewall configured for the <span id="EN-US_TOPIC_0086020894__text1364172742715">ECS</span><span id="EN-US_TOPIC_0086020894__text76642711275"></span>s will not take effect.</p>
<p id="EN-US_TOPIC_0086020894__p5203542203211">KVM: If you do not install the KVM driver for the image, the NICs of the <span id="EN-US_TOPIC_0086020894__text13248103511403">ECS</span><span id="EN-US_TOPIC_0086020894__text224815351408"></span>s may not be detected and the <span id="EN-US_TOPIC_0086020894__text1167093515276">ECS</span><span id="EN-US_TOPIC_0086020894__text17670183515278"></span>s will be unable to communicate with other resources.</p>
<h1 class="topictitle1">How Do I Install Native Xen and KVM Drivers?</h1>
<div id="body1511925420129"><div class="section" id="EN-US_TOPIC_0086020894__section15570104113511"><h4 class="sectiontitle">Scenarios</h4><p id="EN-US_TOPIC_0086020894__p1193114471556">When optimizing a Linux private image, you need to install <span class="keyword" id="EN-US_TOPIC_0086020894__keyword1379551911223">native Xen and KVM drivers</span> for the image.</p>
<div class="caution" id="EN-US_TOPIC_0086020894__note739915382321"><span class="cautiontitle"><img src="public_sys-resources/caution_3.0-en-us.png"> </span><div class="cautionbody"><p id="EN-US_TOPIC_0086020894__p1639911383321">If you do not install Xen drivers for the image, the network performance of the <span id="EN-US_TOPIC_0086020894__text066174518402">ECS</span><span id="EN-US_TOPIC_0086020894__text1366154554018"></span>s created from this image will be poor, and the security groups and firewall configured for the <span id="EN-US_TOPIC_0086020894__text1364172742715">ECS</span><span id="EN-US_TOPIC_0086020894__text76642711275"></span>s will not take effect.</p>
<p id="EN-US_TOPIC_0086020894__p5203542203211">If you do not install KVM drivers for the image, the NICs of the <span id="EN-US_TOPIC_0086020894__text13248103511403">ECS</span><span id="EN-US_TOPIC_0086020894__text224815351408"></span>s may not be detected and the <span id="EN-US_TOPIC_0086020894__text1167093515276">ECS</span><span id="EN-US_TOPIC_0086020894__text17670183515278"></span>s will be unable to communicate with other resources.</p>
</div></div>
</div>
<div class="section" id="EN-US_TOPIC_0086020894__section19907254112223"><h4 class="sectiontitle">Prerequisites</h4><ul id="EN-US_TOPIC_0086020894__ul125413450564"><li id="EN-US_TOPIC_0086020894__li5622111663915">The virtualization type of the <span id="EN-US_TOPIC_0086020894__text3677435113917">ECS</span><span id="EN-US_TOPIC_0086020894__text9677135103916"></span> is Xen. For details, see .</li><li id="EN-US_TOPIC_0086020894__li15254164515560">The kernel version must be later than 2.6.24.</li><li id="EN-US_TOPIC_0086020894__li1825444535619">Disable your antivirus and intrusion detection software. You can enable them after installation of the Xen and KVM drivers.</li></ul>
<p id="EN-US_TOPIC_0086020894__p9716164319317">This section describes how to install native Xen and KVM drivers.</p>
<div class="section" id="EN-US_TOPIC_0086020894__section19907254112223"><h4 class="sectiontitle">Prerequisites</h4><ul id="EN-US_TOPIC_0086020894__ul125413450564"><li id="EN-US_TOPIC_0086020894__li15254164515560">The kernel version must be later than 2.6.24.</li><li id="EN-US_TOPIC_0086020894__li1825444535619">Antivirus and intrusion detection software have been disabled. You can enable them after Xen and KVM drivers are installed.</li></ul>
</div>
<div class="section" id="EN-US_TOPIC_0086020894__section1898490103117"><h4 class="sectiontitle">Procedure</h4><div class="p" id="EN-US_TOPIC_0086020894__p3285515493846">Modify the configuration file depending on the OS.<ul id="EN-US_TOPIC_0086020894__ul26230413103448"><li id="EN-US_TOPIC_0086020894__li34747125103448">CentOS, EulerOS<p id="EN-US_TOPIC_0086020894__p44288670103448"><a name="EN-US_TOPIC_0086020894__li34747125103448"></a><a name="li34747125103448"></a>Take CentOS 7.0 as an example. Modify the <strong id="EN-US_TOPIC_0086020894__b135502442515">/etc/dracut.conf</strong> file. Add the xen-pv and VirtIO drivers to <strong id="EN-US_TOPIC_0086020894__b75581142255">add_drivers</strong>. xen-pv drivers include xen-blkfront and xen-netfront. VirtIO drivers include virtio_blk, virtio_scsi, virtio_net, virtio_pci, virtio_ring, and virtio. Separate driver names with spaces. Save and exit the <strong id="EN-US_TOPIC_0086020894__b1562182714812">/etc/dracut.conf</strong> file. Run the <strong id="EN-US_TOPIC_0086020894__b30612512103448">dracut -f</strong> command to regenerate initrd.</p>
<div class="section" id="EN-US_TOPIC_0086020894__section1898490103117"><h4 class="sectiontitle">Procedure</h4><div class="p" id="EN-US_TOPIC_0086020894__p3285515493846">Modify the configuration file depending on the OS.<ul id="EN-US_TOPIC_0086020894__ul26230413103448"><li id="EN-US_TOPIC_0086020894__li34747125103448">CentOS, EulerOS<p id="EN-US_TOPIC_0086020894__p44288670103448"><a name="EN-US_TOPIC_0086020894__li34747125103448"></a><a name="li34747125103448"></a>Take CentOS 7.0 as an example. Modify the <strong id="EN-US_TOPIC_0086020894__b194953306447">/etc/dracut.conf</strong> file. Add the xen-pv and VirtIO drivers to <strong id="EN-US_TOPIC_0086020894__b1017215710466">add_drivers</strong>. xen-pv drivers include xen-blkfront and xen-netfront. VirtIO drivers include virtio_blk, virtio_scsi, virtio_net, virtio_pci, virtio_ring, and virtio. Separate driver names with spaces. Save and exit the <strong id="EN-US_TOPIC_0086020894__b1562182714812">/etc/dracut.conf</strong> file. Run the <strong id="EN-US_TOPIC_0086020894__b30612512103448">dracut -f</strong> command to regenerate initrd.</p>
<p id="EN-US_TOPIC_0086020894__p7077154103448">For details, see <a href="#EN-US_TOPIC_0086020894__section57411552112542">CentOS and EulerOS</a>.</p>
</li><li id="EN-US_TOPIC_0086020894__li36378640103448">Ubuntu and Debian<p id="EN-US_TOPIC_0086020894__p58972309103448"><a name="EN-US_TOPIC_0086020894__li36378640103448"></a><a name="li36378640103448"></a>Modify the <strong id="EN-US_TOPIC_0086020894__b14336042122620">/etc/initramfs-tools/modules</strong> file. Add the xen-pv and VirtIO drivers. xen-pv drivers include xen-blkfront and xen-netfront. VirtIO drivers include virtio_blk, virtio_scsi, virtio_net, virtio_pci, virtio_ring, and virtio. Separate driver names with spaces. Save and exit the <strong id="EN-US_TOPIC_0086020894__b74985136382">/etc/initramfs-tools/modules</strong> file. Run the <strong id="EN-US_TOPIC_0086020894__b14995132381">update-initramfs -u</strong> command to regenerate initrd.</p>
</li><li id="EN-US_TOPIC_0086020894__li36378640103448">Ubuntu and Debian<p id="EN-US_TOPIC_0086020894__p58972309103448"><a name="EN-US_TOPIC_0086020894__li36378640103448"></a><a name="li36378640103448"></a>Modify the <strong id="EN-US_TOPIC_0086020894__b3481131911505">/etc/initramfs-tools/modules</strong> file. Add the xen-pv and VirtIO drivers. xen-pv drivers include xen-blkfront and xen-netfront. VirtIO drivers include virtio_blk, virtio_scsi, virtio_net, virtio_pci, virtio_ring, and virtio. Separate driver names with spaces. Save and exit the <strong id="EN-US_TOPIC_0086020894__b74985136382">/etc/initramfs-tools/modules</strong> file. Run the <strong id="EN-US_TOPIC_0086020894__b14995132381">update-initramfs -u</strong> command to regenerate initrd.</p>
<p id="EN-US_TOPIC_0086020894__p12027737103448">For details, see <a href="#EN-US_TOPIC_0086020894__section1865536911274">Ubuntu and Debian</a>.</p>
</li><li id="EN-US_TOPIC_0086020894__li34722604103448">SUSE and openSUSE<ul id="EN-US_TOPIC_0086020894__ul44067988103448"><li id="EN-US_TOPIC_0086020894__li61067577103448">If the OS version is earlier than SUSE 12 SP1 or openSUSE 13, modify the <strong id="EN-US_TOPIC_0086020894__b6202123510577">/etc/sysconfig/kernel</strong> file and add xen-pv and VirtIO drivers to <strong id="EN-US_TOPIC_0086020894__b820118246584">INITRD_MODULES=""</strong>. xen-pv drivers include xen_vnif, xen_vbd, and xen_platform_pci. VirtIO drivers include virtio_blk, virtio_scsi, virtio_net, virtio_pci, virtio_ring, and virtio. Separate driver names with spaces. Run the <strong id="EN-US_TOPIC_0086020894__b12737284103448">mkinitrd</strong> command to regenerate initrd.</li><li id="EN-US_TOPIC_0086020894__li65557679151728">If the OS version is SUSE 12 SP1, modify the <strong id="EN-US_TOPIC_0086020894__b1391912453220">/etc/dracut.conf</strong> file and add xen-pv and VirtIO drivers to <strong id="EN-US_TOPIC_0086020894__b4258674314">add_drivers</strong>. xen-pv drivers include xen_vnif, xen_vbd, and xen_platform_pci. VirtIO drivers include virtio_blk, virtio_scsi, virtio_net, virtio_pci, virtio_ring, and virtio. Separate driver names with spaces. Run the <strong id="EN-US_TOPIC_0086020894__b4873008618432">dracut -f</strong> command to regenerate initrd.</li><li id="EN-US_TOPIC_0086020894__li47526694103448">If the OS version is later than SUSE 12 SP1 or openSUSE 13, modify the <strong id="EN-US_TOPIC_0086020894__b289089553">/etc/dracut.conf</strong> file and add xen-pv and VirtIO drivers to <strong id="EN-US_TOPIC_0086020894__b17885827658">add_drivers</strong>. xen-pv drivers include xen-blkfront and xen-netfront. VirtIO drivers include virtio_blk, virtio_scsi, virtio_net, virtio_pci, virtio_ring, and virtio. Separate driver names with spaces. Save and exit the <strong id="EN-US_TOPIC_0086020894__b6265173011618">/etc/dracut.conf</strong> file. Run the <strong id="EN-US_TOPIC_0086020894__b10266123011613">dracut -f</strong> command to regenerate initrd.</li></ul>
<div class="p" id="EN-US_TOPIC_0086020894__p23890486153148">For details, see <a href="#EN-US_TOPIC_0086020894__section63790002112835">SUSE and openSUSE</a>.<div class="note" id="EN-US_TOPIC_0086020894__note5002303103448"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0086020894__p45020735103448">For SUSE, run the following command to check whether xen-kmp (driver package for xen-pv) is installed:</p>
@ -19,7 +19,7 @@
<p id="EN-US_TOPIC_0086020894__p3881958103448">If information similar to the following is displayed, xen-kmp is installed in the OS:</p>
<pre class="screen" id="EN-US_TOPIC_0086020894__screen34937624103448">xen-kmp-default-4.2.2_04_3.0.76_0.11-0.7.5</pre>
<p id="EN-US_TOPIC_0086020894__p46003166103448">If xen-kmp is not installed, obtain it from the ISO file and install it.</p>
<p id="EN-US_TOPIC_0086020894__p11375311103448">If you add built-in drivers to the initrd or initramfs file by mistake, the <span id="EN-US_TOPIC_0086020894__text4426182544817">ECS</span><span id="EN-US_TOPIC_0086020894__text4426132517489"></span> will not be affected.</p>
<p id="EN-US_TOPIC_0086020894__p11375311103448">If you add built-in drivers to the initrd or initramfs file by mistake, the ECS will not be affected.</p>
</div></div>
</div>
</li></ul>
@ -71,7 +71,7 @@ drwxr-xr-x 2 root root 0 Jul 16 17:53 lib/modules/2.6.32-573.8.
<strong id="EN-US_TOPIC_0086020894__b7704153386">virtio_pci</strong>
<strong id="EN-US_TOPIC_0086020894__b4799156113818">virtio_ring</strong>
<strong id="EN-US_TOPIC_0086020894__en-us_topic_0037352187_b45605356144956">virtio</strong></pre>
</li><li id="EN-US_TOPIC_0086020894__en-us_topic_0037352187_li3643562417144">Press <strong id="EN-US_TOPIC_0086020894__b5852311418">Esc</strong>, enter <strong id="EN-US_TOPIC_0086020894__b48611316149">:wq</strong>, and press <strong id="EN-US_TOPIC_0086020894__b88718314148">Enter</strong>. The system saves the change and exits the <strong id="EN-US_TOPIC_0086020894__b1030765182">/etc/initramfs-tools/modules</strong> file.</li><li id="EN-US_TOPIC_0086020894__en-us_topic_0037352187_en-us_topic_0036684071_li36308794">Run the following command to regenerate initrd:<p id="EN-US_TOPIC_0086020894__en-us_topic_0037352187_p4220446317240"><a name="EN-US_TOPIC_0086020894__en-us_topic_0037352187_en-us_topic_0036684071_li36308794"></a><a name="en-us_topic_0037352187_en-us_topic_0036684071_li36308794"></a><strong id="EN-US_TOPIC_0086020894__b1321121316385">update-initramfs</strong> <strong id="EN-US_TOPIC_0086020894__b1121211373818">-u</strong></p>
</li><li id="EN-US_TOPIC_0086020894__en-us_topic_0037352187_li3643562417144">Press <strong id="EN-US_TOPIC_0086020894__b5852311418">Esc</strong>, enter <strong id="EN-US_TOPIC_0086020894__b48611316149">:wq</strong>, and press <strong id="EN-US_TOPIC_0086020894__b88718314148">Enter</strong>. The system saves the change and exits the <strong id="EN-US_TOPIC_0086020894__b120343231">/etc/initramfs-tools/modules</strong> file.</li><li id="EN-US_TOPIC_0086020894__en-us_topic_0037352187_en-us_topic_0036684071_li36308794">Run the following command to regenerate initrd:<p id="EN-US_TOPIC_0086020894__en-us_topic_0037352187_p4220446317240"><a name="EN-US_TOPIC_0086020894__en-us_topic_0037352187_en-us_topic_0036684071_li36308794"></a><a name="en-us_topic_0037352187_en-us_topic_0036684071_li36308794"></a><strong id="EN-US_TOPIC_0086020894__b1321121316385">update-initramfs</strong> <strong id="EN-US_TOPIC_0086020894__b1121211373818">-u</strong></p>
</li><li id="EN-US_TOPIC_0086020894__en-us_topic_0037352187_en-us_topic_0036684071_li55331235">Run the following commands to check whether native Xen and KVM drivers have been installed:<p id="EN-US_TOPIC_0086020894__en-us_topic_0037352187_p494623521746"><a name="EN-US_TOPIC_0086020894__en-us_topic_0037352187_en-us_topic_0036684071_li55331235"></a><a name="en-us_topic_0037352187_en-us_topic_0036684071_li55331235"></a><strong id="EN-US_TOPIC_0086020894__b6959111614382">lsinitramfs</strong> <strong id="EN-US_TOPIC_0086020894__b19853319183810">/boot/initrd.img-`uname</strong> <strong id="EN-US_TOPIC_0086020894__b1129162218384">-r`</strong> <strong id="EN-US_TOPIC_0086020894__b102931524113820">|grep</strong> <strong id="EN-US_TOPIC_0086020894__b132931324183819">xen</strong></p>
<p id="EN-US_TOPIC_0086020894__en-us_topic_0037352187_p573232991742"><strong id="EN-US_TOPIC_0086020894__b6114192883817">lsinitramfs</strong> <strong id="EN-US_TOPIC_0086020894__b1372133143813">/boot/initrd.img-`uname</strong> <strong id="EN-US_TOPIC_0086020894__b69354335387">-r`</strong> <strong id="EN-US_TOPIC_0086020894__b2011213673815">|grep</strong> <strong id="EN-US_TOPIC_0086020894__b16112163643816">virtio</strong></p>
<pre class="screen" id="EN-US_TOPIC_0086020894__en-us_topic_0037352187_en-us_topic_0036684071_screen28219072">[root@ CTU10000xxxxx home]# lsinitramfs /boot/initrd.img-`uname -r` |grep xen
@ -111,7 +111,7 @@ CONFIG_XEN_NETDEV_FRONTEND=y</pre>
# (like drivers for scsi-controllers, for lvm or reiserfs)
#
<strong id="EN-US_TOPIC_0086020894__b14862299407">INITRD_MODULES="ata_piix</strong> <strong id="EN-US_TOPIC_0086020894__b886269204011">ata_generic</strong> <strong id="EN-US_TOPIC_0086020894__b137381757404">xen_vnif</strong> <strong id="EN-US_TOPIC_0086020894__b131481047407">xen_vbd</strong> <strong id="EN-US_TOPIC_0086020894__b92941244013">xen_platform_pci</strong> <strong id="EN-US_TOPIC_0086020894__b10618159113910">virtio_blk</strong> <strong id="EN-US_TOPIC_0086020894__b218005793912">virtio_scsi</strong> <strong id="EN-US_TOPIC_0086020894__b5387125583915">virtio_net</strong> <strong id="EN-US_TOPIC_0086020894__b526065343913">virtio_pci</strong> <strong id="EN-US_TOPIC_0086020894__b15316450163917">virtio_ring</strong> <strong id="EN-US_TOPIC_0086020894__b123161509394">virtio"</strong></pre>
</li><li id="EN-US_TOPIC_0086020894__en-us_topic_0037352187_li47592321675">Run the <strong id="EN-US_TOPIC_0086020894__b5703558102220">mkinitrd</strong> command to regenerate initrd:<div class="note" id="EN-US_TOPIC_0086020894__en-us_topic_0037352187_note52786051675"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0086020894__en-us_topic_0037352187_p229561331675">If the virtual file system is not the default initramfs or initrd, run the <strong id="EN-US_TOPIC_0086020894__b469096659">dracut -f</strong> <em id="EN-US_TOPIC_0086020894__i2052973395">Name of the initramfs or initrd file actually used</em> command. The actual initramfs or initrd file name can be obtained from the <strong id="EN-US_TOPIC_0086020894__b10806163443418">menu.lst</strong> or <strong id="EN-US_TOPIC_0086020894__b198117341347">grub.cfg</strong> file (<strong id="EN-US_TOPIC_0086020894__b128111834143416">/boot/grub/menu.lst</strong>, <strong id="EN-US_TOPIC_0086020894__b19811113423411">/boot/grub/grub.cfg</strong>, or <strong id="EN-US_TOPIC_0086020894__b18812113473414">/boot/grub2/grub.cfg</strong>).</p>
</li><li id="EN-US_TOPIC_0086020894__en-us_topic_0037352187_li47592321675">Run the <strong id="EN-US_TOPIC_0086020894__b5703558102220">mkinitrd</strong> command to regenerate initrd:<div class="note" id="EN-US_TOPIC_0086020894__en-us_topic_0037352187_note52786051675"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0086020894__en-us_topic_0037352187_p229561331675">If the virtual file system is not the default initramfs or initrd, run the <strong id="EN-US_TOPIC_0086020894__b2095545628">dracut -f</strong> <em id="EN-US_TOPIC_0086020894__i314115744">Name of the initramfs or initrd file actually used</em> command. The actual initramfs or initrd file name can be obtained from the <strong id="EN-US_TOPIC_0086020894__b10806163443418">menu.lst</strong> or <strong id="EN-US_TOPIC_0086020894__b198117341347">grub.cfg</strong> file (<strong id="EN-US_TOPIC_0086020894__b128111834143416">/boot/grub/menu.lst</strong>, <strong id="EN-US_TOPIC_0086020894__b19811113423411">/boot/grub/grub.cfg</strong>, or <strong id="EN-US_TOPIC_0086020894__b18812113473414">/boot/grub2/grub.cfg</strong>).</p>
</div></div>
<p id="EN-US_TOPIC_0086020894__en-us_topic_0037352187_p475074521675">The following is an example initrd file of SUSE 11 SP4:</p>
<pre class="screen" id="EN-US_TOPIC_0086020894__en-us_topic_0037352187_screen249138901675">default 0
@ -173,11 +173,11 @@ drwxr-xr-x 2 root root 0 Jul 12 14:53 lib/modules/2.6.32-279.el6.x86_64/kernel/d
<p id="EN-US_TOPIC_0086020894__en-us_topic_0037352187_p59293879191648"><strong id="EN-US_TOPIC_0086020894__b183431031134215">cat</strong> <strong id="EN-US_TOPIC_0086020894__b14682834164216">/boot/config-`uname</strong> <strong id="EN-US_TOPIC_0086020894__b1289615369427">-r`</strong> <strong id="EN-US_TOPIC_0086020894__b12697153844211">|</strong> <strong id="EN-US_TOPIC_0086020894__b10656174094214">grep</strong> <strong id="EN-US_TOPIC_0086020894__b694515423422">CONFIG_XEN</strong> <strong id="EN-US_TOPIC_0086020894__b1787519442427">|</strong> <strong id="EN-US_TOPIC_0086020894__b86981246124211">grep</strong> <strong id="EN-US_TOPIC_0086020894__b869964684216">y</strong></p>
</div></div>
</li></ol>
</li><li id="EN-US_TOPIC_0086020894__li45512494152649"><a name="EN-US_TOPIC_0086020894__li45512494152649"></a><a name="li45512494152649"></a>If the OS version is SUSE 12 SP1, perform the following steps:<ol id="EN-US_TOPIC_0086020894__ol38188913152723"><li id="EN-US_TOPIC_0086020894__li8155905152723">Run the following command to open the <strong id="EN-US_TOPIC_0086020894__b1703345386">/etc/dracut.conf</strong> file:<p id="EN-US_TOPIC_0086020894__p5875015815387"><strong id="EN-US_TOPIC_0086020894__b051225284212">vi</strong> <strong id="EN-US_TOPIC_0086020894__b1951211527426">/etc/dracut.conf</strong></p>
</li><li id="EN-US_TOPIC_0086020894__li45512494152649"><a name="EN-US_TOPIC_0086020894__li45512494152649"></a><a name="li45512494152649"></a>If the OS version is SUSE 12 SP1, perform the following steps:<ol id="EN-US_TOPIC_0086020894__ol38188913152723"><li id="EN-US_TOPIC_0086020894__li8155905152723">Run the following command to open the <strong id="EN-US_TOPIC_0086020894__b1203935513">/etc/dracut.conf</strong> file:<p id="EN-US_TOPIC_0086020894__p5875015815387"><strong id="EN-US_TOPIC_0086020894__b051225284212">vi</strong> <strong id="EN-US_TOPIC_0086020894__b1951211527426">/etc/dracut.conf</strong></p>
</li><li id="EN-US_TOPIC_0086020894__li1512108818749">Press <strong id="EN-US_TOPIC_0086020894__b49860651175848">i</strong> to enter editing mode and add the xen-pv and VirtIO drivers to <strong id="EN-US_TOPIC_0086020894__b46092679175848">add-drivers</strong> (the format varies depending on the OS).<pre class="screen" id="EN-US_TOPIC_0086020894__screen187206518749">[root@CTU10000xxxxx ~]# vi /etc/dracut.conf
# additional kernel modules to the default
add_drivers+=<strong id="EN-US_TOPIC_0086020894__b156551559154210">"ata_piix</strong> <strong id="EN-US_TOPIC_0086020894__b591816111434">ata_generic</strong> <strong id="EN-US_TOPIC_0086020894__b584113334319">xen_vnif</strong> <strong id="EN-US_TOPIC_0086020894__b182734619432">xen_vbd</strong> <strong id="EN-US_TOPIC_0086020894__b115049204311">xen_platform_pci</strong> <strong id="EN-US_TOPIC_0086020894__b187241311164316">virtio_blk</strong> <strong id="EN-US_TOPIC_0086020894__b10722713174319">virtio_scsi</strong> <strong id="EN-US_TOPIC_0086020894__b1667181544315">virtio_net</strong> <strong id="EN-US_TOPIC_0086020894__b11271018104317">virtio_pci</strong> <strong id="EN-US_TOPIC_0086020894__b19831621124313">virtio_ring</strong> <strong id="EN-US_TOPIC_0086020894__b18832132164310">virtio"</strong></pre>
</li><li id="EN-US_TOPIC_0086020894__li169913318749">Press <strong id="EN-US_TOPIC_0086020894__b45004435403">Esc</strong>, enter <strong id="EN-US_TOPIC_0086020894__b350234314408">:wq</strong>, and press <strong id="EN-US_TOPIC_0086020894__b350324394013">Enter</strong>. The system saves the change and exits the <strong id="EN-US_TOPIC_0086020894__b431736361">/etc/dracut.conf</strong> file.</li><li id="EN-US_TOPIC_0086020894__li1574343114322">Run the following command to regenerate initrd:<p id="EN-US_TOPIC_0086020894__p0748133183216"><a name="EN-US_TOPIC_0086020894__li1574343114322"></a><a name="li1574343114322"></a><strong id="EN-US_TOPIC_0086020894__b181541279411">dracut -f /boot/initramfs-</strong><em id="EN-US_TOPIC_0086020894__i76392497432">File name</em></p>
</li><li id="EN-US_TOPIC_0086020894__li169913318749">Press <strong id="EN-US_TOPIC_0086020894__b45004435403">Esc</strong>, enter <strong id="EN-US_TOPIC_0086020894__b350234314408">:wq</strong>, and press <strong id="EN-US_TOPIC_0086020894__b350324394013">Enter</strong>. The system saves the change and exits the <strong id="EN-US_TOPIC_0086020894__b1495741855">/etc/dracut.conf</strong> file.</li><li id="EN-US_TOPIC_0086020894__li1574343114322">Run the following command to regenerate initrd:<p id="EN-US_TOPIC_0086020894__p0748133183216"><a name="EN-US_TOPIC_0086020894__li1574343114322"></a><a name="li1574343114322"></a><strong id="EN-US_TOPIC_0086020894__b181541279411">dracut -f /boot/initramfs-</strong><em id="EN-US_TOPIC_0086020894__i76392497432">File name</em></p>
<p id="EN-US_TOPIC_0086020894__p14751183193211">If the virtual file system is not the default initramfs, run the <strong id="EN-US_TOPIC_0086020894__b63702012164312">dracut -f</strong> <em id="EN-US_TOPIC_0086020894__i41771310184418">Name of the initramfs or initrd file actually used</em> command. The actual initramfs or initrd file name can be obtained from the <strong id="EN-US_TOPIC_0086020894__b6341165733412">grub.cfg</strong> file, which can be <strong id="EN-US_TOPIC_0086020894__b1534620574349">/boot/grub/grub.cfg</strong>, <strong id="EN-US_TOPIC_0086020894__b12346157173420">/boot/grub2/grub.cfg</strong>, or <strong id="EN-US_TOPIC_0086020894__b11347257173416">/boot/grub/grub.conf</strong> depending on the OS.</p>
</li><li id="EN-US_TOPIC_0086020894__li57552310325">If the virtual file system is initramfs, run the following commands to check whether native Xen and KVM drivers have been loaded:<p id="EN-US_TOPIC_0086020894__p1075773114327"><a name="EN-US_TOPIC_0086020894__li57552310325"></a><a name="li57552310325"></a><strong id="EN-US_TOPIC_0086020894__b104841359154415">lsinitrd</strong> <strong id="EN-US_TOPIC_0086020894__b29961522451">/boot/initramfs-`uname</strong> <strong id="EN-US_TOPIC_0086020894__b175791358452">-r`.img</strong> <strong id="EN-US_TOPIC_0086020894__b418427134520">|</strong> <strong id="EN-US_TOPIC_0086020894__b295014804518">grep</strong> <strong id="EN-US_TOPIC_0086020894__b695017844515">xen</strong></p>
<p id="EN-US_TOPIC_0086020894__p57601315321"><strong id="EN-US_TOPIC_0086020894__b1536018114453">lsinitrd</strong> <strong id="EN-US_TOPIC_0086020894__b10391015164511">/boot/initramfs-`uname</strong> <strong id="EN-US_TOPIC_0086020894__b445710179459">-r`.img</strong> <strong id="EN-US_TOPIC_0086020894__b231961914454">|</strong> <strong id="EN-US_TOPIC_0086020894__b7789102184516">grep</strong> <strong id="EN-US_TOPIC_0086020894__b17790182119452">virtio</strong></p>
@ -185,7 +185,7 @@ add_drivers+=<strong id="EN-US_TOPIC_0086020894__b156551559154210">"ata_piix</st
<p id="EN-US_TOPIC_0086020894__p1276543112329"><strong id="EN-US_TOPIC_0086020894__b63452301455">lsinitrd</strong> <strong id="EN-US_TOPIC_0086020894__b2094763264510">/boot/initrd-`uname</strong> <strong id="EN-US_TOPIC_0086020894__b133781635174513">-r`</strong> <strong id="EN-US_TOPIC_0086020894__b1710633774516">|</strong> <strong id="EN-US_TOPIC_0086020894__b7945113874510">grep</strong> <strong id="EN-US_TOPIC_0086020894__b294623824514">xen</strong></p>
<p id="EN-US_TOPIC_0086020894__p8769031173214"><strong id="EN-US_TOPIC_0086020894__b91831641184515">lsinitrd</strong> <strong id="EN-US_TOPIC_0086020894__b15230104434520">/boot/initrd-`uname</strong> <strong id="EN-US_TOPIC_0086020894__b19182184644514">-r`</strong> <strong id="EN-US_TOPIC_0086020894__b20796047124517">|</strong> <strong id="EN-US_TOPIC_0086020894__b168021449164519">grep</strong> <strong id="EN-US_TOPIC_0086020894__b108031849194514">virtio</strong></p>
</li></ol>
</li><li id="EN-US_TOPIC_0086020894__en-us_topic_0037352187_li57696863113515"><a name="EN-US_TOPIC_0086020894__en-us_topic_0037352187_li57696863113515"></a><a name="en-us_topic_0037352187_li57696863113515"></a>If the OS version is later than SUSE 12 SP1 or openSUSE 13, perform the following steps:<div class="p" id="EN-US_TOPIC_0086020894__en-us_topic_0037352187_p31831581114117"><a name="EN-US_TOPIC_0086020894__en-us_topic_0037352187_li57696863113515"></a><a name="en-us_topic_0037352187_li57696863113515"></a>Take SUSE Linux Enterprise Server 12 SP2 (x86_64) as an example.<ol id="EN-US_TOPIC_0086020894__en-us_topic_0037352187_ol6751597113538"><li id="EN-US_TOPIC_0086020894__en-us_topic_0037352187_li23142111114213">Run the following command to open the <strong id="EN-US_TOPIC_0086020894__b1048918668">/etc/dracut.conf</strong> file:<p id="EN-US_TOPIC_0086020894__en-us_topic_0037352187_p6952414114213"><strong id="EN-US_TOPIC_0086020894__b20941859204519">vi</strong> <strong id="EN-US_TOPIC_0086020894__b3941145944511">/etc/dracut.conf</strong></p>
</li><li id="EN-US_TOPIC_0086020894__en-us_topic_0037352187_li57696863113515"><a name="EN-US_TOPIC_0086020894__en-us_topic_0037352187_li57696863113515"></a><a name="en-us_topic_0037352187_li57696863113515"></a>If the OS version is later than SUSE 12 SP1 or openSUSE 13, perform the following steps:<div class="p" id="EN-US_TOPIC_0086020894__en-us_topic_0037352187_p31831581114117"><a name="EN-US_TOPIC_0086020894__en-us_topic_0037352187_li57696863113515"></a><a name="en-us_topic_0037352187_li57696863113515"></a>Take SUSE Linux Enterprise Server 12 SP2 (x86_64) as an example.<ol id="EN-US_TOPIC_0086020894__en-us_topic_0037352187_ol6751597113538"><li id="EN-US_TOPIC_0086020894__en-us_topic_0037352187_li23142111114213">Run the following command to open the <strong id="EN-US_TOPIC_0086020894__b955113857">/etc/dracut.conf</strong> file:<p id="EN-US_TOPIC_0086020894__en-us_topic_0037352187_p6952414114213"><strong id="EN-US_TOPIC_0086020894__b20941859204519">vi</strong> <strong id="EN-US_TOPIC_0086020894__b3941145944511">/etc/dracut.conf</strong></p>
</li><li id="EN-US_TOPIC_0086020894__en-us_topic_0037352187_li26274625114213">Press <strong id="EN-US_TOPIC_0086020894__b118283820481">i</strong> to enter editing mode and add the xen-pv and VirtIO drivers to <strong id="EN-US_TOPIC_0086020894__b61829388482">add_drivers</strong> (the format varies depending on the OS).<pre class="screen" id="EN-US_TOPIC_0086020894__en-us_topic_0037352187_screen35145041114213">[root@CTU10000xxxxx ~]# vi /etc/dracut.conf
# additional kernel modules to the default
<strong id="EN-US_TOPIC_0086020894__b1915056118157">add_drivers+="</strong><strong id="EN-US_TOPIC_0086020894__b941011717468">ata_piix</strong> <strong id="EN-US_TOPIC_0086020894__b1142409124611">ata_generic</strong> <strong id="EN-US_TOPIC_0086020894__b164041111204613">xen-blkfront</strong> <strong id="EN-US_TOPIC_0086020894__b12465171334614">xen-netfront</strong> <strong id="EN-US_TOPIC_0086020894__b151971415204616">virtio_blk</strong> <strong id="EN-US_TOPIC_0086020894__b069731712467">virtio_scsi</strong> <strong id="EN-US_TOPIC_0086020894__b10713719144617">virtio_net</strong> <strong id="EN-US_TOPIC_0086020894__b86291221164613">virtio_pci</strong> <strong id="EN-US_TOPIC_0086020894__b2103142444612">virtio_ring</strong> <strong id="EN-US_TOPIC_0086020894__b71031224184613">virtio"</strong></pre>

View File

@ -6,12 +6,8 @@
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="en-us_topic_0047501112.html">Optimization Process</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="en-us_topic_0125075471.html">Viewing the Virtualization Type of a Windows ECS</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="en-us_topic_0037352059.html">Obtaining Required Software Packages</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="en-us_topic_0037352182.html">Installing the PV Driver</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="en-us_topic_0037352061.html">Installing UVP VMTools</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="en-us_topic_0125075472.html">Clearing System Logs</a></strong><br>

View File

@ -6,16 +6,12 @@
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="en-us_topic_0047501133.html">Optimization Process</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="en-us_topic_0037352185.html">Viewing the Virtualization Type of a Linux ECS</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="en-us_topic_0037352186.html">Uninstalling PV Drivers from a Linux ECS</a></strong><br>
<li class="ulchildlink"><strong><a href="en-us_topic_0037352185.html">Checking Whether a Private Image Needs to be Optimized</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="en-us_topic_0086020895.html">Changing the Disk Identifier in the GRUB Configuration File to UUID</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="en-us_topic_0086024961.html">Changing the Disk Identifier in the fstab File to UUID</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="en-us_topic_0000001347866330.html">Install the Native Xen and KVM Drivers</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="en-us_topic_0000001120952155.html">Installing Native KVM Drivers</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="en-us_topic_0125076462.html">Clearing System Logs</a></strong><br>

View File

@ -13,7 +13,6 @@
<ul id="EN-US_TOPIC_0153114116__en-us_topic_0040259342_ul37351029162712"><li id="EN-US_TOPIC_0153114116__en-us_topic_0040259342_li12735132932714">Domain name, project name, and project ID, which can be obtained by performing the following operations:<p id="EN-US_TOPIC_0153114116__en-us_topic_0040259342_p1973542918275"><a name="EN-US_TOPIC_0153114116__en-us_topic_0040259342_li12735132932714"></a><a name="en-us_topic_0040259342_li12735132932714"></a>Log in to the management console using the cloud account, click the username in the upper right corner, select <strong id="EN-US_TOPIC_0153114116__en-us_topic_0040259342_b171181053141511">My Credentials</strong> from the drop-down list, and obtain the domain name, project name, and project ID on the <strong id="EN-US_TOPIC_0153114116__en-us_topic_0040259342_b1956165671712">My Credentials</strong> page.</p>
</li><li id="EN-US_TOPIC_0153114116__en-us_topic_0040259342_li13735182917270">Quota information, which includes:<ul id="EN-US_TOPIC_0153114116__en-us_topic_0040259342_ul6735102912273"><li id="EN-US_TOPIC_0153114116__en-us_topic_0040259342_li1073516296277">Service name</li><li id="EN-US_TOPIC_0153114116__en-us_topic_0040259342_li6735152972712">Quota type</li><li id="EN-US_TOPIC_0153114116__en-us_topic_0040259342_li773592992718">Required quota</li></ul>
</li></ul>
<p id="EN-US_TOPIC_0153114116__en-us_topic_0040259342_p126761744182712"><a href="https://docs.otc.t-systems.com/en-us/public/learnmore.html" target="_blank" rel="noopener noreferrer">Learn how to obtain the service hotline and email address.</a></p>
</div>
</div>
<div>

View File

@ -6,7 +6,7 @@
<div class="section" id="EN-US_TOPIC_0193146244__section196746554818"><h4 class="sectiontitle">Do I Have to Stop the ECS Before Using It to Create a Private Image?</h4><p id="EN-US_TOPIC_0193146244__p15922264449">No. You can create an image from a running ECS. However, if data is written to the ECS during image creation, that new data will not be included in the created image.</p>
</div>
<div class="section" id="EN-US_TOPIC_0193146244__section06781459374"><h4 class="sectiontitle">Where Can I View the Image Creation Progress? How Long Does It Take to Create an Image?</h4><p id="EN-US_TOPIC_0193146244__p141599793717">Log in to the management console. Choose <strong id="EN-US_TOPIC_0193146244__b1560105423712">Compute</strong> &gt; <strong id="EN-US_TOPIC_0193146244__b7861185815378">Image Management Service</strong> and click the <strong id="EN-US_TOPIC_0193146244__b730831620391">Private Images</strong> tab. Monitor the image creation progress in the <strong id="EN-US_TOPIC_0193146244__b145361329113916">Status</strong> column.</p>
<p id="EN-US_TOPIC_0193146244__p1565141417492">The image creation involves the installation of Xen and KVM drivers, OS kernel loading, and GRUB boot configuration, which may take a long time. In addition, the network speed, image file type, and disk size have an impact on how long image creation takes.</p>
<p id="EN-US_TOPIC_0193146244__p1565141417492">The image creation involves the installation of KVM drivers, OS kernel loading, and GRUB boot configuration, which may take a long time. In addition, the network speed, image file type, and disk size have an impact on how long image creation takes.</p>
</div>
</div>
<div>