NowSMS & MMS Gateway multiserver

NowSMS & MMS Gateway multiserver SearchSearch
Author Message
No Name
New member
Username: Ncblx

Post Number: 1
Registered: 02-2014
Posted on Wednesday, February 19, 2014 - 10:39 am:   

Dear colleagues
A problem occurred during the work of two servers: MMSC1 and MMSC2. workload(Radware) balancer has been installed . The traffic exists on both servers. It used to be that MMS has been received by one server from A client(abonent) and another server is sending MMS to client B. In that case we need set up MMS storage for both servers in one directory. In file MMSC.INI, I added DataDir=\FILESERVER\MMSC\MMSCDATA, but that server don't send MMS. I haven't found mistake in log files. If I change that option to DataDir=D:\MMSC\MMSCDATA\ then MMS is being send. Permission has been checked. Everything is ok.
How can I set up DataDIr for MMSCOUT correctly to work with networks drives and shared folders?
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 4815
Registered: 08-2008
Posted on Wednesday, February 19, 2014 - 03:43 pm:   

Hi,

That should work.

I assume you meant DataDir=\\FILESERVER\MMSC\MMSCDATA

It is not your fault, there is an issue with this discussion forum software that it does not like \\ (I have to type 4 \\\\ to get 2 \\)

I suspect there is a permissions issue. Keep in mind that the MMSC is running under a service account, so it does not necessarily have access to the same network resources as you do as a logged in user.

To fix that issue , you can go into Windows Services administration and configure the service to login with a user account.

I will also mention that there is a different configuration arrangement that some of our customers prefer.

They use a load balancer for MMS submissions on the MMS server host name configured on mobile phones, so the message could be routed to any MMSC. But the MMS messages are hosted explicitly on the server that the load balancer routes the message to, so that the MMS retrieval is directed to that same server. This is done by configuring separate MMSC host names on each server ... where those host names resolve to just the one server, but the shared host name configured in the phones resolves to the load balanced server.

--
Des
NowSMS Support
No Name
New member
Username: Ncblx

Post Number: 2
Registered: 02-2014
Posted on Thursday, February 20, 2014 - 06:49 am:   

What other folders should be available on both servers to work correctly MMS?
Thanks
No Name
New member
Username: Ncblx

Post Number: 3
Registered: 02-2014
Posted on Thursday, February 20, 2014 - 07:16 am:   

Sorry but not solve our problem
(I have to type 4 \\ to get 2 \)
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 4819
Registered: 08-2008
Posted on Thursday, February 20, 2014 - 06:25 pm:   


quote:

Sorry but not solve our problem
(I have to type 4 \\\\ to get 2 \\)




The above comment has nothing to do with the problem. The software running this web site has problems with showing \\, the MMSC itself does not have an issue like this.

So I want you to make sure that you have this under the [MMSC] section of MMSC.INI:

DataDir=\\FILESERVER\MMSC\MMSCDATA

Did you do this?


quote:

To fix that issue , you can go into Windows Services administration and configure the service to login with a user account.




There are two NowSMS services ... it should be done for both services. Note that you must restart the service for the change to be active.

Assuming that you are logged in to Windows with the same account as used for the service, what happens if you open a command prompt window and issue the following commands:

dir \\FILESERVER\MMSC\MMSCDATA

copy con \\FILESERVER\MMSC\MMSCDATA\test.txt

Now press Enter, then CTRL-Z, then Enter. Does it report 1 file copied? (This tests write permission.)


quote:

What other folders should be available on both servers to work correctly MMS?




It depends on what you are trying to accomplish.

If you want both servers to process with all of the same settings and information, you should use SHAREDVOLUME.INI.

The configuration is described here:

http://www.nowsms.com/nowsms-in-fault-tolerant-or-redundant-load-balanced-enviro nment

And there is helpful info here about files and directories in an existing install: http://www.nowsms.com/migrating-to-a-multiple-server-mmsc-wap-gateway-or-nowsms- gateway

Sharing only MMSCDATA is ok, but only if your default MMSC route is "Direct Delivery" or if your routing is performed by routing callbacks (MMSRoutingURL).

If your default route is SMS with web link and you are auto provisioning MMSC users, then the two servers will not share the same user database.

So it really depends on what you're trying to accomplish. SHAREDVOLUME.INI configures multiple servers to work off the same configuration settings and data. Some people prefer to fine tune what is shared, as I mentioned above about how some customers prefer independent servers with similar configurations except different host names.

--
Des
NowSMS Support