One time query to sync time with NTP server
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I do not plan to configure NTP client to sync with the NTP servers for my Solaris servers.
Is it possible that I connect to this NTP servers and sync the time on an ad-hoc basis?
solaris ntp
add a comment |Â
up vote
1
down vote
favorite
I do not plan to configure NTP client to sync with the NTP servers for my Solaris servers.
Is it possible that I connect to this NTP servers and sync the time on an ad-hoc basis?
solaris ntp
1
Why are you setting out on the wrong path? It's trivial to configure NTP (whetherntpd
orxntpd
) to synchronise to a local server.
â roaima
May 17 at 10:35
I am not familiar with the configuration of NTP client/service for Solaris.
â youcanlearnanything
May 17 at 10:36
What about google.com/â¦
â roaima
May 17 at 10:38
looks kind of confusing for me.
â youcanlearnanything
May 17 at 10:38
You haven't asked how to configure NTP to synchronise clients from a local server, nor how to set up that local server, so I can't answer such a question here. If you do ask that kind of question I'm sure you'll get answers. Please ensure you state whether your primary server needs to get time from the Internet or whether it's to run only from its local clock.
â roaima
May 17 at 10:41
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I do not plan to configure NTP client to sync with the NTP servers for my Solaris servers.
Is it possible that I connect to this NTP servers and sync the time on an ad-hoc basis?
solaris ntp
I do not plan to configure NTP client to sync with the NTP servers for my Solaris servers.
Is it possible that I connect to this NTP servers and sync the time on an ad-hoc basis?
solaris ntp
edited May 17 at 9:06
Jeff Schaller
31.1k846105
31.1k846105
asked May 17 at 5:47
youcanlearnanything
1464
1464
1
Why are you setting out on the wrong path? It's trivial to configure NTP (whetherntpd
orxntpd
) to synchronise to a local server.
â roaima
May 17 at 10:35
I am not familiar with the configuration of NTP client/service for Solaris.
â youcanlearnanything
May 17 at 10:36
What about google.com/â¦
â roaima
May 17 at 10:38
looks kind of confusing for me.
â youcanlearnanything
May 17 at 10:38
You haven't asked how to configure NTP to synchronise clients from a local server, nor how to set up that local server, so I can't answer such a question here. If you do ask that kind of question I'm sure you'll get answers. Please ensure you state whether your primary server needs to get time from the Internet or whether it's to run only from its local clock.
â roaima
May 17 at 10:41
add a comment |Â
1
Why are you setting out on the wrong path? It's trivial to configure NTP (whetherntpd
orxntpd
) to synchronise to a local server.
â roaima
May 17 at 10:35
I am not familiar with the configuration of NTP client/service for Solaris.
â youcanlearnanything
May 17 at 10:36
What about google.com/â¦
â roaima
May 17 at 10:38
looks kind of confusing for me.
â youcanlearnanything
May 17 at 10:38
You haven't asked how to configure NTP to synchronise clients from a local server, nor how to set up that local server, so I can't answer such a question here. If you do ask that kind of question I'm sure you'll get answers. Please ensure you state whether your primary server needs to get time from the Internet or whether it's to run only from its local clock.
â roaima
May 17 at 10:41
1
1
Why are you setting out on the wrong path? It's trivial to configure NTP (whether
ntpd
or xntpd
) to synchronise to a local server.â roaima
May 17 at 10:35
Why are you setting out on the wrong path? It's trivial to configure NTP (whether
ntpd
or xntpd
) to synchronise to a local server.â roaima
May 17 at 10:35
I am not familiar with the configuration of NTP client/service for Solaris.
â youcanlearnanything
May 17 at 10:36
I am not familiar with the configuration of NTP client/service for Solaris.
â youcanlearnanything
May 17 at 10:36
What about google.com/â¦
â roaima
May 17 at 10:38
What about google.com/â¦
â roaima
May 17 at 10:38
looks kind of confusing for me.
â youcanlearnanything
May 17 at 10:38
looks kind of confusing for me.
â youcanlearnanything
May 17 at 10:38
You haven't asked how to configure NTP to synchronise clients from a local server, nor how to set up that local server, so I can't answer such a question here. If you do ask that kind of question I'm sure you'll get answers. Please ensure you state whether your primary server needs to get time from the Internet or whether it's to run only from its local clock.
â roaima
May 17 at 10:41
You haven't asked how to configure NTP to synchronise clients from a local server, nor how to set up that local server, so I can't answer such a question here. If you do ask that kind of question I'm sure you'll get answers. Please ensure you state whether your primary server needs to get time from the Internet or whether it's to run only from its local clock.
â roaima
May 17 at 10:41
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
3
down vote
accepted
The ntpdate
command will have the answer of your question.
https://docs.oracle.com/cd/E23823_01/html/816-5166/ntpdate-1m.html
add a comment |Â
up vote
1
down vote
You could manually sync on an adhoc basis, but based on the simplicity of setting up NTP, you might as well set it up for your servers.
You didn't note your version of Solaris, but the configuration file is going to be similar across the majority of the platforms since most vendors use the same source code for NTP.
Sample simple configuration file for an NTP client below. You'll also usually see vendor samples in that same directory.
/etc/inet/ntp.conf:
server <NTP_SERVER1> prefer
server <NTP_SERVER2>
peer <NTP_PEER_SERVER1>
peer <NTP_PEER_SERVER2>
slewalways yes
driftfile /var/ntp/ntp.drift
statsdir /var/ntp/ntpstats/
You can also refer to NTP.org's faq:
http://www.ntp.org/ntpfaq/
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
accepted
The ntpdate
command will have the answer of your question.
https://docs.oracle.com/cd/E23823_01/html/816-5166/ntpdate-1m.html
add a comment |Â
up vote
3
down vote
accepted
The ntpdate
command will have the answer of your question.
https://docs.oracle.com/cd/E23823_01/html/816-5166/ntpdate-1m.html
add a comment |Â
up vote
3
down vote
accepted
up vote
3
down vote
accepted
The ntpdate
command will have the answer of your question.
https://docs.oracle.com/cd/E23823_01/html/816-5166/ntpdate-1m.html
The ntpdate
command will have the answer of your question.
https://docs.oracle.com/cd/E23823_01/html/816-5166/ntpdate-1m.html
answered May 17 at 7:01
minish
20614
20614
add a comment |Â
add a comment |Â
up vote
1
down vote
You could manually sync on an adhoc basis, but based on the simplicity of setting up NTP, you might as well set it up for your servers.
You didn't note your version of Solaris, but the configuration file is going to be similar across the majority of the platforms since most vendors use the same source code for NTP.
Sample simple configuration file for an NTP client below. You'll also usually see vendor samples in that same directory.
/etc/inet/ntp.conf:
server <NTP_SERVER1> prefer
server <NTP_SERVER2>
peer <NTP_PEER_SERVER1>
peer <NTP_PEER_SERVER2>
slewalways yes
driftfile /var/ntp/ntp.drift
statsdir /var/ntp/ntpstats/
You can also refer to NTP.org's faq:
http://www.ntp.org/ntpfaq/
add a comment |Â
up vote
1
down vote
You could manually sync on an adhoc basis, but based on the simplicity of setting up NTP, you might as well set it up for your servers.
You didn't note your version of Solaris, but the configuration file is going to be similar across the majority of the platforms since most vendors use the same source code for NTP.
Sample simple configuration file for an NTP client below. You'll also usually see vendor samples in that same directory.
/etc/inet/ntp.conf:
server <NTP_SERVER1> prefer
server <NTP_SERVER2>
peer <NTP_PEER_SERVER1>
peer <NTP_PEER_SERVER2>
slewalways yes
driftfile /var/ntp/ntp.drift
statsdir /var/ntp/ntpstats/
You can also refer to NTP.org's faq:
http://www.ntp.org/ntpfaq/
add a comment |Â
up vote
1
down vote
up vote
1
down vote
You could manually sync on an adhoc basis, but based on the simplicity of setting up NTP, you might as well set it up for your servers.
You didn't note your version of Solaris, but the configuration file is going to be similar across the majority of the platforms since most vendors use the same source code for NTP.
Sample simple configuration file for an NTP client below. You'll also usually see vendor samples in that same directory.
/etc/inet/ntp.conf:
server <NTP_SERVER1> prefer
server <NTP_SERVER2>
peer <NTP_PEER_SERVER1>
peer <NTP_PEER_SERVER2>
slewalways yes
driftfile /var/ntp/ntp.drift
statsdir /var/ntp/ntpstats/
You can also refer to NTP.org's faq:
http://www.ntp.org/ntpfaq/
You could manually sync on an adhoc basis, but based on the simplicity of setting up NTP, you might as well set it up for your servers.
You didn't note your version of Solaris, but the configuration file is going to be similar across the majority of the platforms since most vendors use the same source code for NTP.
Sample simple configuration file for an NTP client below. You'll also usually see vendor samples in that same directory.
/etc/inet/ntp.conf:
server <NTP_SERVER1> prefer
server <NTP_SERVER2>
peer <NTP_PEER_SERVER1>
peer <NTP_PEER_SERVER2>
slewalways yes
driftfile /var/ntp/ntp.drift
statsdir /var/ntp/ntpstats/
You can also refer to NTP.org's faq:
http://www.ntp.org/ntpfaq/
answered May 17 at 20:43
sleepyweasel
81319
81319
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f444288%2fone-time-query-to-sync-time-with-ntp-server%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
Why are you setting out on the wrong path? It's trivial to configure NTP (whether
ntpd
orxntpd
) to synchronise to a local server.â roaima
May 17 at 10:35
I am not familiar with the configuration of NTP client/service for Solaris.
â youcanlearnanything
May 17 at 10:36
What about google.com/â¦
â roaima
May 17 at 10:38
looks kind of confusing for me.
â youcanlearnanything
May 17 at 10:38
You haven't asked how to configure NTP to synchronise clients from a local server, nor how to set up that local server, so I can't answer such a question here. If you do ask that kind of question I'm sure you'll get answers. Please ensure you state whether your primary server needs to get time from the Internet or whether it's to run only from its local clock.
â roaima
May 17 at 10:41