Hi,

On Tue, Jan 26, 2010 at 10:25:06AM +0100, Björn Boschman wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi,
> 
> Am 25.01.2010 20:12, schrieb Dejan Muhamedagic:
> >>
> >> Also integrating into heartbeat does not bring the resource up.
> > 
> > grep the logs for lrmd.*sips.
> 
> 
> I've attached the grep output

According to the logs, the resource started ok:

> Jan 26 10:11:21 zreg01 lrmd: [8065]: info: rsc:ip-opensips-reg:0:4: start
> Jan 26 10:11:21 zreg01 lrmd: [8065]: info: Managed ip-opensips-reg:0:start 
> process 8150 exited with return code 0.

Thanks,

Dejan

> >> Does anyone has a clue what I am doing wrong?
> > 
> > Strange. Are you absolutely sure that you didn't make a typo
> > somewhere. ocf-tester does exactly the same as when running the
> > script by hand.
> 
> here is my crm config:
> 
> primitive opensips-reg ocf:nfon:opensips \
>         params ip="109.68.96.128" provid="reg" port="5060" \
>         op monitor interval="1m" timeout="10s" on-fail="restart"
> 
> 
> BR
> B
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iEYEARECAAYFAktetPIACgkQABMWRpwdNumG4wCgt5Q4tnOEUTWRTrlI4PzhWxxz
> gLsAn0oiED5kucHH7SLkiIblGDAuI5+o
> =274f
> -----END PGP SIGNATURE-----

> Jan 26 10:11:19 zreg01 lrmd: [8065]: debug: on_msg_add_rsc:client [8068] adds 
> resource ip-opensips-reg:0
> Jan 26 10:11:19 zreg01 lrmd: [8065]: debug: on_msg_perform_op:2354: copying 
> parameters for rsc ip-opensips-reg:0
> Jan 26 10:11:19 zreg01 lrmd: [8065]: debug: on_msg_perform_op: add an 
> operation operation monitor[2] on ocf::IPaddr2::ip-opensips-reg:0 for client 
> 8068, its parameters: ip=[109.68.96.128] CRM_meta_op_target_rc=[7] 
> cidr_netmask=[32] CRM_meta_timeout=[20000] crm_feature_set=[3.0.1] 
> CRM_meta_globally_unique=[false] CRM_meta_clone=[0] nic=[dummy0]  to the 
> operation list.
> Jan 26 10:11:19 zreg01 lrmd: [8065]: info: rsc:ip-opensips-reg:0:2: monitor
> Jan 26 10:11:19 zreg01 lrmd: [8065]: debug: on_msg_add_rsc:client [8068] adds 
> resource opensips-reg:0
> Jan 26 10:11:19 zreg01 lrmd: [8065]: debug: on_msg_perform_op:2354: copying 
> parameters for rsc opensips-reg:0
> Jan 26 10:11:19 zreg01 lrmd: [8065]: debug: on_msg_perform_op: add an 
> operation operation monitor[3] on ocf::opensips::opensips-reg:0 for client 
> 8068, its parameters: ip=[109.68.96.128] CRM_meta_op_target_rc=[7] 
> provid=[reg] CRM_meta_timeout=[20000] crm_feature_set=[3.0.1] port=[5060] 
> CRM_meta_globally_unique=[false] CRM_meta_clone=[0]  to the operation list.
> Jan 26 10:11:19 zreg01 lrmd: [8065]: info: rsc:opensips-reg:0:3: monitor
> Jan 26 10:11:19 zreg01 lrmd: [8065]: WARN: Managed opensips-reg:0:monitor 
> process 8109 exited with return code 7.
> Jan 26 10:11:19 zreg01 lrmd: [8065]: WARN: Managed ip-opensips-reg:0:monitor 
> process 8106 exited with return code 7.
> Jan 26 10:11:21 zreg01 lrmd: [8065]: debug: on_msg_perform_op:2354: copying 
> parameters for rsc ip-opensips-reg:0
> Jan 26 10:11:21 zreg01 lrmd: [8065]: debug: on_msg_perform_op: add an 
> operation operation start[4] on ocf::IPaddr2::ip-opensips-reg:0 for client 
> 8068, its parameters: ip=[109.68.96.128] cidr_netmask=[32] 
> CRM_meta_timeout=[20000] crm_feature_set=[3.0.1] 
> CRM_meta_globally_unique=[false] CRM_meta_clone=[0] nic=[dummy0]  to the 
> operation list.
> Jan 26 10:11:21 zreg01 lrmd: [8065]: info: rsc:ip-opensips-reg:0:4: start
> Jan 26 10:11:21 zreg01 lrmd: [8065]: info: Managed ip-opensips-reg:0:start 
> process 8150 exited with return code 0.
> Jan 26 10:11:22 zreg01 lrmd: [8065]: debug: on_msg_perform_op: add an 
> operation operation monitor[5] on ocf::IPaddr2::ip-opensips-reg:0 for client 
> 8068, its parameters: CRM_meta_interval=[60000] ip=[109.68.96.128] 
> cidr_netmask=[32] CRM_meta_on_fail=[restart] CRM_meta_timeout=[10000] 
> crm_feature_set=[3.0.1] CRM_meta_globally_unique=[false] 
> CRM_meta_name=[monitor] CRM_meta_clone=[0] nic=[dummy0]  to the operation 
> list.
> Jan 26 10:11:22 zreg01 lrmd: [8065]: debug: on_msg_perform_op:2354: copying 
> parameters for rsc opensips-reg:0
> Jan 26 10:11:22 zreg01 lrmd: [8065]: debug: on_msg_perform_op: add an 
> operation operation start[6] on ocf::opensips::opensips-reg:0 for client 
> 8068, its parameters: ip=[109.68.96.128] provid=[reg] 
> CRM_meta_timeout=[20000] crm_feature_set=[3.0.1] port=[5060] 
> CRM_meta_globally_unique=[false] CRM_meta_clone=[0]  to the operation list.
> Jan 26 10:11:22 zreg01 lrmd: [8065]: info: rsc:opensips-reg:0:6: start
> Jan 26 10:11:22 zreg01 lrmd: [8065]: info: Managed opensips-reg:0:start 
> process 8217 exited with return code 0.
> Jan 26 10:11:22 zreg01 lrmd: [8065]: WARN: on_msg_get_metadata: empty 
> metadata for ocf::nfon::opensips.
> Jan 26 10:11:24 zreg01 lrmd: [8065]: debug: on_msg_perform_op: add an 
> operation operation monitor[7] on ocf::opensips::opensips-reg:0 for client 
> 8068, its parameters: CRM_meta_interval=[60000] ip=[109.68.96.128] 
> provid=[reg] CRM_meta_on_fail=[restart] CRM_meta_timeout=[10000] 
> crm_feature_set=[3.0.1] port=[5060] CRM_meta_globally_unique=[false] 
> CRM_meta_name=[monitor] CRM_meta_clone=[0]  to the operation list.

> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to