06-27-2008
You put those 2 lines into a script, and then you run the script (a copy on each server) with cron...
It sounds like you want some way to trigger these things, all 10 of them, from one place when ever you feel like it. That means you have to log-in to each server in turn and execute the command, etc. There is a unix utility called "rsh" (remote shell). You might want look at that, but I'm usually for the KISS principle.
10 More Discussions You Might Find Interesting
1. AIX
Hi,
Other than df -k, is there any command that will tell me all physical hard drives installed on the system as well as the size of each one?
I'm using AIX 5.1
Thanks, (3 Replies)
Discussion started by: quickfirststep
3 Replies
2. Shell Programming and Scripting
good day. i jsut wanted to know what is the best script or the best way changing a lot of Ip's in all servers. Do you have any idea? im using awk to change IP,what if, you have lots of servers. You need to change it one by one? It will take time to change it manually. (2 Replies)
Discussion started by: kenshinhimura
2 Replies
3. Shell Programming and Scripting
Hello,
I'm writing a script to monitor different filesystems in multiple servers. And depending on the % free, my script will send an Alert email if % free is less than threshold.
I want to keep a input_feed_file which would have "server,filesystem".
If I run a script a host 'a', then I can... (3 Replies)
Discussion started by: bperl
3 Replies
4. Solaris
I have a SparcStation5 that is making sounds that make me think the disk drive(s) may be on the verge of quiting. What is the command to list the disk types and sizes? I'm thinking I can possibly pick up another drive or two and compy the exisiting drives while they are still working. (1 Reply)
Discussion started by: muletrainman
1 Replies
5. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. I am trying to write a script where my professor will log in and the script will give him his quota info with the LOGNAME variables, etc.
2. standard I'm not exactly... (0 Replies)
Discussion started by: cchapma1
0 Replies
6. Red Hat
Hi,
I would like to know how to find out whether hard disk is local or mapped from storage,
on my server both hard disk are there,
Please guide me.
Regards,
Manoj (1 Reply)
Discussion started by: manoj.solaris
1 Replies
7. Red Hat
Hello,
I have few HDD and SSD installed in my RHEL 5 server. I want to know which disk are SDD and which are HDD. What command should I use?
Thanks (3 Replies)
Discussion started by: fahdmirza
3 Replies
8. AIX
Hello,
I need to get the lv mountpoint from the hdisk directly (from vgda i guess) and not from odm or /etc/filesystems
I knew the command, but unfortunately I forgot it ;)
cheers funksen (5 Replies)
Discussion started by: funksen
5 Replies
9. UNIX for Advanced & Expert Users
On one of the Unix server B.11.31. a disk that has been provisioned from the VMAX, but according to the diskinfo its show coming from clarion.
sudo /opt/emc/SYMCLI/bin/symvg sho /dev/vg_<name>
Volume Group Name : /dev/vg_<name>
Volume Group Type : HP-UX LVM
Volume Group State ... (0 Replies)
Discussion started by: kpatel786
0 Replies
10. UNIX for Beginners Questions & Answers
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
LEARN ABOUT SUNOS
asadmin-list-virtual-servers
asadmin-list-virtual-servers(1AS) User Commands asadmin-list-virtual-servers(1AS)
NAME
asadmin-list-virtual-servers, list-virtual-servers - gets the virtual servers
SYNOPSIS
list-virtual-servers --user admin_user [--password admin_password] [--host localhost] [--port 4848] [--secure|-s] [--passwordfile filename]
[--terse=false] [--echo=false] [--interactive=true]
Gets all the virtual server elements. This command is supported in remote mode only.
OPTIONS
--user authorized domain application server administrative username.
--password password to administer the domain application server.
--host machine name where the domain application server is running.
--port port number of the domain application server listening for administration requests.
--secure if true, uses SSL/TLS to communicate with the domain application server.
--passwordfile file containing the domain application server password.
--terse indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well-
formatted data for consumption by a script. Default is false.
--echo setting to true will echo the command line statement on the standard output. Default is false.
--interactive if set to true (default), only the required password options are prompted.
Example 1: Using list-virtual-servers
asadmin> list-virtual-servers --user admin --password adminadmin
--host localhost --port 4848
Command list-virtual-servers executed successfully
EXIT STATUS
0 command executed successfully
1 error in executing the command
asadmin-create-virtual-server(1AS), asadmin-delete-virtual-server(1AS)
J2EE 1.4 SDK March 2004 asadmin-list-virtual-servers(1AS)