Sponsored Content
Top Forums UNIX for Advanced & Expert Users Scripting in one server to apply other servers? Post 302984958 by daggerphobia_ on Thursday 3rd of November 2016 03:15:41 AM
Old 11-03-2016
Quote:
Originally Posted by stomp
Hi dagger,

I'm not sure what you especially have in mind by using devops with your provisioning. The classical devops-tool for deploying apps from an rcs is jenkings(I have not used that so for). Our developers use dokku for deploying ruby on rails applications to docker containers.

I am working with opscode chef. There is some rcs included which keeps track of different versions of the configuration elements. I suppose the other automation tools are the like.

May be you'll different software packages/services for your aim.

Regards

Dear stomp

I could'nt start my project yet.Because Im still confusing how to start it.I decided to learn ansible bec lots of people suggest it.I want to tell simple example.I want to work on only one admin server(reaching other servers) and my goal influence same job to other servers.

For example:

Code:
ps -ef|grep java (have to take every specific servers java path value)
java path/javac sample.java
java path/java sample
date

Automating has to apply these lines in every servers.I don't want to login all 100 servers and do it, plus if I can add check status for this deploy it will be amazing.How can I do this please help Smilie sorry lang again


Moderator's Comments:
Mod Comment
Please wrap all code, files, input & output/errors in CODE tags.
It makes them far easier to read and preserves multiple spaces for indenting or fixed-width data.

Last edited by rbatte1; 11-04-2016 at 05:52 AM.. Reason: Added CODE tags
 

10 More Discussions You Might Find Interesting

1. Solaris

Booting Up Servers from the Terminal Server.

All, I have a problem with booting up of servers. I am involved in application programming(Perl/Shell), but don't have much hardware knowledge about the Sun Solaris Server's we use. Our Development Servers are located at a remote place from the Development Centre. Every time there is a Power... (1 Reply)
Discussion started by: rahulrathod
1 Replies

2. AIX

Servers still querying old DNS server?

Hello, I've created new DNS servers and changed all of the clients /etc/resolv.conf to point to them, but when I check the old DNS logs, I see that the clients are still querying it. Does anybody know why? thanks, (2 Replies)
Discussion started by: ctcuser
2 Replies

3. Shell Programming and Scripting

Executing certain commands on different servers from one server only

hi I wish to fire certain set of commands on different servers using single script on one of the server. The problem is that these servers only allow ssh session. telnet to these systems is blocked. Is there any way i can do this as rsh does not works. Regards Rochit (7 Replies)
Discussion started by: rochitsharma
7 Replies

4. Shell Programming and Scripting

Need advices on scripting for remote servers

Hi guys, I need some advice and recommendations for a work project I am doing. Let me state that security is not a concern as this is a closed network and the data is not sensitive. Here's what I would like to do and how I was planning to accomplish it: I have an application on my remote... (1 Reply)
Discussion started by: blueicedrop2000
1 Replies

5. Shell Programming and Scripting

How to stop monitoring of servers at the time of reboot through shell scripting?

We have number of servers which belongs to platforms Solaris, AIX,HP-UX and LINUX. Monitoring tool 'Patrol Agent' process run on the servers to check for the server health and communicate with the Patrol server through the port 5181. During scheduled reboot and maintenance of servers we do receive... (1 Reply)
Discussion started by: subharai
1 Replies

6. Shell Programming and Scripting

C shell scripting, check if link exists on remote servers

Hi, I'm new to C Shell programming. I'm trying to check if a sym link exists on remote server if not send email. I'm not having much luck. Can anyone help? Here is what I have written but it doesn't work. It tells me that my variable was not defined. Here is part of the script, the second... (0 Replies)
Discussion started by: CDi
0 Replies

7. Ubuntu

Any way we can create an SMTP server and use any scripting language to read emails from that server

Is there any way to create an SMTP mail server will all granular permissions to it so that I can read emails which that server receives through any scripting language and also reply from the same server automatically? (3 Replies)
Discussion started by: sandeepcm
3 Replies

8. UNIX for Dummies Questions & Answers

Ssh not working to one server from any of the servers

Hello, I tried ssh in debug mode and below is the debug snippet.ssh to a host is not working from any of the hosts No credentials cache found debug1: Miscellaneous failure No credentials cache found debug1: Next authentication method: publickey debug1: Offering RSA public key:... (7 Replies)
Discussion started by: Vishal_dba
7 Replies

9. Shell Programming and Scripting

Useradd on 200 servers from one server.

I have a list of around 250 machines(IPs). I have few lines of task on each machine like adding users. I don't want to logon to each machine and then change. Can anybody help me getting logic to do it from one machine through SSH, where I can hardcode the password as well as other tasks. (6 Replies)
Discussion started by: nixhead
6 Replies

10. UNIX for Beginners Questions & Answers

How to apply the update statement in multiple servers on multiple dbs at a time .?

Hi , Can any please help the below requirement on all multiple servers and multiple dbs. update configuration set value='yes' ;1) the above statement apply on 31 Databases at a time on different Ip address eg : 10.104.1.12 (unix ip address ) the above ip box contains 4 db's eg : db... (2 Replies)
Discussion started by: venkat918
2 Replies
KAS_DELETE(8)						       AFS Command Reference						     KAS_DELETE(8)

NAME
kas_delete - Deletes an entry from the Authentication Database SYNOPSIS
kas delete -name <name of user> [-admin_username <admin principal to use for authentication>] [-password_for_admin <admin password>] [-cell <cell name>] [-servers <explicit list of authentication servers>+] [-noauth] [-help] kas d -na <name of user> [-a <admin principal to use for authentication>] [-p <admin password>] [-c <cell name>] [-s <explicit list of authentication servers>+] [-no] [-h] kas rm -na <name of user> [-a <admin principal to use for authentication>] [-p <admin password>] [-c <cell name>] [-s <explicit list of authentication servers>+] [-no] [-h] DESCRIPTION
The kas delete command removes from the Authentication Database the user entry named by the -name argument. The indicated user becomes unable to log in, or the indicated server becomes unreachable (because the Authentication Server's Ticket Granting Service module no longer has a key with which to seal tickets for the server). OPTIONS
-name <name of user> Names the Authentication Database entry to delete. -admin_username <admin principal> Specifies the user identity under which to authenticate with the Authentication Server for execution of the command. For more details, see kas(8). -password_for_admin <admin password> Specifies the password of the command's issuer. If it is omitted (as recommended), the kas command interpreter prompts for it and does not echo it visibly. For more details, see kas(8). -cell <cell name> Names the cell in which to run the command. For more details, see kas(8). -servers <authentication servers>+ Names each machine running an Authentication Server with which to establish a connection. For more details, see kas(8). -noauth Assigns the unprivileged identity "anonymous" to the issuer. For more details, see kas(8). -help Prints the online help for this command. All other valid options are ignored. EXAMPLES
The following example shows the administrative user "admin" entering interactive mode to delete three accounts. % kas Password for admin: ka> delete smith ka> delete pat ka> delete terry PRIVILEGE REQUIRED
The issuer must have the "ADMIN" flag set on his or her Authentication Database entry. SEE ALSO
kas(8), kas_create(8) COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved. This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell. OpenAFS 2012-03-26 KAS_DELETE(8)
All times are GMT -4. The time now is 10:50 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy