We need to update the time on our layer 7 appliance.
Could you please advise me what is the best way to do that?
The ssgconfig menu option will also let you choose the timezone etc. If you have at least one good NTP server that the appliance can reach, and it is configured as one of the NTP server via the same wizard, time will be synched within a “short” period after this change. (Time correction should not result in “missing” time – i.e., time should be “continuous”, so if the correction is large, it may take a little while for the system to slowly correct the clock over x number of seconds). The clock will stay synched subsequently.
If the correction is huge - just use the 'date' command.
The regular Linux 'date' command comes to mind, but you probably want to log into your gateway as ssgconfig, choose option 1 'Configure system settings' from the main menu, then 1 again 'Configure networking and system time settings'. We use a time sync server, but I don't know if that's a requirement. Also, that's version 8.3, menus may be different in older versions.
This is how we set timezone to EST on our virtual appliances.
The following information must be present in /etc/sysconfig/clock file.
Run the following command.
ln -sf /usr/share/zoneinfo/America/New_York /etc/localtime