Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 1.2 KB

README_nodes.md

File metadata and controls

43 lines (31 loc) · 1.2 KB

Testing remote nodes

To test remote nodes you need them created in the host you are testing with KVM.

Install a Linux server with those packages:

  • ssh
  • qemu-guest-agent

Add a secondary IP in the server to check public ip configuration.

Allow ssh password-less following the documentation for Ravada nodes clustering https://ravada.readthedocs.io/en/latest/docs/nodes.html?highlight=cluster

Write down a configuration file with the information of the testing virtual machines in the file: t/etc/remote_vm.conf.

In this example we have two virtual machines called: ztest-1 and ztest-2:

ztest-1:
    vm:
        - KVM
        - Void
    host: 192.168.122.151
    public_ip: 192.168.122.251
ztest-2:
    vm:
        - KVM
        - Void
    host: 192.168.122.152
    public_ip: 192.168.122.252

Configuration

Each entry has the name of the virtual machine as you can see when you virsh list in KVM.

  • vm is the name of the Virtual Managers type it accepts. At least it should contain KVM and Void, that is used to test generic mock virtual machines.
  • host is the ip of the virtual machine.
  • public_ip is optional and is used to test nodes with more than one IP.