I didn't have any errors in setup.log but CONFIG_HOSTS contained only 
sip1.sip40.vw. Question is what should happen when I add Distributed 
server via sipxconfig and before I invoke  sipxecs-setup on distributed 
system?

For sure I need

CONFIG_HOSTS : sip1.sip40.vw sip2.sip40.vw

I have edited domain-config on master system, added  sip2.sip40.vw to 
domain-config on master system and restart sipxecs. After that I was 
able to  see status of all services on master server from distributed 
system.

But this isn't solve my sipxconfig problem whit services in "Undefined" 
state.

When I'm sending profile for distributed system I'm getting following 
errors in job status:

Data replication: extension      3/19/09 5:21 PM      3/19/09 5:21 PM  
Failed 
Data replication: alias     3/19/09 5:21 PM     3/19/09 5:21 PM Failed
File replication: validusers.xml     3/19/09 5:21 PM     3/19/09 5:21 PM 
Completed
Data replication: credential     3/19/09 5:21 PM     3/19/09 5:21 PM Failed
Data replication: permission     3/19/09 5:21 PM     3/19/09 5:21 PM Failed
Data replication: caller-alias     3/19/09 5:21 PM     3/19/09 5:21 PM 
Failed
Data replication: userlocation     3/19/09 5:21 PM     3/19/09 5:21 PM 
Failed
File replication: mappingrules.xml     3/19/09 5:21 PM     3/19/09 5:21 
PM Completed
File replication: authrules.xml     3/19/09 5:21 PM     3/19/09 5:21 PM 
Completed
File replication: fallbackrules.xml     3/19/09 5:21 PM     3/19/09 5:21 
PM Completed
File replication: forwardingrules.xml     3/19/09 5:21 PM     3/19/09 
5:21 PM Completed
File replication: nattraversalrules.xml     3/19/09 5:21 PM     3/19/09 
5:21 PM Completed
File replication: sipXproxy-config     3/19/09 5:21 PM     3/19/09 5:21 
PM Failed
File replication: registrar-config     3/19/09 5:21 PM     3/19/09 5:21 
PM Failed
File replication: sipxsupervisor-config     3/19/09 5:21 PM     3/19/09 
5:21 PM Failed
File replication: sipxivr.properties     3/19/09 5:21 PM     3/19/09 
5:21 PM Completed
File replication: autoattendants.xml     3/19/09 5:21 PM     3/19/09 
5:21 PM Completed

I try to replicate one of the failed file manually and this is what I get:

[r...@sip1 sipXecs]# sipxreplicate -n sip2.sip40.vw -f 
/var/sipxdata/sipdb/caller-alias.xml
/usr/lib/ruby/1.8/xmlrpc/client.rb:414:in `call': File 
'/var/sipxdata/sipdb/caller-alias.xml' not declared as a resource by any 
sipXecs process (XMLRPC::FaultException)
        from /usr/bin/sipxreplicate:286

Regards,
Lukasz



Scott Lawrence wrote:
> On Thu, 2009-03-19 at 14:43 +0100, Lukasz Kutkowski wrote:
>   
>> Hi,
>>
>> I have problem with HA setup (freesh install). It looks like it's some 
>> cert issue.
>>
>> My env:
>> - Centos 5.2 32b
>> - sipxecs rev 14954
>> - master: sip1.sip40.vw
>> - slave: sip2.sip40.vw
>>
>> What I have done:
>>
>> 1. Install Master server
>> - yum install sipxecs
>> - configure ntp and dns
>> - sipxecs-setup
>> - start sipxecs
>>
>> 2. Install Slave server
>> - yum install sipxecs
>> - configure ntp and dns
>> - Add slave server via sipxconfig on master server
>> - sipxecs-setup
>> - start sipxecs
>>
>> Slave server staus is "Registered" but all services are in "Undefined" 
>> state.
>>
>> My observation:
>> 1. On slave server
>>
>> [r...@sip2 ~]# sipxproc -n sip1.sip40.vw
>> /usr/lib/ruby/1.8/xmlrpc/client.rb:414:in `call': Unconfigured calling 
>> host 'sip2.sip40.vw' (XMLRPC::FaultException)
>>         from /usr/bin/sipxproc:231
>>     
>
> That would seem to indicate a problem with the domain-config file.  Look
> to see what value it has for the CONFIG_HOSTS setting.
>
> Also look for errors in setup.log on the distributed system (not
> "slave").
>
>   
>> 2. On master server
>> [r...@sip1 ~]# sipxproc -n sip2.sip40.vw
>> {"FreeSWITCH"=>"Disabled",
>>  "sipXmrtg"=>"Disabled",
>>  "SIPRegistrar"=>"Disabled",
>>  "ParkServer"=>"Disabled",
>>  "ConfigAgent"=>"Disabled",
>>  "CallResolver"=>"Disabled",
>>  "ACDServer"=>"Disabled",
>>  "SIPStatus"=>"Disabled",
>>  "ConfigServer"=>"Disabled",
>>  "CallResolver-Agent"=>"Disabled",
>>  "SipXbridge"=>"Disabled",
>>  "MediaServer"=>"Disabled",
>>  "sipXivr"=>"Disabled",
>>  "PageServer"=>"Disabled",
>>  "PresenceServer"=>"Disabled",
>>  "ResourceListServer"=>"Disabled",
>>  "SipXrelay"=>"Disabled",
>>  "SIPXProxy"=>"Disabled"}
>>
>> 3. When I select
>>
>> System->Servers -> sip2.sip40.vw (slave) following messages are logged:
>>
>> /var/log/sipxpbx/sipxsupervisor.log at sip1
>> "2009-03-19T13:37:29.399131Z":752:SUPERVISOR:ERR:sip1.sip40.vw:SipxProcess-19:B66EBB90:Supervisor:"SipxProcess[ConfigServer]::commandOutput
>>  
>> 'Avoiding obscuring previous error by supressing error encountered while 
>> ending request: org.apache.xmlrpc.XmlRpcClientException: Exception 
>> closing URLConnection'"
>>
>>
>> /var/log/sipxpbx/sipxsupervisor.log at sip2
>> "2009-03-19T13:37:29.395751Z":965:KERNEL:INFO:sip2.sip40.vw:HttpServer-2:B7D52B90:Supervisor:"OsConnectionSocket::_[2]
>>  
>> ((null), 6)"
>> "2009-03-19T13:37:29.397177Z":966:KERNEL:ERR:sip2.sip40.vw:HttpServer-2:B7D52B90:Supervisor:"OsSSLServerSocket
>>  
>> SSL_accept - incompatible client?:\n   SSL error: 1 
>> 'error:00000001:lib(0):func(0):reason(1)'"
>> "2009-03-19T13:37:29.397192Z":967:KERNEL:INFO:sip2.sip40.vw:HttpServer-2:B7D52B90:Supervisor:"OsSSLConnectionSocket::close"
>> "2009-03-19T13:37:29.397231Z":968:KERNEL:INFO:sip2.sip40.vw:HttpServer-2:B7D52B90:Supervisor:"OsConnectionSocket::~"
>> "2009-03-19T13:37:29.397430Z":969:KERNEL:INFO:sip2.sip40.vw:HttpServer-2:B7D52B90:Supervisor:"OsConnectionSocket::_[2]
>>  
>> ((null), 6)"
>> "2009-03-19T13:37:29.398585Z":970:KERNEL:ERR:sip2.sip40.vw:HttpServer-2:B7D52B90:Supervisor:"OsSSLServerSocket
>>  
>> SSL_accept - incompatible client?:\n   SSL error: 1 
>> 'error:00000001:lib(0):func(0):reason(1)'"
>> "2009-03-19T13:37:29.398599Z":971:KERNEL:INFO:sip2.sip40.vw:HttpServer-2:B7D52B90:Supervisor:"OsSSLConnectionSocket::close"
>> "2009-03-19T13:37:29.398630Z":972:KERNEL:INFO:sip2.sip40.vw:HttpServer-2:B7D52B90:Supervisor:"OsConnectionSocket::~"
>>
>> I don't know if this is configuration issue or a bug.
>>
>> If more information is needed let me know.
>>
>> Regards,
>> Lukasz
>> _______________________________________________
>> sipx-users mailing list
>> [email protected]
>> List Archive: http://list.sipfoundry.org/archive/sipx-users
>> Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-users
>>     
>
>   

_______________________________________________
sipx-users mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-users
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-users

Reply via email to