Layer7 API Management

 View Only
  • 1.  Layer 7 - update time on server

    Posted Dec 17, 2015 09:05 AM

    Hi,

     

    We need to update the time on our layer 7 appliance.

    Could you please advise me what is the best way to do that?

     

    Thanks,

    Nir.



  • 2.  Re: Layer 7 - update time on server

    Posted Dec 17, 2015 10:35 AM

    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.



  • 3.  Re: Layer 7 - update time on server

    Posted Dec 17, 2015 11:03 AM

    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.



  • 4.  Re: Layer 7 - update time on server

    Posted Dec 17, 2015 11:42 AM

    This is how we set timezone to EST on our virtual appliances.

     

    The following information must be present in /etc/sysconfig/clock file.

     

    ZONE="America/New_York"

    UTC=true

    ARC=false

     

    Run the following command.

    ln -sf /usr/share/zoneinfo/America/New_York /etc/localtime

     

    Regards,

    Anand