Operating System - Tru64 Unix
1819838 Members
2594 Online
109607 Solutions
New Discussion юеВ

Tru64 How to change date in clustered environment

 
SOLVED
Go to solution
Saszaly
Advisor

Tru64 How to change date in clustered environment

Hi Guys,

What is the proper way to update/change date/time in clustered environment?

Why after 2 weeks later, the date/time is having delayed? Our server always having 15-20mins delayed compare to the real time.

The server is Alphaserver GS1280 and clustered with ES45. 5.1B
15 REPLIES 15
Venkatesh BL
Honored Contributor

Re: Tru64 How to change date in clustered environment

Vladimir Fabecic
Honored Contributor

Re: Tru64 How to change date in clustered environment

The best way is to use external NTP server.
If not possible, do like explained in doc provided by Venkatesh.
In vino veritas, in VMS cluster
Saszaly
Advisor

Re: Tru64 How to change date in clustered environment

Hi,

Thankyou for your reply. Anyway im not having problem to synchronize among the clustered server. The only problem is our application depends on real time.. since the server's time is delayed by 20 minutes. How can i change the date? I thought we need to boot to single user mode first? Since this is clustered environment, im a bit confused on the procedure.
Kapil Jha
Honored Contributor

Re: Tru64 How to change date in clustered environment

Hi
Why after 2 weeks later, the date/time is having delayed? >>u must be having problem with SYNCRONIZATION.

as you said ur server runs on real system so you will have to check what is the impact to time change on that.
In case of oracle u can increase time without any harm.
U change the time if ur application permit on one server and then sync time of other server with xntp.

BR,
Kapil+
I am in this small bowl, I wane see the real world......
Saszaly
Advisor

Re: Tru64 How to change date in clustered environment

Hi Kapil,

Let me rephrase my situation.

We do not have/use external ntp server.
The date/time on both servers (clustered) is exactly the same. Synchronization among members is working fine.

One of HP technical who installed the OS and cluster before said to me the issue was because of system clock calculation in the kernel/OS (if im not mistaken).

So right now i need to change server's date setting. I know how to do it if the server is stand alone, but clustered environment im clueless. should i bring down the first node and set the new date/time there and then sync them again or should i bring down the 2nd node to set the date/time after the 1st node is up?

Impact to application is not the main issue since it will be done after working hours. The application will be shutdown first. Same goes for the database.

So rather than keep changing the server's date according to real time, is there anyway the server's time will not be delayed beside using external ntp server? any patch related to this issue?

Thank you in advance :)
Vladimir Fabecic
Honored Contributor

Re: Tru64 How to change date in clustered environment

If application and database are down, you do not have to shutdown any member.
Just be fast enough and execute command on both server "at the (almost) same time.
In vino veritas, in VMS cluster
Saszaly
Advisor

Re: Tru64 How to change date in clustered environment

Hi Vladimir,

Thats what we did all this while, but i thought it was not recommended by HP? the proper way was to boot to single user mode, probably to avoid any damage to database/application. am i right?
Vladimir Fabecic
Honored Contributor

Re: Tru64 How to change date in clustered environment

You can not damage database or application when they are not running, so do not worry.
I never did switching to single user mode when doing such a thing and never had any problem with OS.
Just be sure that database and applications are not running.
In vino veritas, in VMS cluster
Kapil Jha
Honored Contributor

Re: Tru64 How to change date in clustered environment

I did same thing changed time in 8 server at a time , no need to boot if application is down go ahead and do as stated above.
BR,
Kapil+
I am in this small bowl, I wane see the real world......
Rob Leadbeater
Honored Contributor

Re: Tru64 How to change date in clustered environment

Hi,

These two statements don't go together well:

> We do not have/use external ntp server.

> ...application depends on real time...

If your application depends on real time, why not use an external NTP server, such as pool.ntp.org ? It will save you a lot of hassle.

There could be many reasons why the GS1280 itself is gaining time. Is the firmware up to date (v7.3) ??

Cheers,

Rob
Saszaly
Advisor

Re: Tru64 How to change date in clustered environment

Hi guys,

the firmware version is 7.3-1.

so the only way is to use external ntp server right?

Thanks guys.
Kapil Jha
Honored Contributor

Re: Tru64 How to change date in clustered environment

external NTP would be grt.
One more thing I would like u to check is status of clock battery if it is OK is degraded.This couls be the reason why cluster is loosing time.
Time is same on both cluster as both are in sync.
BR,
Kapil+
I am in this small bowl, I wane see the real world......
Saszaly
Advisor

Re: Tru64 How to change date in clustered environment

how do i do that? i mean checking clock status?
Rob Leadbeater
Honored Contributor
Solution

Re: Tru64 How to change date in clustered environment

Hi,

As this is a GS1280, the TOY (Time Of Year) clock is on the MBM. (Backplane Manager).

You might be able to check the status from the MBM> console, or using AMS (AlphaServer Management Station) if you're using that...

If you are not in a position to use NTP, I would raise a hardware call with HP and ask them to get the MBM checked out.

Cheers,

Rob
Saszaly
Advisor

Re: Tru64 How to change date in clustered environment

Thanks Rob and everyone else.