-
Notifications
You must be signed in to change notification settings - Fork 16
Use with Nested KVM and oVirt
Please note this page doesn't describe basic operations like installation, starting the daemon, registration, and so on. Please check README.md first.
In the oVirt, by using VirtualBMC for vSphere, you can enable the Power Management feature for Nested-KVM host that is running in your VMware vSphere environment.
Nothing special. Add your virtual BMC for your Nested-KVM VMs by vsbmc
command. There is no restriction of IP addresses or ports to bind.
For example, here I have 3 VMs as Nested-KVMs named lab-vkvm01
, 02
, and 03
on the ESXi in my VMware vSphere environment.
To register as BMC of KVM on oVirt, there is no restriction of IP addresses or ports. So I can share the single IP address of VirtualBMC host for those 3 vBMCs. In this example, as shown in the diagram, the VirtualBMC host has 192.168.0.241
. The only thing I have to consider is to change port per VM. Then I should invoke:
$ vsbmc add lab-vkvm01 --port 6231 --viserver 192.168.0.201 --viserver-username [email protected] --viserver-password Vmware123!
$ vsbmc add lab-vkvm02 --port 6232 --viserver 192.168.0.201 --viserver-username [email protected] --viserver-password Vmware123!
$ vsbmc add lab-vkvm03 --port 6233 --viserver 192.168.0.201 --viserver-username [email protected] --viserver-password Vmware123!
Configure the Fence Agent with the following parameters:
- Enter the IP address of your VirtualBMC host in the Address field.
- In this example,
192.168.0.241
.
- In this example,
- Enter the User Name and Password as configured in VirtualBMC.
- By default, username and password are configured as
admin
andpassword
.
- By default, username and password are configured as
- Select ipmilan in the Type drop-down list.
- Required configuration to use IPMI to communicate VirtualBMC.
- Enter
lanplus=1,ipport=<your-port-number>
in the Options field.- In this example, for the KVM host nested in VM
lab-vkvm01
, it should be configured aslanplus=1,ipport=6231
. - Do the same with the rest of them, configure
lanplus=1,ipport=6232
forlab-kvm02
andlanplus=1,ipport=6233
forlab-kvm03
.
- In this example, for the KVM host nested in VM