Hi Marcelo,
I looked at your monitor stop script.
> if ($COD_RET=`$PCMD -q $PMF_TAG`) {
> $SAIDA=`$PCMD -s $PMF_TAG KILL`;
> if ( $SAIDA eq 0 ) {
> log_print "Monitor for resource $options{R} successfully stopped.";
> } else {
> log_die "Could not stop monitor for resource $options{R}: $SAIDA";
> }
> } else {
> log_print "There was no running Monitor for resource $options{R}.";
> }
Though I haven't done perl coding, it appears that the "if" block of the
code will get executed if the COD_RET is non zero. This seems
contradictory, since you would like the cleanup to happen if the tag
exists, in which case "pmfadm -q" will return zero.
To verify this, you could try bringing the application offilne, and run
"pmfadm -L", to see if the pmf tag still exists. This would mean monitor
stop is not cleaning the pmf tag properly. Let me know how it goes.
Thanks
Suraj
Nicholas Solter wrote:
> Hello,
>
> A few questions:
>
> * What version of Solaris Cluster are you using? (Solaris Cluster
> Express 7/07, Solaris Cluster 3.2, ...?)
> * What version of Solaris (Solaris Express, S10, ...?)
> * What data service?
> * What's the exact sequence of commands you're running?
>
> In addition to answering the questions above, can you supply:
>
> * The relevant portions of /var/adm/messages on each node
> * The output of "/usr/cluster/lib/sc/pmfd_debug printbuf" on each node
>
> Thanks,
> Nick
>
> msl wrote:
>
>> Hello all,
>> Every time i try to switch the resource from one node to another, i get the
>> error above. Looking in the documentation, i did see that i do not need to
>> do "anything"... but the problem is that the probe does not start.
>> In the tests that i did, i could start the probe just once (on the first
>> node), after that, when i try to switch to another hosts, i got the error
>> above.
>> What am i doing wrong?
>>
>> Thanks for your time.
>> --
>>
>> This message posted from opensolaris.org
>>
>> _______________________________________________
>> ha-clusters-discuss mailing list
>> ha-clusters-discuss at opensolaris.org
>> http://mail.opensolaris.org/mailman/listinfo/ha-clusters-discuss
>>
>
>