Hi Neil,

Thanks for your review, I made the changes and updated the webrev.

Detlef

Neil Garthwaite wrote:
> Hi Detlef, 
>
> Looks good, my only comment is with mysql_config.ksh which doesn't 
> seem right, i.e. line 68 doesn't match the comment sin lines 65-66. 
> Also it would be better to be consistent, i.e. cluster one vs cluster 
> 2 [two].
>
> 64 +# IE: If two clusters are tied together by the mysql_geocontrol features, 
> assuming the
> 65 +# mysql database on cluster one belongs to cl1-phys1-hme0 and 
> cl1-phys2-hme3, the
> 66 +# mysql database on cluster 2 belongs to cl2-phys1-hme2 and 
> cl2-phys2-hme4. Then the  
> 67 +# MYSQL_NIC_HOSTNAME variable needs to be set to:
> 68 +# MYSQL_NIC_HOSTNAME="cl1-phys1-hme0 cl1-phys1-hme0 cl2-phys1-hme2 
> cl2-phys1-hme4"
> 69 +
>
> Regards
> Neil
>
> On 14 Jan 2009, at 14:42, Detlef Ulherr wrote:
>
>> Hi Tim,
>>
>> Thanks for the review,
>>
>> Tim Read - Staff Engineer Solaris Availability Engineering wrote:
>>> Detlef,
>>>
>>> Couple of minor comments:
>>> 531:  Shouldn't the replication RG just have a strong affinity on the
>>> MySQL app RG when it's added. So here, you don't need to specify which
>>> node it is brought online on. The addition later of MySQL RG should 
>>> sort
>>> that out.
>>>
>>
>> It has a strong positive with failover delegation affinity to the app
>> rg, but my testing at least when they should failover between zones,
>> showed that the failover worked, but on an clrg online always the first
>> zone in the list was picked regardless whether or not the apprg is
>> online there. See line 406 and 539 - 570.
>>> functions.ksh
>>> 629         if ${CLRS} list -g ${REPL_MYSQL_RESOURCEGROUP} | ${GREP}
>>> "^${REPL_MYSQL_RESOURCE}$" >/dev/null 2>&1
>>>
>>> seems a bit strange to me as
>>>
>>> ${CLRS} list -g ${REPL_MYSQL_RESOURCEGROUP} 2>&1
>>>
>> Good suggestion I will change that.
>>> should produce the same result, i.e an exit code of 0 if it works and
>>> non-zero if it fails. It also result in a string on success and nothing
>>> on failure.
>>>
>>> Ditto 653.
>>>
>>> Tim
>>> ---
>>>
>>>
>>> On 01/14/09 13:18, Detlef Ulherr wrote:
>>>
>>>> Hi,
>>>>
>>>> I have provided a fix for the following bugs in  MySQL agent for 
>>>> review.
>>>>
>>>> The webrev can be found at
>>>> http://cr.opensolaris.org/~ulherr/mysql-sbp-patch/ 
>>>> <http://cr.opensolaris.org/%7Eulherr/mysql-sbp-patch/>
>>>>
>>>> The following bugs are fixed:
>>>> 6771179 the mysql_config file lacks necessary information if the
>>>> geocontrol component should be configured
>>>> 6772756 The replication resource must always go online on the where 
>>>> the
>>>> database resource is
>>>> 6772758 The ha_mysql_register script should not use the old cli
>>>> 6776775 The remove_configuration function reports an error if 
>>>> nothing to do
>>>> 6793558 stopping of the replication resource results in an error
>>>>
>>>> This review expires at January 15th.
>>>>
>>>> As always your comments are highly appreciated.
>>>>
>>>> Cheers
>>>> Detlef
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>> -- 
>>
>> *****************************************************************************
>> Detlef Ulherr
>> Staff Engineer                      Tel: (++49 6103) 752-248
>> Availability Engineering Fax: (++49 6103) 752-167
>> Sun Microsystems GmbH             
>> Amperestr. 6                     mailto:detlef.ulherr at sun.com
>> 63225 Langen                         http://www.sun.de/
>> *****************************************************************************
>>
>> Sitz der Gesellschaft: Sun Microsystems GmbH, Sonnenallee 1, D-85551
>> Kirchheim-Heimstetten
>> Amtsgericht Muenchen: HRB 161028
>> Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer
>> Vorsitzender des Aufsichtsrates: Martin Haering
>>
>> *****************************************************************************
>>
>>
>> _______________________________________________
>> ha-clusters-discuss mailing list
>> ha-clusters-discuss at opensolaris.org
>> http://mail.opensolaris.org/mailman/listinfo/ha-clusters-discuss
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> ha-clusters-discuss mailing list
> ha-clusters-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/ha-clusters-discuss
>   


-- 

*****************************************************************************
 Detlef Ulherr
 Staff Engineer                                 Tel: (++49 6103) 752-248
 Availability Engineering                       Fax: (++49 6103) 752-167
 Sun Microsystems GmbH             
 Amperestr. 6                                   mailto:detlef.ulherr at sun.com
 63225 Langen                                   http://www.sun.de/
*****************************************************************************

Sitz der Gesellschaft: Sun Microsystems GmbH, Sonnenallee 1, D-85551
Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering

*****************************************************************************



Reply via email to