Hi,
Thanks for getting in touch! I've put answers to your questions below:
Monitoring:
We currently use monit to automatically monitor the clearwater processes, and
restart them if it detects that they're not running. You can see the current
status of a node by running 'sudo monit summary', and a more detailed status by
running 'sudo monit status'. The monit process logs to /var/log/monit.log on
each node.
By default the logs in /var/log/<service>/ are set to log level 2, which only
includes errors and very high level events. To see more detailed logs you will
need to enable debug logging:
For Sprout, Bono, Homestead and Ralf write log_level=5 to
/etc/clearwater/user_settings (creating it if it doesn't exist already).
For Ellis, Homer and Homestead-Prov (which runs on the Homestead node) write
LOG_LEVEL = logging.DEBUG to the local _settings.py file. This can be found at:
- Homer -
/usr/share/clearwater/homer/env/lib/python2.7/site-packages/crest-0.1-py2.7.egg/metaswitch/crest/local_settings.py
- Ellis -
/usr/share/clearwater/ellis/env/lib/python2.7/site-packages/ellis-0.1-py2.7.egg/metaswitch/ellis/local_settings.py
- Homestead-Prov -
/usr/share/clearwater/homestead/env/lib/python2.7/site-packages/crest-0.1-py2.7.egg/metaswitch/crest/local_settings.py
For Chronos, add the following to /etc/clearwater/chronos.conf:
[logging]
level = 5
Then restart each process (sudo monit restart <service>). The debug logs are
created in /var/log/<service>/. Note that if you want to run stress through
your deployment, you should revert the log levels back to the default level.
Chronos hostname:
The chronos_hostname should resolve to a Chronos node - this is typically the
local Chronos node. Therefore, for your Ralf node the chronos_hostname can be
<ralf_hostname>:7253, and for your Sprout node it can be
<sprout_hostname>:7253. The other nodes do not use Chronos, so the
chronos_hostname isn't checked.
S-CSCF capabilities:
The S-CSCF capabilities are integers, and their meaning is defined by the
operator. Capabilities will have different meanings between networks.
As an example, say you have one S-CSCF that supports billing, and one that
doesn't. You can then say that capability 1 is the ability to provide billing,
and your s-cscf.json file would look like:
{
"s-cscfs" : [
{ "server" : "sip:scscf1",
"priority" : 0,
"weight" : 100,
"capabilities" : [1]
},
{ "server" : "sip:scscf2",
"priority" : 0,
"weight" : 100,
"capabilities" : []
}
]
}
Then when you configure a subscriber in the HSS, you can set up what
capabilities they require in an S-CSCF. These will also be integers, and you
should make sure this matches with how you've set up the s-cscf.json file. In
this example, if you wanted your subscriber to be billed, you would configure
the user data in the HSS to make it mandatory for your subscriber to have an
S-CSCF that supports capability 1.
If you don't have multiple S-CSCFs, you don't *need* to have I-CSCF function
enabled. If you do want multiple S-CSCFs then you'll also need to set up a HSS
- details of how to do this are at:
https://github.com/Metaswitch/clearwater-docs/wiki/External-HSS-Integration.
Hope this helps,
Ellie
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Ruggero
Schiavi
Sent: 04 August 2014 10:41
To: [email protected]
Subject: [Clearwater] First steps after installation
Hi,
I am a new Clearwater solution user and I have some questions.
I have installed the six virtual machines (therefore manual install
procedure) and created the sip accounts in Ellis but before starting the tests
I have some questions.
1) I have installed all the machines now which are the correct/suggested/better
methods to monitor the behaviour of each machine?
I mean to see directly process messages or siply what is happening during a
call or retrieve SIP messages, get the errors etc I saw for now only the log
messages in /var/log
2) 2 minor doubts during the configuration steps:
- a - Chronos_hostname in config file: I have 1 instance per component (Ralf,
Bono etc.) I put ralf address because I saw that was in the same block in the
Chronos presentation page. Is it correct?
- b - Can you give me an exaple of s-cscf capability? because I don't have
really clear what to insert
I am sorry if these questions may look pretty basic and I thank you in advance
Abaco
_______________________________________________
Clearwater mailing list
[email protected]
http://lists.projectclearwater.org/listinfo/clearwater
_______________________________________________
Clearwater mailing list
[email protected]
http://lists.projectclearwater.org/listinfo/clearwater