Re: [ClusterLabs] PCS, Corosync, Pacemaker, and Bind (Ken Gaillot)

2016-03-19 Thread Andrei Borzenkov
On Wed, Mar 16, 2016 at 9:35 PM, Mike Bernhardt  wrote:
> I guess I have to say "never mind!" I don't know what the problem was
> yesterday, but it loads just fine today, even when the named config and the
> virtual ip don't match! But for your edamacation, ifconfig does NOT show the
> address although ip addr does:
>

That's normal. ifconfig knows nothing about addresses added using "ip
addr add". You can make it visible to ifconfig by adding label:

ip addr add dev eth1 ... label eth1:my-label

___
Users mailing list: Users@clusterlabs.org
http://clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [ClusterLabs] PCS, Corosync, Pacemaker, and Bind (Ken Gaillot)

2016-03-19 Thread Dennis Jacobfeuerborn
On 17.03.2016 08:45, Andrei Borzenkov wrote:
> On Wed, Mar 16, 2016 at 9:35 PM, Mike Bernhardt  wrote:
>> I guess I have to say "never mind!" I don't know what the problem was
>> yesterday, but it loads just fine today, even when the named config and the
>> virtual ip don't match! But for your edamacation, ifconfig does NOT show the
>> address although ip addr does:
>>
> 
> That's normal. ifconfig knows nothing about addresses added using "ip
> addr add". You can make it visible to ifconfig by adding label:
> 
> ip addr add dev eth1 ... label eth1:my-label

Just stop using ifconfig/route and keep using the ip command.
ifconfig/route have been deprecated for a decade now and I know old
habits die hard but at some point you just have to move on otherwise you
might end up like those admins who stopped learning in the 80s and now
haunt discussion forums mostly contributing snark and negativity because
they've come to hate their jobs.

Regards,
  Dennis



___
Users mailing list: Users@clusterlabs.org
http://clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [ClusterLabs] PCS, Corosync, Pacemaker, and Bind (Ken Gaillot)

2016-03-18 Thread Mike Bernhardt
I guess I have to say "never mind!" I don't know what the problem was
yesterday, but it loads just fine today, even when the named config and the
virtual ip don't match! But for your edamacation, ifconfig does NOT show the
address although ip addr does:

ip addr
1: lo:  mtu 65536 qdisc noqueue state UNKNOWN 
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:  mtu 1500 qdisc mq state UP qlen
1000
link/ether 00:50:56:8b:d0:f7 brd ff:ff:ff:ff:ff:ff
inet 192.168.30.36/26 brd 192.168.30.63 scope global eth0
   valid_lft forever preferred_lft forever
inet 192.168.30.38/26 brd 192.168.30.63 scope global secondary eth0
   valid_lft forever preferred_lft forever

ifconfig -a eth0
eth0: flags=4163  mtu 1500
inet 192.168.30.36  netmask 255.255.255.192  broadcast 192.168.30.63
ether 00:50:56:8b:d0:f7  txqueuelen 1000  (Ethernet)
RX packets 1169357  bytes 163514247 (155.9 MiB)
RX errors 0  dropped 4639  overruns 0  frame 0
TX packets 1351613  bytes 210957790 (201.1 MiB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


___
Users mailing list: Users@clusterlabs.org
http://clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org