Red Hat Bugzilla – Bug 887926
[RFE] Add command to update cluster configuration using a standard editor (e. g. pcs config edit)
Last modified: 2013-11-21 06:49:27 EST
It would be helpful if pcs had the option to edit and update the cluster configuration in one go, for example something like "pcs config edit" This should open the current cluster configuration in text format in the users text editor (defined via the $EDITOR env. var.) and after the user saves the changed version pcs should check the updated config for any errors and if it is correct it should automatically be pushed out to all cluster nodes.
[root@ask-02 ~]# EDITOR=vim pcs -f temp.xml cluster edit Pops open vim with the cib from temp.xml (or creates a new one if temp.xml doesn't exist).
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-1633.html