[OpenSIPS-Users] need some help using opensips 3.0 cluster module .

David Villasmil david.villasmil.work at gmail.com
Mon Sep 9 07:20:44 EDT 2019


Hello Samsita,

You need to provide only the url, no params.

I guess it something like:

mongodb:instance1://
docdb-2019-09-08-06-01-38.cluster-c8aqanvkjwjr.us-east-1.docdb.amazonaws.com:27017/
/db.collection")


On Mon, 9 Sep 2019 at 11:16, Sasmita Panda <spanda at 3clogic.com> wrote:

> Hi Liviu ,
>
> Thats really great . I am trying to use document DB of AWS with opensips .
>
> I am facing some issue . From the console I can access document DB through
> its dns name . Its DNS name is like "
> docdb-2019-09-08-06-01-38.cluster-c8aqanvkjwjr.us-east-1.docdb.amazonaws.com
> " .
> When I configure this in opensips , opensips starts with no error . But
> while trying to connect to the DB its giving error . Its not reading the
> domain part properly .
>
>   modparam("cachedb_mongodb", "cachedb_url","mongodb:instance1://
> username:password at docdb-2019-09-08-06-01-38.cluster-c8aqanvkjwjr.us-east-1.docdb.amazonaws.com:27017?ssl=true&ssl_ca_certs=rds-combined-ca-bundle.pem&replicaSet=rs0/db.collection
> ")
>
> Error message :
>
>  ERROR:cachedb_mongodb:mongo_con_update: last error: 15.13053: No suitable
> servers found (`serverselectiontryonce` set): [Failed to resolve
> 'docdb-2019-09-08-06-01-38.cluster-c8aqanvkjwjr.us-east-1.docdb.amdocdb-2019-09-08-06-01-38.cluster-c8aqanvkjwjr.us-east-1.docdb.amazona']
>
> Somehow its not able to read the domain part properly . How will I add
> this domain ? Please share if anybody has tested this .
>
> *Thanks & Regards*
> *Sasmita Panda*
> *Senior Network Testing and Software Engineer*
> *3CLogic , ph:07827611765*
>
>
> On Fri, Sep 6, 2019 at 3:38 PM Liviu Chircu <liviu at opensips.org> wrote:
>
>> Hi Sasmita,
>>
>> DynamoDB and MongoDB are completely different beasts. However, AWS also
>> have an offering for
>> DocumentDB, which is MongoDB-compatible and seems to be a better
>> candidate for what you are looking for.
>>
>> Regards,
>>
>> Liviu Chircu
>> OpenSIPS Developer
>> http://www.opensips-solutions.com
>>
>> On 06.09.2019 12:53, Sasmita Panda wrote:
>> > So my query is , with opensips mongodb module can I use AWS DynamoDB
>> > in backend .  I haven't tried yet .  I am asking if its possible or
>> > not . If anybody have any idea then please share .
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-- 
Regards,

David Villasmil
email: david.villasmil.work at gmail.com
phone: +34669448337
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190909/740fd66d/attachment.html>


More information about the Users mailing list