Operating System - HP-UX
1833712 Members
1998 Online
110063 Solutions
New Discussion

Re: Date and time settings

 
SOLVED
Go to solution
Sprint Unix Team
Frequent Advisor

Date and time settings

When we do a set_parms, we set time and day settings and this is taken care when there is day light settings.

Now, when we do recover a box by make_net_recovery, does it take care of the time and date settings..if not is there any command other than set_parms to change date..

what is the daemon for this process???
4 REPLIES 4
Santosh Nair_1
Honored Contributor

Re: Date and time settings

The make_net_recovery will set the timezone appropriately. As I understand it, the system time/date are set in non-volatile memory, so the hardware keeps track of time in UTC (universal time coordinates). The OS translates from UTC to the local time using the timezone settings. Hope this helps.

-Santosh
Life is what's happening while you're busy making other plans
James R. Ferguson
Acclaimed Contributor
Solution

Re: Date and time settings

Hi:

/etc/TIMEZONE would be a part of the vg00 (obviously) so thus the timezone established by /sbin/set_parms would carry along.

If you look in /etc/profile you will see that /etc/TIMEZONE is interrogated during login.

Regards!

...JRF...
Ron Cornwell
Trusted Contributor

Re: Date and time settings

The easiest way I know for setting the date is like this fro 10/20/01 9:25 am. # date 102009252001. This will change the date for you. Also when you recover from a make_recovery you can interrupt and do an interactive restore. This will allow you to set the date also.
Roger Baptiste
Honored Contributor

Re: Date and time settings



Make_recovery doesn't change
the running clock of the system.

If you are restoring in
the same site/timezone on
a hardware which is on the site, on which you took the tape-recovery, nothing needs to be done .

But, if you are taking the
tape and restoring it on
a different TZ , you would
need to run set_parms to
change it, which is the reliable way to do it.

-raj
Take it easy.