Kit are you actually modifying the xml file between stop and start using lconf?
In our ldap world, which should be similar, you need to run lactive between the lconf calls.. For example to failover m973 to m956(failover pair) we run 3 commands from a management server: --------------------- rsh m973 /usr/sbin/lconf --ldapurl ldap://lustre.hpcs2.emsl.pnl.gov --config mpp2fo --cleanup --failover --group pair15_2 /usr/sbin/lactive --ldapurl ldap://lustre.hpcs2.emsl.pnl.gov --config mpp2fo --pwfile /home/mscf/lustre/pw --group pair15_2 --active m956 rsh m956 /usr/sbin/lconf --ldapurl ldap://lustre.hpcs2.emsl.pnl.gov --group pair15_2 --config mpp2fo --------------------- The lactive command modifies the config on ldap(or xml file) so that the other server believes he should server the new targets. Note: this is lustre 1.4.2. Evan > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Kit Westneat > Sent: Wednesday, November 08, 2006 2:24 PM > To: [email protected] > Subject: [Lustre-discuss] failover groups > > Hello, > > I'm trying to get OST failover going using failover groups. > Currently I am able to stop OSTs by group name (using: lconf > --cleanup --group <group name> /etc/lustre/config.xml) but > unless I modify lconf, I am unable to start OSTs by group > name (using: lconf --group <group name> /etc/lustre/config.xml). > > Am I correct in thinking that this is a bug, or am I > misunderstanding groups? > > If I change lconf at line 1524 from: > > if self.active and config.group and config.group != > ost.get_val('group', > ost.get_val('name')): > self.active = 0 > > to: > > if not self.active and config.group and config.group == > ost.get_val('group', ost.get_val('name')): > self.active = 1 > elif self.active and config.group and config.group != > ost.get_val('group', ost.get_val('name')): > self.active = 0 > > then it seems to work like I'd expect it to. > > Thanks, > Kit Westneat > > _______________________________________________ > Lustre-discuss mailing list > [email protected] > https://mail.clusterfs.com/mailman/listinfo/lustre-discuss > _______________________________________________ Lustre-discuss mailing list [email protected] https://mail.clusterfs.com/mailman/listinfo/lustre-discuss
