- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Set server date forward
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-16-2006 06:03 AM
10-16-2006 06:03 AM
"We have request from Russia to change system date to month date (Nov1st) during Oct 23 – 26th. We would like to find out if this is possible to change system date to forwarded date like Nov 1st for few days and get back to normal dates after month-end testing. We request to validate of this is possible with risk associated with it. "
Now... do you see any risk associated with this? Does the OS have problems if files exit at a future date? Or... once we reboot to set the time BACK, does the system modify these file dates as well?
Any Oracle DB problems with this that you can see?
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2006 06:10 AM
10-16-2006 06:10 AM
SolutionThere is no problem with setting the date forward. Setting it backward, however, can cause problems with your Orcle DB if it should crash and have to go through the (now mis-dated) Oracle re-do logs. It is generally not recommended that you set the date backward.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2006 06:11 AM
10-16-2006 06:11 AM
Re: Set server date forward
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2006 09:55 AM
10-16-2006 09:55 AM
Re: Set server date forward
If the database is to be run as if it was a few days earlier, your database administrators will have to analyze all the date dependencies inside the database. For instance, if records were created three days ago, then the system date is changed back 3 days, will this create duplicate records? Or records that make no sense such as ordering a product 2 days after it was shipped?
Keep in mind that cron entries may run out of sequence or worse, cron jobs may run again and they are not supposed to do that.
The dates on files and directories are static, that is the timestamp is not changed unless it has been accessed or updated. So when you set the system date backwards, you WILL have files that are dated in the future. Again, this is not expected and while most HP-UX files can have any date and still function, application programs and scripts may depend on the actual date stamp.
So to answer the question "will there be problems", you'll need to start a very large project to analyze the possible effects on the system. If this is a production system, I would forbid such a change! For a test system, I would make an Ignite backup plus a data backup, then play with the system, then replace everything on the system with your Ignite and data backups. I would not trust the test system after jumping the date around like that. But then I'm paranoid about mysterious errors and problems...
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2006 05:06 PM
10-16-2006 05:06 PM
Re: Set server date forward
Allow me to also add that because of data dependencies, your scheduled oracle jobs will also be "misled". You will have to cater for this also.
I would suggest that you make a full backup of your database before you try anything that has a risk of data inconsistency.
If this is for testing purposes only, why not use another server or create a new database instance?
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2007 04:42 AM
03-06-2007 04:42 AM