[Pacemaker] problem conntecting ssh on the nodes

2009-10-27 Thread gilberto migliavacca

Hi

I have 2 nodes and 1 node that I'm using just
to manage the cluster.

I started up the nodes and created the configuration
for the 2 nodes (e.g. with IPaddr2 and Tomcat)

Now I cannot ssh on the two managed nodes.
I'using 3 Virtual Machine VMWare with Centos.

Do you have any experience about conflit between
ssh and pacemaker?

thanks in advance

gilberto

___
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker


Re: [Pacemaker] problem conntecting ssh on the nodes

2009-10-27 Thread Michael Schwartzkopff
Am Dienstag, 27. Oktober 2009 11:56:46 schrieb gilberto migliavacca:
 Hi

 I have 2 nodes and 1 node that I'm using just
 to manage the cluster.

 I started up the nodes and created the configuration
 for the 2 nodes (e.g. with IPaddr2 and Tomcat)

 Now I cannot ssh on the two managed nodes.
 I'using 3 Virtual Machine VMWare with Centos.

 Do you have any experience about conflit between
 ssh and pacemaker?

 thanks in advance

 gilberto

Hi,

no conflict between ssh and pacemaker. Other thoughts:
- local firewall?
- packet traces with tcpdump?
- are you able to access the servers without pacemaker running?
...


-- 
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75

mail: mi...@multinet.de
web: www.multinet.de

Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht München HRB 114375
Geschäftsführer: Günter Jurgeneit, Hubert Martens

---

PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42

___
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker


Re: [Pacemaker] cannot start/stop apache from the manager node

2009-10-27 Thread Michael Schwartzkopff
Am Dienstag, 27. Oktober 2009 14:55:42 schrieb gilberto migliavacca:
 Hi

 I have 2 nodes and 1 node that I'm using just
 to manage the cluster.

 I started up the nodes and created the following
 configuration :

 node custdevc03.funambol.com
 node custdevc04.funambol.com
 node custdevc05.funambol.com
 primitive res.ip.m63 ocf:heartbeat:IPaddr2 \
  params ip=172.16.20.63 \
  op monitor interval=2s timeout=1s
 primitive res.ocf.apache63 ocf:heartbeat:apache \
  params configfile=/etc/httpd/conf/httpd.conf \
  op monitor interval=30s timeout=10s \
  meta target-role=Started
 location lo.m63 res.ip.m63 -inf: custdevc04.funambol.com
 colocation co.apache63_on_m63 -inf: res.ocf.apache63 res.ip.m63
 order o.m63_before_apache63 inf: res.ip.m63 res.ocf.apache63:start
 property $id=cib-bootstrap-options \
  dc-version=1.0.5-462f1569a43740667daf7b0f6b521742e9eb8fa7 \
  cluster-infrastructure=openais \
  expected-quorum-votes=3 \
  stonith-enabled=false



 the problem is that I cannot manage the apache instance
 on the machine 63.

Sorry, but was is machine63? You have custdevc03, 04 and 05. Did you mean: 
The machine that run resource res.ip.m63?

Then why did yor *forbid* to run both resources on the same machine with
*-inf* points in the colocation?

 When I run
 - crm(live)resource# start res.ocf.apache63
 Nothing happen on the 63 machine, the apache service is down

 these are my questions
 - did I take all the steps correctly?
Depends on what you want to do.

 - is my confoguration correct?
Depends on what you want to do.

 - Have I to remove the start up script in the /etc/init.d?
No. Just be sure that it is NOT called during the system start.

 - How can I check the log of the pacemaker in order to understand the
 issue?
Read the logs /var/log/syslog or /var/log/messages. grep for  
res.ocf.apache63 and search for ERROR.

-- 
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75

mail: mi...@multinet.de
web: www.multinet.de

Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht München HRB 114375
Geschäftsführer: Günter Jurgeneit, Hubert Martens

---

PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42

___
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker


[Pacemaker] strange behaviour for ssh and eth0

2009-10-27 Thread gilberto migliavacca

Hi


I have 2 nodes and 1 node that I'm using just
to manage the cluster.

I started up the nodes and created the following
configuration :


node custdevc03.funambol.com
node custdevc04.funambol.com
node custdevc05.funambol.com
primitive res.ip.m63 ocf:heartbeat:IPaddr2 \
params ip=172.16.20.63 \
op monitor interval=2s timeout=1s
primitive res.ip.m64 ocf:heartbeat:IPaddr2 \
params ip=172.16.20.64 \
op monitor interval=2s timeout=1s
property $id=cib-bootstrap-options \
dc-version=1.0.5-462f1569a43740667daf7b0f6b521742e9eb8fa7 \
cluster-infrastructure=openais \
expected-quorum-votes=3 \
stonith-enabled=false


when I commit this configuration the ssh connection (on the non standard 
port ) goes down and the ifconfig command doesn't show the eth0

network interface on one machine (i.e. 64)

moreover when I try to ssh again on the 64 there is a redirect on the 63.

It seems that both machine have the same ip: 63

could anyone explain this behaviour?

thanks in advance

gilberto

___
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker


Re: [Pacemaker] cannot start/stop apache from the manager node

2009-10-27 Thread gilberto migliavacca

Hi Michael

Sorry, but was is machine63? You have custdevc03, 04 and 05. Did you 
mean: The machine that run resource res.ip.m63?


--- YES


my purpose is to have 3 apaches on 3 machines

and I'd like to start/stop manually one of them.


have I to assign a Vritual IP? (I've seen that IPaddr2/IPaddr work
on the virtual IP)?

can I use the real IP with a different resource agent (e.g. IPsrcaddr)?


thanks

gilberto




Michael Schwartzkopff wrote:

Am Dienstag, 27. Oktober 2009 14:55:42 schrieb gilberto migliavacca:

Hi

I have 2 nodes and 1 node that I'm using just
to manage the cluster.

I started up the nodes and created the following
configuration :

node custdevc03.funambol.com
node custdevc04.funambol.com
node custdevc05.funambol.com
primitive res.ip.m63 ocf:heartbeat:IPaddr2 \
 params ip=172.16.20.63 \
 op monitor interval=2s timeout=1s
primitive res.ocf.apache63 ocf:heartbeat:apache \
 params configfile=/etc/httpd/conf/httpd.conf \
 op monitor interval=30s timeout=10s \
 meta target-role=Started
location lo.m63 res.ip.m63 -inf: custdevc04.funambol.com
colocation co.apache63_on_m63 -inf: res.ocf.apache63 res.ip.m63
order o.m63_before_apache63 inf: res.ip.m63 res.ocf.apache63:start
property $id=cib-bootstrap-options \
 dc-version=1.0.5-462f1569a43740667daf7b0f6b521742e9eb8fa7 \
 cluster-infrastructure=openais \
 expected-quorum-votes=3 \
 stonith-enabled=false



the problem is that I cannot manage the apache instance
on the machine 63.


Sorry, but was is machine63? You have custdevc03, 04 and 05. Did you mean: 
The machine that run resource res.ip.m63?


Then why did yor *forbid* to run both resources on the same machine with
*-inf* points in the colocation?


When I run
- crm(live)resource# start res.ocf.apache63
Nothing happen on the 63 machine, the apache service is down

these are my questions
- did I take all the steps correctly?

Depends on what you want to do.


- is my confoguration correct?

Depends on what you want to do.


- Have I to remove the start up script in the /etc/init.d?

No. Just be sure that it is NOT called during the system start.


- How can I check the log of the pacemaker in order to understand the
issue?
Read the logs /var/log/syslog or /var/log/messages. grep for  
res.ocf.apache63 and search for ERROR.





___
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker


[Pacemaker] Installed (but unpackaged) file(s) found

2009-10-27 Thread Joe Keller
I downloaded the latest heartbeat (2.99.2-9.1) and pacemaker src rpms but
when I tried building heartbeat I got the following error:

RPM build errors:
Installed (but unpackaged) file(s) found:
   /usr/lib64/heartbeat/plugins/quorumd/2_0_8.so
   /usr/lib64/heartbeat/quorumd
   /usr/lib64/heartbeat/quorumdtest


The so and quorumdtest files are commented out in the %files section of the
spec file.  And quorumd isn't listed in the %files section.  Can you give me
a hint as to why this is?  By the way, I am building on a CentOS 5.3 based
distribution.

Thanks,
Joe
___
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker


[Pacemaker] OCF RA script for ActiveMQ = 5.2

2009-10-27 Thread Romain CHANU
Hi everyone,

I am working on a two-node cluster with Pacemaker / DRBD / ActiveMQ. I have
been looking for a OCF RA script for ActiveMQ = 5.2 without success.

Has anyone developed such script?

Thank you for your help.

Romain Chanu
___
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker