Hi Paul,

We should try to find out why Homestead cannot connect to the HSS.

The first thing to try is to confirm that there is still TCP connectivity from 
the Homestead node to the HSS. You can do this by logging on to the Homestead 
box and running telnet 10.1.1.117 3868. This will allow us to be certain that 
it is possible to connect to the HSS on your configured port.

We can also try to get some more diagnostics from the Homestead node by turning 
on debug logs:

1.       Edit /etc/Clearwater/user_settings and add the line log_level=5

2.       Restart the Homestead process by running sudo service homestead stop 
&& sudo service homestead-prov stop.

The most interesting logs are printed at startup so you should only have to 
leave the process a couple of minutes before copying off the log. Make sure to 
turn off debug logging when you are done (by removing the log_level line and 
stopping the process as above).

Finally, is there anything that you have changed in your network recently? Have 
you upgraded Homestead or your HSS? Have you changed any network settings? This 
might give us a clue as to what has caused the problem.

Yours,

Chris


From: Clearwater [mailto:[email protected]] On 
Behalf Of Paul Sun
Sent: 02 March 2016 09:03
To: [email protected]
Subject: [Project Clearwater] Problem on the Diameter connection between 
HOMESTEAD and OpenIMSCore_HSS

Hi

I have created a connection between homestead and OpenIMScore_HSS, it works for 
sometimes, however, it suddenly not working, HOMESTEAD complain there is no 
available HSS connection, however, I cannot figure out what is going wrong.  
10.1.1.114 is the IP address of HOMESTEAD while 10.1.1.117 is the HSS.

Please advice.


-          Paul

-
root@HSS-MIRROR01-APP1-VM1:/etc/clearwater# netstat -an|grep 3868
tcp        0      0 0.0.0.0:3868            0.0.0.0:*               LISTEN
tcp        0      0 10.1.1.114:48860        10.1.1.117:3868         ESTABLISHED
tcp        0      0 10.1.1.114:48110        10.1.1.117:3868         ESTABLISHED
tcp6       0      0 :::3868                 :::*                    LISTEN


02-03-2016 08:52:57.005 UTC Status diameterstack.cpp:415: Configuring Diameter 
stack from file /var/lib/homestead/homestead.conf
02-03-2016 08:52:57.695 UTC Status freeDiameter: All extensions loaded.
02-03-2016 08:52:57.696 UTC Status freeDiameter: freeDiameter configuration:
02-03-2016 08:52:57.696 UTC Status freeDiameter:   Default trace level .... : +3
02-03-2016 08:52:57.696 UTC Status freeDiameter:   Configuration file ..... : 
/var/lib/homestead/homestead.conf
02-03-2016 08:52:57.696 UTC Status freeDiameter:   Diameter Identity ...... : 
192.168.206.114 (l:15)
02-03-2016 08:52:57.696 UTC Status freeDiameter:   Diameter Realm ......... : 
hs.rcs011.syniverse.com (l:23)
02-03-2016 08:52:57.696 UTC Status freeDiameter:   Tc Timer ............... : 30
02-03-2016 08:52:57.696 UTC Status freeDiameter:   Tw Timer ............... : 30
02-03-2016 08:52:57.696 UTC Status freeDiameter:   Local port ............. : 
3868
02-03-2016 08:52:57.696 UTC Status freeDiameter:   Local secure port ...... : 
5658
02-03-2016 08:52:57.696 UTC Status freeDiameter:   Number of SCTP streams . : 3
02-03-2016 08:52:57.696 UTC Status freeDiameter:   Number of clients thr .. : 5
02-03-2016 08:52:57.696 UTC Status freeDiameter:   Number of app threads .. : 4
02-03-2016 08:52:57.696 UTC Status freeDiameter:   Local endpoints ........ : 
Default (use all available)
02-03-2016 08:52:57.696 UTC Status freeDiameter:   Local applications ..... : 
(none)
02-03-2016 08:52:57.696 UTC Status freeDiameter:   Flags : - IP ........... : 
Enabled
02-03-2016 08:52:57.696 UTC Status freeDiameter:           - IPv6 ......... : 
Enabled
02-03-2016 08:52:57.696 UTC Status freeDiameter:           - Relay app .... : 
Enabled
02-03-2016 08:52:57.696 UTC Status freeDiameter:           - TCP .......... : 
Enabled
02-03-2016 08:52:57.696 UTC Status freeDiameter:           - SCTP ......... : 
Enabled
02-03-2016 08:52:57.696 UTC Status freeDiameter:           - Pref. proto .. : 
SCTP
02-03-2016 08:52:57.696 UTC Status freeDiameter:           - TLS method ... : 
Separate port
02-03-2016 08:52:57.696 UTC Status freeDiameter:   TLS :   - Certificate .. : 
/var/lib/homestead/cert.pem
02-03-2016 08:52:57.696 UTC Status freeDiameter:           - Private key .. : 
/var/lib/homestead/privkey.pem
02-03-2016 08:52:57.696 UTC Status freeDiameter:           - CA (trust) ... : 
/var/lib/homestead/ca.pem (1 certs)
02-03-2016 08:52:57.696 UTC Status freeDiameter:           - CRL .......... : 
(none)
02-03-2016 08:52:57.696 UTC Status freeDiameter:           - Priority ..... : 
(default: 'NORMAL')
02-03-2016 08:52:57.696 UTC Status freeDiameter:           - DH bits ...... : 
1024
02-03-2016 08:52:57.696 UTC Status freeDiameter:   Origin-State-Id ........ : 
1456908776
02-03-2016 08:52:57.696 UTC Status freeDiameter: Loaded extensions: 
'/usr/share/clearwater/homestead/lib/freeDiameter//dbg_monitor.fdx'[(no config 
file)], loaded
02-03-2016 08:52:57.696 UTC Status freeDiameter: Loaded extensions: 
'/usr/share/clearwater/homestead/lib/freeDiameter//dict_nasreq.fdx'[(no config 
file)], loaded
02-03-2016 08:52:57.696 UTC Status freeDiameter: Loaded extensions: 
'/usr/share/clearwater/homestead/lib/freeDiameter//dict_sip.fdx'[(no config 
file)], loaded
02-03-2016 08:52:57.696 UTC Status freeDiameter: Loaded extensions: 
'/usr/share/clearwater/homestead/lib/freeDiameter//dict_dcca.fdx'[(no config 
file)], loaded
02-03-2016 08:52:57.696 UTC Status freeDiameter: Loaded extensions: 
'/usr/share/clearwater/homestead/lib/freeDiameter//dict_dcca_3gpp.fdx'[(no 
config file)], loaded
02-03-2016 08:52:57.696 UTC Status freeDiameter: 
{signal:12}'dbg_monitor'->0x7f85381dfe70
02-03-2016 08:52:57.696 UTC Status diameterstack.cpp:573: Starting Diameter 
stack
02-03-2016 08:52:57.711 UTC Status freeDiameter: Local server address(es): 
10.1.1.114{---L-}      192.168.206.114{---L-}
02-03-2016 08:52:57.711 UTC Status handlers.cpp:85: Configuring HssCacheTask
02-03-2016 08:52:57.711 UTC Status handlers.cpp:86:   Dest-Realm:  
rcs011.syniverse.com
02-03-2016 08:52:57.711 UTC Status handlers.cpp:87:   Dest-Host:   10.1.1.117
02-03-2016 08:52:57.711 UTC Status handlers.cpp:88:   Server-Name: 
sip:sprout.rcs011.syniverse.com:5054;transport=TCP
02-03-2016 08:52:57.711 UTC Status httpstack.cpp:136: Configuring HTTP stack
02-03-2016 08:52:57.711 UTC Status httpstack.cpp:137:   Bind address: 10.1.1.114
02-03-2016 08:52:57.711 UTC Status httpstack.cpp:138:   Bind port:    8888
02-03-2016 08:52:57.711 UTC Status httpstack.cpp:139:   Num threads:  200
02-03-2016 08:52:58.771 UTC Status diameterresolver.cpp:62: Created Diameter 
resolver
02-03-2016 08:52:58.771 UTC Status main.cpp:861: Start-up complete - wait for 
termination signal
02-03-2016 08:52:58.771 UTC Warning diameterstack.cpp:862: No connected 
Diameter peers have been found
02-03-2016 08:53:03.772 UTC Warning diameterstack.cpp:862: No connected 
Diameter peers have been found
02-03-2016 08:53:08.772 UTC Warning diameterstack.cpp:862: No connected 
Diameter peers have been found
02-03-2016 08:53:09.365 UTC Error realmmanager.cpp:142: Failed to connect to 
10.1.1.117
02-03-2016 08:53:09.365 UTC Warning diameterstack.cpp:862: No connected 
Diameter peers have been found
02-03-2016 08:53:09.365 UTC Status freeDiameter: 10.1.1.117: Going to ZOMBIE 
state (no more activity)
02-03-2016 08:53:09.365 UTC Status freeDiameter: 'STATE_CLOSED'         -> 
STATE_ZOMBIE (terminated)                '10.1.1.117'
02-03-2016 08:53:14.365 UTC Warning diameterstack.cpp:862: No connected 
Diameter peers have been found
02-03-2016 08:53:19.366 UTC Warning diameterstack.cpp:862: No connected 
Diameter peers have been found
02-03-2016 08:53:24.366 UTC Warning diameterstack.cpp:862: No connected 
Diameter peers have been found
02-03-2016 08:53:29.366 UTC Warning diameterstack.cpp:862: No connected 
Diameter peers have been found
02-03-2016 08:53:34.366 UTC Warning diameterstack.cpp:862: No connected 
Diameter peers have been found
02-03-2016 08:53:39.366 UTC Warning diameterstack.cpp:862: No connected 
Diameter peers have been found
02-03-2016 08:53:44.367 UTC Warning diameterstack.cpp:862: No connected 
Diameter peers have been found
02-03-2016 08:53:49.367 UTC Warning diameterstack.cpp:862: No connected 
Diameter peers have been found
02-03-2016 08:53:54.367 UTC Warning diameterstack.cpp:862: No connected 
Diameter peers have been found
02-03-2016 08:53:59.367 UTC Warning diameterstack.cpp:862: No connected 
Diameter peers have been found
02-03-2016 08:54:04.368 UTC Warning diameterstack.cpp:862: No connected 
Diameter peers have been found
02-03-2016 08:54:09.368 UTC Warning diameterstack.cpp:862: No connected 
Diameter peers have been found
02-03-2016 08:54:14.368 UTC Warning diameterstack.cpp:862: No connected 
Diameter peers have been found
02-03-2016 08:54:19.368 UTC Warning diameterstack.cpp:862: No connected 
Diameter peers have been found
02-03-2016 08:54:24.369 UTC Warning diameterstack.cpp:862: No connected 
Diameter peers have been found
02-03-2016 08:54:29.369 UTC Warning diameterstack.cpp:862: No connected 
Diameter peers have been found
02-03-2016 08:54:34.369 UTC Warning diameterstack.cpp:862: No connected 
Diameter peers have been found
02-03-2016 08:54:39.369 UTC Warning diameterstack.cpp:862: No connected 
Diameter peers have been found
02-03-2016 08:54:44.370 UTC Warning diameterstack.cpp:862: No connected 
Diameter peers have been found
02-03-2016 08:54:49.370 UTC Warning diameterstack.cpp:862: No connected 
Diameter peers have been found
02-03-2016 08:54:54.370 UTC Warning diameterstack.cpp:862: No connected 
Diameter peers have been found
02-03-2016 08:54:57.005 UTC Status freeDiameter: Garbage Collect: delete zombie 
peer '10.1.1.117'
02-03-2016 08:54:59.370 UTC Warning diameterstack.cpp:862: No connected 
Diameter peers have been found
_______________________________________________
Clearwater mailing list
[email protected]
http://lists.projectclearwater.org/mailman/listinfo/clearwater_lists.projectclearwater.org

Reply via email to