03-20-2009
Okay. What entry i should change in the ntp.conf for both node1 and node2?
$cat /etc/inet/ntp.conf
#...
server 127.127.1.0
peer clusternode1-priv prefer
peer clusternode2-priv
peer clusternode3-priv
peer clusternode4-priv
peer clusternode5-priv
peer clusternode6-priv
peer clusternode7-priv
peer clusternode8-priv
peer clusternode9-priv
peer clusternode10-priv
peer clusternode11-priv
peer clusternode12-priv
peer clusternode13-priv
peer clusternode14-priv
peer clusternode15-priv
peer clusternode16-priv
# Drift file (optional)
driftfile /var/ntp/ntp.drift
filegen peerstats file peerstats type day enable
filegen loopstats file loopstats type day enable
filegen clockstats file clockstats type day enable
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
how to make a line BLINKING in output and also how to increase font size in output
suppose in run a.sh script
inside echo "hello world "
i want that this should blink in the output and also
the font size of hello world should be big ..
could you please help me out in this (3 Replies)
Discussion started by: mail2sant
3 Replies
2. Shell Programming and Scripting
Hi,
I have a system under test, and I use a script that does a ps.
The output, is in the following format, it's basically the timestamp, followed by the rss and vsize.
09:03:57 68404 183656 68312 181944 69860 217360 67536 182564 69072 183172 69032 199276
09:04:27 68752 183292 70000 189020... (5 Replies)
Discussion started by: Bloke
5 Replies
3. Shell Programming and Scripting
I have a file with the following content.
> cat /tmp/internetusage.txt
6709.296322 30000 2/7/2010 0.00I am using the following awk command to calculate a percentage from field 1 and 2 from the file.
awk '{ print $1/$2*100 }' /tmp/internetusage.txt
This outputs the value "22.3643" as a... (1 Reply)
Discussion started by: jelloir
1 Replies
4. Shell Programming and Scripting
Hi All,
I have around 900 Select Sql's which I would like to run in an awk script and print the output of those sql's in an txt file.
Can you anyone pls let me know how do I do it and execute the awk script? Thanks. (4 Replies)
Discussion started by: adept
4 Replies
5. Shell Programming and Scripting
Below script perfectly works, giving below mail output. BUT, I want to make the script mail only if there are any D-Defined/T-Transition/B-Broken State WPARs and also to copy the output generated during monitoring to a temporary log file, which gets cleaned up every week. Need suggestions.
... (4 Replies)
Discussion started by: aix_admin_007
4 Replies
6. Shell Programming and Scripting
Hi All,
I have result log file which looks like this (below): from the content need to consolidate the result and put it in tabular form
1). Intercomponents Checking
Passed: All Server are passed.
======================================================================
2). OS version Checking... (9 Replies)
Discussion started by: Optimus81
9 Replies
7. Red Hat
I ran the following command.
cat abc.c > abc.c
I got message the following message from command cat:
cat: abc.c : input file is same as the output file
How the command came to know of the destination file name as the command is sending output to standard file. (3 Replies)
Discussion started by: ravisingh
3 Replies
8. Red Hat
In our environment we used to lot of events for ntp issues. I am unable to find the what needs to consider here. :(
ntpq -p fields.
remote refid st t when poll reach delay offset jitter
---------- Post updated at 05:13 AM ---------- Previous update was at 04:47 AM... (1 Reply)
Discussion started by: Naveen.6025
1 Replies
9. Shell Programming and Scripting
Hi
i an not able to understand what below command in saying in its O/P
what i understand is the astrick(*) one is acting as a ntp master.
but not able to understand what insane and sys.peer here means.
# ntpq
ntpq> pe
remote refid st when poll reach delay ... (2 Replies)
Discussion started by: scriptor
2 Replies
10. Solaris
Problem with external aerial and galleonm time server just turned back on. I'm guessing this is telling me its not worked for 9 days?
Should I now force a poll or wait?
$ntpq -p
remote refid st t when poll reach delay offset disp... (2 Replies)
Discussion started by: psychocandy
2 Replies
LEARN ABOUT LINUX
ssl_get_peer_cert_chain
SSL_get_peer_cert_chain(3SSL) OpenSSL SSL_get_peer_cert_chain(3SSL)
NAME
SSL_get_peer_cert_chain - get the X509 certificate chain of the peer
SYNOPSIS
#include <openssl/ssl.h>
STACKOF(X509) *SSL_get_peer_cert_chain(const SSL *ssl);
DESCRIPTION
SSL_get_peer_cert_chain() returns a pointer to STACKOF(X509) certificates forming the certificate chain of the peer. If called on the
client side, the stack also contains the peer's certificate; if called on the server side, the peer's certificate must be obtained
separately using SSL_get_peer_certificate(3). If the peer did not present a certificate, NULL is returned.
NOTES
The peer certificate chain is not necessarily available after reusing a session, in which case a NULL pointer is returned.
The reference count of the STACKOF(X509) object is not incremented. If the corresponding session is freed, the pointer must not be used
any longer.
RETURN VALUES
The following return values can occur:
NULL
No certificate was presented by the peer or no connection was established or the certificate chain is no longer available when a
session is reused.
Pointer to a STACKOF(X509)
The return value points to the certificate chain presented by the peer.
SEE ALSO
ssl(3), SSL_get_peer_certificate(3)
1.0.0e 2005-03-30 SSL_get_peer_cert_chain(3SSL)