22.08.2019 12:49, Ulrich Windl пишет: > Hi! > > It's been a while since I used crm shell, and now after having moved from > SLES11 to SLES12 (jhaving to use it again), I realized a few things: > > 1) As the ptest command is crm_simulate now, shouldn't crm shell's ptest (in > configure) be accomanied by a "simulate" command as well (declaring "ptest" > as obsolete)? > > 2) Some commands in the "resource" group actually manipulate the CIB > "configuration" section (and not the "status"). So why aren't those in > "configure", but in "resource"?
My educated guess is that crmsh "resource" maps directly to "crm_resource" ... > Excamples: "utilization", "param", etc. > ... and these is simply wrapper around crm_resource functionality. > The really bad thing is that crm shell insists on "commit" if you do an "up" > from "configure". > > Also "configure" collects changes until commit, while "resource" commits > immediately. Maybe that could be a criteria whcih commands should be in > "configure", and which should be in "resource". > _______________________________________________ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/users ClusterLabs home: https://www.clusterlabs.org/