Thursday, March 14, 2019

ShoreTel: Service Appliance Time and IM showing wrong time on message SA100

I ran into a issue where the time on incoming IM messages were off. The phones were showing the correct time, the timestamp on phone calls were correct, the PC was showing the correct time and the time on the server was correct. When you receive IM messages the time stamp for those messages come from the ShoreTel Service Appliance and the Service Appliance gets the IP for the time server from the ShoreWare Director Site settings for the site it belongs to. On working on this issue I found that you can manually update the time server. It is a pretty easy process, you will need to SSH into the Service Appliance and use the command "ntpdate -u <IP OF TIM SERVER>" Below is a copy of the output from when I ran it and the commands and important info has be bolded and underlined. To look at the time you will need to enter the svccli shell and enter the getstatus command. Once you have updated the time, you will probably want to reboot the Service Appliance to make sure that the time sticks after the reboot.



[admin@VSA-100 shorelinedata]$ su
Password: ShoreTel
[root@VSA-100 shorelinedata]#
[root@VSA-100 shorelinedata]# ntpdate -u 192.168.71.56 <IP OF TIME SERVER>
26 Feb 11:15:16 ntpdate[27339]: step time server 192.168.71.56 offset 18134.9159
[root@VSA-100 shorelinedata]# svccli
type help or ? for command list
ucb>getstatus

- General -
Build version is 21.86.1828.0
Core dump is present - newest Sat Feb 24 01:58:08 2018
Server time is Mon Feb 26 11:18:08 2018
Server uptime is 2 days, 1 hours, 26 minutes, 14 seconds
mem usage: total 2048348, used -1020992 (-49.8%)

- Top 3 memory users -
PID    Mem%  Exe
1285   2.8%  /shoretel/bin/IMService
1146   1.9%  /shoretel/bin/stts
1211   1.2%  /shoretel/bin/CMCA

- Processes using more than 40% cpu -
none

- Storage -
Filesystem               1K-blocks        Used   Available Use%  Mounted on
/dev/sda2                 12012968     1554504     9841568  14%  /
devtmpfs                    998116           0      998116   0%  /dev
tmpfs                      1024172           8     1024164   1%  /dev/shm
tmpfs                      1024172       96252      927920  10%  /run
tmpfs                      1024172           0     1024172   0%  /sys/fs/cgroup
/dev/sda1                  2007244      122396     1782036   7%  /boot
/dev/sda5                 77376604     8998720    64471680  13%  /cf
tmpfs                       204836           0      204836   0%  /run/user/500
ucb>q