[Serusers] Question regarding PA snapshot

Vaclav Kubart vaclav.kubart at iptel.org
Mon May 22 09:16:19 CEST 2006


Hi,
reply inline...

> Hi, I downloaded the Presence (PA) snapshot 4.1 and
> after hours trying to make it work with my OLD
> SER0.9.6 ser.cfg file, I realized the following:
> 1) The PA snapshot works with the example ser.cfg
> provided in the distribution
> 2) The PA snapshot is "different" from 0.9.6 in terms
> of DB schema, API's, etc. e.g. there is no "alias"
> table, subscriber has been renamed to "customer", etc.

Right, like the CVS version of SER. (But presence snapshot is older than
CVS version and thus may differ from it.)

> 
> My questions:
> 1) Is the PA snapshot meant to run on a separate
> server handling only SUBSCRIBE, PUBLISH and MESSAGE
> which are to forwarded by the main SER PROXY?

Might be, but it is not a necessity. It is recommended because: 
 a) presence needs lots of shared memory
 b) presence modules are not as stable as other SER parts, thus if
 presence server dies, the "voice"/proxy can still work

But you can write the same proxy-config for presence snapshot as for
SER's CVS version (you can't use config for older SER versions like
0.9.6).

> 2) Can I use my ser 0.9.6 proxy and forward all SUB,
> MESSAGE and PUBLISH to a different server running the
> PA snapshot?
> 
> If yes, Do the two servers (SER 0.9.6 and PA 4.1) need
> to share the SER database or each will run it's own DB
> schema?

If you run SER 0.9.6 and if it has other database than schema presence
server, don't use the same database for them. But you need to have there
the same users, domains etc. (You can leave authentication/authorization
on the proxy and in this case you need not share user database and you
can use configuration "without DB" on presence server - but this depends
on your needs.)

> 3) It seems that I cannot run my  ser.cfg SER PROXY
> script on the PA 4.1 snapshot due to database and api
> issues. Does this mean that I need to modify my
> ser.cfg that does proxying to fit with the PA 4.1
> api/database in order to use presence?

You can't use old SER config for new SER versions (like presence
snapshot or CVS version) - there were lots of changes.

You can modify your proxy config to satisfy PA 4.1 needs and then you
can use it with presence together.

	Vaclav




More information about the sr-users mailing list