>>> Dejan Muhamedagic <deja...@fastmail.fm> schrieb am 29.10.2014 um 10:49 in
Nachricht <20141029094927.GA32415@walrus.homenet>:
[...]
> Even though nodes may have ids different from their names, people
> are prone to reference them by name and not by some number such
> as 167906357. Well, we can't really blame them, can we. So,
> the node uname is effectively its name, for all intents and
> purposes. The fact that some programs need an unwieldy number to
> reference nodes do not change our perspective.
> 
>> This also breaks syntax of some existing commands, as Dejan
>> says, f.e.
> 
> It doesn't break the syntax, it just makes it impossible to
> reference CIB elements. If you have a node named xyz and then
> also a resource named xyz, how should a stupid program such as
> crmsh know what do you mean when you say "xyz"...
> 

I wonder whether "prefix tags" could help here: When names are not unique in a 
context the user could use the prefix "host:name" to mean the host named "name" 
and "rsc:r" to mean resource "r" (Or a tag with la less ugly, but longer name).

Isn't a similar mechnism already used wthen specify ing the RA?

Regards,
Ulrich


_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to