Skip to content

Commit 390d5de

Browse files
committed
Change title and add small fixes
Signed-off-by: Konrad Gube <konrad.gube@cloudandheat.com>
1 parent ece2758 commit 390d5de

1 file changed

Lines changed: 9 additions & 14 deletions

File tree

Standards/scs-XXXX-v1-ntp-decisions.md renamed to Standards/scs-XXXX-v1-time-sync-decisions.md

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,31 @@
11
---
2-
title: Recommendations on VM clock synchronization
2+
title: Decision on Standardized Time Synchronization
33
type: Decision Record
44
status: Draft
55
track: IaaS
66
---
77

88
## Abstract
99

10-
The system clocks of virtual machines may drift over time, and will also be affected by pausing or migrating the VM.
10+
System clocks of virtual machines may drift over time, and will also be affected by pausing or migrating the VM.
1111
Ensuring a correct system time usually requires synchronization with an external time source.
12-
There are multiple options for VM clock synchronization which this document will explore and evaluate for use in SCS clouds.
12+
There are multiple options for VM clock synchronization which this document will explore and evaluate for standardization in SCS.
1313

1414
## Terminology
1515

16-
Example (abbr. Ex)
17-
This is the description for an example terminology.
16+
(TBD)
1817

1918
## Context
2019

2120
Correct system time is important for the validation of TLS certificates and correlation of log entries across multiple systems.
22-
To counteract drifting of the system time, it is common practice to syncronise servers to a public time server via the NTP protocol.
21+
To counteract drifting of the system time, it is common practice to syncronize servers to a public time server via the NTP protocol.
2322
This requires access to the internet, however, and the network latency encountered when connecting to a public NTP server may reduce the clock precision.
2423
Communicating with an external NTP server will also expose small bits of information (mainly the existence of the system) to the operator of the time server.
2524

2625
Ideally, the CSP would provide a means of time synchronization to servers, so that no outward NTP traffic is necessary.
2726
Doing so comes with two challenges:
2827
1. Providing an apropriate method of time synchronization. This could be NTP, PTP, hardware clock emulation or para-virtualization.
29-
2. Getting guest servers to actually use the provided time synchronization method. This may involve preconfigured images, DHCP, cloud metadata, or user documentation.
28+
2. Getting guest servers to actually use the provided time synchronization method. This may involve preconfigured images, DHCP, cloud metadata, or user interaction.
3029

3130
The options for configuring time synchronisation in guests are often dependant on the method of synchronisation, so it makes most sense to discuss them in that context.
3231

@@ -79,7 +78,7 @@ Master clocks will also continually broadcast synchronization messages to their
7978

8079
Linux has a kernel-based driver for PTP, which will provide the synchronized time through a device file, which can then be used by services such as _phc2sys_ or _chrony_ to update the system time.
8180

82-
It is unclear if PTP would have offer any better precision than NTP in tunneled networks with virtual interfaces, and it does not seem to get any use in IaaS at all.
81+
It is unclear if PTP would offer any better precision than NTP in tunneled networks with virtual interfaces, and it does not seem to get any use in IaaS at all.
8382

8483
### Paravirtualization
8584

@@ -102,11 +101,11 @@ This perspective clearly favours NTP as a standardized method of time synchroniz
102101
However it is still useful for a CSP to offer less portable, but more precise methods of time synchronization, especially if they are integrated into the default cloud images offered by the CSP.
103102

104103
So, we should standardize a portable NTP setup that users can assume when developing images to work well in any SCS cloud.
105-
We should not try to prevent CSPs from supporting paravirtualized or other methods of time synchronization that may offer significant benefits over NTP.
104+
We should not try to prevent CSPs from also supporting paravirtualized or other methods of time synchronization that may offer significant benefits over NTP.
106105

107106
## Consequences
108107

109-
A standardized NTP setup will allow SCS users and third party image providers to develop images that support local time synchronization accross SCS clouds.
108+
A standardized NTP setup will allow SCS users and third party image providers to develop images that support local time synchronization across SCS clouds.
110109

111110
As discussed in the NTP section above, there are a number of limitations in OpenStack and related projects that a standardized NTP setup has to work with:
112111

@@ -121,7 +120,3 @@ As discussed in the NTP section above, there are a number of limitations in Open
121120
Cloud-init's proprietary format may not be good option because of the automatic package installation in guests, but any other option will require support to be added to whatever init tool is used.
122121
A new NTP server key in OpenStack's standard metadata will require upstream changes, but is more likely to get supported by cloud-init or other init tools (though most seem to focus exclusively on the EC2 format).
123122
A custom key in the vendor data could just be defined in the standard, but would be less likely to get support by any third party tools, and thus only be useful with custom scripts or init-tool plugins.
124-
125-
## Related Documents
126-
127-
Related Documents, OPTIONAL

0 commit comments

Comments
 (0)