08-17-2006
Dummy Questions
NOT IN USE, IGNORE
Last edited by slayer666; 08-18-2006 at 09:48 AM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am ftp-ing (I think) files from one computer to another and I am using the Put command to do this. Is there a way for me to string these commands together and Put several files at once?
Thanks,
Amy (4 Replies)
Discussion started by: amygdala
4 Replies
2. UNIX for Advanced & Expert Users
what do you record or look for when using these dummy files to test I/O throughput on disk drives. i have no clue and reading from books sure aint helping much.
i know all about the creation and every other thing there is to it but when it comes to actual testing, how do i use them
this is... (4 Replies)
Discussion started by: TRUEST
4 Replies
3. UNIX for Dummies Questions & Answers
i need to learn unix real quick and i have completely no idea how. could anyone please tell me how to get material to get me going??? I am IT oriented.
PLEASE ANY ONE???????????????? :confused: (3 Replies)
Discussion started by: quarmenna
3 Replies
4. Shell Programming and Scripting
This drive me nut, any can show me how to do it ??
str1='Case Modify 10001 20002 30003 40004|Report Create 3417176211|Case Modify 10002 20002 30003 40004'
and str2='Case Modify 10001'
if str1 ~ str2
then str1='Report Create 3417176211|Case Modify 10002 20002 30003 40004'
Thanks, (8 Replies)
Discussion started by: sabercats
8 Replies
5. Shell Programming and Scripting
Hi,
'ls -ld' is no use ....
I want to get the total size of a directory including subdir.
Any advice?
Thanks in advance (2 Replies)
Discussion started by: GCTEII
2 Replies
6. UNIX for Dummies Questions & Answers
Hi,
'ls -ld' is no use ....
I want to get the total size of a directory.
Any advice?
Thanks in advance! (4 Replies)
Discussion started by: GCTEII
4 Replies
7. UNIX for Dummies Questions & Answers
thanks all fro your help on my last question my Unix class is officially my least favorite :( as I am not sure I will ever get it :confused: :eek: . okay so I have a couple more these may seem basic but I had never heard of UNIX untill last week when classes started. first of what does the tty,... (2 Replies)
Discussion started by: cinnamonbear
2 Replies
8. Shell Programming and Scripting
Hi everyone!! i need some help to do the next exercice, if some one can help-me!
Perform a script to swap two lines of a file. The name of
file as the two line numbers are passed as a parameter. It should be
verify that the file exists, have the necessary permits and lines.
i try... (3 Replies)
Discussion started by: freixo
3 Replies
9. Homework & Coursework Questions
1.) I am to write scripts that will be phasetest folder in the home directory.
2.) The folder should have a set-up,phase and display files
I have written a small script which i used to check for the existing users and their password.
What I need help with:
I have a set of questions in a... (19 Replies)
Discussion started by: moraks007
19 Replies
10. UNIX for Beginners Questions & Answers
Where can I get UNIX? (1 Reply)
Discussion started by: ciao303
1 Replies
LEARN ABOUT CENTOS
ocf_heartbeat_dummy
OCF_HEARTBEAT_DUMMY(7) OCF resource agents OCF_HEARTBEAT_DUMMY(7)
NAME
ocf_heartbeat_Dummy - Example stateless resource agent
SYNOPSIS
Dummy [start | stop | monitor | migrate_to | migrate_from | meta-data | validate-all]
DESCRIPTION
This is a Dummy Resource Agent. It does absolutely nothing except keep track of whether its running or not. Its purpose in life is for
testing and to serve as a template for RA writers.
NB: Please pay attention to the timeouts specified in the actions section below. They should be meaningful for the kind of resource the
agent manages. They should be the minimum advised timeouts, but they shouldn't/cannot cover _all_ possible resource instances. So, try to
be neither overly generous nor too stingy, but moderate. The minimum timeouts should never be below 10 seconds.
This resource agent may be configured for native migration if available in the cluster manager. For Pacemaker, the allow-migrate="true"
meta attribute enables native migration.
SUPPORTED PARAMETERS
state
Location to store the resource state in.
(unique, optional, string, default "/var/run/resource-agents/Dummy-default.state")
fake
Fake attribute that can be changed to cause a reload
(optional, string, default "dummy")
SUPPORTED ACTIONS
This resource agent supports the following actions (operations):
start
Starts the resource. Suggested minimum timeout: 20.
stop
Stops the resource. Suggested minimum timeout: 20.
monitor
Performs a detailed status check. Suggested minimum timeout: 20. Suggested interval: 10.
reload
Suggested minimum timeout: 20.
migrate_to
Executes steps necessary for migrating the resource to the node. Suggested minimum timeout: 20.
migrate_from
Executes steps necessary for migrating the resource away from the node. Suggested minimum timeout: 20.
meta-data
Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5.
validate-all
Performs a validation of the resource configuration. Suggested minimum timeout: 20.
EXAMPLE
The following is an example configuration for a Dummy resource using the crm(8) shell:
primitive p_Dummy ocf:heartbeat:Dummy
meta allow-migrate="true"
op monitor timeout="20" interval="10" depth="0"
SEE ALSO
http://www.linux-ha.org/wiki/Dummy_(resource_agent)
AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors)
resource-agents UNKNOWN 06/09/2014 OCF_HEARTBEAT_DUMMY(7)