10 More Discussions You Might Find Interesting
1. Red Hat
Hi there,
I am wondering if I could add start/stop ksh scripts provided by 3rd party to cluster... I read that script must be ocf/lsb compliant, however, in AIX I can just set up two separate scripts for starting and stopping application. Can similar be done under RH Linux cluster?
Cheers,
c (1 Reply)
Discussion started by: cyjan
1 Replies
2. Shell Programming and Scripting
Hi,
I need to find all the executable shell scripts under /home dirctory and its sub directories.
I would like to print the path to the files , which include in the header of the file: #!
(Actually its the first line of the file).
I have tried :
find . -name "*" -type f -exec sh -c '
... (14 Replies)
Discussion started by: Yoav
14 Replies
3. Red Hat
Hi All Rhel Admin
Need a Small Help please Give me a Preinstallation Script and postinstallation script for Kickstart
Preinstallation script
Just Need to Partition 1 TB HDD using LVM
Except Boot
/boot = 500
swap = 16 GB
/ = 850 Gb
8e
And need to format it in ext4
... (1 Reply)
Discussion started by: babinlonston
1 Replies
4. Shell Programming and Scripting
Hello community,
I created a script to simply query DB and then analize data. The environment where the script will works is two RedHat machines that access both to an external database. My script runs from the first crontab node. But what about if the first node goes down?
What I need is copy... (2 Replies)
Discussion started by: Lord Spectre
2 Replies
5. UNIX for Advanced & Expert Users
hello,
i have an AIX 6.1 server which has Informix 11.5 Database Engine. When i want to export some databases from the instance for backup or for any other use i can do it with dbexport (informix command). The problem is that when i run this command or when i run script which run this command,... (2 Replies)
Discussion started by: omonoiatis9
2 Replies
6. Shell Programming and Scripting
Hi,
We have a requirement wherein we do not want to share the Oracle DB sys and system passwords to be shared with the support desk.
But they will be responsible for starting/shuting down the Database.
Is it possible to write a shell script which will read the sys and system passwords from a... (0 Replies)
Discussion started by: narayanv
0 Replies
7. Shell Programming and Scripting
Dear All,
Pls find my scripts for Agent services strat & stop.
EAMSROOT=/opt/panaces
export EAMSROOT
cd $EAMSROOT
nohup ./OracleAgent.sh start &
nohup ./PFRAgent.sh start &
nohup ./PFR.sh start &
nohup ./SolarisOSAgent.sh start &
exit 0
EAMSROOT=/opt/panaces
export EAMSROOT
cd... (0 Replies)
Discussion started by: starnaresh
0 Replies
8. What is on Your Mind?
If you were a beginner again, where would you start, what would you do differently, and what would you start learning first, etc?
...If your goal was to become a great programmer / hacker?
I am a 17 year old male who has a lot of time on his hands, plus, an eagerness to learn. However, there... (13 Replies)
Discussion started by: New2AllThis
13 Replies
9. Shell Programming and Scripting
Good morning.
I have a tricky one here for me. Hope somebody can help.
I am looking for a way to take a single script in a directory and use it to fire all scripts within a subdirectory.
For example.
Lets say I have the following in /lcl/prd/apps
file1.sh
file2.sh
file3.sh
file4.sh... (2 Replies)
Discussion started by: LRoberts
2 Replies
10. Shell Programming and Scripting
Hi,
I just learnt the shell scripting and got working on that right now. I have one problem.
Here i am having a java application that needs to be start and stop using two shell scripts, i.e., starting the java application using one shell script and stopping the application using another... (1 Reply)
Discussion started by: sadha
1 Replies
condor_cod(1) General Commands Manual condor_cod(1)
Name
condor_cod manage - COD machines and jobs
Synopsis
condor_cod [-help -version]
condor_codrequest[-pool centralmanagerhostname[:portnumber]-name scheddname][-addr "<a.b.c.d:port>"] [[-help -version] [-debug -timeout N
-classad file] ] [-requirements expr] [-lease N]
condor_codrelease-id ClaimID[[-help -version] [-debug -timeout N -classad file] ] [-fast]
condor_codactivate-id ClaimID[[-help -version] [-debug -timeout N -classad file] ] [-keyword string -jobad filename -cluster N -proc N
-requirements expr]
condor_coddeactivate-id ClaimID[[-help -version] [-debug -timeout N -classad file] ] [-fast]
condor_codsuspend-id ClaimID[[-help -version] [-debug -timeout N -classad file] ]
condor_codrenew-id ClaimID[[-help -version] [-debug -timeout N -classad file] ]
condor_codresume-id ClaimID[[-help -version] [-debug -timeout N -classad file] ]
condor_coddelegate_proxy-id ClaimID[[-help -version] [-debug -timeout N -classad file] ] [-x509proxy ProxyFile]
Description
condor_codissues commands that manage and use COD claims on machines, given proper authorization.
Instead of specifying an argument of request, release, activate, deactivate, suspend, renew, or resume, the user may invoke the condor_cod-
tool by appending an underscore followed by one of these arguments. As an example, the following two commands are equivalent:
condor_cod release -id "<128.105.121.21:49973>#1073352104#4"
condor_cod _release -id "<128.105.121.21:49973>#1073352104#4"
To make these extended-name commands work, hard link the extended name to the condor_codexecutable. For example on a Unix machine:
ln condor_cod _request condor_cod
The requestargument gives a claim ID, and the other commands (release, activate, deactivate, suspend, and resume) use the claim ID. The
claim ID is given as the last line of output for a request, and the output appears of the form:
ID of new claim is: "<a.b.c.d:portnumber>#x#y"
An actual example of this line of output is
ID of new claim is: "<128.105.121.21:49973>#1073352104#4"
Also see section 4.3for more a complete description of COD.
Options
-help
Display usage information
-version
Display version information
-pool centralmanagerhostname[:portnumber]
Specify a pool by giving the central manager's host name and an optional port number
-name scheddname
Send the command to a machine identified by scheddname
-addr <a.b.c.d:port>
Send the command to a machine located at "<a.b.c.d:port>"
-lease N
For the requestof a new claim, automatically release the claim after Nseconds.
request
Create a new COD claim
release
Relinquish a claim and kill any running job
activate
Start a job on a given claim
deactivate
Kill the current job, but keep the claim
suspend
Suspend the job on a given claim
renew
Renew the lease to the COD claim
resume
Resume the job on a given claim
delegate_proxy
Delegate an X509 proxy for the given claim
General Remarks
Examples
Exit Status
condor_codwill exit with a status value of 0 (zero) upon success, and it will exit with the value 1 (one) upon failure.
Author
Condor Team, University of Wisconsin-Madison
Copyright
Copyright (C) 1990-2012 Condor Team, Computer Sciences Department, University of Wisconsin-Madison, Madison, WI. All Rights Reserved.
Licensed under the Apache License, Version 2.0.
See the Condor Version 7.8.2 Manualor http://www.condorproject.org/licensefor additional notices. condor-admin@cs.wisc.edu
September 2012 condor_cod(1)