- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- System date change
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2002 06:14 AM
10-07-2002 06:14 AM
System date change
Has anyone attempted to do this? I am very worried about what might happen.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2002 06:18 AM
10-07-2002 06:18 AM
Re: System date change
But if you are using a time based recovery scenario you get into trouble of double time stamp.
So a time based recovery scenario becomes a problem but you can still use the SCN and CANCEL based recovery scenarios for recovery.
The SCN(system change number) time stamps does not depend on the system time.
But it is better to have a cold backupi.e.complete consistent shutdown of the database and a backup of it before doing into any system time change.
But still the incremental exports,PL?SQL jobs and the cron jobs running on the system should get affected.
Thus changing the system time will not affect the Oracle instance except the time based recovery option.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2002 06:20 AM
10-07-2002 06:20 AM
Re: System date change
Probably the most serious consequence is on development boxes which depend upon the make utility. Make uses the file datestamps to determine which objects need to be compiled and linked. For example, if myfile.o depends upon myfile.c, you could modify myfile.c but because myfile.o appears to be newer than myfile.o, myfile.c would not be recompiuled eventhough you just changed the source.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2002 06:21 AM
10-07-2002 06:21 AM
Re: System date change
If you must do this, you should make a complete system backup prior to rolling the date. Be prepared to do a full system restore when finished testing the date.
If you have any documents from testing for Y2K you could use them for this task.
Cheryl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2002 06:22 AM
10-07-2002 06:22 AM
Re: System date change
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2002 06:33 AM
10-07-2002 06:33 AM
Re: System date change
When this was an issue for y2k, everyone was testing by rolling the dates forwards then backwards, unless you had a backup from prior to rolling, you were advised to reinstall the operating system.
It is not advised, especially not in a production environment.
Cheryl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2002 06:41 AM
10-07-2002 06:41 AM
Re: System date change
Yes as already stated you can have problems so a full system backup/ignite is advised before you do it.
But one of my test servers running Universe has the date rolled backwards and forwards on a regular basis and has had no problems.
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2002 06:59 AM
10-07-2002 06:59 AM
Re: System date change
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2002 08:09 AM
10-08-2002 08:09 AM
Re: System date change
It's nearly impossible to say what all the risks are without having a much more detailed understanding of what runs on the system in question. Given any reasonable choice, setting the date backward on a production system should probably be avoided. Skewing time with ntpd, adjtime(), etc. is generally a lot safer. Since you're talking about a delta of a month, I assume that's not a practical solution in your case.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2002 08:33 AM
10-08-2002 08:33 AM
Re: System date change
Like you even I have never tried , but if I was you I owuld first try it on a test server and see what happens , ideally there shouldnt be any problems .
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2002 11:55 AM
10-08-2002 11:55 AM
Re: System date change
I used to roll the date back and forth all the time on our development server. We had to do this in order to thoroughly test an application that had date sensitive code. It did wreak havoc with some of my maintenance routines which deleted files based on age.
We later found a way that you can change the date within an oracle instance without having to actually change the Unix system clock.
If you add this line to the init.ora, you can fake out oracle.
fixed_date = "2002-09-30-12:00:00"
If you then select sysdate from dual it will return sept. 30th, 2002 regardless of what Unix says.
Hope this helps,
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2002 07:37 PM
10-08-2002 07:37 PM
Re: System date change
Now, will this affect HP-UX? Probably not. Unless you are using time-specific services like cron. But what can you do with HP-UX? Not much. You have applications and support tools and even middleware that may be crucially dependent on time moving in one direction. If you assume that the database will be corrupted and all supporting config files will have to be rebuilt, then you'll make the right decision. There are some awful programs that store date and timestamps in the database as links and index items.
If you like to take chances, change the date but polish up your resume' just in case.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2002 09:06 PM
10-08-2002 09:06 PM
Re: System date change
However, you need to be careful with Oracle, since the Oracle trnsaction logs could get confused and no longer work properly. If you need to roll clock back for some special task, you would better of to create separate instance, stop you normal instance running in the normal clock and start this special instance at roll backed clock.
Hope this help.