07-01-2009
File execution problem
hi all
currently we are building lot of new servers(50+).What im looking for is a small piece of code that should help me in running a script that will configure company specific software in all the new boxes.For that currently we have to login to each and every new box manuallly and run that script.
Is there any way we can automate that.we are provided with ftp userid and password.(for ex:userid:cman password:cman)
Need ideas to develop such piece of code.
Is it possible to execute that piece from one box instead of logging into everybox?
Any help is greatly appreciated...
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
My input file:
>ali
ASSDDGHFHFHJFJHJDSDGSDGSDGSDGSDGSDGSDGDSGDSGSDGDSGSDGSDGDSGSDGGDSG
>zzz
ASdASDASDSADSADDSADJKHJDSADKLJADKLSAJDLJLKJLDASDDSADd
>abu
ASDASDFSAFASFSADFASDASDSADSADSADSADSADSADASDASdSADSADSADA
>aaa... (2 Replies)
Discussion started by: patrick87
2 Replies
2. Shell Programming and Scripting
Hi,
There is a ksh file as below
/scripts/dir> ls -ltr script.ksh
-rwxrwxrwx 1 oprlxr lxr 4937 Aug 19 11:13 script.ksh
i logged on to the server with my ID and able to see the above file. I tried executing it but it was shoing below error.
(JSKOBS) /scripts/dir>... (2 Replies)
Discussion started by: JSKOBS
2 Replies
3. UNIX for Dummies Questions & Answers
Hi
i am using expect module and trying to login using following code.
ssh 127.0.0.1
expect "word:"
send "$password \n"
kindly let me know the login script using expect module (1 Reply)
Discussion started by: esumiba
1 Replies
4. UNIX for Dummies Questions & Answers
Hi
i have a file in which there are three fields
code:
919804199233 404911130003916 357266044991350F
and now i want to add two more fields i.e.
code:
919804199233 404911130003916 357266044991350F ms 123
how can i do it using command line
and if have a file of 100... (8 Replies)
Discussion started by: esumiba
8 Replies
5. UNIX for Dummies Questions & Answers
Hi
I am automating my few commands out of which one command is
tail -f running.logs
when i run this command it does not automatically exit and show prompt (#)
what would i do so that it will exit out automatically after few seconds and move to the next command without using
... (4 Replies)
Discussion started by: esumiba
4 Replies
6. UNIX for Dummies Questions & Answers
HI
I am trying to check the status of port using command
/code:
netstat -an | grep port
/Output:
*.2009 *.* 0 0 65535 0 LISTEN
what i am trying to do is
i want to grep only status Wether the port is established/listen if so show ok else... (1 Reply)
Discussion started by: esumiba
1 Replies
7. Shell Programming and Scripting
hi all,
when i tried executing the script by giving following command
$ sh test.sh <parameter>
it shows the following output:
<none>
status code=0
Previously it was working fine.But now its showing this output. (1 Reply)
Discussion started by: sanjay mn
1 Replies
8. Shell Programming and Scripting
Hi,
I have been trying to run a simple script
CONFIG_FILE="/jay/check"
.
.
.
for i in `cat $CONFIG_FILE`
do
loc=`echo $i | cut -d "|" -f2`
var=$(find $loc -mtime -1|wc -l)
if then
echo $loc has files older than 1 day
fi
done
.
.
. (2 Replies)
Discussion started by: jayii
2 Replies
9. UNIX for Dummies Questions & Answers
How to search a pattern from multiple files...
i used the command suppose the pattern name is xxx
grep xxx (file1-o- file2-o- file3)
Thanks in advance (4 Replies)
Discussion started by: ksakil
4 Replies
10. Shell Programming and Scripting
HI All..
below is my menu options script. in option 2,3 and 4 im giving input and they are saving into their respective text file.
problem is when im trying to "cat" those files in options 7,8 and 9 im not getting the output. no respective file contents are displaying on screen. but if i... (1 Reply)
Discussion started by: saichand1985
1 Replies
LEARN ABOUT DEBIAN
groupd
GROUPD(8) cluster GROUPD(8)
NAME
groupd - compatibility daemon for fenced, dlm_controld and gfs_controld
SYNOPSIS
groupd [OPTIONS]
DESCRIPTION
The groupd daemon and libgroup library are used by the fenced, dlm_controld and gfs_controld daemons when they are operating in clus-
ter2-compatible mode to perform a rolling cluster upgrade from cluster2 to cluster3.
See cman(5) for more information on the upgrading configuration option needed to perform a rolling upgrade.
When the upgrading option is enabled, cman adds the following to the online configuration:
<group groupd_compat="1"/>
This setting causes the cman init script to start the groupd daemon, and causes the groupd, fenced, dlm_controld and gfs_controld daemons
to operate in the old cluster2 mode so they will be compatible with cluster2 nodes in the cluster that have not yet been upgraded.
The upgrading setting, including the groupd_compat setting, cannot be changed in a running cluster. The entire cluster must be taken off-
line to change these because the new cluster3 default modes are not compatible with the old cluster2 modes. The upgrading/compat settings
cause the new cluster3 daemons to run the old cluster2 code and protocols.
OPTIONS
Command line options override a corresponding setting in cluster.conf.
-D Enable debugging to stderr and don't fork.
-L Enable debugging to log file.
-g num groupd compatibility mode, 0 off, 1 on. Default 0.
-h Print a help message describing available options, then exit.
-V Print program version information, then exit.
SEE ALSO
cman(5), fenced(8), dlm_controld(8), gfs_controld(8)
cluster 2009-01-19 GROUPD(8)