05-05-2014
If it was me, I would write a PHP script to do this. Basically you would have a configuration file with the hostnames and other required information; then you can write a PHP script to read the configuration file, do the tasks on the servers, and log any errors or the results.
For SSH from PHP you might consider
phplibsec
With a PHP solution, you could then create a secure web-interface to help with the tasks.
This User Gave Thanks to Neo For This Post:
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi all :
i am new to unix and linux world , my experience is near zero, so i am seeking your help to maintain a learning environment to try to catch up with linux and unix in the same time , furthermore win 2000 server is a must for my current job , so what do u think , can this triple boot... (1 Reply)
Discussion started by: behmoth
1 Replies
2. Solaris
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
3. Shell Programming and Scripting
I have a couple of servers that can't see each other and need to copy files from one to the other. I try to invoke scp from a 3rd server that can see both servers - get error msgs that are cryptic.
from server C
I can do
scp user@serverA:~/file .
scp file user@serverB:~
but if I try to... (2 Replies)
Discussion started by: bigjohn-nj
2 Replies
4. AIX
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
5. Shell Programming and Scripting
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
6. UNIX for Dummies Questions & Answers
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
7. Solaris
Hey Guys
i've got a question about the AI Server. Is there any possibility to backup existing servers to reinstall them automaticly by using the AI Server?
Regards
Marcus (3 Replies)
Discussion started by: Marcusg562
3 Replies
8. UNIX for Advanced & Expert Users
Hey everyone,
I have got 100 different servers(all linux and same version).One of them admin server can reach to others and their structures are same.For example I want to change OS dates and weblogic(java dates) for the timezone project.But I do not want to deal with each one separately.I want... (10 Replies)
Discussion started by: daggerphobia_
10 Replies
LEARN ABOUT DEBIAN
machine-info
MACHINE-INFO(5) machine-info MACHINE-INFO(5)
NAME
machine-info - Local machine information file
SYNOPSIS
/etc/machine-info
DESCRIPTION
The /etc/machine-info file contains machine meta data.
The basic file format of machine-info is a newline-separated list of environment-like shell-compatible variable assignments. It is possible
to source the configuration from shell scripts, however, beyond mere variable assignments no shell features are supported, allowing
applications to read the file without implementing a shell compatible execution engine.
/etc/machine-info contains meta data about the machine that is set by the user or administrator.
Depending on the operating system other configuration files might be checked for machine information as well, however only as fallback.
OPTIONS
The following machine meta data parameters may be set using /etc/machine-info:
PRETTY_HOSTNAME=
A pretty human-readable UTF8 machine identifier string. This should contain a name like Lennart's Laptop which is useful to present to
the user and does not suffer by the syntax limitations of internet domain names. If possible the internet host name as configured in
/etc/hostname should be kept similar to this one. Example: if this value is Lennart's Computer an Internet host name of
lennarts-computer might be a good choice. If this parameter is not set an application should fall back to the Internet host name for
presentation purposes.
ICON_NAME=
An icon identifying this machine according to the XDG Icon Naming Specification[1]. If this parameter is not set an application should
fall back to computer or a similar icon name.
EXAMPLE
PRETTY_HOSTNAME="Lennart's Computer"
ICON_NAME=computer-laptop
SEE ALSO
systemd(1), os-release(5), hostname(5), machine-id(5)
AUTHOR
Lennart Poettering <lennart@poettering.net>
Developer
NOTES
1. XDG Icon Naming Specification
http://standards.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html
systemd 10/07/2013 MACHINE-INFO(5)