[Linux-ha-dev] Re: Announcing: 2.99.1 (beta! release)
lmb at suse.de
Wed Oct 8 07:15:28 MDT 2008
On 2008-10-07T23:33:14, Xinwei Hu <hxinwei at gmail.com> wrote:
> Not always so. GUI calls the crm shell in a lot of scenarios.
Exactly. But it should be so. At least, I'd like it to be so ;-)
Calling the crm shell and logging which commands were called, instead of
directly modifying the XML via the CIB libraries, allows users to use
the log from the GUI for building up their own setup scripts, improves
traceability & debugging, and ensures uniformity between GUI and CLI.
> But still, it provides an XML view so that user can interact with xml
> snip directly.
Sure. If users edit the XML directly, this is not directly possible -
though even then the GUI could use the CLI to update the (shadow) CIB
and commit changes.
Teamlead Kernel, SuSE Labs, Research and Development
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde
More information about the Linux-HA-Dev