[ClusterLabs] hi list
Ken Gaillot
kgaillot at redhat.com
Fri Sep 30 15:25:46 UTC 2016
On 09/30/2016 10:10 AM, Антон Сацкий wrote:
> so U mean that in fact IPaddr is IPaddr2 version
> Is there a way to see that ip address was added except to see logs?
> Before i can see ip using ifconfig
> Regards and thanks for reply.
"ip address show" (which can be abbreviated "ip a")
See https://tty1.net/blog/2010/ifconfig-ip-comparison_en.html
>
>
> 2016-09-30 16:14 GMT+03:00 Klaus Wenninger <kwenning at redhat.com
> <mailto:kwenning at redhat.com>>:
>
> On 09/30/2016 02:39 PM, Антон Сацкий wrote:
> > Greeting for everyone
> > Got a question is it normal?
> >
> > below i can see
> >
> > Running /etc/ha.d/resource.d/IPaddr 10.0.10.113/24/eth1/10.0.10.255 <http://10.0.10.113/24/eth1/10.0.10.255>
> > <http://10.0.10.113/24/eth1/10.0.10.255
> <http://10.0.10.113/24/eth1/10.0.10.255>> start
> > IPaddr(IPaddr_10.0.10.113)[2085]: 2016/09/30_15:13:39 INFO: Adding
> > inet address 10.0.10.113/24 <http://10.0.10.113/24>
> <http://10.0.10.113/24> with broadcast
> > address 10.0.10.255 to device eth1
> > IPaddr(IPaddr_10.0.10.113)[2085]: 2016/09/30_15:13:39 INFO:
> > Bringing device eth1 up
> >
> > but when i run ifconfig
> > i cant see 10.0.10.113 as eth1:0
>
> That is fine IPaddr uses subinterfaces.
> As this is not the state of the art way to setup
> multiple IP addresses on one physical interface
> anymore IPaddr2 doesn't use subinterfaces
> anymore.
>
> Regards,
> Klaus
>
>
> >
> >
> > BUT IT EXIST
> > i can ping 10.0.10.113 from pouter and it is this server
> >
> > PS
> > heartbeat.x86_64
> > 3.0.4-2.el6
> > @epe
> >
> > Centos 6.8
> >
> >
> >
> > Sep 30 15:02:24 voipserver.drbd heartbeat: [1568]: WARN:
> > string2msg_ll: node [asterisk.retail.ua
> <http://asterisk.retail.ua> <http://asterisk.retail.ua>]
> > failed authentication
> > Sep 30 15:02:28 voipserver.drbd heartbeat: [1568]: info: Heartbeat
> > shutdown in progress. (1568)
> > Sep 30 15:02:28 voipserver.drbd heartbeat: [2768]: info: Giving up all
> > HA resources.
> > ResourceManager(default)[2781]: 2016/09/30_15:02:28 info: Releasing
> > resource group: voipserver.drbd drbddisk::r0
> > Filesystem::/dev/drbd0::/replica::ext4
> > IPaddr::10.0.10.113/24/eth1/10.0.10.255 <http://10.0.10.113/24/eth1/10.0.10.255>
> > <http://10.0.10.113/24/eth1/10.0.10.255
> <http://10.0.10.113/24/eth1/10.0.10.255>> mysqld asterisk httpd
> > ResourceManager(default)[2781]: 2016/09/30_15:02:28 info: Running
> > /etc/init.d/httpd stop
> > ResourceManager(default)[2781]: 2016/09/30_15:02:28 info: Running
> > /etc/init.d/asterisk stop
> > ResourceManager(default)[2781]: 2016/09/30_15:02:28 info: Running
> > /etc/init.d/mysqld stop
> > Sep 30 15:02:29 voipserver.drbd heartbeat: [1568]: WARN:
> > string2msg_ll: node [asterisk.retail.ua
> <http://asterisk.retail.ua> <http://asterisk.retail.ua>]
> > failed authentication
> > ResourceManager(default)[2781]: 2016/09/30_15:02:30 info: Running
> > /etc/ha.d/resource.d/IPaddr 10.0.10.113/24/eth1/10.0.10.255 <http://10.0.10.113/24/eth1/10.0.10.255>
> > <http://10.0.10.113/24/eth1/10.0.10.255
> <http://10.0.10.113/24/eth1/10.0.10.255>> stop
> > IPaddr(IPaddr_10.0.10.113)[2960]: 2016/09/30_15:02:30 INFO: IP
> > status = ok, IP_CIP=
> > /usr/lib/ocf/resource.d//heartbeat/IPaddr(IPaddr_10.0.10.113)[2934]:
> > 2016/09/30_15:02:30 INFO: Success
> > ResourceManager(default)[2781]: 2016/09/30_15:02:30 info: Running
> > /etc/ha.d/resource.d/Filesystem /dev/drbd0 /replica ext4 stop
> > Filesystem(Filesystem_/dev/drbd0)[3050]: 2016/09/30_15:02:31 INFO:
> > Running stop for /dev/drbd0 on /replica
> > Filesystem(Filesystem_/dev/drbd0)[3050]: 2016/09/30_15:02:31 INFO:
> > Trying to unmount /replica
> > Filesystem(Filesystem_/dev/drbd0)[3050]: 2016/09/30_15:02:31 INFO:
> > unmounted /replica successfully
> >
> /usr/lib/ocf/resource.d//heartbeat/Filesystem(Filesystem_/dev/drbd0)[3042]:
> > 2016/09/30_15:02:31 INFO: Success
> > ResourceManager(default)[2781]: 2016/09/30_15:02:31 info: Running
> > /etc/ha.d/resource.d/drbddisk r0 stop
> > Sep 30 15:02:31 voipserver.drbd heartbeat: [2768]: info: All HA
> > resources relinquished.
> > Sep 30 15:02:31 voipserver.drbd heartbeat: [1568]: WARN: 1 lost
> > packet(s) for [voipbackup.drbd] [358:360]
> > Sep 30 15:02:31 voipserver.drbd heartbeat: [1568]: info: No pkts
> > missing from voipbackup.drbd!
> > Sep 30 15:02:33 voipserver.drbd heartbeat: [1568]: info: killing
> > HBFIFO process 1578 with signal 15
> > Sep 30 15:02:33 voipserver.drbd heartbeat: [1568]: info: killing
> > HBWRITE process 1580 with signal 15
> > Sep 30 15:02:33 voipserver.drbd heartbeat: [1568]: info: killing
> > HBREAD process 1581 with signal 15
> > Sep 30 15:02:33 voipserver.drbd heartbeat: [1568]: info: Core process
> > 1578 exited. 3 remaining
> > Sep 30 15:02:33 voipserver.drbd heartbeat: [1568]: info: Core process
> > 1580 exited. 2 remaining
> > Sep 30 15:02:33 voipserver.drbd heartbeat: [1568]: info: Core process
> > 1581 exited. 1 remaining
> > Sep 30 15:02:33 voipserver.drbd heartbeat: [1568]: info:
> > voipserver.drbd Heartbeat shutdown complete.
> > Sep 30 15:13:29 voipserver.drbd heartbeat: [1569]: info: Pacemaker
> > support: false
> > Sep 30 15:13:29 voipserver.drbd heartbeat: [1569]: WARN: Logging
> > daemon is disabled --enabling logging daemon is recommended
> > Sep 30 15:13:29 voipserver.drbd heartbeat: [1569]: info:
> > **************************
> > Sep 30 15:13:29 voipserver.drbd heartbeat: [1569]: info: Configuration
> > validated. Starting heartbeat 3.0.4
> > Sep 30 15:13:29 voipserver.drbd heartbeat: [1570]: info: heartbeat:
> > version 3.0.4
> > Sep 30 15:13:29 voipserver.drbd heartbeat: [1570]: info: Heartbeat
> > generation: 1475232448
> > Sep 30 15:13:29 voipserver.drbd heartbeat: [1570]: info: glib: UDP
> > Broadcast heartbeat started on port 694 (694) interface eth1
> > Sep 30 15:13:29 voipserver.drbd heartbeat: [1570]: info: glib: UDP
> > Broadcast heartbeat closed on port 694 interface eth1 - Status: 1
> > Sep 30 15:13:29 voipserver.drbd heartbeat: [1570]: info:
> > G_main_add_TriggerHandler: Added signal manual handler
> > Sep 30 15:13:29 voipserver.drbd heartbeat: [1570]: info:
> > G_main_add_TriggerHandler: Added signal manual handler
> > Sep 30 15:13:29 voipserver.drbd heartbeat: [1570]: info:
> > G_main_add_SignalHandler: Added signal handler for signal 17
> > Sep 30 15:13:29 voipserver.drbd heartbeat: [1570]: info: Local status
> > now set to: 'up'
> > Sep 30 15:13:29 voipserver.drbd heartbeat: [1570]: info: Link
> > voipserver.drbd:eth1 up.
> > Sep 30 15:13:31 voipserver.drbd heartbeat: [1570]: info: Link
> > voipbackup.drbd:eth1 up.
> > Sep 30 15:13:31 voipserver.drbd heartbeat: [1570]: info: Status update
> > for node voipbackup.drbd: status active
> > harc(default)[1693]: 2016/09/30_15:13:31 info: Running
> > /etc/ha.d//rc.d/status status
> > Sep 30 15:13:31 voipserver.drbd heartbeat: [1570]: info:
> > Comm_now_up(): updating status to active
> > Sep 30 15:13:31 voipserver.drbd heartbeat: [1570]: info: Local status
> > now set to: 'active'
> > Sep 30 15:13:32 voipserver.drbd heartbeat: [1570]: info: remote
> > resource transition completed.
> > Sep 30 15:13:32 voipserver.drbd heartbeat: [1570]: info: remote
> > resource transition completed.
> > Sep 30 15:13:32 voipserver.drbd heartbeat: [1570]: info: Local
> > Resource acquisition completed. (none)
> > Sep 30 15:13:32 voipserver.drbd heartbeat: [1570]: info:
> > voipbackup.drbd wants to go standby [foreign]
> > Sep 30 15:13:34 voipserver.drbd heartbeat: [1570]: WARN:
> > string2msg_ll: node [asterisk.retail.ua
> <http://asterisk.retail.ua> <http://asterisk.retail.ua>]
> > failed authentication
> > Sep 30 15:13:39 voipserver.drbd heartbeat: [1570]: info: standby:
> > acquire [foreign] resources from voipbackup.drbd
> > Sep 30 15:13:39 voipserver.drbd heartbeat: [1713]: info: acquire local
> > HA resources (standby).
> > ResourceManager(default)[1726]: 2016/09/30_15:13:39 info: Acquiring
> > resource group: voipserver.drbd drbddisk::r0
> > Filesystem::/dev/drbd0::/replica::ext4
> > IPaddr::10.0.10.113/24/eth1/10.0.10.255 <http://10.0.10.113/24/eth1/10.0.10.255>
> > <http://10.0.10.113/24/eth1/10.0.10.255
> <http://10.0.10.113/24/eth1/10.0.10.255>> mysqld asterisk httpd
> > ResourceManager(default)[1726]: 2016/09/30_15:13:39 info: Running
> > /etc/ha.d/resource.d/drbddisk r0 start
> > /usr/lib/ocf/resource.d//heartbeat/Filesystem(Filesystem_/dev/drbd0)[1794]:
> > 2016/09/30_15:13:39 INFO: Resource is stopped
> > ResourceManager(default)[1726]: 2016/09/30_15:13:39 info: Running
> > /etc/ha.d/resource.d/Filesystem /dev/drbd0 /replica ext4 start
> > Filesystem(Filesystem_/dev/drbd0)[1884]: 2016/09/30_15:13:39 INFO:
> > Running start for /dev/drbd0 on /replica
> > /usr/lib/ocf/resource.d//heartbeat/Filesystem(Filesystem_/dev/drbd0)[1876]:
> > 2016/09/30_15:13:39 INFO: Success
> > /usr/lib/ocf/resource.d//heartbeat/IPaddr(IPaddr_10.0.10.113)[1961]:
> > 2016/09/30_15:13:39 INFO: Resource is stopped
> > ResourceManager(default)[1726]: 2016/09/30_15:13:39 info: Running
> > /etc/ha.d/resource.d/IPaddr 10.0.10.113/24/eth1/10.0.10.255 <http://10.0.10.113/24/eth1/10.0.10.255>
> > <http://10.0.10.113/24/eth1/10.0.10.255
> <http://10.0.10.113/24/eth1/10.0.10.255>> start
> > IPaddr(IPaddr_10.0.10.113)[2085]: 2016/09/30_15:13:39 INFO: Adding
> > inet address 10.0.10.113/24 <http://10.0.10.113/24>
> <http://10.0.10.113/24> with broadcast
> > address 10.0.10.255 to device eth1
> > IPaddr(IPaddr_10.0.10.113)[2085]: 2016/09/30_15:13:39 INFO:
> > Bringing device eth1 up
> > IPaddr(IPaddr_10.0.10.113)[2085]: 2016/09/30_15:13:39 INFO:
> > /usr/libexec/heartbeat/send_arp -i 200 -r 5 -p
> > /var/run/resource-agents/send_arp-10.0.10.113 eth1 10.0.10.113 auto
> > not_used not_used
> > /usr/lib/ocf/resource.d//heartbeat/IPaddr(IPaddr_10.0.10.113)[2059]:
> > 2016/09/30_15:13:39 INFO: Success
> > ResourceManager(default)[1726]: 2016/09/30_15:13:39 info: Running
> > /etc/init.d/mysqld start
> > Sep 30 15:13:39 voipserver.drbd heartbeat: [1570]: WARN:
> > string2msg_ll: node [asterisk.retail.ua
> <http://asterisk.retail.ua> <http://asterisk.retail.ua>]
> > failed authentication
> > ResourceManager(default)[1726]: 2016/09/30_15:13:40 info: Running
> > /etc/init.d/asterisk start
> > ResourceManager(default)[1726]: 2016/09/30_15:13:40 info: Running
> > /etc/init.d/httpd start
> > Sep 30 15:13:40 voipserver.drbd heartbeat: [1713]: info: local HA
> > resource acquisition completed (standby).
> > Sep 30 15:13:40 voipserver.drbd heartbeat: [1570]: info: Standby
> > resource acquisition done [foreign].
> > Sep 30 15:13:40 voipserver.drbd heartbeat: [1570]: info: Initial
> > resource acquisition complete (auto_failback)
> > Sep 30 15:13:41 voipserver.drbd heartbeat: [1570]: info: remote
> > resource transition completed.
> > Sep 30 15:13:44 voipserver.drbd heartbeat: [1570]: WARN:
> > string2msg_ll: node [asterisk.retail.ua
> <http://asterisk.retail.ua> <http://asterisk.retail.ua>]
> > failed authentication
> >
> >
> >
> > --
> > Best regards
> > Antony
> > tel. +380669197533 <tel:%2B380669197533>
> > tel2. +380636564340 <tel:%2B380636564340>
> > Paypal http://paypal.me/Satskiy
> >
> <http://paypal.me/Satskiy?ppid=PPC000654&cnac=PL&rsta=en_PL%28en_DK%29&cust=NN8XJS9XEP22C&unptid=21db79ac-ef8d-11e5-9553-9c8e992ea258&t=&cal=4d776c21ca7d2&calc=4d776c21ca7d2&calf=4d776c21ca7d2&unp_tpcid=ppme-social-business-profile-created&page=main:email&pgrp=main:email&e=op&mchn=em&s=ci&mail=sys
> <http://paypal.me/Satskiy?ppid=PPC000654&cnac=PL&rsta=en_PL%28en_DK%29&cust=NN8XJS9XEP22C&unptid=21db79ac-ef8d-11e5-9553-9c8e992ea258&t=&cal=4d776c21ca7d2&calc=4d776c21ca7d2&calf=4d776c21ca7d2&unp_tpcid=ppme-social-business-profile-created&page=main:email&pgrp=main:email&e=op&mchn=em&s=ci&mail=sys>>
> > satskiy.a at gmail.com <mailto:satskiy.a at gmail.com>
> <mailto:mail%3Asatskiy.a at gmail.com
> <mailto:mail%253Asatskiy.a at gmail.com>>
> >
> >
> > _______________________________________________
> > Users mailing list: Users at clusterlabs.org
> <mailto:Users at clusterlabs.org>
> > http://clusterlabs.org/mailman/listinfo/users
> <http://clusterlabs.org/mailman/listinfo/users>
> >
> > Project Home: http://www.clusterlabs.org
> > Getting started:
> http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> <http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf>
> > Bugs: http://bugs.clusterlabs.org
>
>
>
> _______________________________________________
> Users mailing list: Users at clusterlabs.org <mailto:Users at clusterlabs.org>
> http://clusterlabs.org/mailman/listinfo/users
> <http://clusterlabs.org/mailman/listinfo/users>
>
> Project Home: http://www.clusterlabs.org
> Getting started:
> http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> <http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf>
> Bugs: http://bugs.clusterlabs.org
>
>
>
>
> --
> Best regards
> Antony
> tel. +380669197533
> tel2. +380636564340
> Paypal http://paypal.me/Satskiy
> <http://paypal.me/Satskiy?ppid=PPC000654&cnac=PL&rsta=en_PL%28en_DK%29&cust=NN8XJS9XEP22C&unptid=21db79ac-ef8d-11e5-9553-9c8e992ea258&t=&cal=4d776c21ca7d2&calc=4d776c21ca7d2&calf=4d776c21ca7d2&unp_tpcid=ppme-social-business-profile-created&page=main:email&pgrp=main:email&e=op&mchn=em&s=ci&mail=sys>
> satskiy.a at gmail.com <mailto:mail%3Asatskiy.a at gmail.com>
>
More information about the Users
mailing list