Re: [PLUG] Multi host init system?
Hello there, > I have an app that is distributed across a dozen servers. > > There are several processes involved, some with dependencies on > processes running on other servers. > What app would you recommend for starting the whole thing up in an > orderly manner? Is it possible to adjust the pieces of software so that there is no required 'orderly' startup? I ask because--if the application requires synchronized startup of services across multiple machines, then what happens when one of the services (or nodes) early in that dependency chain fails during operation? For example, let's imagine services A through I, each of which must be launched before the subsequent can launch: A -> B -> C -> D -> E -> F -> G -> H -> I Assuming normal, orderly, coordinated startup, great. Now, everything is running. Suppose that service C fails. What happens? Will the application still run? Do D through I need to be restarted (or just D)? If it is possible to adjust the individual services so that each of them can run and retry, fail gracefully, or even fail hard (as fast as possible, please) to contend with dependency issues, I would recommend that. Perhaps you have already addressed that question or are in the (unenviable) position of contending with feature-complete software that is ready for deployment. Since you are in the 10+ node realm, I think I'd also agree with using some sort of configuration management (somebody suggested Ansible). With this many nodes, it's an operational truism that one of them will kick the bucket during your dog's midnight birthday party [0] and you'll want to be able to move the service quickly to another node. Hurrah for the well-worn configuration management tools. This is the modern take on startup script dependencies, just now with more network in-between! Everybody needs more network in-between! Not an easy problem. Anyway, good luck with this conundrum! -Martin [0] Silicon devices sense these moments and cherish destroying our equanimity. -- Martin A. Brown http://linux-ip.net/ ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Multi host init system?
I would be using something simple like Ansible. It isn't a multi-host init system but it will get the job done. You can even have it wait on ports being opened before doing the next item in the startup. There are other option is you want to run these application pieces in docker containers; things like kubernetes and docker swarm. If you could move this to docker you also could use things like coreos and fleet. Fleet is a cluster wide init system. If you want this application resilient to host restarts and the distribution cannot then maybe something else like corosync/pacemaker could be used. On Thu, Jul 9, 2015 at 6:23 PM, Michael Rasmussen wrote: > On Thu, Jul 09, 2015 at 05:18:57PM -0700, Tim Bruce - PLUG wrote: > > Would something like Rundeck work for you? > > > > http://rundeck.org/ > > First glance says yes. Now to dig in. > Thank you. > > > > -- > Michael Rasmussen, Portland Oregon > Be Appropriate && Follow Your Curiosity > I find the overhead of secret keeping burdensome and certainly lying much > more so > and prefer honesty and openness out of laziness and sloth. > ~ Russell Senior > ___ > PLUG mailing list > PLUG@lists.pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Multi host init system?
On Thu, Jul 09, 2015 at 05:18:57PM -0700, Tim Bruce - PLUG wrote: > Would something like Rundeck work for you? > > http://rundeck.org/ First glance says yes. Now to dig in. Thank you. -- Michael Rasmussen, Portland Oregon Be Appropriate && Follow Your Curiosity I find the overhead of secret keeping burdensome and certainly lying much more so and prefer honesty and openness out of laziness and sloth. ~ Russell Senior ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Multi host init system?
Would something like Rundeck work for you? http://rundeck.org/ T -- Timothy J. Bruce On Thu, July 9, 2015 16:34, Michael Rasmussen wrote: > On Thu, Jul 09, 2015 at 01:17:15PM -0700, Michael Rasmussen wrote: >> I have an app that is distributed across a dozen servers. >> There are several processes involved, some with dependencies on >> processes running on other servers. >> >> What app would you recommend for starting the whole thing up in an >> orderly manner? > > Clarification: the system uses SuSE and this cannot be changed. > > -- > Michael Rasmussen, Portland Oregon > Be Appropriate && Follow Your Curiosity > You're suddenly worried about how much is in your retirement account, > but other people are worried about how much is on their dinner plate > tonight. > ~ Rick Steves on the economy March 2009 > ___ > PLUG mailing list > PLUG@lists.pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Multi host init system?
On Thu, Jul 09, 2015 at 01:17:15PM -0700, Michael Rasmussen wrote: > I have an app that is distributed across a dozen servers. > There are several processes involved, some with dependencies on processes > running on other servers. > > What app would you recommend for starting the whole thing up in an orderly > manner? Clarification: the system uses SuSE and this cannot be changed. -- Michael Rasmussen, Portland Oregon Be Appropriate && Follow Your Curiosity You're suddenly worried about how much is in your retirement account, but other people are worried about how much is on their dinner plate tonight. ~ Rick Steves on the economy March 2009 ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Problems running GUI programs as root under Jessie (MATE as DE)
> On Jul 9, 2015, at 1:56 PM, Richard Owlett wrote: > [snip] > Script started on Mon 30 Jun 2014 08:58:50 AM CDT > richard@jessie:~$ su > Password: It might be as simple as using “su -“ instead of just “su”. Just “su” will run as root in the environment of the user that initiated the command, using the “-“ will change to the root environment. Good luck, Derek Loree ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Problems running GUI programs as root under Jessie (MATE as DE)
https://packages.debian.org/jessie/gksu not really sure if you need gksu or gksudo, but maybe the gksudo? Try em both. On Thu, Jul 9, 2015 at 2:07 PM, Dick Steffens wrote: > On 07/09/2015 01:56 PM, Richard Owlett wrote: > > I recently sent this to the debian-user mailing list, no useful > > replies. > > I'm unsure whether the primary problem is software or yours truly ;/ > > Though my 1st programming course used 026's as input device for a > > precursor of BASIC, I'm newbie to anything *nix related. > > > > I suspect one problem may be impure terminology. Is there a > > significant difference between "root" and "superuser"? > > > > Comments please. > > > > /BEGIN QUOTATION OF ORIGINAL MESSAGE > > > > I have an absolute requirement to run some GUI programs as root. > > > > I captured one session with script. > > > > Script started on Mon 30 Jun 2014 08:58:50 AM CDT > > richard@jessie:~$ su > > Password: > > root@jessie:/home/richard# pluma /etc/default/grub > > Does Debian have gksudo? I've used it with Ubuntu, which is based on > Debian, to run Nautilus, and sometimes gedit. > > So I'd try gksudo pluma /etc/default/grub. Of course, if I'm mistaken, > I'm sure someone on the list will set me/us straight. > > -- > Regards, > > Dick Steffens > > ___ > PLUG mailing list > PLUG@lists.pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Problems running GUI programs as root under Jessie (MATE as DE)
oh yeah, its also trying to store stuff in the directory /root, which may not exist if you're on ubuntu or something like that, so you may need to: sudo mkdir -p /root/.local/share first On Thu, Jul 9, 2015 at 2:05 PM, Nat Taylor wrote: > gksu pluma /etc/default/grub ? > > On Thu, Jul 9, 2015 at 1:56 PM, Richard Owlett > wrote: > >> I recently sent this to the debian-user mailing list, no useful >> replies. >> I'm unsure whether the primary problem is software or yours truly ;/ >> Though my 1st programming course used 026's as input device for a >> precursor of BASIC, I'm newbie to anything *nix related. >> >> I suspect one problem may be impure terminology. Is there a >> significant difference between "root" and "superuser"? >> >> Comments please. >> >> /BEGIN QUOTATION OF ORIGINAL MESSAGE >> >> I have an absolute requirement to run some GUI programs as root. >> >> I captured one session with script. >> >> Script started on Mon 30 Jun 2014 08:58:50 AM CDT >> richard@jessie:~$ su >> Password: >> root@jessie:/home/richard# pluma /etc/default/grub >> >> (pluma:1318): EggSMClient-WARNING **: Failed to connect to the >> session >> >> manager: None of the authentication protocols specified are supported >> >> >> (pluma:1318): dconf-WARNING **: failed to commit changes to >> dconf: The >> >> connection is closed >> Error creating proxy: The connection is closed (g-io-error-quark, 18) >> Error creating proxy: The connection is closed (g-io-error-quark, 18) >> Error creating proxy: The connection is closed (g-io-error-quark, 18) >> Error creating proxy: The connection is closed (g-io-error-quark, 18) >> Error creating proxy: The connection is closed (g-io-error-quark, 18) >> >> (pluma:1318): dconf-WARNING **: failed to commit changes to >> dconf: The >> >> connection is closed >> >> (pluma:1318): dconf-WARNING **: failed to commit changes to >> dconf: The >> >> connection is closed >> >> (pluma:1318): dconf-WARNING **: failed to commit changes to >> dconf: The >> >> connection is closed >> >> (pluma:1318): Gtk-WARNING **: Attempting to store changes into >> >> `/root/.local/share/recently-used.xbel', but failed: Failed to >> create file >> >> '/root/.local/share/recently-used.xbel.9WQQIX': No such file or >> directory >> >> (pluma:1318): Gtk-WARNING **: Attempting to set the permissions of >> >> `/root/.local/share/recently-used.xbel', but failed: No such file or >> >> directory >> >> ==pluma has opened >> >> >> (pluma:1318): Gtk-WARNING **: Attempting to store changes into >> >> `/root/.local/share/recently-used.xbel', but failed: Failed to >> create file >> >> '/root/.local/share/recently-used.xbel.WMTBIX': No such file or >> directory >> >> (pluma:1318): Gtk-WARNING **: Attempting to set the permissions of >> >> `/root/.local/share/recently-used.xbel', but failed: No such file or >> >> directory >> >> changed one character and saved file >> >> >> (pluma:1318): Gtk-WARNING **: Attempting to store changes into >> >> `/root/.local/share/recently-used.xbel', but failed: Failed to >> create file >> >> '/root/.local/share/recently-used.xbel.PRFKIX': No such file or >> directory >> >> (pluma:1318): Gtk-WARNING **: Attempting to set the permissions of >> >> `/root/.local/share/recently-used.xbel', but failed: No such file or >> >> directory >> >> closed pluma >> >> >> >> What's going on >> >> >> /END QUOTATION OF ORIGINAL MESSAGE >> >> >> >> ___ >> PLUG mailing list >> PLUG@lists.pdxlinux.org >> http://lists.pdxlinux.org/mailman/listinfo/plug >> > > ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Problems running GUI programs as root under Jessie (MATE as DE)
On 07/09/2015 01:56 PM, Richard Owlett wrote: > I recently sent this to the debian-user mailing list, no useful > replies. > I'm unsure whether the primary problem is software or yours truly ;/ > Though my 1st programming course used 026's as input device for a > precursor of BASIC, I'm newbie to anything *nix related. > > I suspect one problem may be impure terminology. Is there a > significant difference between "root" and "superuser"? > > Comments please. > > /BEGIN QUOTATION OF ORIGINAL MESSAGE > > I have an absolute requirement to run some GUI programs as root. > > I captured one session with script. > > Script started on Mon 30 Jun 2014 08:58:50 AM CDT > richard@jessie:~$ su > Password: > root@jessie:/home/richard# pluma /etc/default/grub Does Debian have gksudo? I've used it with Ubuntu, which is based on Debian, to run Nautilus, and sometimes gedit. So I'd try gksudo pluma /etc/default/grub. Of course, if I'm mistaken, I'm sure someone on the list will set me/us straight. -- Regards, Dick Steffens ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Problems running GUI programs as root under Jessie (MATE as DE)
gksu pluma /etc/default/grub ? On Thu, Jul 9, 2015 at 1:56 PM, Richard Owlett wrote: > I recently sent this to the debian-user mailing list, no useful > replies. > I'm unsure whether the primary problem is software or yours truly ;/ > Though my 1st programming course used 026's as input device for a > precursor of BASIC, I'm newbie to anything *nix related. > > I suspect one problem may be impure terminology. Is there a > significant difference between "root" and "superuser"? > > Comments please. > > /BEGIN QUOTATION OF ORIGINAL MESSAGE > > I have an absolute requirement to run some GUI programs as root. > > I captured one session with script. > > Script started on Mon 30 Jun 2014 08:58:50 AM CDT > richard@jessie:~$ su > Password: > root@jessie:/home/richard# pluma /etc/default/grub > > (pluma:1318): EggSMClient-WARNING **: Failed to connect to the > session > > manager: None of the authentication protocols specified are supported > > > (pluma:1318): dconf-WARNING **: failed to commit changes to > dconf: The > > connection is closed > Error creating proxy: The connection is closed (g-io-error-quark, 18) > Error creating proxy: The connection is closed (g-io-error-quark, 18) > Error creating proxy: The connection is closed (g-io-error-quark, 18) > Error creating proxy: The connection is closed (g-io-error-quark, 18) > Error creating proxy: The connection is closed (g-io-error-quark, 18) > > (pluma:1318): dconf-WARNING **: failed to commit changes to > dconf: The > > connection is closed > > (pluma:1318): dconf-WARNING **: failed to commit changes to > dconf: The > > connection is closed > > (pluma:1318): dconf-WARNING **: failed to commit changes to > dconf: The > > connection is closed > > (pluma:1318): Gtk-WARNING **: Attempting to store changes into > > `/root/.local/share/recently-used.xbel', but failed: Failed to > create file > > '/root/.local/share/recently-used.xbel.9WQQIX': No such file or > directory > > (pluma:1318): Gtk-WARNING **: Attempting to set the permissions of > > `/root/.local/share/recently-used.xbel', but failed: No such file or > > directory > > ==pluma has opened > > > (pluma:1318): Gtk-WARNING **: Attempting to store changes into > > `/root/.local/share/recently-used.xbel', but failed: Failed to > create file > > '/root/.local/share/recently-used.xbel.WMTBIX': No such file or > directory > > (pluma:1318): Gtk-WARNING **: Attempting to set the permissions of > > `/root/.local/share/recently-used.xbel', but failed: No such file or > > directory > > changed one character and saved file > > > (pluma:1318): Gtk-WARNING **: Attempting to store changes into > > `/root/.local/share/recently-used.xbel', but failed: Failed to > create file > > '/root/.local/share/recently-used.xbel.PRFKIX': No such file or > directory > > (pluma:1318): Gtk-WARNING **: Attempting to set the permissions of > > `/root/.local/share/recently-used.xbel', but failed: No such file or > > directory > > closed pluma > > > > What's going on > > > /END QUOTATION OF ORIGINAL MESSAGE > > > > ___ > PLUG mailing list > PLUG@lists.pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
[PLUG] Problems running GUI programs as root under Jessie (MATE as DE)
I recently sent this to the debian-user mailing list, no useful replies. I'm unsure whether the primary problem is software or yours truly ;/ Though my 1st programming course used 026's as input device for a precursor of BASIC, I'm newbie to anything *nix related. I suspect one problem may be impure terminology. Is there a significant difference between "root" and "superuser"? Comments please. /BEGIN QUOTATION OF ORIGINAL MESSAGE I have an absolute requirement to run some GUI programs as root. I captured one session with script. Script started on Mon 30 Jun 2014 08:58:50 AM CDT richard@jessie:~$ su Password: root@jessie:/home/richard# pluma /etc/default/grub (pluma:1318): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported (pluma:1318): dconf-WARNING **: failed to commit changes to dconf: The connection is closed Error creating proxy: The connection is closed (g-io-error-quark, 18) Error creating proxy: The connection is closed (g-io-error-quark, 18) Error creating proxy: The connection is closed (g-io-error-quark, 18) Error creating proxy: The connection is closed (g-io-error-quark, 18) Error creating proxy: The connection is closed (g-io-error-quark, 18) (pluma:1318): dconf-WARNING **: failed to commit changes to dconf: The connection is closed (pluma:1318): dconf-WARNING **: failed to commit changes to dconf: The connection is closed (pluma:1318): dconf-WARNING **: failed to commit changes to dconf: The connection is closed (pluma:1318): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.9WQQIX': No such file or directory (pluma:1318): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory ==pluma has opened (pluma:1318): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.WMTBIX': No such file or directory (pluma:1318): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory changed one character and saved file (pluma:1318): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.PRFKIX': No such file or directory (pluma:1318): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory closed pluma What's going on /END QUOTATION OF ORIGINAL MESSAGE ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
[PLUG] Multi host init system?
I have an app that is distributed across a dozen servers. There are several processes involved, some with dependencies on processes running on other servers. What app would you recommend for starting the whole thing up in an orderly manner? -- Michael Rasmussen, Portland Oregon Be Appropriate && Follow Your Curiosity When you don't know what to do, do the work in front of you. ~ Calvin Coolidge ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Mate vs Gnome Classic with fixes
On Thu, Jul 09, 2015 at 10:14:19AM -0700, Galen Seitz wrote: > On 07/09/15 09:47, Keith Lofstrom wrote: > > > P.S. regards XFCE and others - interesting options, but the > > distro I run (Scientific Linux) is tied to GNOME, and I do not > > want to give up hundreds of useful packages and addons in an > > attempt to escape Gnome 3 foolishness. When the providers of > > those tools leave in disgust, so will I. > > Using XFCE doesn't preclude the use of Gnome applications. I'm running > XFCE on CentOS 6, but Gnome libraries are installed such that Gnome > applications will typically run without issues. Ditto for KDE apps. -- Michael Rasmussen, Portland Oregon Be Appropriate && Follow Your Curiosity Weight doesn't matter. 5 lbs. off the total weight of rider and equipment wouldn't make a huge difference. ~ Jan Heine (on randonneuring) ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Mate vs Gnome Classic with fixes
On 07/09/15 09:47, Keith Lofstrom wrote: > P.S. regards XFCE and others - interesting options, but the > distro I run (Scientific Linux) is tied to GNOME, and I do not > want to give up hundreds of useful packages and addons in an > attempt to escape Gnome 3 foolishness. When the providers of > those tools leave in disgust, so will I. Using XFCE doesn't preclude the use of Gnome applications. I'm running XFCE on CentOS 6, but Gnome libraries are installed such that Gnome applications will typically run without issues. galens@lion:~$ gnome- gnome-aboutgnome-network-properties gnome-about-me gnome-open gnome-appearance-propertiesgnome-panel gnome-at-propertiesgnome-power-bugreport.sh gnome-at-visualgnome-power-manager gnome-audio-profiles-propertiesgnome-power-preferences gnome-character-mapgnome-session gnome-control-center gnome-session-properties gnome-default-applications-properties gnome-session-save gnome-desktop-item-editgnome-terminal gnome-display-properties gnome-thumbnail-font gnome-font-viewer gnome-typing-monitor gnome-help gnome-volume-control gnome-keybinding-propertiesgnome-volume-control-applet gnome-keyboard-properties gnome-wacom-properties gnome-keyring gnome-window-properties gnome-keyring-daemon gnome-wm gnome-mouse-properties YMMV, of course. galen -- Galen Seitz gal...@seitzassoc.com ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Mate vs Gnome Classic with fixes
On Tue, Jul 7, 2015 at 11:41 PM, Keith Lofstrom wrote: > ... RHEL7 ... Fixing Gnome 3 Classic ... vs ... Will MATE survive ... On Wed, Jul 08, 2015 at 07:39:43AM -0700, Denis Heidtmann wrote: > I searched "gnome resize disable". I saw many responses, but am too > clueless to know if any help your issue. 90% of those links were obsolete or irrelevant (welcome to the web), but I persisted and found: 1) dconf write /org/gnome/shell/classic-overrides/edge-tiling false 2) dconf write /org/gnome/shell/overrides/edge-tiling false ... the edge resize behavior went away. Yay! The magic word is "tiling". To thwart a fool, you must talk like a fool ... Next, to get rid of the hot-corner behavior (which is still accessible through the "windows" key on the keyboard) for my redhat-style machine I had to do two things: 1) yum install gnome-shell-browser-plugin This allows firefox to install gnome-shell plugins - which seems insecure to me, but that's the way they do it (even though firefox doesn't permit to use older versions of java and flash, but doesn't help me update them ... ). 2) surf to https://extensions.gnome.org/extension/118/no-top-left-corner/ and move the slider switch to "on" That stops the annoying corner behavior. I feel better now, though there are still dozens of things to fix: java, disable iTunes application detector, add functionality back to the top bar (like system monitor), etc. My strategy will be to get Gnome-Classic to a minimally usable state over the next few months, but use MATE as long as it is available. Oh, and donate $200 to the MATE project, hopefully to help prolong that availability. That is more important than fixing my car. Keith P.S. regards XFCE and others - interesting options, but the distro I run (Scientific Linux) is tied to GNOME, and I do not want to give up hundreds of useful packages and addons in an attempt to escape Gnome 3 foolishness. When the providers of those tools leave in disgust, so will I. -- Keith Lofstrom kei...@keithl.com ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug