[ovirt-users] ILO2 Fencing

Martin Perina mperina at redhat.com
Thu Mar 29 07:39:40 UTC 2018


On Thu, Mar 29, 2018 at 7:24 AM, TomK <tomkcpr at mdevsys.com> wrote:

> Hey Guy's,
>
> I've tested my ILO2 fence from the ovirt engine CLI and that works:
>
> fence_ilo2 -a 192.168.0.37 -l <USER> --password="<SECRET>" --ssl-insecure
> --tls1.0 -v -o status
>

​You are using additional options on command line, please add below to the
Options field in Edit Fence Agent dialog and retry

  ssl_insecure=1,tls1.0=1

​


>
> The UI gives me:
>
> Test failed: Failed to run fence status-check on host 'ph-host01.my.dom'.
> No other host was available to serve as proxy for the operation.
>

​This is normal, fencing requires to have at least 2 working hosts in the
setup
​


>
> Going to add a second host in a bit but anyway to get this working with
> just one host?  I'm just adding the one host to oVirt for some POC we are
> doing atm but the UI forces me to adjust Power Management settings before
> proceeding.
>

​You have the options to disable fencing completely for cluster, it's
enough to turn off Enable fencing option in Fencing Policy tab in Edit
Cluster dialog.
​


>
> Also:
>
> 2018-03-28 02:04:15,183-04 WARN [org.ovirt.engine.core.bll.network.NetworkConfigurator]
> (EE-ManagedThreadFactory-engine-Thread-335) [2d691be9] Failed to find a
> valid interface for the management network of host ph-host01.my.dom. If the
> interface br0 is a bridge, it should be torn-down manually.
> 2018-03-28 02:04:15,184-04 ERROR [org.ovirt.engine.core.bll.hos
> tdeploy.InstallVdsInternalCommand] (EE-ManagedThreadFactory-engine-Thread-335)
> [2d691be9] Exception: org.ovirt.engine.core.bll.netw
> ork.NetworkConfigurator$NetworkConfiguratorException: Interface br0 is
> invalid for management network
>

​Petr/Edward could you please take a look?
​


>
>
> I've these defined as such but not clear what it is expecting:
>
> [root at ph-host01 ~]# ip a
> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1
>     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
>     inet 127.0.0.1/8 scope host lo
>        valid_lft forever preferred_lft forever
>     inet6 ::1/128 scope host
>        valid_lft forever preferred_lft forever
> 2: eth0: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master
> bond0 state UP qlen 1000
>     link/ether 78:e7:d1:8c:b1:ba brd ff:ff:ff:ff:ff:ff
> 3: eth1: <NO-CARRIER,BROADCAST,MULTICAST,SLAVE,UP> mtu 1500 qdisc mq
> master bond0 state DOWN qlen 1000
>     link/ether 78:e7:d1:8c:b1:ba brd ff:ff:ff:ff:ff:ff
> 4: eth2: <NO-CARRIER,BROADCAST,MULTICAST,SLAVE,UP> mtu 1500 qdisc mq
> master bond0 state DOWN qlen 1000
>     link/ether 78:e7:d1:8c:b1:ba brd ff:ff:ff:ff:ff:ff
> 5: eth3: <NO-CARRIER,BROADCAST,MULTICAST,SLAVE,UP> mtu 1500 qdisc mq
> master bond0 state DOWN qlen 1000
>     link/ether 78:e7:d1:8c:b1:ba brd ff:ff:ff:ff:ff:ff
> 21: bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc
> noqueue master br0 state UP qlen 1000
>     link/ether 78:e7:d1:8c:b1:ba brd ff:ff:ff:ff:ff:ff
>     inet6 fe80::7ae7:d1ff:fe8c:b1ba/64 scope link
>        valid_lft forever preferred_lft forever
> 23: ;vdsmdummy;: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen
> 1000
>     link/ether fe:69:c7:50:0d:dd brd ff:ff:ff:ff:ff:ff
> 24: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state
> UP qlen 1000
>     link/ether 78:e7:d1:8c:b1:ba brd ff:ff:ff:ff:ff:ff
>     inet 192.168.0.39/23 brd 192.168.1.255 scope global br0
>        valid_lft forever preferred_lft forever
>     inet6 fe80::7ae7:d1ff:fe8c:b1ba/64 scope link
>        valid_lft forever preferred_lft forever
> [root at ph-host01 ~]# cd /etc/sysconfig/network-scripts/
> [root at ph-host01 network-scripts]# cat ifcfg-br0
> DEVICE=br0
> TYPE=Bridge
> BOOTPROTO=none
> IPADDR=192.168.0.39
> NETMASK=255.255.254.0
> GATEWAY=192.168.0.1
> ONBOOT=yes
> DELAY=0
> USERCTL=no
> DEFROUTE=yes
> NM_CONTROLLED=no
> DOMAIN="my.dom nix.my.dom"
> SEARCH="my.dom nix.my.dom"
> HOSTNAME=ph-host01.my.dom
> DNS1=192.168.0.224
> DNS2=192.168.0.44
> DNS3=192.168.0.45
> ZONE=public
> [root at ph-host01 network-scripts]# cat ifcfg-bond0
> DEVICE=bond0
> ONBOOT=yes
> BOOTPROTO=none
> USERCTL=no
> NM_CONTROLLED=no
> BONDING_OPTS="miimon=100 mode=2"
> BRIDGE=br0
> #
> #
> # IPADDR=192.168.0.39
> # NETMASK=255.255.254.0
> # GATEWAY=192.168.0.1
> # DNS1=192.168.0.1
> [root at ph-host01 network-scripts]#
>
>
> --
> Cheers,
> Tom K.
> ------------------------------------------------------------
> -------------------------
>
> Living on earth is expensive, but it includes a free trip around the sun.
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>



-- 
Martin Perina
Associate Manager, Software Engineering
Red Hat Czech s.r.o.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20180329/08939f6b/attachment.html>


More information about the Users mailing list