UserDir parameter recommendations

UserDir parameter recommendations SearchSearch
Author Message
Alex Kaiser
Frequent Contributor
Username: Alex_k

Post Number: 70
Registered: 07-2006
Posted on Sunday, January 10, 2010 - 02:34 pm:   

Hi!

I recommend you to divide UserDir parameter into several sub-paramaters in order to use NowSMS in multi-server configuration.

UserDir – path to *.CTR, *QTA, SMSUsers.D2A and SMSUsers.D2I files. These files have small size and need to be stored in secure place. SSD disks are perfect to store and share such data but their capacity still small. There is a need to apply backup scheme but it’s very complicated when it’s mixed up with user logs and inbound sms.

UserLogDir – path to user logs, which can be stored at high-capacity network share and accessed by other process without any risks to billing data.

UserQDir – stores inbound users messages, also can be stored at high-capacity network share, and it won’t any problems to create a script to delete messages, without any problem to damage billing data or logs.

I hope that you find my recommendation useful.

Reragds,
Alex K.
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1664
Registered: 08-2008
Posted on Tuesday, January 19, 2010 - 05:35 pm:   

Hi Alex,

Good idea. I think the logs should definitely have the ability to be moved to a different location.

This has been added to the engineering queue.

--
Des
NowSMS Support
Alex Kaiser
Frequent Contributor
Username: Alex_k

Post Number: 76
Registered: 07-2006
Posted on Monday, January 25, 2010 - 03:00 pm:   

Hi Des,

We found a bug: when you set up UserDir=\server\folder you have to disable user logs (DisableUserLog=Yes) otherwise NowSMS won't send any message. I guess that happens because of concurrent access to the log file.

Regards
Alex K.
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1718
Registered: 08-2008
Posted on Monday, January 25, 2010 - 07:59 pm:   

Hi Alex,

Yes, unfortunately there is a problem in this area.

A performance optimisation mid-last year was not fully thought through, and broke this functionality.

Separating the UserLogDirectory from the other settings has been implemented, so that could also be a solution, but we need to go back and fix this.

--
Des
NowSMS Support