[JDEV] got jabberd and jpolld working on separate machines
David Waite
dwaite at jabber.com
Sat Dec 16 07:32:38 CST 2000
FIrst: The address assigned to a user's connection (2 at jpolld, etc) does not
relate to the the client's information. The session manager is what translates
this into valid user account information.
Jabber is a DNS-based system - machine names really shouldn't be just
IP addresses. To have clients connect to both your jpolld's and have it treated
as one server, you need to have both those IP's resolving from the same
DNS name (ie. DNS round-robin).
-David Waite
Vijay Kumar wrote:
> It works perfectly !!
> but the problem is its taking user as r0003 at 192.168.0.86
> I suppose it has to take r0003 at 192.168.0.24 because if we sacle it to
> 2-3 more jpolld's
> each residing on seprate server then the jabber will take each user
> account on the the basis of
> ip address from where the jpolld is connecting.
> I am having jabberd server at 192.168.1.7
>
> running jpolld & simulator from 192.168.1.200 & 192.168.1.29
>
> this means that I can't have centralize user database because if user
> is connecting from
> 192.168.1.200 then its .xml file is stored in
> jabber/spool/192.168.1.200 & if from
> 192.168.1.29 then its .xml file is stored in
> jabber/spool/192.168.1.29 .
>
> what I have to do so that user can connect as r0003 at 192.168.1.7
> instead of r0003 at 192.168.1.200
> or r0003 at 192.168.129
>
> vijay
>
> if I am connecting using jpolld fro
>
> ----- Original Message -----
> From: John Hebert <john at vedalabs.com>
> To: <jdev at jabber.org>
> Sent: Saturday, December 16, 2000 4:03 AM
> Subject: [JDEV] got jabberd and jpolld working on separate machines
>
> > My apologies to those who already have done this. I wanted to share my
> > configuration for getting jabberd, jpolld working on separate machines.
> >
> >
> > 1. jabberd on 192.168.0.24
> > jabber.xml:
> > ...
> > (other "c2s" using pthsock replaced with following)
> > <!-- Service to manage incoming client socket connections. -->
> > <service id="c2s">
> > <host>192.168.0.86</host>
> > <accept>
> > <ip/>
> > <port>5225</port>
> > <secret>test</secret>
> > </accept>
> > </service>
> > ...
> >
> > 2. jpolld on 192.168.0.86
> > ./jpolld -h 192.168.0.24 -d 5225 -n c2s -s test
> >
> > 3. simulator on 192.168.0.86
> > simulate.cfg:
> > server=192.168.0.86
> > port=5222
> > users=2000
> > message_delay=10
> > login_delay=5
> > login_duration=300000
> > user_letter=r
> > message=Hi There
> > message=How are you?
> > message=This is a long, \
> > multiline message.
> > message=This message should be quite a bit longer than the others. \
> > I dunno why it should be longer, I just decided that
> > it should, \
> > that's all!
> > message=This is another short message!
> >
> >
> > However, I am not able to get jpolld and the simulator running on
> > separate machines. If anybody can give me suggestions or ideas on how to
> > do that, it would be appreciated.
> >
> > Thanks,
> > John Hebert
> >
> > _______________________________________________
> > jdev mailing list
> > jdev at jabber.org
> > http://mailman.jabber.org/listinfo/jdev
>
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
More information about the JDev
mailing list