well thanks, i got it with adjusted IPaddr2 now working :D
when i got some time i will try to edit my own agent. Now i can go to
master-master replication between regions and nagios
monitoring/event-handling all ;)
On Wed, Oct 2, 2013 at 4:28 PM, Peter Romfeld wrote:
> the changes take instant e
I guess the question is if this is just observed performance, or if this is
something that the API spec guarantees. If it's just observed performance, I
would be a bit leery about depending on it being instantanious, as it may not be
if Amazon is under load.
David Lang
On Wed, 2 Oct 2013, Pet
the changes take instant effect, i let "watch
/usr/lib64/nagios/plugins/check_tcp -H my.vip.add.r -p 3306" on a 3rd
instance running, and the second i issued on the new master node the aws
command it changed from CRITICAL to OK
On Wed, Oct 2, 2013 at 4:13 PM, Peter Romfeld wrote:
> In you VPC th
In you VPC the change take effect after you got "true", you can check it
with describe-eip or in console :)
right now i just try to add the command with hardcoded variables to IPaddr2
start, just to get it running for now
i put my attempt to create a resource agent on github, maybe someone can
hel
Unless something has changed in the AWS API in the last few months, when the aws
command exits successfully, that doesn't mean the change has taken effect, just
that the aws system has accepted the change and it will take effect 'soon'
David Lang
On Wed, 2 Oct 2013, Peter Romfeld wrote:
yes
yes i need to use the aws command, i am using a VPC, after issueing the
command i get a "true" statement and its done
so i only want pacemaker to issue the one-shot command at failover. Here is
what i have atm: (i know its still dirty, just lerning pacemaker)
primitive drbd_mysql ocf:linbit:drbd
the aws command is making the call to inform aws, if you were to bring up the
address without making the aws command, would it work? If you are on a Virtual
Private Cloud (VPC), it may, but I didn't think it would.
If you can make it work without the aws command, then you can just use the
stan
Hey,
when i change the secondary IP per hand or with external script on a Ubuntu
Instance I just need:
/etc/network/interfaces
auto eth0
iface eth0 inet dhcp
address 192.168.32.12
netmask 255.255.240.0
gateway 192.168.32.1
up ip addr add 192.168.32.11/20 dev eth0
and then run the s
On Tue, 1 Oct 2013, Dejan Muhamedagic wrote:
On Tue, Oct 01, 2013 at 10:07:12AM -0700, David Lang wrote:
On Tue, 1 Oct 2013, Dejan Muhamedagic wrote:
On Tue, Oct 01, 2013 at 07:22:20AM -0700, David Lang wrote:
On Tue, 1 Oct 2013, Dejan Muhamedagic wrote:
Hi David,
On Mon, Sep 30, 2013 at
On Tue, Oct 01, 2013 at 10:07:12AM -0700, David Lang wrote:
> On Tue, 1 Oct 2013, Dejan Muhamedagic wrote:
>
> >On Tue, Oct 01, 2013 at 07:22:20AM -0700, David Lang wrote:
> >>On Tue, 1 Oct 2013, Dejan Muhamedagic wrote:
> >>
> >>>Hi David,
> >>>
> >>>On Mon, Sep 30, 2013 at 12:41:23PM -0700, Davi
On Tue, 1 Oct 2013, Dejan Muhamedagic wrote:
On Tue, Oct 01, 2013 at 07:22:20AM -0700, David Lang wrote:
On Tue, 1 Oct 2013, Dejan Muhamedagic wrote:
Hi David,
On Mon, Sep 30, 2013 at 12:41:23PM -0700, David Lang wrote:
On Mon, 30 Sep 2013, David Lang wrote:
On Mon, 30 Sep 2013, Michael S
On Tue, Oct 01, 2013 at 07:22:20AM -0700, David Lang wrote:
> On Tue, 1 Oct 2013, Dejan Muhamedagic wrote:
>
> >Hi David,
> >
> >On Mon, Sep 30, 2013 at 12:41:23PM -0700, David Lang wrote:
> >>On Mon, 30 Sep 2013, David Lang wrote:
> >>
> >>>On Mon, 30 Sep 2013, Michael Schwartzkopff wrote:
> >>>
On Tue, 1 Oct 2013, Dejan Muhamedagic wrote:
Hi David,
On Mon, Sep 30, 2013 at 12:41:23PM -0700, David Lang wrote:
On Mon, 30 Sep 2013, David Lang wrote:
On Mon, 30 Sep 2013, Michael Schwartzkopff wrote:
Am Montag, 30. September 2013, 21:12:56 schrieb Peter Romfeld:
I am working in AWS i
Hi David,
On Mon, Sep 30, 2013 at 12:41:23PM -0700, David Lang wrote:
> On Mon, 30 Sep 2013, David Lang wrote:
>
> >On Mon, 30 Sep 2013, Michael Schwartzkopff wrote:
> >
> >>Am Montag, 30. September 2013, 21:12:56 schrieb Peter Romfeld:
> >>>I am working in AWS i cant just use a VIP i need to use
Peter, one trick you may want to try using is to set
ipv4.ip_nonlocal_bind=1
in sysctl.conf, this will let you start mySQL and bind it to the VIP, even if
the VIP isn't live on the box yet.
so when you want to do a failover, you can have pacemaker stop MySQL on the old
box, start it on the new
On Mon, 30 Sep 2013, David Lang wrote:
On Mon, 30 Sep 2013, Michael Schwartzkopff wrote:
Am Montag, 30. September 2013, 21:12:56 schrieb Peter Romfeld:
I am working in AWS i cant just use a VIP i need to use a floating
secondary IP which i reassign through script, i want to let pacemaker
hand
On Mon, 30 Sep 2013, Michael Schwartzkopff wrote:
Am Montag, 30. September 2013, 21:12:56 schrieb Peter Romfeld:
I am working in AWS i cant just use a VIP i need to use a floating
secondary IP which i reassign through script, i want to let pacemaker
handle the reassignment...
Please explain t
i am able to use IPaddr2 when running a external script explained here:
http://aws.amazon.com/articles/2127188135977316
I can adjust it to check port 3306 but i still want to use pacemaker to
handle it, since thats pacemakers job :)
I want to bind mysql to the VIP and in this case i cant use the ex
Am Montag, 30. September 2013, 21:12:56 schrieb Peter Romfeld:
> I am working in AWS i cant just use a VIP i need to use a floating
> secondary IP which i reassign through script, i want to let pacemaker
> handle the reassignment...
Please explain the difference of a VIP and a "secondary IP" in yo
I am working in AWS i cant just use a VIP i need to use a floating
secondary IP which i reassign through script, i want to let pacemaker
handle the reassignment...
Thanks for reply!
On Mon, Sep 30, 2013 at 9:05 PM, Michael Schwartzkopff wrote:
> **
>
> Am Montag, 30. September 2013, 20:54:03 s
Am Montag, 30. September 2013, 20:54:03 schrieb Peter Romfeld:
> Hi,
>
> I am running a mysql-cluster in aws with pacemaker/drbd. I would like to
> run a script at failover to reassign the secondary IP for VIP.
Why don't you just use a IPaddr2 resource?
--
Dr. Michael Schwartzkopff
Guardinistr.
21 matches
Mail list logo