-
Notifications
You must be signed in to change notification settings - Fork 23
DOCTEAM-1713 Managing Virtual machines through Cockpit -Added new topics #624
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
7c337a2
Added content on Managing VMs using cockpit.
harneshalaka 03419f9
Updated asm file.
harneshalaka 738ae96
Corrected a typo.
harneshalaka 8f6891d
Corrected a typo.
harneshalaka b3835b9
Updated
harneshalaka 12d36f6
Updated the steps for managing networks, storage-pools and vms.
harneshalaka 73b244f
Updated the step for importing VM using cockpit.
harneshalaka b9a5006
Updated the steps for managing networks, storage pools, and virtual m…
harneshalaka e42f20c
Fixed feedback in installation and manage storage pools sections.
harneshalaka 778977f
Fixed feedback on storage pools.
harneshalaka b9a917f
fixed feedback on storage pools.
harneshalaka b3c1969
Updated managing storage pools steps and managing virtual machines st…
harneshalaka 74e837a
Added info on kvm_server pattern and added info on editing VM.
harneshalaka 0160a20
Updated steps to create vm.
harneshalaka 3d04bc1
updated creating and virtual machines sections
harneshalaka 9a16a9a
Added new sections in modify VMs.
harneshalaka 72a34bc
Added new sections in modify VMs.
harneshalaka 4f7381f
Added new sections in create and modify VMs.
harneshalaka eae09bb
Updated links.
harneshalaka 0ce7a9d
fixed editorial changes.
harneshalaka 41cfc4b
Editorial changes.
harneshalaka 2fb12bb
Editorial changes.
harneshalaka 64e951f
Apply suggestions from code review
harneshalaka 086ea78
Updated Managing virtual machines section and the corresponding links.
harneshalaka c9a342b
Fixed feedback.
harneshalaka f10ea76
Fixed validation error.
harneshalaka 0815743
Fixed feedback on network interfaces section.
harneshalaka 28c5f2b
Updated for editorial changes.
harneshalaka 8ee5348
Apply suggestions from code review
harneshalaka 2fc651c
Resolved review feedback.
harneshalaka bb6e24e
Resolved validation issues.
harneshalaka 03fc37e
Resolved validation issues.
harneshalaka 558980a
Editorial changes.
harneshalaka cc13cd8
Apply suggestions from code review
harneshalaka 05a5ba8
Apply suggestions from code review
harneshalaka 806b66f
Update tasks/cockpit-creating-virtual-machines.xml
harneshalaka e1ead04
Update concepts/cockpit-storage-pools.xml
harneshalaka ff8edef
Update glues/cockpit-virtual-machines-plugin.xml
harneshalaka 100dfa7
Update glues/cockpit-virtual-machines-plugin.xml
harneshalaka cad8bf8
Update glues/cockpit-virtual-machines-plugin.xml
harneshalaka 1b9860f
Update tasks/cockpit-creating-virtual-machines.xml
harneshalaka b222e0a
Update tasks/cockpit-creating-virtual-machines.xml
harneshalaka 8e6389d
Update tasks/cockpit-creating-virtual-machines.xml
harneshalaka 6e712c7
Merge branch 'main' into sharne/cockpit-VM
harneshalaka 6fc293e
Update tasks/cockpit-creating-virtual-machines.xml
harneshalaka 467ac8c
Update tasks/cockpit-creating-virtual-machines.xml
harneshalaka 51a5329
Update tasks/cockpit-creating-virtual-machines.xml
harneshalaka 3a7532b
Update tasks/cockpit-creating-virtual-machines.xml
harneshalaka 13eb0e5
Update tasks/cockpit-creating-virtual-machines.xml
harneshalaka 7bd95c8
Fix editorial feedback.
harneshalaka 1376388
Apply suggestions from code review
harneshalaka 8f01c01
Apply suggestions from code review
harneshalaka File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <!DOCTYPE topic | ||
| [ | ||
| <!ENTITY % entities SYSTEM "../common/generic-entities.ent"> | ||
| %entities; | ||
| ]> | ||
| <!-- refers to legacy doc: <add github link to legacy doc piece, if applicable> --> | ||
| <!-- point back to this document with a similar comment added to your legacy doc piece --> | ||
| <!-- refer to README.md for file and id naming conventions --> | ||
| <!-- metadata is dealt with on the assembly level --> | ||
| <topic xml:id="concept-storage-pools" | ||
| role="concept" xml:lang="en" | ||
| xmlns="http://docbook.org/ns/docbook" version="5.2" | ||
| xmlns:its="http://www.w3.org/2005/11/its" | ||
| xmlns:xi="http://www.w3.org/2001/XInclude" | ||
| xmlns:xlink="http://www.w3.org/1999/xlink" | ||
| xmlns:trans="http://docbook.org/ns/transclusion"> | ||
| <info> | ||
| <title>Managing storage pools</title> | ||
| <meta name="maintainer" content="shalaka.harne@suse.com" its:translate="no"/> | ||
| <abstract> | ||
| <para>A storage pool is a storage resource on the VM Host Server that can be used for storing volumes (VM guest disks and partitions). &cockpit; enables you to create storage pools and manage them.</para> | ||
| </abstract> | ||
| </info> | ||
| <para></para> | ||
| </topic> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <!DOCTYPE topic | ||
| [ | ||
| <!ENTITY % entities SYSTEM "../common/generic-entities.ent"> | ||
| %entities; | ||
| ]> | ||
| <topic xml:id="glue-cockpit-vm" | ||
| role="glue" xml:lang="en" | ||
| xmlns="http://docbook.org/ns/docbook" version="5.2" | ||
| xmlns:its="http://www.w3.org/2005/11/its" | ||
| xmlns:xi="http://www.w3.org/2001/XInclude" | ||
| xmlns:xlink="http://www.w3.org/1999/xlink" | ||
| xmlns:trans="http://docbook.org/ns/transclusion"> | ||
| <info> | ||
| <title>Managing virtual machines using &cockpit;</title> | ||
| <meta name="maintainer" content="shalaka.harne@suse.com"/> | ||
| </info> | ||
| <para> | ||
| The <guimenu>Virtual machines</guimenu> section allows you to view, create and manage virtual machines, storage pools and networks, and also to import virtual machines. | ||
| </para> | ||
| <note> | ||
| <title><guimenu>Virtual machines</guimenu> not visible</title> | ||
| <para>If you do not see the plug-in in your &cockpit; instance, you need to install the <literal>kvm_server</literal> pattern.</para> | ||
| <screen>&prompt.sudo; zypper install -t pattern kvm_server | ||
| &prompt.sudo; systemctl enable --now libvirtd | ||
| </screen> | ||
| </note> | ||
| <para>Using the <guimenu>Virtual machines</guimenu> screen, you can perform the following tasks:</para> | ||
| <itemizedlist> | ||
| <listitem><para>Install virtual machines in <xref linkend="task-install-cockpit-vm"/></para></listitem> | ||
| <listitem><para>Create virtual machines in <xref linkend="section-create-vm"></xref></para></listitem> | ||
| <listitem><para>Modify virtual machine configurations in <xref linkend="task-managing-vm-cockpit"/></para></listitem> | ||
| <listitem><para>Import a virtual machine in <xref linkend="section-import-vm"/></para></listitem> | ||
| <listitem><para>Clone a virtual machine in <xref linkend="section-clone-vm"/></para></listitem> | ||
| <listitem><para>Rename a virtual machine in <xref linkend="section-rename-vm"/></para></listitem> | ||
| <listitem><para>Delete a virtual machine in <xref linkend="section-delete-vm"/></para></listitem> | ||
| </itemizedlist> | ||
| </topic> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,160 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <!DOCTYPE topic | ||
| [ | ||
| <!ENTITY % entities SYSTEM "../common/generic-entities.ent"> | ||
| %entities; | ||
| ]> | ||
| <!-- refers to legacy doc: <add github link to legacy doc piece, if applicable> --> | ||
| <!-- point back to this document with a similar comment added to your legacy doc piece --> | ||
| <!-- refer to README.md for file and id naming conventions --> | ||
| <!-- metadata is dealt with on the assembly level --> | ||
| <topic xml:id="section-create-vm" | ||
| role="task" xml:lang="en" | ||
| xmlns="http://docbook.org/ns/docbook" version="5.2" | ||
| xmlns:its="http://www.w3.org/2005/11/its" | ||
| xmlns:xi="http://www.w3.org/2001/XInclude" | ||
| xmlns:xlink="http://www.w3.org/1999/xlink" | ||
| xmlns:trans="http://docbook.org/ns/transclusion"> | ||
| <info> | ||
| <title>Creating virtual machines using &cockpit;</title> | ||
| <meta name="maintainer" content="shalaka.harne@suse.com" its:translate="no"/> | ||
| <abstract> | ||
| <para>The &cockpit; Web console allows you to create virtual machines.</para> | ||
| </abstract> | ||
| </info> | ||
| <para>To create a virtual machine using &cockpit;:</para> | ||
| <procedure> | ||
| <step> | ||
| <para> | ||
| Navigate to the <guimenu>Virtual machines</guimenu> page. | ||
| </para> | ||
| </step> | ||
| <step> | ||
| <para> | ||
| Click <guimenu>Create VM</guimenu>. | ||
| </para> | ||
| </step> | ||
| <step> | ||
| <para> | ||
| Select the <guilabel>Connection</guilabel> as either <guimenu>System</guimenu> or <guimenu>User session</guimenu>.</para> | ||
| <para>For more information on the connections, click the information icon next to <guimenu>Connection</guimenu>.</para> | ||
| </step> | ||
| <step><para>Select an installation type from the drop-down list and proceed with creating the VM.</para> | ||
| <itemizedlist> | ||
| <listitem><para><xref linkend="download-OS"/></para> | ||
| <para>For this installation type, &cockpit; provides a list of popular Linux distributions (Fedora, Ubuntu, Rocky Linux, etc.). It automatically downloads the official ISO and starts the installer.</para></listitem> | ||
| <listitem><para><xref linkend="cloud-base-image"/></para> | ||
| <para>For this installation type, you create a virtual machine from the cloud image file on the host's file system. You must provide the path to the file for this. This installation type supports unattended installation, where you can pre-fill a username, password, and SSH key in &cockpit;. The VM then boots and configures itself automatically.</para></listitem> | ||
| <listitem><para><xref linkend="local-install-media"/></para> | ||
| <para>For this installation type, you manually provide a path to an .iso file already stored on your server’s hard drive.</para></listitem> | ||
| <listitem><para><xref linkend="URL"/></para> | ||
| <para>For this installation type, you provide a Web link to an installation tree (common for automated network installs).</para></listitem> | ||
| <listitem><para><xref linkend="network-boot-PXE"/></para> | ||
| <para>For this installation type, the system boots the VM from a network server. This is typically used in enterprise environments with existing deployment infrastructure.</para></listitem> | ||
| </itemizedlist> | ||
| </step> | ||
| </procedure> | ||
| <section xml:id="download-OS"><title >Download an OS</title> | ||
| <para> | ||
| You can select <guilabel>Download an OS</guilabel> to create a VM with your preferred OS. &cockpit; provides a list of popular Linux distributions (like OpenSUSE Leap, Fedora, Ubuntu, or CentOS). When you select the distribution, &cockpit; downloads the official ISO image from the internet and creates a VM based on the given configurations. </para> | ||
| <procedure> | ||
| <step><para>Select the distribution from the <guilabel>Operating system</guilabel> drop-down list.</para></step> | ||
| <step> | ||
| <para> | ||
| Define the <guimenu>Storage limit</guimenu> and <guimenu>Memory</guimenu>.</para> | ||
| <para>The available storage limit and memory are displayed so that you can configure the storage limit and memory accordingly. </para> | ||
| </step> | ||
| <step> | ||
| <para>To run the VM after creation, click <guimenu>Create and run</guimenu>.</para> | ||
| <para>The virtual machine has been installed.</para> | ||
| </step> | ||
| <step><para>To edit the VM parameters after creation, click <guimenu>Create and edit</guimenu>.</para> | ||
| <para>Modify the parameters and click <guimenu>Install</guimenu>.</para> | ||
| <para>For more information on modifying the parameters, see <xref linkend="task-managing-vm-cockpit"/>.</para></step> | ||
| </procedure></section> | ||
|
|
||
| <section xml:id="cloud-base-image"><title>Cloud base image</title> | ||
| <para> | ||
| You can create a virtual machine from the cloud image file on the host's file system. You must provide the path to the file for this. This installation type supports unattended installation, where you can pre-fill a username, password, and SSH key in &cockpit;. The VM then boots and configures itself automatically. | ||
| </para> | ||
| <procedure> | ||
| <step><para>Select the path to the cloud image file on the host's file system from the <guilabel>Installation source</guilabel> drop-down list.</para> | ||
| </step> | ||
| <step><para>Select the distribution from the <guilabel>Operating system</guilabel> drop-down list.</para></step> | ||
| <step> | ||
| <para> | ||
| Define the <guimenu>Storage limit</guimenu> and <guimenu>Memory</guimenu>.</para> | ||
| <para>The available storage limit and memory are displayed so that you can configure the storage limit and memory accordingly. </para> | ||
| </step> | ||
| <step> | ||
| <para>To run the VM after creation, click <guimenu>Create and run</guimenu>.</para> | ||
| <para>The virtual machine has been installed.</para> | ||
| </step> | ||
| <step><para>To edit the VM parameters after creation, click <guimenu>Create and edit</guimenu>.</para> | ||
| <para>Modify the parameters and click <guimenu>Install</guimenu>.</para> | ||
| <para>For more information on modifying the parameters, see <xref linkend="task-managing-vm-cockpit"/>.</para></step> | ||
| </procedure></section> | ||
| <section xml:id="local-install-media"><title>Local installation media (ISO image or distro install tree)</title> | ||
| <para> | ||
| You can create a VM from the local installation media using the path to the ISO file on the host's file system. In this, you must provide the direct file path in which the ISO image is stored, and the VM boots from that local file and begins the installation. | ||
| </para> | ||
| <procedure> | ||
| <step><para>Select the path to the ISO file on the host's file system from the <guilabel>Installation source</guilabel> drop-down list.</para> | ||
| </step> | ||
| <step><para>Select the distribution from the <guilabel>Operating system</guilabel> drop-down list.</para></step> | ||
| <step> | ||
| <para> | ||
| Define the <guimenu>Storage limit</guimenu> and <guimenu>Memory</guimenu>.</para> | ||
| <para>The available storage limit and memory are displayed so that you can configure the storage limit and memory accordingly. </para> | ||
| </step> | ||
| <step> | ||
| <para>To run the VM after creation, click <guimenu>Create and run</guimenu>.</para> | ||
|
harneshalaka marked this conversation as resolved.
|
||
| <para>The virtual machine has been installed.</para> | ||
| </step> | ||
| <step><para>To edit the VM parameters after creation, click <guimenu>Create and edit</guimenu>.</para> | ||
| <para>Modify the parameters and click <guimenu>Install</guimenu>.</para> | ||
| <para>For more information on modifying the parameters, see <xref linkend="task-managing-vm-cockpit"/>.</para></step> | ||
| </procedure></section> | ||
| <section xml:id="URL"><title>URL (ISO image or distro install tree)</title> | ||
| <para> | ||
| You can create a virtual machine by downloading the OS from a URL of the ISO image or distro install tree. In this type of installation, you can point the VM to a remote installation source via a web link (HTTP/HTTPS/FTP). It is particularly useful for network-based installations where the host doesn't have the image saved locally but can pull the necessary boot files directly from a public or private mirror. | ||
| </para> | ||
| <procedure> | ||
| <step><para>Specify the URL of the ISO file in the <guilabel>Installation source</guilabel>.</para> | ||
| </step> | ||
| <step><para>Select the distribution from the <guilabel>Operating system</guilabel> drop-down list.</para></step> | ||
| <step> | ||
| <para> | ||
| Define the <guimenu>Storage limit</guimenu> and <guimenu>Memory</guimenu>.</para> | ||
| <para>The available storage limit and memory are displayed so that you can configure the storage limit and memory accordingly. </para> | ||
| </step> | ||
| <step> | ||
| <para>To run the VM after creation, click <guimenu>Create and run</guimenu>.</para> | ||
| <para>The virtual machine has been installed.</para> | ||
| </step> | ||
| <step><para>To edit the VM parameters after creation, click <guimenu>Create and edit</guimenu>.</para> | ||
| <para>Modify the parameters and click <guimenu>Install</guimenu>.</para> | ||
| <para>For more information on modifying the parameters, see <xref linkend="task-managing-vm-cockpit"/>.</para></step> | ||
| </procedure></section> | ||
| <section xml:id="network-boot-PXE"><title>Network boot (PXE)</title> | ||
| <para> | ||
| You can create a VM by installing the OS over the network using the Network boot PXE (Preboot eXecution Environment). In this type of installation, the VM starts without a local OS and requests boot files from a PXE server over the network. The PXE server supplies the bootloader, kernel, initrd, and OS installation files, allowing the operating system to install directly from the network. | ||
| </para> | ||
| <procedure> | ||
| <step><para>Select the installation source from the <guilabel>Installation source</guilabel> drop-down list.</para> | ||
| </step> | ||
| <step><para>Select the distribution from the <guilabel>Operating system</guilabel> drop-down list.</para></step> | ||
| <step> | ||
| <para> | ||
| Define the <guimenu>Storage limit</guimenu> and <guimenu>Memory</guimenu>.</para> | ||
| <para>The available storage limit and memory are displayed so that you can configure the storage limit and memory accordingly. </para> | ||
| </step> | ||
| <step> | ||
| <para>To run the VM after creation, click <guimenu>Create and run</guimenu>.</para> | ||
| <para>The virtual machine has been installed.</para> | ||
| </step> | ||
| <step><para>To edit the VM parameters after creation, click <guimenu>Create and edit</guimenu>.</para> | ||
| <para>Modify the parameters and click <guimenu>Install</guimenu>.</para> | ||
| <para>For more information on modifying the parameters, see <xref linkend="task-managing-vm-cockpit"/>.</para></step> | ||
| </procedure></section> | ||
| </topic> | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <!DOCTYPE topic | ||
| [ | ||
| <!ENTITY % entities SYSTEM "../common/generic-entities.ent"> | ||
| %entities; | ||
| ]> | ||
| <!-- refers to legacy doc: <add github link to legacy doc piece, if applicable> --> | ||
| <!-- point back to this document with a similar comment added to your legacy doc piece --> | ||
| <!-- refer to README.md for file and id naming conventions --> | ||
| <!-- metadata is dealt with on the assembly level --> | ||
| <topic xml:id="task-install-cockpit-vm" | ||
| role="task" xml:lang="en" | ||
| xmlns="http://docbook.org/ns/docbook" version="5.2" | ||
| xmlns:its="http://www.w3.org/2005/11/its" | ||
| xmlns:xi="http://www.w3.org/2001/XInclude" | ||
| xmlns:xlink="http://www.w3.org/1999/xlink" | ||
| xmlns:trans="http://docbook.org/ns/transclusion"> | ||
| <info> | ||
| <title>Installing a virtual machine using &cockpit;</title> | ||
| <meta name="maintainer" content="shalaka.harne@suse.com" its:translate="no"/> | ||
| <abstract> | ||
| <para> To install an already created VM, navigate to the <guimenu>Virtual machines</guimenu> page and click <guimenu>Install</guimenu> corresponding to the VM.</para> | ||
| </abstract> | ||
| </info> | ||
|
|
||
| <note> | ||
| <para>You can also create a VM and install it.</para> | ||
| <para>For more information on creating a VM, see <xref linkend="section-create-vm"/>.</para> | ||
| </note> | ||
| </topic> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.