Allowing time synchronization on the Standalone and Cluster Vault server using NTP
137
Created On 11/10/26 11:01 AM - Last Modified 11/10/26 13:01 PM
Objective
How do I allow NTP on the Vault server?
Environment
v4.5;v4.6;v5.0;v5.5;v6.0;v7.0;v8.0;8.1;v8.2;v8.5;v8.6;v9.0;v9.1;v9.2;9.3;9.5;9.6;9.7;9.8;9.9;9.9.5;9.10;10.0;10.1;10.2;10.3;10.4;10.5;10.6;10.7;10.8;10.9;10.10;11.1;11.2;11.3;11.4;12.2
Procedure
In the following steps we will create a firewall rule in the Vault DBParm.ini to allow communications with the NTP Server.
We will then configure Windows Time services and NTP.
Execute the following steps for configuring time synchronization on a standalone Vault Server utilizing NTP:
1) In C:\Program Files\PrivateArk\Server\DBParm.ini, set the following parameter:
Prior to Version 11.1:
Prior to Version 11.1:
AllowNonStandardFWAddresses=[X.X.X.X,Y.Y.Y.Y,Z.Z.Z.Z],Yes,123:outbound/udp For Version 11.1 or above: AllowNonStandardFWAddresses=[X.X.X.X,Y.Y.Y.Y,Z.Z.Z.Z],Yes,123:outbound/udp
- Where X.X.X.X, Y.Y.Y.Y, Z.Z.Z.Z and so on are the Time Server IP addresses and port 123 is the Windows Time port.
2) Restart the Vault Application utilizing the Private-Ark Central Administration Console (PrivateArk Server icon on the desktop).
3) Set special skew on the NTP service to change every 30 minutes for the first 3 checks and 8 hours after. To do that, load Registry Edit and go to HKLM\System\CurrentControlSet\Services\W32Time\Parameters. Add new DWORD and name it "Period". Make it decimal and make its value 65532.
Alternatively, set the same with the following command in an elevated command prompt:
2) Restart the Vault Application utilizing the Private-Ark Central Administration Console (PrivateArk Server icon on the desktop).
3) Set special skew on the NTP service to change every 30 minutes for the first 3 checks and 8 hours after. To do that, load Registry Edit and go to HKLM\System\CurrentControlSet\Services\W32Time\Parameters. Add new DWORD and name it "Period". Make it decimal and make its value 65532.
Alternatively, set the same with the following command in an elevated command prompt:
REG ADD HKLM\System\CurrentControlSet\Services\W32Time\Parameters /v Period /t REG_DWORD /d 65532
4) Not required for Version 11.1 or above: Set the Windows Time service to Automatic (Delayed Start). If you wish to use Automatic, you must also run the following command to ensure that the service is not automatically stopped on boot, as it is not a member of a domain:
4) Not required for Version 11.1 or above: Set the Windows Time service to Automatic (Delayed Start). If you wish to use Automatic, you must also run the following command to ensure that the service is not automatically stopped on boot, as it is not a member of a domain:
sc triggerinfo w32time delete
5) Start Windows Time service.
6) Open Command Line interface and run the following command:
6) Open Command Line interface and run the following command:
W32tm /config /manualpeerlist:X.X.X.X /syncfromflags:manual /reliable:YES /update
- Where X.X.X.X is the Time Server IP address. Note: If more than one NTP server is specified, replace X.X.X.X with “X.X.X.X Y.Y.Y.Y Z.Z.Z.Z” where X.X.X.X, Y.Y.Y.Y, Z.Z.Z.Z and so on are IP addresses for Time Servers.
7) Run:
7) Run:
w32tm /query /status
8) Check to make sure the last synced time source lists the IP address of one of your defined NTP servers. If it does not, then there may be firewall issues or the sync process did not happen successfully.
Execute the following steps for configuring time synchronization on a HACluster Vault Server utilizing NTP (perform on each node, one node at a time):
1) In C:\Program Files\PrivateArk\Server\DBParm.ini, set the following parameter:
Prior to Version 11.1:
AllowNonStandardFWAddresses=[X.X.X.X,Y.Y.Y.Y,Z.Z.Z.Z],Yes,123:outbound/udp,123:inbound/udp For Version 11.1 or above: AllowNonStandardFWAddresses=[X.X.X.X,Y.Y.Y.Y,Z.Z.Z.Z],Yes,123:outbound/udp
- Where X.X.X.X, Y.Y.Y.Y, Z.Z.Z.Z and so on are the Time Server IP addresses and port 123 is the Windows Time port.
2) Restart the Vault Application by bringing PrivateArk Server resource offline and then back online via Cluster Administration
3) Set special skew on the NTP service to change every 30 minutes for first 3 checks and 8 hours after. To do that, load Registry Editor and go to HKLM\System\CurrentControlSet\Services\W32Time\Parameters. Add a new DWORD and name it Period. Make it decimal and make its value 65532.
4) Not required for Version 11.1 or above: Set the Windows Time service to Automatic (Delayed Start). If you wish to use Automatic, you must also run the following command to ensure that the service is not automatically stopped on boot, as it is not a member of a domain:
2) Restart the Vault Application by bringing PrivateArk Server resource offline and then back online via Cluster Administration
3) Set special skew on the NTP service to change every 30 minutes for first 3 checks and 8 hours after. To do that, load Registry Editor and go to HKLM\System\CurrentControlSet\Services\W32Time\Parameters. Add a new DWORD and name it Period. Make it decimal and make its value 65532.
4) Not required for Version 11.1 or above: Set the Windows Time service to Automatic (Delayed Start). If you wish to use Automatic, you must also run the following command to ensure that the service is not automatically stopped on boot, as it is not a member of a domain:
sc triggerinfo w32time delete
5) Start Windows Time service.
6) Open Command Line interface and run the following command:
6) Open Command Line interface and run the following command:
W32tm /config /manualpeerlist:X.X.X.X /syncfromflags:manual /reliable:YES /update
- Where X.X.X.X is the Time Server IP address. Note: If more than one NTP server is specified, replace X.X.X.X with “X.X.X.X Y.Y.Y.Y Z.Z.Z.Z” where X.X.X.X, Y.Y.Y.Y, Z.Z.Z.Z and so on are IP addresses for Time Servers.
7) Run:
7) Run:
w32tm /query /status
8) Check to make sure the last synced time source lists the IP address of one of your defined NTP servers. If it does not, then there may be firewall issues or the sync process did not happen successfully.
Notes:
- In an HA cluster, only the PDC should be synced with an external time source, and any other (non-PDC) DC should use NT5DS (domain hierarchy) by default to sync with the PDC, or a DC from the parent domain. In the case of another DC, it should use the following command for time sync:
w32tm /config /syncfromflags:domhier /update
To check the domain hierarchy and time delay, run the following command, where <domain> is the root domain in the forest:
w32tm /monitor /domain:<domain>
- When the Vault is installed on Windows 2008 R2 or Windows 2012 R2 the commands must be run from an elevated CMD ("Run As Administrator")
- To manually query the NTP Server, and check the configured firewall rule:
w32tm /stripchart /computer:xxx.xx.xx.xx
-Where X.X.X.X, is the NTP Server
Additional Information
Details
Q:
How do I allow NTP on the Vault server?
A:
Execute the following steps for configuring time synchronization on a standalone Vault Server utilizing NTP:
- In C:\Program Files\PrivateArk\Server\DBParm.ini, set the following parameter:
AllowNonStandardFWAddresses=[X.X.X.X,Y.Y.Y.Y,Z.Z.Z.Z],Yes,123:outbound/udp,123:inbound/udp
Where X.X.X.X, Y.Y.Y.Y, Z.Z.Z.Z and so on are the Time Server IP addresses and port 123 is the Windows Time port. - Restart the Vault Application utilizing the Private-Ark Central Administration Console (PrivateArk Server icon on the desktop).
- Set special skew on the NTP service to change every 30 minutes for the first 3 checks and 8 hours after. To do that, load Registry Edit and go to HKLM\System\CurrentControlSet\Services\W32Time\Parameters. Add new DWORD and name it "Period". Make it decimal and make its value 65532.
- Set the Windows Time service to Automatic (Delayed Start). If you wish to use Automatic, you must also run the following command to ensure that the service is not automatically stopped on boot, as it is not a member of a domain: sc triggerinfo w32time delete
- Start Windows Time service.
- Open Command Line interface and run the following command:
W32tm /config /manualpeerlist:X.X.X.X /syncfromflags:manual /reliable:YES /update
Where X.X.X.X is the Time Server IP address. Note: If more than one NTP server is specified, replace X.X.X.X with “X.X.X.X Y.Y.Y.Y Z.Z.Z.Z” where X.X.X.X, Y.Y.Y.Y, Z.Z.Z.Z and so on are IP addresses for Time Servers. - Run: w32tm /query /status
- Check to make sure the last synced time source lists the IP address of one of your defined NTP servers. If it does not, then there may be firewall issues or the sync process did not happen successfully.
Execute the following steps for configuring time synchronization on a HACluster Vault Server utilizing NTP (perform on each node, one node at a time):
- In C:\Program Files\PrivateArk\Server\DBParm.ini, set thefollowing parameter:
AllowNonStandardFWAddresses=[X.X.X.X,Y.Y.Y.Y,Z.Z.Z.Z],Yes,123:outbound/udp,123:inbound/udp
Where X.X.X.X, Y.Y.Y.Y, Z.Z.Z.Z and so on are the Time Server IP addresses and port 123 is the Windows Time port. - Restart the Vault Application by bringing PrivateArk Server resource offline and then back online via Cluster Administration
- Set special skew on the NTP service to change every 30 minutes for first 3 checks and 8 hours after. To do that, load Registry Editor and go to HKLM\System\CurrentControlSet\Services\W32Time\Parameters. Add a new DWORD and name it Period. Make it decimal and make its value 65532.
- Set the Windows Time service to Automatic (Delayed Start). If you wish to use Automatic, you must also run the following command to ensure that the service is not automatically stopped on boot, as it is not a member of a domain: sc triggerinfo w32time delete
- Start Windows Time service.
- Open Command Line interface and run the following command:
W32tm /config /manualpeerlist:X.X.X.X /syncfromflags:manual /reliable:YES /update
Where X.X.X.X is the Time Server IP address. Note: If more than one NTP server is specified, replace X.X.X.X with “X.X.X.X Y.Y.Y.Y Z.Z.Z.Z” where X.X.X.X, Y.Y.Y.Y, Z.Z.Z.Z and so on are IP addresses for Time Servers. - Run: w32tm /query /status
- Check to make sure the last synced time source lists the IP address of one of your defined NTP servers. If it does not, then there may be firewall issues or the sync process did not happen successfully.
Note:
-
In an HA cluster, only the PDC should be synced with an external time source, and any other (non-PDC) DC should use NT5DS (domain hierarchy) by default to sync with the PDC, or a DC from the parent domain. In the case of another DC, it should use the following command for time sync:
w32tm /config /syncfromflags:domhier /update
To check the domain hierarchy and time delay, run the following command, where <domain> is the root domain in the forest:
w32tm /monitor /domain:<domain>
- When the Vault is installed on Windows 2008 R2 or Windows 2012 R2 the commands must be run from an elevated CMD ("Run As Administrator")