Re: [Pacemaker] Installing pacemaker on aws ec2 server

2012-12-18 Thread Yossi Nachum
Its amazon ami, it is based on redhat
On Dec 18, 2012 3:58 AM, Andrew Beekhof and...@beekhof.net wrote:

 On Mon, Dec 17, 2012 at 7:02 PM, Yossi Nachum nachum...@gmail.com wrote:
  I fix this error using LIBS enviroment variable
  I run: export LIBS=/lib64/libtinfo.so.5
  then ./configure again and then make completed successfully

 Which distro?  Sounds like ncurses isn't packaged properly.

 
 
  On Mon, Dec 17, 2012 at 9:02 AM, Yossi Nachum nachum...@gmail.com
 wrote:
 
  Hi,
  I am trying to install pacemaker on amazon ec2 ami instance.
  I tried to install using the packages from pacemaker repository but had
  many missing dependencies to I tried to compile from source.
  I downlad the source using git run ./autogen.sh and configure
 successfully
  but when I tried to make I get the following error:
 
  make[1]: Entering directory `/usr/local/src/pacemaker/tools'
CCLD   crm_mon
  /usr/bin/ld: crm_mon.o: undefined reference to symbol 'cbreak'
  /usr/bin/ld: note: 'cbreak' is defined in DSO /lib64/libtinfo.so.5 so
 try
  adding it to the linker command line
  /lib64/libtinfo.so.5: could not read symbols: Invalid operation
  collect2: ld returned 1 exit status
  make[1]: *** [crm_mon] Error 1
  make[1]: Leaving directory `/usr/local/src/pacemaker/tools'
  make: *** [core] Error 1
 
  I tried to google it but didn't find a solution or I don't know how to
 add
  /lib64/libtinfo.so.5 to the linker command
 
  can anyone help?
 
  Yossi
 
 
 
  ___
  Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
  http://oss.clusterlabs.org/mailman/listinfo/pacemaker
 
  Project Home: http://www.clusterlabs.org
  Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
  Bugs: http://bugs.clusterlabs.org
 

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

 Project Home: http://www.clusterlabs.org
 Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
 Bugs: http://bugs.clusterlabs.org

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

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [Pacemaker] Installing pacemaker on aws ec2 server

2012-12-17 Thread Yossi Nachum
I fix this error using LIBS enviroment variable
I run: export LIBS=/lib64/libtinfo.so.5
then ./configure again and then make completed successfully

On Mon, Dec 17, 2012 at 9:02 AM, Yossi Nachum nachum...@gmail.com wrote:

 Hi,
 I am trying to install pacemaker on amazon ec2 ami instance.
 I tried to install using the packages from pacemaker repository but had
 many missing dependencies to I tried to compile from source.
 I downlad the source using git run ./autogen.sh and configure successfully
 but when I tried to make I get the following error:

 make[1]: Entering directory `/usr/local/src/pacemaker/tools'
   CCLD   crm_mon
 /usr/bin/ld: crm_mon.o: undefined reference to symbol 'cbreak'
 /usr/bin/ld: note: 'cbreak' is defined in DSO /lib64/libtinfo.so.5 so try
 adding it to the linker command line
 /lib64/libtinfo.so.5: could not read symbols: Invalid operation
 collect2: ld returned 1 exit status
 make[1]: *** [crm_mon] Error 1
 make[1]: Leaving directory `/usr/local/src/pacemaker/tools'
 make: *** [core] Error 1

 I tried to google it but didn't find a solution or I don't know how to add
 /lib64/libtinfo.so.5 to the linker command

 can anyone help?

 Yossi

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

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


[Pacemaker] HA FTP Server in aws vpc

2012-12-17 Thread Yossi Nachum
Hi,
I want to run ftp server in active passive mode in amazon aws environment.
I use a vpc and two subnets: ftp-1 is on 192.168.10.x and ftp-2 is on
192.168.20.x
The two subnets are in different availability zones.
In this configuration I don't see how can I use a vip so I thought of
creating an init script that change the DNS record when one server become
the active server.

what do you think? does anyone have more elgant solution for this?

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

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [Pacemaker] HA FTP Server in aws vpc

2012-12-17 Thread Yossi Nachum
I can't use ELB with ftp port.
The ports that ELB can listen to are: 25, 80, 443 or 1024-65535

On Mon, Dec 17, 2012 at 3:25 PM, Art Zemon a...@hens-teeth.net wrote:

 Have you thought about using a load balancer instead of a VIP? The ELB can
 span subnets.



 -- Art Z.


 -Original Message-
 From: Yossi Nachum nachum...@gmail.com
 Sent: Monday, December 17, 2012 2:22am
 To: pacemaker@oss.clusterlabs.org
 Subject: [Pacemaker] HA FTP Server in aws vpc



 Hi,
 I want to run ftp server in active passive mode in amazon aws environment.
 I use a vpc and two subnets: ftp-1 is on 192.168.10.x and ftp-2 is on
 192.168.20.x
 The two subnets are in different availability zones.
 In this configuration I don't see how can I use a vip so I thought of
 creating an init script that change the DNS record when one server become
 the active server.
 what do you think? does anyone have more elgant solution for this?
 Thanks
 Yossi


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

 Project Home: http://www.clusterlabs.org
 Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
 Bugs: http://bugs.clusterlabs.org


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

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


[Pacemaker] Installing pacemaker on aws ec2 server

2012-12-16 Thread Yossi Nachum
Hi,
I am trying to install pacemaker on amazon ec2 ami instance.
I tried to install using the packages from pacemaker repository but had
many missing dependencies to I tried to compile from source.
I downlad the source using git run ./autogen.sh and configure successfully
but when I tried to make I get the following error:

make[1]: Entering directory `/usr/local/src/pacemaker/tools'
  CCLD   crm_mon
/usr/bin/ld: crm_mon.o: undefined reference to symbol 'cbreak'
/usr/bin/ld: note: 'cbreak' is defined in DSO /lib64/libtinfo.so.5 so try
adding it to the linker command line
/lib64/libtinfo.so.5: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[1]: *** [crm_mon] Error 1
make[1]: Leaving directory `/usr/local/src/pacemaker/tools'
make: *** [core] Error 1

I tried to google it but didn't find a solution or I don't know how to add
/lib64/libtinfo.so.5 to the linker command

can anyone help?

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

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org