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

Reply via email to