Sponsored Content
Top Forums UNIX for Dummies Questions & Answers One set of executables but multiple set of configuration Post 302856685 by lchunleo on Tuesday 24th of September 2013 01:57:11 PM
Old 09-24-2013
One set of executables but multiple set of configuration

i don't know where to put this question hence it is here.

Presently, i have X unix machines which each of them running a set of executables with various unique configurations.

i would like to have run multiple set of machines the same set of executeables but each running different configurations and to make it auto, perferably through a GUI that is simple to code (e.g. like of visual basic in windows).
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

unsetting (set -C) and set -o noclobber

I use a lot of text edditing on my laptop, and about a year and half ago I read my first unix bootk which gave the noclobber command and how to unset it.. now that my files are some what overflowing I need to use noclobber or the set -C option... I know the >| to override the no overwite command... (2 Replies)
Discussion started by: moxxx68
2 Replies

2. Shell Programming and Scripting

set -o vi giving set: Syntax error

when trying : set -o vi getting error like- : set: Syntax error help me Double post (of sorts). Continue here. (0 Replies)
Discussion started by: RahulJoshi
0 Replies

3. UNIX for Dummies Questions & Answers

How to set server's ip address, router, network mask and set if it is an internal or external ip?

Hello, I need to write a program which sets server's ip address, router, network mask. Program also should set if it is an internal or external ip. Maybe someone can help me ? Any information from u is very useful :b: I stopped at .. :( #!/bin/sh A=`hostname -i` echo "server ip address is $A"... (4 Replies)
Discussion started by: zagaruika
4 Replies

4. HP-UX

What is the use of command set -- and set - variable?

Hi, I am using hp unix i want to know the use of the following commands set -- set - variable thanks (4 Replies)
Discussion started by: gomathi
4 Replies

5. Shell Programming and Scripting

set Net:SSH:Expect timeout and set it again.

SSHing into a machine can take a few seconds, but after I'm in, the commands return quickly. I was wondering if the timeout setting can be changed once I'm logged into the machine. Does anyone know if this can be set on the fly? The problem here is, if I have to set timeout = 10, it'll take 10... (1 Reply)
Discussion started by: mrwatkin
1 Replies

6. Solaris

mailx/sendmail configuration/set up problem

Hello Good People of Linux World!!! Background: Recent Networking Graduate, thrown in line of fire. For the past couple of days I have been searching online for answers and haven't gotten anywhere regarding Mailx, Sendmail functionality on SunOS 5.9. My dilemma: Mailx / sendmail are... (28 Replies)
Discussion started by: kazmiM
28 Replies

7. Solaris

LC_ALL & LANG are set OK, but others couldn't set locale correctly.

Hi, I have a Solaris (SunOS 5.10) installed, by default with the en_AU.UTF-8 locale. I want to change it to en_US.UTF-8 With AU, I have no issues whatsoever, so I installed the language package and now locale -a shows "en_US.UTF-8". Problem is even with LC_ALL set in etc/default/init, the... (2 Replies)
Discussion started by: asdfg
2 Replies

8. Shell Programming and Scripting

Help needed with shell script to search and replace a set of strings among the set of files

Hi, I am looking for a shell script which serves the below purpose. Please find below the algorithm for the same and any help on this would be highly appreciated. 1)set of strings need to be replaced among set of files(directory may contain different types of files) 2)It should search for... (10 Replies)
Discussion started by: Amulya
10 Replies
PUPPET-KICK(8)							   Puppet manual						    PUPPET-KICK(8)

NAME
puppet-kick - Remotely control puppet agent SYNOPSIS
Trigger a puppet agent run on a set of hosts. USAGE
puppet kick [-a|--all] [-c|--class class] [-d|--debug] [-f|--foreground] [-h|--help] [--host host] [--no-fqdn] [--ignoreschedules] [-t|--tag tag] [--test] [-p|--ping] host [host [...]] DESCRIPTION
This script can be used to connect to a set of machines running 'puppet agent' and trigger them to run their configurations. The most com- mon usage would be to specify a class of hosts and a set of tags, and 'puppet kick' would look up in LDAP all of the hosts matching that class, then connect to each host and trigger a run of all of the objects with the specified tags. If you are not storing your host configurations in LDAP, you can specify hosts manually. You will most likely have to run 'puppet kick' as root to get access to the SSL certificates. 'puppet kick' reads 'puppet master''s configuration file, so that it can copy things like LDAP settings. USAGE NOTES
Puppet kick needs the puppet agent on the target machine to be running as a daemon, be configured to listen for incoming network connec- tions, and have an appropriate security configuration. The specific changes required are: o Set listen = true in the agent's puppet.conf file (or --listen on the command line) o Configure the node's firewall to allow incoming connections on port 8139 o Insert the following stanza at the top of the node's auth.conf file: # Allow puppet kick access path /run method save auth any allow workstation.example.com This example would allow the machine workstation.example.com to trigger a Puppet run; adjust the "allow" directive to suit your site. You may also use allow * to allow anyone to trigger a Puppet run, but that makes it possible to interfere with your site by triggering exces- sive Puppet runs. See http://docs.puppetlabs.com/guides/rest_auth_conf.html for more details about security settings. OPTIONS
Note that any configuration parameter that's valid in the configuration file is also a valid long argument. For example, 'ssldir' is a valid configuration parameter, so you can specify '--ssldir directory' as an argument. See the configuration file documentation at http://docs.puppetlabs.com/references/latest/configuration.html for the full list of acceptable parameters. A commented list of all configuration options can also be generated by running puppet master with '--genconfig'. --all Connect to all available hosts. Requires LDAP support at this point. --class Specify a class of machines to which to connect. This only works if you have LDAP configured, at the moment. --debug Enable full debugging. --foreground Run each configuration in the foreground; that is, when connecting to a host, do not return until the host has finished its run. The default is false. --help Print this help message --host A specific host to which to connect. This flag can be specified more than once. --ignoreschedules Whether the client should ignore schedules when running its configuration. This can be used to force the client to perform work it would not normally perform so soon. The default is false. --parallel How parallel to make the connections. Parallelization is provided by forking for each client to which to connect. The default is 1, meaning serial execution. --tag Specify a tag for selecting the objects to apply. Does not work with the --test option. --test Print the hosts you would connect to but do not actually connect. This option requires LDAP support at this point. --ping Do a ICMP echo against the target host. Skip hosts that don't respond to ping. EXAMPLE
$ sudo puppet kick -p 10 -t remotefile -t webserver host1 host2 AUTHOR
Luke Kanies COPYRIGHT
Copyright (c) 2011 Puppet Labs, LLC Licensed under the Apache 2.0 License Puppet Labs, LLC June 2012 PUPPET-KICK(8)
All times are GMT -4. The time now is 10:31 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy