1 |
apologies, typo at 4 am... :( |
2 |
|
3 |
file actually contains 'inet1a IPaddr::66.193.14.126::start' |
4 |
|
5 |
heartbeat daemon starts successfully with 'inet1a 66.193.14.126' : |
6 |
|
7 |
heartbeat: 2005/07/10_14:00:46 info: ************************** |
8 |
heartbeat: 2005/07/10_14:00:46 info: Configuration validated. |
9 |
Starting heartbeat 1.2.3 |
10 |
|
11 |
log output with 'inet1a 66.193.14.126' : |
12 |
|
13 |
Jul 10 14:00:46 [heartbeat] info: ************************** |
14 |
Jul 10 14:00:46 [heartbeat] info: Configuration validated. Starting |
15 |
heartbeat 1.2.3 |
16 |
Jul 10 14:00:46 [heartbeat] info: heartbeat: version 1.2.3 |
17 |
Jul 10 14:00:46 [heartbeat] info: Heartbeat generation: 22 |
18 |
Jul 10 14:00:46 [heartbeat] info: ucast: write socket priority set to |
19 |
IPTOS_LOWDELAY on eth1 |
20 |
Jul 10 14:00:46 [heartbeat] info: ucast: bound send socket to device: |
21 |
eth1 |
22 |
Jul 10 14:00:46 [heartbeat] info: ucast: bound receive socket to |
23 |
device: eth1 |
24 |
Jul 10 14:00:46 [heartbeat] info: ucast: started on port 694 |
25 |
interface eth1 to 192.168.1.1 |
26 |
Jul 10 14:00:46 [heartbeat] info: ping heartbeat started. |
27 |
Jul 10 14:00:46 [heartbeat] info: pid 1374 locked in memory. |
28 |
Jul 10 14:00:46 [heartbeat] info: Local status now set to: 'up' |
29 |
Jul 10 14:00:46 [heartbeat] info: pid 1408 locked in memory. |
30 |
Jul 10 14:00:47 [heartbeat] info: pid 1405 locked in memory. |
31 |
Jul 10 14:00:47 [heartbeat] info: pid 1406 locked in memory. |
32 |
Jul 10 14:00:47 [heartbeat] info: pid 1407 locked in memory. |
33 |
Jul 10 14:00:47 [heartbeat] info: pid 1409 locked in memory. |
34 |
Jul 10 14:00:47 [heartbeat] info: Link 66.193.14.1:66.193.14.1 up. |
35 |
Jul 10 14:00:47 [heartbeat] info: Status update for node 66.193.14.1: |
36 |
status ping |
37 |
|
38 |
heartbeat starts but throws a usage error with 'ineta IPaddr:: |
39 |
66.193.14.126::start' : |
40 |
|
41 |
heartbeat: 2005/07/10_14:03:30 info: ************************** |
42 |
heartbeat: 2005/07/10_14:03:30 info: Configuration validated. |
43 |
Starting heartbeat 1.2.3 |
44 |
usage: /etc/ha.d/resource.d/IPaddr ip-address {start|stop|status| |
45 |
monitor [ ok ] |
46 |
|
47 |
log output with ineta IPaddr::66.193.14.126::start' : |
48 |
|
49 |
Jul 10 14:03:30 [heartbeat] info: ************************** |
50 |
Jul 10 14:03:30 [heartbeat] info: Configuration validated. Starting |
51 |
heartbeat 1.2.3 |
52 |
Jul 10 14:03:30 [heartbeat] info: heartbeat: version 1.2.3 |
53 |
Jul 10 14:03:30 [heartbeat] info: Heartbeat generation: 23 |
54 |
Jul 10 14:03:30 [heartbeat] info: ucast: write socket priority set to |
55 |
IPTOS_LOWDELAY on eth1 |
56 |
Jul 10 14:03:30 [heartbeat] info: ucast: bound send socket to device: |
57 |
eth1 |
58 |
Jul 10 14:03:30 [heartbeat] info: ucast: bound receive socket to |
59 |
device: eth1 |
60 |
Jul 10 14:03:30 [heartbeat] info: ucast: started on port 694 |
61 |
interface eth1 to 192.168.1.1 |
62 |
Jul 10 14:03:30 [heartbeat] info: ping heartbeat started. |
63 |
Jul 10 14:03:30 [heartbeat] info: pid 1747 locked in memory. |
64 |
Jul 10 14:03:30 [heartbeat] info: Local status now set to: 'up' |
65 |
Jul 10 14:03:31 [heartbeat] info: pid 1771 locked in memory. |
66 |
Jul 10 14:03:31 [heartbeat] info: pid 1772 locked in memory. |
67 |
Jul 10 14:03:31 [heartbeat] info: pid 1773 locked in memory. |
68 |
Jul 10 14:03:31 [heartbeat] info: pid 1774 locked in memory. |
69 |
Jul 10 14:03:31 [heartbeat] info: pid 1775 locked in memory. |
70 |
Jul 10 14:03:31 [heartbeat] info: Link 66.193.14.1:66.193.14.1 up. |
71 |
Jul 10 14:03:31 [heartbeat] info: Status update for node 66.193.14.1: |
72 |
status ping |
73 |
|
74 |
no arguments are passed, in testing i've edited the /etc/ha.d/ |
75 |
resource.d/IPaddr file to echo $1 and $2 instead of usage and no |
76 |
arguments are being received. |
77 |
|
78 |
my ha.cf file: |
79 |
|
80 |
logfacility local0 |
81 |
keepalive 1 |
82 |
deadtime 10 |
83 |
warntime 2 |
84 |
initdead 120 |
85 |
udpport 694 |
86 |
ucast eth1 192.168.1.1 192.168.1.2 |
87 |
auto_failback on |
88 |
node inet1a |
89 |
node inet1b |
90 |
ping 66.193.14.1 |
91 |
respawn cluster /usr/lib/heartbeat/ipfail |
92 |
|
93 |
uname -a output, if relevant: |
94 |
|
95 |
Linux inet1a 2.6.11-hardened-r1-bbix-20050430 #3 SMP Fri Jun 24 |
96 |
05:27:37 GMT 2005 x86_64 AMD Opteron(tm) Processor 146 AuthenticAMD |
97 |
GNU/Linux |
98 |
|
99 |
thanks for any help again, |
100 |
|
101 |
bryan |
102 |
|
103 |
On Jul 10, 2005, at 7:11 AM, andrea ferraris wrote: |
104 |
|
105 |
> bryan stalcup wrote: |
106 |
> |
107 |
>> running version 1.2.3 on amd64. |
108 |
>> anyone have any idea why a haresources file with 'inet1a |
109 |
>> 66.193.14.126' won't start the ip address? i can run '/etc/ha.d/ |
110 |
>> resource.d/IPaddr 66.193.14.126 start' in a console and it works |
111 |
>> just fine, but it seems the arguments don't get passed, even with |
112 |
>> 'inet1a IPaddr::66.193.14.126:start' |
113 |
>> |
114 |
> |
115 |
> I reply only because the ml is not very crowded (about a message |
116 |
> for month), but I don't have my clusters under the fingers, so I |
117 |
> can't check better than you and I dont remember with precision. |
118 |
> |
119 |
> I can only give generic advices, it is: |
120 |
> |
121 |
> - check the syntax of your configuration file |
122 |
> |
123 |
> - check that the daemon is running |
124 |
> |
125 |
> - check the logs |
126 |
> |
127 |
> and follow the good examples in docs. |
128 |
> |
129 |
> Regards, |
130 |
> Andrea |
131 |
> |
132 |
> P.S.: I don't remember the ":start" at the end of the cfg file |
133 |
> line, are you sure that's right and with only a ":" before the |
134 |
> "start"? |
135 |
> -- |
136 |
> gentoo-cluster@g.o mailing list |
137 |
> |
138 |
> |
139 |
|
140 |
-- |
141 |
gentoo-cluster@g.o mailing list |