public inbox for [email protected]  
help / color / mirror / Atom feed
From: Tatsuo Ishii <[email protected]>
To: [email protected]
Subject: Re: Enhance watchdog_setup
Date: Fri, 22 Aug 2025 08:26:47 +0900 (JST)
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>

> A tool called "watchdog_setup" has been used to create a simple test
> cluster environment on localost for developing and testing
> Pgpool-II. It allows to create 3 watchdog node and 3 PostgreSQL server
> configuration by single command for example:
> 
> $ watchdog_set -wn 3 -n 3
> 
> The command is also used in our regression test.
> 
> One of the things that watchdog_setup does not support is, assigning
> VIP. This is a limitation by deign as it runs on a single
> host. However, I would like to test whether watchdog properly executes
> if_up_cmd or if_down_cmd, which could increase the test coverage.  In
> the attached patch, a new option "-vip [ip]" is added to
> watchdog_setup.  If ip is omitted, '127.0.0.1' is assumed.
> The parameters added by this option are followings:
> 
> delegate_ip = '127.0.0.1'
> if_up_cmd = '/usr/bin/echo "if_up_cmd executed"'
> if_down_cmd = 'usr/bin/echo "if_down_cmd executed"'
> arping_cmd = '/usr/bin/true'
> 
> Comments and suggestions are welcome.

Patch pushed to master branch.
Thanks.
--
Tatsuo Ishii
SRA OSS K.K.
English: http://www.sraoss.co.jp/index_en/
Japanese:http://www.sraoss.co.jp






reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Enhance watchdog_setup
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox