How to pass real master server IP to tracking script

白木勇矢 <[email protected]>
Newsgroups gmane.linux.keepalived.devel
Message-ID <CAFxK6uFcty_uvE=D+3iiJi0uDdheZRhNX-spa_DACeSUDj0fzg@mail.gmail.com>
Hello Keepalived Devel,

I'm using Keepalived VRRP for my school project, and I have a question
regarding VRRP.
According to the document, I can specify the script to run when role is
changed by *notify "program_path"*. As arguments, whether program is called
in INSTANCE or GROUP, name of the INSTANCE or GROUP the program is called,
and the end state of transition can be passed to the program.
I'm looking for the way to pass the real server IP address who becomes
master when role change happened. Is it supported in Keepalived? If it's
not supported, can someone give me a simple direction which file to change
and where real master server IP is held?

I appreciate your help so much if you could help me.

Thanks,
Yuya

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot

_______________________________________________
Keepalived-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/keepalived-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.