Changes between Version 2 and Version 3 of Csle2022/Agenda/virtualization


Ignore:
Timestamp:
Oct 20, 2022, 12:22:10 PM (2 years ago)
Author:
admin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Csle2022/Agenda/virtualization

    v2 v3  
    107107The given is the VNC port number which is not exactly same as TCP port number. But we can derive the TCP port number using VNC port number because they have correlation. If the VNC port is :0 then TCP port will be 5900 and if the VNC port is :1 TCP port will be 5901 and so on. Using this relationship we can get the TCP port number and connect the graphical console of the VM. Then we can continue the installation as we normally do in a computer with monitor.
    108108
     109== Virtual Machine management ==
    109110
     111To manage the Virtual machines we can use below commands.
    110112
     113Shutdown/start VM,
     114{{{
     115virsh shutdown/start vmname
     116}}}
     117
     118Ungraceful Shutdown VM,
     119{{{
     120virsh destroy vmname
     121}}}
     122
     123Delete VM,
     124{{{
     125virsh undefine vmname
     126}}}
     127
     128Delete Disk,
     129{{{
     130virsh vol-delete --vol /var/lib/libvirt/images/sp-vm.qcow2
     131}}}