On 2007-12-04T00:20:15, Xinwei Hu <[EMAIL PROTECTED]> wrote:

> Hi all,
> 
>    We have a instance about cibadmin recently. A typo of 'cibadmin -r
> blahblah' forces the HA into RO mode without any warning, and the
> field engineer almost panic. ;)

I like the direction.

The more dangerous commands usually require a --force option on other
tools. (fsck, mkfs, rpm, drbdadm, ...)

For cibadmin, -E, -r, (-b, -h, -l for write commands) seem safe
candidates.

Reading y/n from stdin is not a good approach; the commands might
require the XML to be on stdin.


Regards,
    Lars

-- 
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

_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to