Azure: Difference between revisions
No edit summary |
|||
| Line 7: | Line 7: | ||
* On [[Debian]]-derived systems, install <tt>azure-cli</tt> | * On [[Debian]]-derived systems, install <tt>azure-cli</tt> | ||
** <tt>az account list</tt> -- list subscription groups | ** <tt>az account list</tt> -- list subscription groups | ||
==Time== | |||
Rather than using NTP with chrony or SNTP with systemd-timesyncd, use the HyperV-provided PTP source due the VMICTimeSync provider. Ensure the HyperV daemons are installed and enabled, and configure chrony thusly: | |||
<pre> | |||
makestep 1.0 -1 | |||
local stratum 2 | |||
refclock PHC /dev/ptp_hyperv poll 3 dpoll -2 offset 0 | |||
</pre> | |||
The <tt>makestep</tt> parameter forces a hard sync if the clock differs too much from upstream (rather than exiting with error). The <tt>/dev/ptp_hyperv</tt> symlink ought be set up by udev. | |||
==Networking== | ==Networking== | ||
| Line 124: | Line 133: | ||
* [https://learn.microsoft.com/en-us/azure/virtual-network/virtual-networks-faq Azure Virtual Networks FAQ] | * [https://learn.microsoft.com/en-us/azure/virtual-network/virtual-networks-faq Azure Virtual Networks FAQ] | ||
* [https://learn.microsoft.com/en-us/windows-server/virtualization/hyper-v/best-practices-for-running-linux-on-hyper-v Best Practices for Running Linux on Hyper-V] | * [https://learn.microsoft.com/en-us/windows-server/virtualization/hyper-v/best-practices-for-running-linux-on-hyper-v Best Practices for Running Linux on Hyper-V] | ||
* [https://learn.microsoft.com/en-us/azure/virtual-machines/linux/time-sync Time Sync for Linux VMs in Azure] | |||