Without shared storage between frontend and hosts when a VM is deployed OpenNebula copies the image files from the Image Repository to the folder specified as VM_DIR
in the oned.conf
on the remote host.
For this reason, make sure that you can connect remotely through SSH without providing any password from the frontend to every host (instructions on how to set up passwordless SSH login was given in the previous chapter).
When creating a new host, you should use the onehost
command with tm_ssh
as the third parameter, as shown in the following command:
onehost create host01 im_hypervisor vmm_hypervisor tm_ssh dummy
Tip
Non-shared storage: common use cases
Without a shared filesystem you cannot achieve real high availability. If a node goes down because of a physical failure (for example, power supply or disk controller) the virtual instances that were running on it cannot be directly restarted on another host. It requires a fresh redeployment from the original...