From: "J. Roeleveld" <joost@antarean.org>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] How to have init-scripts 'wait' for other servers
Date: Fri, 4 Sep 2009 10:51:14 +0200 [thread overview]
Message-ID: <200909041051.14640.joost@antarean.org> (raw)
Hi all,
Does anyone know if an existing method to have init-scripts on server A wait
for a service on server B to be started?
Reason for this:
I have one server containing all the databases, one that operates as a NAS and
the DNS is running on server 3.
In order for the different machines to start correctly, I need to configure it
that server 3 starts the DNS before the other machines try to access other
machines (don't want to maintain hosts-files as it all works fine once the
servers are up and running)
Also need to make sure the database and NAS is running before the webserver
starts.
I tried to google for it, but I can't find a usefull search string that will
give me anything usefull.
I don't mind reqriting init-scripts for this, but am looking for a way to
check if services are up and running from within the init-scripts.
Thanks,
Joost Roeleveld
next reply other threads:[~2009-09-04 3:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-04 8:51 J. Roeleveld [this message]
2009-09-04 9:23 ` [gentoo-user] How to have init-scripts 'wait' for other servers Willie Wong
2009-09-04 9:51 ` J. Roeleveld
2009-09-04 10:44 ` Carlos
2009-09-04 11:38 ` J. Roeleveld
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200909041051.14640.joost@antarean.org \
--to=joost@antarean.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox