OpenVZ Forum


Home » General » Support » How to set time in OpenVZ VPS?
Re: How to set time in OpenVZ VPS? [message #37400 is a reply to message #37387] Sun, 06 September 2009 20:48 Go to previous messageGo to previous message
divB is currently offline  divB
Messages: 79
Registered: April 2009
Member
Please lookup up in the Wiki and/or the manual.

There must be only one place where the time is set. Either on the HN or one container.

It is even recommended to use a container and set the time with NTP within one container for security reasons. In this case you have to:

a) assign a capability SYS_TIME to set the system time
b) give access to the /dev/rtc0 device if you want to also set the time back to the RTC clock

The time set will the UTC and all container use UTC+offset as their system time whereas offset is a constant specific for each container, usually the time zone and/or daylight saving. You have to lookup in the CentOS docs how to set the timezone there (this is an OpenVZ forum Wink ).

Regards,
divB
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon14.gif
Previous Topic: how to let container forward ip packets
Next Topic: Problem with limit od CPU.
Goto Forum:
  


Current Time: Sun Sep 15 19:14:03 GMT 2024

Total time taken to generate the page: 0.04819 seconds