LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-31-2016, 03:05 PM   #1
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,691
Blog Entries: 4

Rep: Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947
Please re-remind me: service startup & pre-requisites with Ubuntu


I don't want to get this wrong, and I don't want to waste time getting it right ...

Here's my scenario:
  • All of the servers, of which "this server" is a part, communicate with one another through OpenVPN. Therefore, OpenVPN must start, and must finish initializing itself, before the startup-sequence may proceed.
  • Next, "this server" must successfully initiate OpenVPN tunnel connections with all of its peers, before it may proceed to start any services which depend on it. (And, since individual servers may start at slightly-different times, it must be prepared to wait-and-retry.)
  • Services which depend on the existence of established OpenVPN tunnels, such as MySQL, must list the "tunnel-is-connected" services as dependencies.
  • The environment is Ubuntu server.
Please point me in the right direction.

You may, please, assume(!) that I already have all of the servers correctly set-up to "talk to one another." Therefore, I don't need to be pointed to tutorials about EasyRSA, public or private keys and such. Rather, my question pertains very specifically to the startup-sequence, dependencies and pre-requisites. Making sure that the startup sequence "waits for" things that must be waited-for, and that re-starts initiate prerequisites appropriately.

(I am also interested in pointers as to how best to secure the arrangement, so that a web-server, say, could not possibly be hijacked into "stealing" any keys.)

I am, of course, "not altogether ignorant" about such matters, but, "time is not on my side, here" ... ... and your greater experience is most-kindly appreciated.

Last edited by sundialsvcs; 03-31-2016 at 03:13 PM.
 
Old 03-31-2016, 10:11 PM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,842

Rep: Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148
Which version of Ubuntu?
 
Old 03-31-2016, 10:16 PM   #3
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,842

Rep: Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148
I ask because the use of upstart or systemd might influence solutions offered.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Handbrake (slackbuilds) not building even if all pre-requisites are met lpallard Slackware 15 04-16-2012 04:39 AM
Pre Requisites on Linux for Xterm sessions/terminal Darrell22 Linux - Server 1 01-09-2012 10:58 PM
Red Hat training and certification - course pre-requisites? paulfoel Linux - Newbie 29 03-10-2011 12:16 PM
Pre-requisites for hardware device programmer just.srad Linux - General 2 09-29-2008 07:31 PM
how can i pre-load applications into ram automatically at startup??? win32sux Linux - General 10 02-24-2004 05:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration