09-20-2012
How about both in sync with your time server?
How to Configure Network Time Protocol (NTP) (Sun Cluster Software Installation Guide for Solaris OS)
Otherwise make the active cluster member the time server for the standby.
An aside: it sounds like you are going to run the cluster "outside time and date". Meaning not synced to a real time/date server.
This is a bad idea. Please tell us what you are trying to do, not how you decided to do it. UNIX works on the presumption that the kernel clock is running UTC time. Example: This means filetimes are flat out wrong, so moving files off or onto the system from sources outside the cluster can create future dated files. e.g., Backup tape library systems like Simpana have issues with this.
Last edited by jim mcnamara; 09-20-2012 at 01:36 AM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
There is a posting similar to this but it does not list what resolved the issue.
When I log into the server, it shows the correct timezone (edt) but when jobs run from cron, it shows GMT.
Unix admin is looking for a solution.
I am looking for a short term workaround to get the jobs... (2 Replies)
Discussion started by: MizzGail
2 Replies
2. Shell Programming and Scripting
Hi,
I'm new to shell script programming, I only have Java programming background.
I'm writing a shell script to do file synchronization between 2 machines that located at different time zone area. Both machine were set its time zone according to its geographical location (Eg: server is at... (1 Reply)
Discussion started by: python
1 Replies
3. Shell Programming and Scripting
Hi,
Is there any easy way to convert date time(stored in shell variable ) to epoch time in solaris box? As +%s is working on linux but not on solaris, also -d option is not working.
Any suggestion please? (6 Replies)
Discussion started by: anshuman0507
6 Replies
4. Homework & Coursework Questions
1. The problem statement, all variables and given/known data:
I have standard web server log file. It contains different columns (like IP address, request result code, request type etc) including a date column with the format .
I have developed a log analysis command line utility that displays... (1 Reply)
Discussion started by: TariqYousaf
1 Replies
5. Shell Programming and Scripting
Hi,
We have a server in US and hence while the command "date" is given it gives the output in EDT. If I want the date output in MET, how can I get it. Please let me know how I could do it in the script which is ksh. Thanks. (1 Reply)
Discussion started by: jmathew99
1 Replies
6. AIX
Hi,
A server runs on EDT. Can I set a user with time-zone GMT without changing the server time?
regards,
Roshni (1 Reply)
Discussion started by: RoshniMehta
1 Replies
7. Red Hat
Hi,
I am trying to change server date and time for testing purposes but every time i change the date and time it gets switched back to system date and time after half an hour or so. Is there a way to change the server date and time temporarily? My guess is that the server time is in sync with time... (5 Replies)
Discussion started by: mahmad155
5 Replies
8. Shell Programming and Scripting
Hi
Summary:
- Script will take 2 arguments
- Argument 1: Date/Time value in a particular format
- Argument 2: TimeZone value
Examples:
Argument 1:
a. "May 11, 2012 08:00:00 AM"
b. "Dec 21, 2012 12:21:12 PM"
c. "Oct 2, 2012 05:00:00 PM"
Argument 2:
a. MT or MST or MDT
b. ET
c.... (4 Replies)
Discussion started by: anuragpgtgerman
4 Replies
9. Shell Programming and Scripting
Hi guys thanks for the help for my previous posts.Now i have a requirement that i download a XMl file which has UTC time stamp.I need to convert UTC time into Unix server timezone.
For ex if the time zone of unix server is CDT then i need to convert into CDT.whatever may be the system time... (5 Replies)
Discussion started by: mohanalakshmi
5 Replies
10. Shell Programming and Scripting
I am trying to convert local time to time in Ireland. Instead it is going the opposite direction (taking the local time as it if were in Ireland and displaying that the time would be here).
$ echo "$TZ"; date; date --date='TZ="Europe/Dublin" '"$(date)"
America/Phoenix
Mon, Apr 13, 2015... (7 Replies)
Discussion started by: Michael Stora
7 Replies