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