305-300 · Question #102
Which of the following commands moves the libvirt domain web1 from the current host system to the host system host2?
The correct answer is C. virsh migrate web1 qemu+ssh://host2/system. The correct command to move the libvirt domain web1 from the current host system to the host system host2 is virsh migrate web1 qemu+ssh://host2/system. This command uses the virsh migrate command, which initiates the live migration of a domain to another host. The first…
Question
Options
- Avirsh node-update host1=-dom:web1 host2=+dom:web1
- Bvirsh pool-add host2 web1
- Cvirsh migrate web1 qemu+ssh://host2/system
- Dvirsh patch web1 .Domain.Node=host2
- Evirsh cp .:web1 host2:web1
How the community answered
(33 responses)- A12% (4)
- B6% (2)
- C79% (26)
- E3% (1)
Explanation
The correct command to move the libvirt domain web1 from the current host system to the host system host2 is virsh migrate web1 qemu+ssh://host2/system. This command uses the virsh migrate command, which initiates the live migration of a domain to another host. The first argument is the name of the domain to migrate, which in this case is web. The second argument is the destination URI, which specifies the connection to the remote host and the hypervisor to use. In this case, the destination URI is qemu+ssh://host2/system, which means to use the QEMU driver and connect to host2 via SSH, and use the system instance of libvirtd.
Topics
Community Discussion
No community discussion yet for this question.