Re: Reloading remap.config without restarting trafficserver

2017-05-23 Thread Nishant Gaurav
Thank you, James and Leif for your reply. There are couple of problems that I had while using TSReconfigure (from mgmtapi.h). There are some functions which have been defined in both ‘ts.h’ and ‘mgmtapi.h’ with different argument types which leads to conflict as both of them are C APIs, and funct

Re: Reloading remap.config without restarting trafficserver

2017-05-19 Thread Leif Hedstrom
> On May 17, 2017, at 4:54 PM, Nishant Gaurav > wrote: > > Hi everyone, > > I work as a part of Traffic team at LinkedIn. Our team has a use case where > we want to reload ‘remap.config’ without restarting trafficserver. I > understand that I can use ‘traffic_ctl config reload’ command for the

Re: Reloading remap.config without restarting trafficserver

2017-05-17 Thread James Peach
On 17 May 2017, at 15:54, Nishant Gaurav wrote: Hi everyone, I work as a part of Traffic team at LinkedIn. Our team has a use case where we want to reload ‘remap.config’ without restarting trafficserver. I understand that I can use ‘traffic_ctl config reload’ command for the same, but we do

Re: Reloading remap.config without restarting trafficserver

2017-05-17 Thread Alan Carroll
One option would be to schedule an event on a ET_TASK thread and call system("traffic_ctl config reload") there. Or, if you already have a thread polling a mirror, why not call system("...") there? On Wednesday, May 17, 2017, 6:55:38 PM EDT, Nishant Gaurav wrote: Hi everyone, I work as a par