Obsolete Service/jabber: Difference between revisions

 
(21 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Obsolete}}
== Hostnames ==
== Hostnames ==


* http://jabber.sugarlabs.org/
* jabber.sugarlabs.org


== Hosted on ==
== Hosted on ==
Line 15: Line 17:
For non-emergency calls, preferably send email to the administrative contact.
For non-emergency calls, preferably send email to the administrative contact.


* [[User:alsroot|Aleksey Lim]]
* [[User:MrBIOS|Alex Perez]]


== Notes ==
== Notes ==


ejabberd instance default for upstream sugar shell.
Jabber server for development needs to test cutting edge sugar core components.
 
It runs [http://prosody.im/ Prosody] jabber server with additional sugar [[Platform_Team/Server_Kit/Prosody|plugins]].


{| class="wikitable"
{| class="wikitable"
|-
|-
!scope="row" | Home
!scope="row" | Daemon
|{{Code|/srv/ejabberd}}
|{{Code|prosody}}
|-
!scope="row" | Config
|{{Code|/srv/prosody/prosody.cfg.lua}}
|-
|-
!scope="row" | Main service
!scope="row" | Logs
|{{Code|ejabberd}}
|{{Code|/srv/prosody/log}}
|-
|-
!scope="row" | Admin Web UI
!scope="row" | Ports
|http://jabber.sugarlabs.org:5280/admin
|{{Code|5222}} {{Code|5223}} {{Code|5000}}
|-
|-
|}
|}


'''TODO''' Initial install configuration, needs to be added to puppet recipes:
Runtime configuration and monitoring might happen via [http://prosody.im/doc/console telnet]:
 
  telnet localhost 5582
* create ''admin'' user
* add [http://wiki.laptop.org/go/Ejabberd_Configuration Online] shared roster group from web ui.
 
There's a problem with scaling up after more than a few dozens of users have been registered. To purge those users and get things working again:
 
# /etc/init.d/ejabberd stop
# ps ax | grep jabber        # Make sure there are no erlang processes
# rm -rf /var/lib/ejabberd
# mkdir /var/lib/ejabberd
# chown ejabberd.ejabberd /var/lib/ejabberd
# /etc/init.d/ejabberd start
 
You can check how many users are registered with:
 
  # ejabberdctl stats registeredusers


== Upgrade notes ==
== Upgrade notes ==


Upgrade will be triggered on every puppet session, vcs repository will be rebased to the HEAD commit.
{| class="wikitable"
|-
!scope="row" | git
|{{Code|/srv/prosody}}
|-
|}