Re: [ClusterLabs] hi list

2016-09-30 Thread Dimitri Maziuk
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

They removed ifconfig fro the default package set in RH7 so better get
used to "ip".

-- 
Dimitri Maziuk
Programmer/sysadmin
BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu



signature.asc
Description: OpenPGP digital signature
___
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] hi list

2016-09-30 Thread Ken Gaillot
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  >:
> 
> 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 
> 
> >  > start
> > IPaddr(IPaddr_10.0.10.113)[2085]:2016/09/30_15:13:39 INFO: Adding
> > inet address 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
>  ]
> > 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 
> 
> >  > 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
>  ]
> > 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 
> 
> >  > 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]: 

Re: [ClusterLabs] hi list

2016-09-30 Thread israel

On 09/30/2016 04:39, Антон Сацкий 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
[1] start
IPaddr(IPaddr_10.0.10.113)[2085]:2016/09/30_15:13:39 INFO: Adding
inet address 10.0.10.113/24 [2] 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


When creating an address using the ocf:heartbeat:IPaddr2 module (not 
sure if module is the right terminology, but whatever), you need to 
specify the iflabel= option to get it to show up in ifconfig. Otherwise 
it doesn't show up, as you have noticed. If you used some other module 
to create the IP address, then I couldn't say if the same solution 
applies.


Israel Brewster
Ravn Alaska
Systems Analyst II



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 [3]] 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 [1] 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 [3]] 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 [1] 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: