How to change the time on FOG server
-
I was looking for an option on the FOG GUI to change the time. I notice there is an option to change the time zone but no option to input the time. This would be great to make sure the image reports have the correct times.
Is there another area where I can change the time or possibly add an NTP server address?
Do I have to perform the same process to update the time on the storage nodes?
Any help would be greatly appreciated.
Thanks
-
The correct time is controlled by the host OS. The timezone setting is in the web ui under FOG Configuration -> FOG Settings -> Expand all. Off the top of my head I don’t remember which section, but its on that page.
For the linux host time you can/should install the ntp service. The installation depends a lot on which linux OS you use.
If you fog server has direct access to the internet you can use one of the pool servers for your time source. If your fog server doesn’t have internet access you should be able to point the ntp service towards one of your windows domain controllers or another internal ntp time source.
-
Thanks for the reply @george1421 I was able to change the time on the FOG server (Ubuntu 18 LTS) using this website as a reference for the commands.
https://phoenixnap.com/kb/how-to-set-or-change-timezone-date-time-ubuntu
This updated the time on the GUI for the reports. I was not sure if I had to do it on the FOG storage servers but I did it on them (I have 2) as well just in case.
Thanks for the help.
-
@vemoya said in How to change the time on FOG server:
I was not sure if I had to do it on the FOG storage servers but I did it on them (I have 2) as well just in case.
Definitely you need to do this on every node/system. As George said, you want to look into using NTP.
-
@Sebastian-Roth Thanks for the TIP. I did make the change on the storage nodes as well. The time on the reports is now correct.
Thanks for the reply.