Thanks for your valuable response, Am doing a testing with the test boxes so there will no flow in logs here. Also once we succeed with our other testings then we will implement along this into our production servers.
And yes now i have waited to watch the changes, And am pretty ok with this logrotation stuff. Once again thanks for clearing the dark.
I've got a problem with a .z compressed file: when I decompress it, I get a .gz file, and when I decompress this one, I get the previous .z file again! Does anyone know how do I break off this loop? (1 Reply)
So I dont enounter things like:
gzip: /sometimename.gz already exists; do you wish to overwrite (y or n)?
Want to add it into a script and if there is a file aready there to just overwrite it, otherwise the script will hang unless there is manual intervention. (1 Reply)
heya,
can someone help me with following problem.
i am not sure how far you know the catalina.sh script from tomcat. when i start my tomcat with "catalina.sh run" then the startup-process-output will be printed out on the console, but the tomcat process is started in current shell/session, so... (1 Reply)
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Hi all,
Can anyone guess why this is happening? I am new to Perl, so please help me to fix this error:
- I have a static html file which calls the cgi-perl script.
HTML Code:
<html>
<head>
<title> Hey Dude! </title>
</head>
<body>
<form method="POST"... (3 Replies)
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Good afternoon, I started apologizing for not creating a specific topic with my subject, I could not find the option to create a topic, friends, if someone can help me thank you very much, I have a problem, I have a DVR with a HISILICON HI chip 3520, it compresses and encrypts the videos recorded... (2 Replies)
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
LEARN ABOUT DEBIAN
ocf_heartbeat_tomcat
OCF_HEARTBEAT_TOMCAT(7) OCF resource agents OCF_HEARTBEAT_TOMCAT(7)NAME
ocf_heartbeat_tomcat - Manages a Tomcat servlet environment instance
SYNOPSIS
tomcat [start | stop | status | monitor | meta-data | validate-all]
DESCRIPTION
Resource script for Tomcat. It manages a Tomcat instance as a cluster resource.
SUPPORTED PARAMETERS
tomcat_name
The name of the resource, added as a Java parameter in JAVA_OPTS: -Dname=<tomcat_name> to Tomcat process on start. Used to ensure
process is still running and must be unique. (unique, optional, string, no default)
script_log
Log file, used during start and stop operations. (unique, optional, string, no default)
tomcat_stop_timeout
Time-out for stop operation. DEPRECATED (optional, integer, no default)
tomcat_suspend_trialcount
Maximum number of times to retry stop operation before suspending and killing Tomcat. DEPRECATED. Does not retry. (optional, integer,
no default)
tomcat_user
The user who starts Tomcat. (optional, string, no default)
statusurl
URL for state confirmation. (optional, string, no default)
java_home
Home directory of Java. (required, string, no default)
java_opts
Java JVM options used on start and stop. (optional, string, no default)
catalina_home
Home directory of Tomcat. (unique, required, string, no default)
catalina_base
Instance directory of Tomcat (unique, optional, string, no default)
catalina_pid
A PID file name for Tomcat. (unique, optional, string, no default)
tomcat_start_opts
Tomcat start options. (optional, string, no default)
catalina_opts
Catalina options, for the start operation only. (optional, string, no default)
catalina_rotate_log
Rotate catalina.out flag. (optional, string, no default)
catalina_rotatetime
catalina.out rotation interval (seconds). (optional, integer, no default)
SUPPORTED ACTIONS
This resource agent supports the following actions (operations):
start
Starts the resource. Suggested minimum timeout: 60s.
stop
Stops the resource. Suggested minimum timeout: 120s.
status
Performs a status check. Suggested minimum timeout: 60.
monitor
Performs a detailed status check. Suggested minimum timeout: 30s. Suggested interval: 10s.
meta-data
Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5s.
validate-all
Performs a validation of the resource configuration. Suggested minimum timeout: 5.
EXAMPLE
The following is an example configuration for a tomcat resource using the crm(8) shell:
primitive p_tomcat ocf:heartbeat:tomcat
params
java_home=string
catalina_home=string
op monitor depth="0" timeout="30s" interval="10s"
SEE ALSO
http://www.linux-ha.org/wiki/tomcat_(resource_agent)
AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors)
resource-agents UNKNOWN 03/09/2014 OCF_HEARTBEAT_TOMCAT(7)